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

Disassembly:
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub esp, 0x3c
and eax, 0xff
mov dword [0xeaa3d0], ecx
push ebx
push ebp
push esi
mov dword [0xf0fd14], eax
mov eax, dword [esp + 0x68]
xor ebp, ebp
push edi
push ebp
mov dword [0xf0fd18], ebp
mov dword [0xf0fcec], edx
mov dword [0xeaa260], eax
call fcn.004851a0
push ebp
call fcn.00484fe0
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
push esi
lea eax, [ecx + ecx*2]
push ebx
shl eax, 3
sub eax, ecx
lea ecx, [eax + eax*2]
lea edi, [ecx*4 + 0xecc6b8]
call fcn.004e38c0
mov eax, dword [0xf0fd14]
add esp, 0x10
cmp eax, ebp
je 0x47e700
mov eax, dword [0xea9c18]
test ah, 1
je 0x47e6d9
mov edx, dword [0xea9c7c]
mov ecx, dword [0xea9c80]
mov dword [0xf0fcf0], edx
mov edx, dword [0xea9c84]
mov dword [0xf0fcf4], ecx
mov ecx, dword [0xea9c88]
mov dword [0xf0fcf8], edx
mov edx, dword [0xea9c8c]
mov dword [0xea9cb0], ecx
mov ecx, dword [0xea9c90]
mov dword [0xea9cb4], edx
mov dword [0xea9cb8], ecx
test ah, 2
je 0x47e700
mov edx, dword [0xea9c50]
mov eax, dword [0xea9c54]
mov ecx, dword [0xea9c58]
mov dword [0xf0fcd8], edx
mov dword [0xf0fcdc], eax
mov dword [0xf0fce0], ecx
push esi
push ebx
call fcn.0047e290
mov esi, dword [esp + 0x78]
mov edx, dword [esp + 0x64]
push esi
push edx
push edi
call fcn.0047e250
add esp, 0x14
cmp esi, 0xffffffff
je 0x47e921
mov al, byte [esp + 0x78]
test al, al
jne 0x47e921
push 5
call fcn.00485040
mov eax, dword [edi + 0x38]
add esp, 4
test eax, eax
jle 0x47e932
mov eax, 1
mov ecx, ebp
shl eax, cl
test esi, eax
je 0x47e903
test ebp, ebp
je 0x47e8f2
lea eax, [ebp + ebp*4]
mov ecx, dword [edi + 0xd8]
lea esi, [eax + eax*8]
shl esi, 1
sub esi, ebp
shl esi, 2
lea eax, [ecx + esi]
lea edx, [eax + 0xcc]
mov ecx, dword [eax + 0xcc]
mov dword [esp + 0x34], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x38], ecx
lea ecx, [eax + 0xc0]
mov edx, dword [edx + 8]
add eax, 0x34
mov dword [esp + 0x3c], edx
mov edx, dword [ecx]
mov dword [esp + 0x10], edx
fld dword [esp + 0x10]
fadd dword [esp + 0x34]
mov edx, dword [ecx + 4]
mov dword [esp + 0x14], edx
mov ecx, dword [ecx + 8]
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fadd dword [esp + 0x38]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], edx
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fadd dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, eax
fstp dword [esp + 0x18]
fld dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [ecx]
fmul dword [0x51d830]
mov dword [esp + 0x24], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x44], edx
mov ecx, dword [ecx + 8]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fmul dword [0x51d830]
mov dword [esp + 0x48], ecx
xor ecx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov edx, dword [edi + 0xd8]
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul dword [0x51d830]
lea eax, [edx + esi + 0x108]
mov dword [eax + 8], ecx
mov dword [eax + 4], ecx
fstp dword [esp + 0x24]
fld dword [esp + 0x1c]
mov dword [eax], ecx
mov ecx, dword [edi + 0xd8]
fmul dword [0x51d854]
lea edx, [ecx + esi + 0xdc]
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword [edx], eax
mov dword [esp + 0x2c], ecx
mov word [edx + 4], ax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x24]
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fmul dword [0x51d854]
mov dword [esp + 0x30], edx
fstp dword [esp + 0x2c]
fld dword [esp + 0x30]
fmul dword [0x51d854]
fstp dword [esp + 0x30]
mov eax, dword [edi + 0xd8]
mov edx, dword [esp + 0x28]
lea ecx, [eax + esi + 0x34]
mov eax, dword [esp + 0x2c]
mov dword [ecx], edx
mov edx, dword [esp + 0x30]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x70]
push eax
mov dword [ecx + 8], edx
mov ecx, dword [edi + 0xd8]
add ecx, esi
push ecx
push edi
call fcn.0046a290
mov edx, dword [edi + 0xd8]
mov ecx, dword [esp + 0x50]
add esp, 0xc
lea eax, [edx + esi + 0x34]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x70]
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
jmp 0x47e903
mov eax, dword [edi + 0xd8]
push esi
push eax
push edi
call fcn.0046a290
add esp, 0xc
mov eax, dword [edi + 0x38]
inc ebp
cmp ebp, eax
jl 0x47e744
call fcn.0047e530
call fcn.004e3b40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov al, byte [edi + 8]
test al, al
je 0x47e932
push esi
push edi
call fcn.0046a6e0
add esp, 8
call fcn.0047e530
call fcn.004e3b40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret