Function at 0x490e00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4da2d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1cc
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [esp + 0x40], edi
mov eax, dword [edi + 0x10]
lea ebx, [edi + 0x10]
cmp eax, esi
je 0x490e47
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
cmp dword [ebp + 0xc], esi
je 0x490ebc
lea esi, [edi + 0x84]
mov ecx, esi
call fcn.00427c90
test eax, eax
jne 0x490e77
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [esi]
mov ecx, dword [edi + 0x88]
cmp eax, ecx
mov dword [esp + 0xc], eax
je 0x490eef
cmp byte [eax + 0xc], 9
jne 0x490ea9
mov eax, dword [ebx + 4]
lea ecx, [esp + 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.00497c20
mov edx, dword [esp + 0xc]
mov byte [edx + 0xc], 0xa
mov eax, dword [esp + 0xc]
mov ecx, dword [edi + 0x88]
add eax, 0x10
cmp eax, ecx
mov dword [esp + 0xc], eax
jne 0x490e87
jmp 0x490eef
cmp dword [edi + 0x238], esi
jne 0x490ede
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push ebx
mov ecx, edi
call fcn.0048df60
push 2
mov ecx, edi
call fcn.004835a0
mov eax, dword [ebx]
xor esi, esi
cmp eax, esi
je 0x490f04
mov ecx, dword [ebx + 4]
sub ecx, eax
sar ecx, 2
cmp ecx, 4
jae 0x490f1e
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x1d8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push fcn.004011f0
push fcn.00426a10
push 3
lea edx, [esp + 0xdc]
push 0xc
push edx
call fcn.004ce784
mov dword [esp + 0x1e0], esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov eax, dword [ebx]
mov byte [esp + 0x1e0], 1
cmp eax, esi
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
je 0x490f7e
mov esi, dword [ebx + 4]
sub esi, eax
sar esi, 2
mov eax, dword [ebx]
mov dword [esp + 0xc], esi
test eax, eax
mov dword [esp + 0x14], eax
je 0x491275
cmp esi, 4
jl 0x491275
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x90]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x38], eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x38]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x50]
call fcn.00405110
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x1e8], 2
call fcn.004051b0
mov edi, dword [esp + 0x14]
xor ecx, ecx
fld qword [0x4e00c0]
mov dword [esp + 0x78], ecx
mov byte [esp + 0x1e0], 1
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], ecx
mov ecx, edi
test esi, esi
jle 0x491056
fld qword [esp + 0x80]
fld qword [esp + 0x78]
mov edx, esi
mov eax, dword [ecx]
add ecx, 4
dec edx
fld dword [eax]
faddp st(3)
fadd dword [eax + 4]
fld dword [eax + 8]
faddp st(2)
jne 0x491037
fstp qword [esp + 0x78]
fstp qword [esp + 0x80]
fild dword [esp + 0xc]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x1c]
fstp qword [esp + 0x20]
push eax
push ecx
fdiv qword [esp + 0x28]
lea ecx, [esp + 0x50]
fld qword [esp + 0x84]
fdiv qword [esp + 0x28]
fld qword [esp + 0x8c]
fdiv qword [esp + 0x28]
fstp dword [esp + 0x20]
fstp dword [esp + 0x1c]
fstp dword [esp + 0x24]
call fcn.00405110
lea edx, [esp + 0x58]
push eax
push edx
lea ecx, [esp + 0x34]
mov byte [esp + 0x1e8], 3
call fcn.004051b0
test esi, esi
mov byte [esp + 0x1e0], 1
mov ecx, edi
jle 0x491179
mov eax, dword [ecx]
add ecx, 4
dec esi
fld dword [eax]
fsub dword [esp + 0x2c]
fld st(0)
fmul st(1)
fadd qword [esp + 0x88]
fstp qword [esp + 0x88]
fstp st(0)
fld dword [eax + 4]
fsub dword [esp + 0x30]
fld st(0)
fmul st(1)
fadd qword [esp + 0xa8]
fstp qword [esp + 0xa8]
fstp st(0)
fld dword [eax + 8]
fsub dword [esp + 0x34]
fld st(0)
fmul st(1)
fadd qword [esp + 0xc8]
fstp qword [esp + 0xc8]
fstp st(0)
fld dword [eax + 4]
fsub dword [esp + 0x30]
fld dword [eax]
fsub dword [esp + 0x2c]
fmulp st(1)
fadd qword [esp + 0x90]
fstp qword [esp + 0x90]
fld dword [eax]
fsub dword [esp + 0x2c]
fld dword [eax + 8]
fsub dword [esp + 0x34]
fmulp st(1)
fadd qword [esp + 0x98]
fstp qword [esp + 0x98]
fld dword [eax + 4]
fsub dword [esp + 0x30]
fld dword [eax + 8]
fsub dword [esp + 0x34]
fmulp st(1)
fadd qword [esp + 0xb0]
fstp qword [esp + 0xb0]
jne 0x4910c5
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x98]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0xbc], eax
lea eax, [esp + 0x190]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xb8], edx
mov edx, dword [esp + 0xb4]
push eax
lea ecx, [esp + 0x8c]
push 3
push ecx
mov dword [esp + 0xd0], edx
call fcn.00475860
fstp st(0)
add esp, 0xc
lea edi, [esp + 0xd0]
lea esi, [esp + 0x1a8]
mov dword [esp + 0xc], 3
fld qword [esi + 0x18]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
fstp dword [esp + 0x14]
fld qword [esi]
push edx
lea ecx, [esp + 0x1c]
fstp dword [esp + 0x14]
fld qword [esi - 0x18]
push eax
push ecx
fstp dword [esp + 0x24]
lea ecx, [esp + 0x64]
call fcn.00405110
lea edx, [esp + 0x44]
push eax
push edx
mov ecx, edi
mov byte [esp + 0x1e8], 4
call fcn.004051b0
mov ecx, edi
mov byte [esp + 0x1e0], 1
call fcn.00405150
mov eax, dword [esp + 0xc]
add esi, 8
add edi, 0xc
dec eax
mov dword [esp + 0xc], eax
jne 0x4911ff
fld qword [esp + 0x88]
fdiv qword [esp + 0x1c]
mov edi, dword [esp + 0x40]
fsqrt
fstp qword [esp + 0x44]
mov eax, dword [ebx]
test eax, eax
je 0x49128e
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
lea ecx, [esp + 0x100]
call fcn.0040d1c0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x130]
push eax
mov byte [esp + 0x1e4], 5
mov dword [esp + 0x18], 0
call fcn.00417d40
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0x148]
mov byte [esp + 0x1ec], 6
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x24], 0
mov dword [esp + 0x44], 0
call fcn.00405110
lea ecx, [esp + 0xc]
lea edx, [esp + 0x68]
push ecx
lea eax, [esp + 0x70]
push edx
push eax
lea ecx, [esp + 0x154]
mov byte [esp + 0x1ec], 7
mov dword [esp + 0x18], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0x3f800000
call fcn.00405110
lea ecx, [esp + 0x64]
lea edx, [esp + 0x3c]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x160]
mov byte [esp + 0x1ec], 8
mov dword [esp + 0x70], 0
mov dword [esp + 0x48], 0x3f800000
mov dword [esp + 0x28], 0
call fcn.00405110
mov dword [esp + 0x100], 0x4dffb0
mov dword [esp + 0x110], 3
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x58]
push ecx
push edx
lea ecx, [esp + 0x138]
mov byte [esp + 0x1e8], 9
call fcn.004051b0
mov ecx, dword [edi + 0x38]
lea eax, [esp + 0xf4]
push eax
call fcn.00446320
fld dword [esp + 0xd0]
fmul dword [esp + 0xf4]
fld dword [esp + 0xf8]
fmul dword [esp + 0xd4]
mov byte [esp + 0x1e0], 0xa
faddp st(1)
fld dword [esp + 0xfc]
fmul dword [esp + 0xd8]
faddp st(1)
fcomp qword [0x4e00c0]
fnstsw ax
test ah, 0x41
je 0x49141d
lea ecx, [esp + 0x1c]
lea edx, [esp + 0xd0]
push ecx
lea eax, [esp + 0x5c]
push edx
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0xbff00000
call fcn.00405920
add esp, 0xc
lea ecx, [esp + 0xd0]
lea edx, [esp + 0x58]
push ecx
push edx
lea ecx, [esp + 0xe4]
call fcn.00417d60
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xf0]
mov byte [esp + 0x1e8], 0xb
call fcn.004051b0
lea ecx, [esp + 0xe8]
mov byte [esp + 0x1e0], 0xa
call fcn.00405150
lea ecx, [esp + 0xd0]
lea edx, [esp + 0x58]
push ecx
push edx
lea ecx, [esp + 0x144]
call fcn.004051b0
lea eax, [esp + 0xdc]
lea ecx, [esp + 0x100]
push eax
call fcn.004967a0
lea ecx, [esp + 0xe8]
push ecx
lea ecx, [esp + 0x104]
call fcn.00419cd0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4914c4
fld qword [ebp + 0x14]
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x100]
fstp dword [esp + 0x1c]
push edx
call fcn.00417e50
lea eax, [esp + 0x58]
lea ecx, [esp + 0x100]
push eax
call fcn.00419ca0
mov esi, eax
lea ecx, [esp + 0x178]
mov byte [esp + 0x1e0], 0xc
push ecx
lea ecx, [esp + 0x104]
call fcn.00419ca0
mov edi, eax
lea edx, [esp + 0x160]
lea ecx, [esp + 0x100]
push edx
mov byte [esp + 0x1e4], 0xd
call fcn.00419ca0
mov ebx, eax
lea eax, [esp + 0x184]
lea ecx, [esp + 0x100]
push eax
mov byte [esp + 0x1e4], 0xe
call fcn.00418960
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x16c]
mov byte [esp + 0x1e0], 0xf
push ecx
lea ecx, [esp + 0x104]
call fcn.00418960
mov dword [esp + 0x3c], eax
lea edx, [esp + 0x70]
lea ecx, [esp + 0x100]
push edx
mov byte [esp + 0x1e4], 0x10
call fcn.00418960
fld dword [esi + 8]
sub esp, 8
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x50]
fstp qword [esp]
fld dword [edi + 4]
sub esp, 8
mov edi, dword [esp + 0x54]
mov byte [esp + 0x1f0], 0x11
fstp qword [esp]
fld dword [ebx]
sub esp, 8
mov ebx, dword [ebp + 8]
fstp qword [esp]
fld dword [ecx + 8]
sub esp, 8
fstp qword [esp]
fld dword [edx + 4]
sub esp, 8
fstp qword [esp]
fld dword [eax]
mov eax, dword [ebp + 0x1c]
sub esp, 8
fstp qword [esp]
push esi
push edi
push ebx
push 0x4fece8
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x44
lea edx, [esp + 0x100]
mov byte [esp + 0x1e0], 0xa
push esi
push edi
sub esp, 0x60
mov ecx, esp
mov dword [esp + 0x84], esp
push edx
call fcn.00403f00
mov eax, dword [esp + 0xa8]
push ebx
mov ecx, dword [eax + 0x2d4]
call fcn.004b2480
lea ecx, [esp + 0x100]
mov esi, eax
mov byte [esp + 0x1e0], 1
call fcn.00404070
push fcn.004011f0
push 3
lea ecx, [esp + 0xd8]
push 0xc
push ecx
mov dword [esp + 0x1f0], 0xffffffff
call fcn.004ce690
mov ecx, dword [esp + 0x1d8]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18