Function at 0x469b40
Capabilities:
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x478470
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x496028]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], edi
mov eax, dword [ebp + 8]
fldz
and eax, 0xc0000000
fstp dword [esp + 0x24]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0xc]
and eax, 0xc0000000
xor esi, esi
mov dword [esp + 0x30], eax
lea eax, [esp + 0x5c]
push eax
mov dword [edi + 0x60], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x24], 1
call fcn.0046e540
mov dword [esp + 0x88], esi
mov eax, dword [edi + 0x20]
mov ebx, dword [edi + 0xc]
mov ecx, dword [eax]
mov dword [esp + 0x44], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x54], ebx
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x58], ecx
test ebx, ebx
je 0x469bf3
cmp ebx, eax
je 0x469bf9
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x58], esi
je 0x469e70
test ebx, ebx
jne 0x469c7a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov edx, dword [esp + 0x58]
cmp edx, dword [eax + 0x14]
jne 0x469c1e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
test eax, eax
je 0x469e41
mov ecx, eax
mov esi, dword [ecx + 4]
cmp dword [esi + 4], 0
je 0x469e41
mov edx, eax
mov eax, dword [edx + 0x30]
test eax, eax
je 0x469c56
call fcn.00468690
test eax, eax
je 0x469e41
cmp dword [esi + 0x14], 0
fld dword [esi + 0x4c]
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
fldz
jne 0x469c7e
fcom dword [esi + 0x4c]
fnstsw ax
test ah, 5
jp 0x469c7e
mov ebx, 1
jmp 0x469c80
mov eax, dword [ebx]
jmp 0x469c0f
xor ebx, ebx
cmp dword [esp + 0x30], 0x40000000
jne 0x469d17
test ebx, ebx
je 0x469d22
fcomp dword [esi + 0x4c]
fnstsw ax
test ah, 5
jp 0x469cfb
lea edi, [esi + 0x50]
push edi
lea ebx, [esp + 0x60]
call fcn.0046dcc0
fld dword [esi + 0x4c]
fadd dword [eax]
push edi
fstp dword [eax]
call fcn.0046dcc0
mov ecx, dword [esi + 0x1c]
add dword [eax + 4], ecx
add eax, 4
push edi
call fcn.0046dcc0
mov edx, dword [esi + 0x24]
add dword [eax + 8], edx
mov edi, dword [esp + 0x1c]
add eax, 8
mov eax, dword [esi + 0x1c]
add dword [esp + 0x44], eax
mov eax, dword [esi + 0x24]
mov ecx, Ordinal_3
sub ecx, eax
cmp ecx, dword [esp + 0x28]
jle 0x469cf3
add dword [esp + 0x28], eax
jmp 0x469cfb
mov dword [esp + 0x28], SysStringLen
mov edx, dword [esi + 0x44]
add edx, dword [esi + 0x3c]
mov eax, dword [edi + 0x60]
lea ecx, [edx + eax]
cmp eax, ecx
jg 0x469d0d
mov eax, ecx
mov dword [esp + 0x4c], 1
jmp 0x469d7c
test ebx, ebx
je 0x469d22
mov dword [esi + 0x14], 0xffffffff
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x44
jp 0x469d32
mov eax, dword [edi + 0x60]
jmp 0x469d34
xor eax, eax
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
push ecx
push edx
mov eax, edi
call fcn.00469470
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + 0x18]
and eax, 0xffffff
test ebx, ebx
je 0x469d69
add dword [esp + 0x40], eax
mov dword [esi + 0x14], 0
mov edx, dword [esi + 0x44]
add edx, dword [esi + 0x3c]
mov ecx, dword [edi + 0x60]
add edx, ecx
add eax, edx
cmp ecx, eax
jle 0x469d7c
mov eax, ecx
cmp dword [esp + 0x3c], 0x40000000
mov dword [edi + 0x60], eax
mov dword [esp + 0x38], 0
je 0x469da4
cmp dword [esi + 0x10], 0xfffffffe
jne 0x469da4
mov eax, 1
mov dword [esp + 0x50], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
mov edx, dword [esi + 0x40]
add edx, dword [esi + 0x38]
mov ecx, dword [eax + 0x14]
and ecx, 0xffffff
add ecx, edx
cmp dword [esp + 0x10], ecx
jg 0x469dc6
mov dword [esp + 0x10], ecx
movsx ebx, word [eax + 0x1a]
mov eax, dword [eax + 0x14]
and ebx, 0xffffff00
and eax, 0xff000000
or ebx, eax
or dword [esp + 0x2c], ebx
cmp dword [esp + 0x20], 0
je 0x469df3
cmp dword [esi + 0x10], 0xfffffffe
mov dword [esp + 0x20], 1
je 0x469dfb
mov dword [esp + 0x20], 0
fldz
fcomp dword [esi + 0x4c]
mov esi, dword [esp + 0x38]
fnstsw ax
test ah, 5
mov eax, edx
jp 0x469e29
test esi, esi
jne 0x469e13
mov eax, ecx
cmp dword [esp + 0x34], eax
jg 0x469e41
test esi, esi
je 0x469e23
mov dword [esp + 0x34], edx
jmp 0x469e41
mov dword [esp + 0x34], ecx
jmp 0x469e41
test esi, esi
jne 0x469e2f
mov eax, ecx
cmp dword [esp + 0x14], eax
jg 0x469e41
mov dword [esp + 0x14], edx
test esi, esi
jne 0x469e41
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x469e6b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov esi, dword [esp + 0x58]
cmp esi, dword [eax + 0x14]
jne 0x469e60
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi]
mov ebx, dword [esp + 0x54]
jmp 0x469be1
mov eax, dword [eax]
jmp 0x469e51
mov eax, dword [edi + 4]
mov edx, dword [eax + 0x34]
add edx, dword [eax + 0x2c]
mov eax, dword [edi]
add dword [edi + 0x60], edx
mov edx, dword [eax + 0x1c]
mov esi, dword [edi + 0x60]
mov ecx, edi
call edx
cmp esi, eax
jg 0x469e97
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
mov ecx, edi
call edx
mov esi, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x30]
and eax, 0x3fffffff
cmp ecx, 0x80000000
je 0x469eb9
cmp ecx, 0x40000000
jne 0x469ec8
mov dword [esp + 0x30], eax
jmp 0x469ecc
cmp eax, esi
jge 0x469ec8
or eax, 0x1000000
mov dword [esp + 0x30], eax
jmp 0x469ecc
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x30]
and eax, 0xffffff
sub eax, dword [edi + 0x60]
add eax, dword [esp + 0x40]
cmp dword [esp + 0x4c], 0
mov ecx, eax
mov dword [esp + 0x38], ecx
jne 0x469f0d
fldz
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 5
jnp 0x469f0d
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x14], eax
jg 0x46a29c
mov dword [esp + 0x14], eax
jmp 0x46a29c
mov eax, dword [esp + 0x78]
fld dword [esp + 0x24]
fstp dword [esp + 0x40]
mov dword [esp + 0x18], 0xffffffff
cmp eax, 1
jbe 0x46a109
cmp ecx, dword [esp + 0x28]
jl 0x469f3d
mov dword [esp + 0x18], 0x8000000
jmp 0x46a029
mov eax, ecx
sub eax, dword [esp + 0x44]
mov dword [esp + 0x34], eax
test eax, eax
jle 0x46a029
mov eax, dword [esp + 0x74]
mov ebx, dword [eax]
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], esi
mov edi, dword [esp + 0x74]
test esi, esi
je 0x469f6f
cmp esi, dword [esp + 0x5c]
je 0x469f75
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, edi
je 0x469ff5
test esi, esi
jne 0x469fe9
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x469f90
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x18], ecx
test esi, esi
jne 0x469fed
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x469fae
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test esi, esi
jne 0x469ff1
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, dword [esi + 0x18]
jne 0x469fc3
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 0x18]
sub eax, dword [ebx + 0x14]
cmp eax, dword [esp + 0x34]
jge 0x469ff5
sub dword [esp + 0x34], eax
lea esi, [esp + 0x54]
call fcn.0046ff90
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x54]
jmp 0x469f61
mov eax, dword [esi]
jmp 0x469f85
mov eax, dword [esi]
jmp 0x469fa3
mov esi, dword [esi]
jmp 0x469fb8
cmp dword [esp + 0x18], 0xffffffff
je 0x46a025
lea edx, [esp + 0x18]
push edx
lea ebx, [esp + 0x60]
call fcn.0046dcc0
mov eax, dword [eax + 4]
add eax, dword [esp + 0x34]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x18]
push eax
call fcn.0046dcc0
fld dword [eax]
fstp dword [esp + 0x40]
mov edi, dword [esp + 0x1c]
mov dword [edi + 0x60], 0
mov eax, dword [edi + 0x20]
mov eax, dword [eax]
mov ebx, dword [edi + 0xc]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebx
mov esi, dword [edi + 0x20]
mov eax, dword [edi + 0xc]
test ebx, ebx
je 0x46a04e
cmp ebx, eax
je 0x46a054
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x48], esi
je 0x46a290
test ebx, ebx
jne 0x46a142
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov ecx, dword [esp + 0x48]
cmp ecx, dword [eax + 0x14]
jne 0x46a07d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x48]
mov ebx, dword [edx + 8]
test ebx, ebx
je 0x46a25a
mov esi, dword [ebx + 4]
cmp dword [esi + 4], 0
je 0x46a25a
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x46a0ad
call fcn.00468690
test eax, eax
je 0x46a25a
fld dword [esi + 0x4c]
fstp dword [esp + 0x4c]
fldz
fld dword [esp + 0x4c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x46a1cf
mov ecx, dword [esi + 0x50]
mov edx, dword [esp + 0x18]
xor eax, eax
cmp ecx, edx
jne 0x46a149
fild dword [esp + 0x38]
fmul st(1)
fld dword [esp + 0x40]
fld st(0)
fdivp st(2)
fxch st(1)
call fcn.004749f0
mov ecx, dword [esi + 0x1c]
cmp eax, ecx
jge 0x46a0f4
mov eax, ecx
mov ecx, dword [esi + 0x24]
cmp eax, ecx
jle 0x46a0fd
mov eax, ecx
sub dword [esp + 0x38], eax
fsubrp st(1)
fstp dword [esp + 0x40]
jmp 0x46a159
test eax, eax
je 0x46a029
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x74]
mov esi, dword [ecx]
test eax, eax
jne 0x46a13e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x46a132
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x18], edx
jmp 0x46a029
mov eax, dword [eax]
jmp 0x46a127
mov eax, dword [ebx]
jmp 0x46a06e
cmp ecx, edx
fstp st(0)
jge 0x46a154
mov eax, dword [esi + 0x24]
jmp 0x46a159
jle 0x46a159
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0x14], 0
jne 0x46a163
mov ecx, eax
jmp 0x46a171
mov ecx, dword [ebx + 8]
mov ecx, dword [ecx + 0x18]
and ecx, 0xffffff
add ecx, eax
mov edx, dword [esp + 0x1c]
mov edi, dword [edx + 4]
xor edx, edx
test ecx, ecx
setl dl
dec edx
and edx, ecx
mov ecx, dword [edi + 0x30]
add ecx, dword [edi + 0x28]
mov edi, dword [esi + 0x10]
add ecx, dword [esi + 0x40]
and edx, 0x3fffffff
add ecx, dword [esi + 0x38]
or edx, 0x40000000
push edx
push ecx
mov ecx, dword [ebp + 8]
call fcn.00408290
push eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x20]
mov ecx, ebx
call edx
mov eax, dword [ebx + 8]
movsx ecx, word [eax + 0x1a]
mov edx, dword [eax + 0x14]
and ecx, 0xffffff00
and edx, 0xff000000
or ecx, edx
or dword [esp + 0x2c], ecx
jmp 0x46a1d1
fstp st(0)
mov edi, dword [ebx + 8]
mov ecx, dword [esi + 0x40]
add ecx, dword [esi + 0x38]
mov eax, dword [edi + 0x14]
and eax, 0xffffff
add eax, ecx
cmp dword [esp + 0x10], eax
jg 0x46a1ee
mov dword [esp + 0x10], eax
cmp dword [esp + 0x3c], 0x40000000
je 0x46a204
cmp dword [esi + 0x10], 0xfffffffe
jne 0x46a204
mov bl, 1
mov edx, ecx
jmp 0x46a208
xor bl, bl
mov edx, eax
cmp dword [esp + 0x14], edx
jg 0x46a21a
mov dword [esp + 0x14], ecx
test bl, bl
jne 0x46a21a
mov dword [esp + 0x14], eax
cmp dword [esp + 0x20], 0
je 0x46a22f
cmp dword [esi + 0x10], 0xfffffffe
mov dword [esp + 0x20], 1
je 0x46a237
mov dword [esp + 0x20], 0
mov ecx, dword [edi + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x60]
and ecx, 0xffffff
add ecx, dword [esi + 0x44]
add ecx, dword [esi + 0x3c]
add ecx, eax
cmp eax, ecx
jg 0x46a255
mov eax, ecx
mov dword [edx + 0x60], eax
mov edi, edx
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x46a28c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov edx, dword [esp + 0x48]
cmp edx, dword [eax + 0x14]
jne 0x46a279
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x48], ecx
jmp 0x46a040
mov eax, dword [eax]
jmp 0x46a26a
mov eax, dword [edi + 4]
mov edx, dword [eax + 0x34]
add edx, dword [eax + 0x2c]
add dword [edi + 0x60], edx
cmp dword [esp + 0x20], 0
mov ebx, dword [esp + 0x3c]
jne 0x46a2b7
cmp ebx, 0x40000000
je 0x46a2b7
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 4]
mov ecx, dword [eax + 0x30]
add ecx, dword [eax + 0x28]
mov esi, dword [esp + 0x10]
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
add esi, ecx
mov ecx, edi
call eax
cmp esi, eax
jg 0x46a2e2
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
mov ecx, edi
call eax
mov dword [esp + 0x10], eax
mov esi, eax
mov ecx, dword [ebp + 8]
and ecx, 0x3fffffff
cmp ebx, 0x80000000
je 0x46a360
cmp ebx, 0x40000000
je 0x46a2fd
mov ecx, esi
mov edx, dword [esp + 0x2c]
mov eax, dword [edi + 8]
and edx, 0xff000000
or edx, ecx
cmp dword [esp + 0x50], 0
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], ecx
je 0x46a327
mov edx, dword [ebp + 0xc]
push edx
push edi
call fcn.00469940
lea esi, [esp + 0x5c]
mov dword [esp + 0x88], 1
call fcn.0046e790
mov eax, dword [esp + 0x5c]
push eax
call sub.mfc90u.dll_delete
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp ecx, esi
jge 0x46a2fb
or ecx, 0x1000000
jmp 0x46a2fd