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

Disassembly:
push 0xffffffffffffffff
push 0x4a668b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
mov eax, 0x7fff
push ebx
mov word [esp + 4], ax
mov word [esp + 6], ax
push ebp
mov eax, 0xffff8001
push esi
push edi
mov word [esp + 0x14], ax
mov word [esp + 0x16], ax
mov edi, dword [esp + 0xdc]
xor ebp, ebp
lea ecx, [esp + 0x44]
mov dword [esp + 0xd4], ebp
lea eax, [edi + 8]
mov dword [esp + 0x28], ebp
push eax
call fcn.0040f9a0
lea ecx, [edi + 0x5c]
push ecx
lea ecx, [esp + 0x74]
call fcn.00426120
fld dword [esp + 0xe0]
fmul dword [esp + 0xe0]
fadd dword [0x4a8248]
fsqrt
fld dword [0x4a8248]
fdiv st(1)
fstp dword [esp + 0x68]
fdivr dword [esp + 0xe0]
fchs
fld dword [esp + 0xe4]
fstp dword [esp + 0x18]
fld dword [esp + 0xe8]
fchs
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fmul dword [esp + 0x68]
fld dword [esp + 0x1c]
fmul st(2)
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x78]
fsubp st(1)
fxch st(1)
fmul dword [esp + 0x18]
fld dword [esp + 0x1c]
fmul dword [esp + 0x68]
mov dword [esp + 0x20], edx
cmp eax, ebp
faddp st(1)
fstp dword [esp + 0x24]
fstp dword [esp + 0x20]
je 0x47b837
mov dword [esp + 0x84], eax
jmp 0x47b83f
mov byte [esp + 0x81], 1
mov byte [esp + 0x88], 0
mov ecx, dword [esp + 0x70]
cmp dword [ecx], ebp
je 0x47bd6e
cmp eax, dword [esp + 0x84]
jne 0x47b86b
mov cl, byte [esp + 0x88]
test cl, cl
jne 0x47bd6e
lea ecx, [eax + 0x70]
mov dword [esp + 0x60], eax
mov dword [esp + 0x28], ecx
mov edx, dword [ecx]
mov dword [esp + 0x2c], edx
mov eax, dword [ecx]
cmp eax, ebp
je 0x47b886
mov eax, dword [eax]
jmp 0x47b888
xor eax, eax
cmp eax, ebp
mov dword [esp + 0x30], eax
je 0x47b894
mov edx, dword [eax]
jmp 0x47b896
xor edx, edx
cmp eax, ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x38], 0
mov byte [esp + 0x39], 0
je 0x47b8b2
mov dword [esp + 0x3c], eax
jmp 0x47b8b7
mov byte [esp + 0x39], 1
mov byte [esp + 0x40], 0
cmp dword [ecx], ebp
je 0x47bd5c
cmp eax, dword [esp + 0x3c]
jne 0x47b8d6
mov cl, byte [esp + 0x40]
test cl, cl
jne 0x47bd5c
mov ecx, dword [eax + 8]
mov esi, eax
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], edx
call fcn.00402110
test al, al
jne 0x47b8ff
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
sub eax, ecx
jmp 0x47b901
xor eax, eax
mov ecx, dword [edi + 0x24]
movsx edx, ax
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], ecx
fild dword [esp + 0x68]
fld dword [esp + 0x64]
fmul qword [0x4dc5d8]
fcompp
fnstsw ax
test ah, 1
je 0x47bd3f
mov al, byte [0x4dc768]
test al, al
je 0x47bb01
mov eax, dword [esi + 0x1c]
cmp eax, ebp
je 0x47bb01
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
push eax
call fcn.00428040
mov bl, byte [esp + 0xf8]
add esp, 0xc
test bl, bl
mov esi, eax
je 0x47b972
mov al, byte [0x4dc838]
test al, al
je 0x47b972
mov edi, 1
jmp 0x47b974
xor edi, edi
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0xdc]
fld dword [eax + 0x94]
fld qword [0x4dc628]
fmul qword [0x4a8220]
fadd qword [0x4dc638]
fmul dword [ecx + 0x24]
call sub.MSVCRT.dll__ftol
push eax
call sub.MSVCRT.dll__ftol
push eax
push esi
push edi
call fcn.0046d240
add esp, 0x10
test al, al
je 0x47baef
lea ecx, [esp + 0x28]
call fcn.00402070
mov edx, dword [esp + 0x44]
cmp dword [edx], ebp
jne 0x47b9db
mov dword [eax], eax
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], eax
jmp 0x47ba1f
mov edx, dword [esp + 0x50]
mov dword [eax], edx
mov ecx, dword [esp + 0x4c]
cmp ecx, ebp
je 0x47b9ff
mov dword [ecx], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x48], ecx
cmp ecx, dword [edx]
jne 0x47ba1f
mov dword [edx], eax
jmp 0x47ba1f
mov ecx, dword [esp + 0x48]
mov dword [ecx], eax
mov cl, byte [esp + 0x54]
test cl, cl
je 0x47ba13
mov edx, dword [esp + 0x44]
mov dword [edx], eax
mov cl, byte [esp + 0x55]
test cl, cl
je 0x47ba1f
mov dword [esp + 0x58], eax
test bl, bl
mov dword [esp + 0x4c], eax
je 0x47baef
mov al, byte [0x4dc838]
test al, al
je 0x47baef
lea eax, [esp + 0xb4]
mov ecx, esi
push eax
call fcn.0043b8f0
mov di, word [eax + 6]
lea ecx, [esp + 0xa4]
push ecx
mov ecx, esi
mov byte [esp + 0xd8], 1
call fcn.0043b8f0
mov bx, word [eax + 4]
lea edx, [esp + 0x8c]
push edx
mov ecx, esi
mov byte [esp + 0xd8], 2
call fcn.0043b8f0
mov bp, word [eax + 2]
lea eax, [esp + 0xc4]
push eax
mov ecx, esi
mov byte [esp + 0xd8], 3
call fcn.0043b8f0
mov ax, word [eax]
mov byte [esp + 0xd4], 4
movsx ecx, di
movsx edx, bx
push ecx
push edx
movsx ecx, bp
movsx edx, ax
push ecx
push edx
push 0x4c54c4
call fcn.00443600
movsx eax, word [esp + 0x2a]
movsx ecx, word [esp + 0x28]
movsx edx, word [esp + 0x26]
add esp, 0x14
mov byte [esp + 0xd4], 0
push eax
push ecx
movsx eax, word [esp + 0x18]
push edx
push eax
push 0x4c54ac
call fcn.00443600
add esp, 0x14
xor ebp, ebp
cmp esi, ebp
je 0x47bd3f
push 0x42be60
jmp 0x47bd2e
mov eax, dword [esi + 0x18]
cmp eax, ebp
je 0x47bb1d
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
push eax
call fcn.00427cf0
add esp, 0xc
jmp 0x47bb38
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esi + 0x1c]
push ecx
mov ecx, dword [esp + 0x68]
push edx
push ecx
push eax
call fcn.00427e90
add esp, 0x10
mov bl, byte [esp + 0xec]
mov esi, eax
test bl, bl
je 0x47bb55
mov al, byte [0x4dc838]
test al, al
je 0x47bb55
mov eax, 1
jmp 0x47bb57
xor eax, eax
fld qword [0x4dc628]
fmul qword [0x4a8220]
mov edx, dword [esp + 0x60]
fadd qword [0x4dc638]
mov ecx, dword [edx + 0x94]
fmul dword [edi + 0x24]
push ecx
mov edx, ecx
mov dword [esp + 0x1c], ecx
fstp dword [esp]
push edx
push esi
push eax
call fcn.0046d010
add esp, 0x10
test al, al
je 0x47bd25
test bl, bl
je 0x47bc5f
mov al, byte [0x4dc838]
test al, al
je 0x47bc5f
lea eax, [esp + 0x9c]
mov ecx, esi
push eax
call fcn.00435490
mov di, word [eax + 6]
lea ecx, [esp + 0xbc]
push ecx
mov ecx, esi
mov byte [esp + 0xd8], 5
call fcn.00435490
mov bp, word [eax + 4]
lea edx, [esp + 0xac]
push edx
mov ecx, esi
mov byte [esp + 0xd8], 6
call fcn.00435490
mov bx, word [eax + 2]
lea eax, [esp + 0x94]
push eax
mov ecx, esi
mov byte [esp + 0xd8], 7
call fcn.00435490
mov ax, word [eax]
mov byte [esp + 0xd4], 8
movsx ecx, di
movsx edx, bp
push ecx
push edx
movsx ecx, bx
movsx edx, ax
push ecx
push edx
push 0x4c54c4
call fcn.00443600
movsx eax, word [esp + 0x2a]
movsx ecx, word [esp + 0x28]
movsx edx, word [esp + 0x26]
add esp, 0x14
mov byte [esp + 0xd4], 0
push eax
push ecx
movsx eax, word [esp + 0x18]
push edx
push eax
push 0x4c54ac
call fcn.00443600
add esp, 0x14
xor ebp, ebp
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
cmp eax, ebp
je 0x47bc86
mov edi, dword [eax]
xor ecx, ecx
cmp eax, edi
sete cl
test cl, cl
je 0x47bc86
mov dword [edx], ebp
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], ebp
jmp 0x47bcbd
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov dword [edx], ecx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
cmp eax, dword [ecx]
jne 0x47bcad
mov eax, dword [esp + 0x2c]
mov dword [ecx], eax
mov eax, dword [esp + 0x30]
mov byte [esp + 0x38], 1
jmp 0x47bcb2
mov byte [esp + 0x38], 0
cmp eax, dword [esp + 0x3c]
sete cl
mov byte [esp + 0x39], cl
mov dword [eax], ebp
mov edx, dword [esp + 0x44]
mov dword [esp + 0x30], ebp
cmp dword [edx], ebp
jne 0x47bcdd
mov dword [eax], eax
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], eax
jmp 0x47bd21
mov edx, dword [esp + 0x50]
mov dword [eax], edx
mov ecx, dword [esp + 0x4c]
cmp ecx, ebp
je 0x47bd01
mov dword [ecx], eax
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x48], ecx
cmp ecx, dword [edx]
jne 0x47bd21
mov dword [edx], eax
jmp 0x47bd21
mov ecx, dword [esp + 0x48]
mov dword [ecx], eax
mov cl, byte [esp + 0x54]
test cl, cl
je 0x47bd15
mov edx, dword [esp + 0x44]
mov dword [edx], eax
mov cl, byte [esp + 0x55]
test cl, cl
je 0x47bd21
mov dword [esp + 0x58], eax
mov dword [esp + 0x4c], eax
cmp esi, ebp
je 0x47bd3f
push 0x435f80
lea ecx, [esi + 4]
call fcn.0043fe20
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x28]
call fcn.004403e0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0xdc]
jmp 0x47b8bc
lea ecx, [esp + 0x70]
call fcn.00440e40
mov eax, dword [esp + 0x78]
jmp 0x47b847
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc8
ret