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

Disassembly:
sub esp, 0x84
xor eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0x90]
cmp byte [ebp + 0x52b], al
mov ebx, ecx
mov ecx, 1
push esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ecx
jne 0x47e39a
push edi
lea esi, [ebp + 0x52e]
mov ecx, 0x17
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
pop edi
jmp 0x47e3d9
mov ecx, dword [ebp + 0x572]
mov edx, dword [ebp + 0x576]
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebp + 0x57a]
mov dword [esp + 0x70], edx
mov edx, dword [ebp + 0x57e]
mov dword [esp + 0x74], ecx
mov ecx, dword [ebp + 0x582]
mov dword [esp + 0x78], edx
mov edx, dword [ebp + 0x586]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
push ebp
mov ecx, ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.0047c030
mov dl, byte [ebp + 0x455]
mov cl, byte [ebp + 0x456]
mov byte [esp + 0xc], al
movzx eax, al
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
mov byte [esp + 0xe], dl
lea edx, [ebp + 0x457]
lea esi, [eax + 0x66a554]
mov byte [esp + 0xd], cl
movzx ecx, cl
cmp dword [eax + 0x66a53c], ecx
mov dword [esp + 0x10], edx
lea edx, [eax + 0x66a53c]
mov dword [esp + 0x18], esi
lea eax, [eax + 0x66a524]
lea esi, [esp + 0x28]
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], esi
ja 0x47e45b
mov byte [esp + 0xd], 0
mov edx, dword [eax + 8]
mov esi, dword [esp + 0x98]
push 0
push 0
push ebp
push edx
mov ecx, esi
call fcn.005234c0
push str.NULL.MOD
push 1
mov ecx, esi
call fcn.00522710
lea eax, [esp + 0xc]
push eax
push esi
push ebp
mov ecx, ebx
call fcn.0047d130
lea ecx, [esp + 0xc]
push ecx
push esi
push ebp
mov ecx, ebx
call fcn.0047cf30
lea edx, [esp + 0xc]
push edx
push esi
push ebp
mov ecx, ebx
call fcn.0047cc40
lea eax, [esp + 0xc]
push eax
push esi
push ebp
mov ecx, ebx
call fcn.0047c9d0
mov ecx, ebp
call fcn.00488c70
cmp al, 3
je 0x47e4d7
mov ecx, ebp
call fcn.00488c70
cmp al, 8
je 0x47e4d7
push esi
push ebp
mov ecx, ebx
call fcn.0047d4f0
fld dword [ebp + 0x49e]
fmul qword [0x56b0a0]
call fcn.00551860
push eax
mov ecx, ebp
call fcn.00489000
fld dword [ebp + 0x4a2]
fld qword [0x56b1c0]
fcom st(1)
fnstsw ax
fld dword [0x56b1b8]
test ah, 5
fld dword [str.fff_]
fld qword [0x56a188]
jp 0x47e523
fstp st(4)
fxch st(1)
fst dword [ebp + 0x4a2]
jmp 0x47e536
fcom st(4)
fnstsw ax
fstp st(4)
test ah, 0x41
jne 0x47e534
fst dword [ebp + 0x4a2]
fxch st(1)
fld dword [ebp + 0x49e]
fcom st(3)
fnstsw ax
fstp st(3)
test ah, 0x41
jne 0x47e555
fstp st(2)
fstp st(2)
fstp st(1)
fstp dword [ebp + 0x49e]
jmp 0x47e56e
fstp st(0)
fxch st(1)
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x47e56c
fstp dword [ebp + 0x49e]
jmp 0x47e56e
fstp st(0)
fld dword [ebp + 0x4a2]
sub esp, 0xc
fstp dword [esp + 8]
lea ecx, [esp + 0x90]
fld dword [ebp + 0x49e]
fstp dword [esp + 4]
fld dword [ebp + 0x4a2]
fstp dword [esp]
push ecx
call fcn.00509910
add esp, 0x10
lea edx, [esp + 0x84]
push edx
mov ecx, esi
call fcn.005226e0
push 1
mov ecx, esi
call fcn.005227a0
mov eax, dword [ebp]
mov edx, dword [eax + 0x88]
lea ecx, [ebp + 0x158]
push ecx
mov ecx, ebp
call edx
fld dword [ebp + 0x26c]
fdiv qword [0x563de0]
mov eax, dword [ebp]
mov edx, dword [eax + 0x94]
push ecx
mov ecx, ebp
fmul qword [0x563de8]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp]
call edx
mov eax, dword [ebp + 0x135]
cmp eax, dword [0x648a50]
jne 0x47e60e
lea ecx, [ebp + 0x2a8]
call fcn.005229e0
push ebp
mov ecx, 0x649790
call fcn.00498b30
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x84
ret 8