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

Disassembly:
push 0xffffffffffffffff
push 0x4a6b90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebp
mov ebp, dword [esp + 0x7c]
push esi
lea ecx, [esp + 0x54]
lea eax, [ebp + 0x70]
push eax
call fcn.0040f9a0
mov eax, 0x7fff
mov word [esp + 0xc], ax
mov word [esp + 0xe], ax
mov eax, 0xffff8001
mov word [esp + 0x10], ax
mov word [esp + 0x12], ax
xor esi, esi
mov dword [esp + 0x78], esi
mov dword [esp + 8], esi
mov ecx, dword [esp + 0x9c]
mov byte [esp + 0x78], 1
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x20], esi
call fcn.0040f9a0
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x54]
mov word [edx], si
mov ecx, dword [eax]
cmp ecx, esi
jne 0x489aaa
fld dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
push fcn.00456390
fmul dword [0x4a8370]
mov word [ecx], si
lea ecx, [esp + 0xc]
mov byte [esp + 0x7c], 0
fstp dword [esp + 0xa4]
call fcn.0043fe20
fld dword [esp + 0xa0]
pop esi
pop ebp
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret
mov esi, dword [esp + 0x84]
push ebx
mov bl, byte [esp + 0xa4]
push edi
mov edi, dword [esp + 0x90]
test bl, bl
je 0x489b07
mov eax, dword [0x4dc33c]
test eax, eax
jbe 0x489b07
mov edx, dword [ebp + 0x94]
push 0x11
mov dword [esp + 0xac], edx
mov ecx, edx
movsx edx, di
push 0xbf800000
mov dword [esp + 0xb0], edx
fild dword [esp + 0xb0]
push 0x3f800000
push ecx
push ecx
mov ecx, esi
fstp dword [esp]
push eax
call fcn.0043adc0
mov eax, dword [esp + 0x64]
xor ebp, ebp
test eax, eax
je 0x489b17
mov dword [esp + 0x70], eax
jmp 0x489b1c
mov byte [esp + 0x6d], 1
mov byte [esp + 0x74], 0
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.004281b0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x20], eax
add esp, 8
inc ebp
mov eax, dword [ecx]
mov dword [esp + 0x14], edx
test eax, eax
je 0x489b5f
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x70]
cmp edx, eax
jne 0x489b21
mov al, byte [esp + 0x74]
test al, al
je 0x489b21
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xac]
push eax
mov eax, dword [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x90]
lea edx, [esp + 0x18]
fld dword [ecx + 0x2c]
fmul qword [0x4dcb20]
push edx
mov edx, dword [esp + 0xa0]
push eax
push ecx
fstp dword [esp]
fld dword [esp + 0xac]
push edx
push edi
push esi
push 2
call sub.MSVCRT.dll__ftol
push eax
lea eax, [esp + 0x84]
push ebp
push eax
call fcn.00482520
fstp qword [esp + 0x4c]
add esp, 0x30
test bl, bl
je 0x489ca1
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x18]
call fcn.0043ff80
movsx ecx, word [esp + 0x20]
dec eax
push eax
movsx eax, word [esp + 0x26]
push eax
push ecx
push 0x4c6674
call fcn.00443600
mov eax, dword [esp + 0x28]
xor edi, edi
add esp, 0x18
lea edx, [esp + 0x10]
cmp eax, edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
je 0x489c0e
mov eax, dword [eax]
jmp 0x489c10
xor eax, eax
cmp eax, edi
mov dword [esp + 0x2c], eax
je 0x489c1c
mov ecx, dword [eax]
jmp 0x489c1e
xor ecx, ecx
cmp eax, edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], edi
mov byte [esp + 0x34], 0
mov byte [esp + 0x35], 0
je 0x489c3a
mov dword [esp + 0x38], eax
jmp 0x489c3f
mov byte [esp + 0x35], 1
mov byte [esp + 0x3c], 0
mov ecx, dword [esp + 0x24]
cmp dword [ecx], edi
je 0x489c92
cmp eax, dword [esp + 0x38]
jne 0x489c5a
mov cl, byte [esp + 0x3c]
test cl, cl
jne 0x489c92
mov cl, byte [eax + 4]
test cl, cl
je 0x489c72
push 0x4c663c
call fcn.00443600
mov eax, dword [esp + 0x30]
add esp, 4
mov edx, dword [eax + 0xc]
push edx
push 0x4c6634
call fcn.00443600
add esp, 8
lea ecx, [esp + 0x24]
call fcn.004403e0
mov eax, dword [esp + 0x2c]
jmp 0x489c44
push 0x4b18c8
call fcn.00443600
add esp, 4
jmp 0x489ca3
xor edi, edi
mov al, byte [0x4dc2f0]
test al, al
je 0x489cd2
cmp bp, di
jle 0x489cd2
mov eax, dword [0x4dc33c]
cmp eax, edi
jbe 0x489cd2
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x10]
push ecx
push edx
push 0x15
push eax
call fcn.0046fc10
add esp, 0x10
lea eax, [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
cmp eax, edi
mov dword [esp + 0x28], eax
je 0x489cea
mov eax, dword [eax]
jmp 0x489cec
xor eax, eax
cmp eax, edi
mov dword [esp + 0x2c], eax
je 0x489cf8
mov ecx, dword [eax]
jmp 0x489cfa
xor ecx, ecx
cmp eax, edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], edi
mov byte [esp + 0x34], 0
mov byte [esp + 0x35], 0
je 0x489d16
mov dword [esp + 0x38], eax
jmp 0x489d1b
mov byte [esp + 0x35], 1
mov byte [esp + 0x3c], 0
mov ecx, dword [esp + 0x24]
cmp dword [ecx], edi
je 0x489e0b
cmp eax, dword [esp + 0x38]
jne 0x489d3e
mov cl, byte [esp + 0x3c]
test cl, cl
jne 0x489e0b
mov esi, dword [eax + 0xc]
push 8
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, edi
je 0x489d63
mov dword [eax], edi
mov word [eax + 6], di
mov word [eax + 4], di
mov word [eax + 4], si
mov word [eax + 6], di
jmp 0x489d65
xor eax, eax
mov edx, dword [esp + 0x40]
cmp dword [edx], edi
jne 0x489d7f
mov dword [eax], eax
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], eax
jmp 0x489dc3
mov edx, dword [esp + 0x4c]
mov dword [eax], edx
mov ecx, dword [esp + 0x48]
cmp ecx, edi
je 0x489da3
mov dword [ecx], eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x44], ecx
cmp ecx, dword [edx]
jne 0x489dc3
mov dword [edx], eax
jmp 0x489dc3
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
mov cl, byte [esp + 0x50]
test cl, cl
je 0x489db7
mov edx, dword [esp + 0x40]
mov dword [edx], eax
mov cl, byte [esp + 0x51]
test cl, cl
je 0x489dc3
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
cmp eax, edi
je 0x489deb
cmp ecx, eax
je 0x489deb
cmp ecx, edi
jne 0x489df9
cmp dword [esp + 0x28], eax
jne 0x489df9
mov al, byte [esp + 0x34]
test al, al
je 0x489df9
mov edx, dword [esp + 0xa0]
mov cx, word [ecx + 8]
mov word [edx], cx
lea ecx, [esp + 0x24]
call fcn.004403e0
mov eax, dword [esp + 0x2c]
jmp 0x489d20
push fcn.00456390
lea ecx, [esp + 0x14]
call fcn.0043fe20
mov eax, dword [esp + 0x9c]
mov ax, word [eax]
cmp ax, di
pop edi
pop ebx
jle 0x489e43
movsx ecx, ax
mov dword [esp + 0xa0], ecx
fild dword [esp + 0xa0]
fdivr qword [esp + 0x14]
fsqrt
jmp 0x489e50
fld dword [esp + 0x90]
fmul dword [0x4a8370]
fstp dword [esp + 0xa0]
push fcn.00456390
lea ecx, [esp + 0xc]
mov byte [esp + 0x7c], 0
call fcn.0043fe20
mov ecx, dword [esp + 0x70]
pop esi
fld dword [esp + 0x9c]
pop ebp
mov dword fs:[0], ecx
add esp, 0x74
ret