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

Disassembly:
sub esp, 0x2c
push ebx
push ebp
mov ebp, dword [esp + 0x54]
mov eax, ecx
push edi
mov dword [esi + 0x94], 0
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x47c2d0
sub eax, edi
push eax
lea ebx, [esi + 8]
push ecx
mov ecx, ebx
call fcn.00403a50
mov eax, dword [esp + 0x50]
mov dword [esi + 0x90], eax
test ebp, ebp
jne 0x47c308
push 0x40
call fcn.00501e17
add esp, 4
test eax, eax
je 0x47c31d
call fcn.0047cf20
jmp 0x47c31f
push 0x44
call fcn.00501e17
add esp, 4
test eax, eax
je 0x47c31d
call fcn.0047ec80
jmp 0x47c31f
xor eax, eax
mov edi, eax
test edi, edi
jne 0x47c33f
fldz
mov eax, dword [esp + 0x3c]
fst dword [eax]
fst dword [eax + 4]
fst dword [eax + 8]
fstp dword [eax + 0xc]
pop edi
pop ebp
pop ebx
add esp, 0x2c
ret 0x2c
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 4]
mov edx, dword [edi]
mov edx, dword [edx + 8]
push ecx
mov ecx, edi
call edx
cmp dword [esi + 0x90], 0xfde9
mov eax, dword [edi]
mov eax, dword [eax + 0x88]
sete cl
movzx edx, cl
push edx
mov ecx, edi
call eax
mov edx, dword [edi]
mov eax, dword [esi + 0x90]
mov edx, dword [edx + 0x8c]
push eax
mov ecx, edi
call edx
mov eax, dword [esp + 0x40]
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x4c]
mov dword [esi], 0
mov dword [esi + 4], 0
mov byte [esi + 0x74], 1
mov edx, dword [edi]
mov edx, dword [edx + 0x20]
push eax
mov ecx, edi
call edx
mov dword [esp + 0x58], eax
fild dword [esp + 0x58]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
mov edx, dword [esi + 0x24]
fstp dword [esp + 0x58]
mov edx, dword [edx + 4]
fld dword [esp + 0x58]
mov dword [esp + 0x30], ebp
fdiv qword [0x5560c8]
lea ebp, [esi + 0x24]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x34], ecx
push eax
mov ecx, ebp
mov dword [esp + 0x28], 0x190
mov byte [esp + 0x2c], 0
mov dword [esp + 0x30], 0
fstp dword [esp + 0x24]
call edx
cmp dword [ebx + 0x18], 0x10
mov dword [esp + 0x58], 1
jb 0x47c40e
mov ebx, dword [ebx + 4]
jmp 0x47c411
add ebx, 4
fldz
push 0
fst dword [esp + 0x10]
push edi
mov eax, dword [esp + 0x14]
fst dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fst dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
fst dword [esp + 0x20]
mov dword [esi + 0x2c], eax
fst dword [esp + 0x14]
mov eax, dword [esp + 0x20]
fst dword [esp + 0x18]
mov dword [esi + 0x30], ecx
fst dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
fstp dword [esp + 0x20]
mov dword [esi + 0x34], edx
mov edx, dword [esp + 0x18]
mov dword [esi + 0x3c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x40], edx
mov edx, dword [esi + 0x98]
mov dword [esi + 0x44], eax
mov eax, esi
mov dword [esi + 0x48], ecx
mov dword [esi + 0x50], edx
call fcn.0047be50
add eax, dword [esi + 0x98]
push 0xa
push ebx
mov dword [esp + 0x58], eax
call fcn.00505410
add esp, 8
test eax, eax
je 0x47c4ab
inc dword [esp + 0x58]
inc eax
push 0xa
push eax
call fcn.00505410
add esp, 8
test eax, eax
jne 0x47c497
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
push ebp
mov ecx, edi
call edx
fadd qword [0x556030]
call fcn.00505040
mov dword [esi + 0x4c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x70]
push ebp
mov ecx, edi
call edx
call fcn.00505040
mov ecx, dword [esi + 0x4c]
imul ecx, dword [esp + 0x58]
mov edx, dword [esi + 0xa0]
lea ecx, [ecx + edx*2]
mov edx, dword [edi]
sub ecx, eax
mov eax, dword [edx]
mov dword [esp + 0x5c], ecx
push 1
mov ecx, edi
call eax
cmp byte [esi + 0x59], 0
fild dword [esi + 0x50]
mov eax, dword [esp + 0x3c]
fstp dword [esp + 0x58]
fld dword [esp + 0x60]
fld st(0)
fld dword [esp + 0x58]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [eax]
je 0x47c542
fld dword [esp + 0x64]
fisub dword [esi + 0xa4]
fild dword [esp + 0x5c]
fsubr st(1)
fstp dword [eax + 4]
fild dword [esp + 0x50]
faddp st(3)
fxch st(2)
fsubrp st(1)
fstp dword [eax + 8]
fstp dword [eax + 0xc]
pop edi
pop ebp
pop ebx
add esp, 0x2c
ret 0x2c
fild dword [esi + 0xa4]
pop edi
pop ebp
pop ebx
fadd dword [esp + 0x58]
fiadd dword [esp + 0x38]
fst dword [eax + 4]
fild dword [esp + 0x44]
faddp st(3)
fxch st(2)
fsubrp st(1)
fstp dword [eax + 8]
fiadd dword [esp + 0x50]
fstp dword [eax + 0xc]
add esp, 0x2c
ret 0x2c