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

Disassembly:
sub esp, 0x54
push ebp
mov ebp, dword [esp + 0x5c]
push esi
mov esi, eax
mov eax, dword [esi]
push edi
push eax
call dword [0x8c3980]
xor edi, edi
add esp, 4
add esi, 4
cmp eax, edi
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x48], edi
jne 0x47fa23
mov dword [ebp + 0x40], edi
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x54
ret
imul eax, eax, 0x2c
push eax
call dword [esp + 0x6c]
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x44]
add esp, 4
cmp eax, edi
mov dword [esp + 0x14], edi
jle 0x47fcb2
mov dword [esp + 0xc], edi
push ebx
mov ebx, dword [ebp + 0x40]
add ebx, dword [esp + 0x10]
mov eax, dword [esi]
push eax
call dword [0x8c3980]
mov dword [ebx + 4], eax
lea eax, [eax + eax*2]
shl eax, 4
push eax
add esi, 4
call dword [esp + 0x74]
mov dword [ebx], eax
mov eax, dword [ebx + 4]
add esp, 8
cmp eax, edi
mov dword [esp + 0x14], edi
jle 0x47fbb3
mov dword [esp + 0x68], edi
mov edi, edi
mov edi, dword [ebx]
add edi, dword [esp + 0x68]
mov ecx, dword [esi]
mov edx, ecx
push edx
mov dword [esp + 0x20], ecx
call dword [0x8cb68c]
fstp dword [edi]
mov eax, dword [esi + 4]
add esi, 4
mov ecx, eax
push ecx
mov dword [esp + 0x28], eax
call dword [0x8cb68c]
fstp dword [edi + 4]
mov edx, dword [esi + 4]
add esi, 4
mov eax, edx
push eax
mov dword [esp + 0x30], edx
call dword [0x8cb68c]
fstp dword [edi + 8]
mov ecx, dword [esi + 4]
add esi, 4
mov edx, ecx
push edx
mov dword [esp + 0x38], ecx
call dword [0x8cb68c]
fstp dword [edi + 0xc]
mov eax, dword [esi + 4]
add esi, 4
mov ecx, eax
push ecx
mov dword [esp + 0x40], eax
call dword [0x8cb68c]
fstp dword [edi + 0x10]
mov edx, dword [esi + 4]
add esi, 4
mov eax, edx
push eax
mov dword [esp + 0x48], edx
call dword [0x8cb68c]
fstp dword [edi + 0x14]
mov ecx, dword [esi + 4]
add esi, 4
mov edx, ecx
push edx
mov dword [esp + 0x50], ecx
call dword [0x8cb68c]
fstp dword [edi + 0x18]
mov eax, dword [esi + 4]
add esi, 4
mov ecx, eax
push ecx
mov dword [esp + 0x58], eax
call dword [0x8cb68c]
fstp dword [edi + 0x1c]
mov edx, dword [esi + 4]
add esi, 4
mov eax, edx
push eax
mov dword [esp + 0x60], edx
call dword [0x8cb68c]
fstp dword [edi + 0x20]
mov ecx, dword [esi + 4]
add esi, 4
mov edx, ecx
push edx
mov dword [esp + 0x68], ecx
call dword [0x8cb68c]
fstp dword [edi + 0x24]
mov eax, dword [esi + 4]
add esi, 4
mov ecx, eax
push ecx
mov dword [esp + 0x70], eax
call dword [0x8cb68c]
fstp dword [edi + 0x28]
mov edx, dword [esi + 4]
add esi, 4
mov eax, edx
push eax
mov dword [esp + 0x78], edx
call dword [0x8cb68c]
fstp dword [edi + 0x2c]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x98]
mov ecx, dword [ebx + 4]
add esp, 0x30
add esi, 4
inc eax
add edx, 0x30
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x68], edx
jl 0x47fa80
xor edi, edi
mov ecx, dword [esi]
mov edx, ecx
push edx
mov dword [esp + 0x50], ecx
call dword [0x8cb68c]
fsub dword [0x55a4b4]
add esi, 4
fstp dword [ebx + 8]
mov eax, dword [esi]
mov ecx, eax
push ecx
mov dword [esp + 0x58], eax
call dword [0x8cb68c]
fsub dword [0x55a4b4]
add esi, 4
fstp dword [ebx + 0xc]
mov edx, dword [esi]
mov eax, edx
push eax
mov dword [esp + 0x60], edx
call dword [0x8cb68c]
fsub dword [0x55a4b4]
add esi, 4
fstp dword [ebx + 0x10]
mov ecx, dword [esi]
mov edx, ecx
push edx
mov dword [esp + 0x68], ecx
call dword [0x8cb68c]
fadd dword [0x55a4b4]
add esi, 4
fstp dword [ebx + 0x14]
mov eax, dword [esi]
mov ecx, eax
push ecx
mov dword [esp + 0x70], eax
call dword [0x8cb68c]
fadd dword [0x55a4b4]
add esi, 4
fstp dword [ebx + 0x18]
mov edx, dword [esi]
mov eax, edx
push eax
mov dword [esp + 0x78], edx
call dword [0x8cb68c]
fadd dword [0x55a4b4]
add esi, 4
fstp dword [ebx + 0x1c]
mov eax, dword [esi]
push eax
call dword [0x8c3980]
mov dword [ebx + 0x20], eax
mov eax, dword [esi + 4]
add esi, 4
push eax
call dword [0x8c3980]
and eax, 0xdfff7ffb
mov dword [ebx + 0x24], eax
mov eax, dword [esi + 4]
add esi, 4
push eax
call dword [0x8c3980]
mov ecx, dword [ebx + 0x24]
mov edx, dword [esp + 0x34]
mov dword [ebx + 0x28], eax
or dword [ebp + 0x48], ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x44]
add esp, 0x24
add esi, 4
inc eax
add edx, 0x2c
cmp eax, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
jl 0x47fa45
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x54
ret