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

Disassembly:
sub esp, 0x5c
push ebp
lea eax, [esp + 4]
push esi
lea ecx, [esp + 0x48]
push eax
push ecx
call fcn.00487b60
mov eax, dword [esp + 0x78]
add esp, 8
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x70], edx
mov dword [esp + 0x1c], eax
fild dword [esp + 0x70]
mov edx, dword [0x84a7c8]
fdivr dword [0x5303b4]
mov eax, dword [edx]
mov ecx, dword [eax + 0x60]
mov esi, dword [ecx + 0x10]
mov dword [esp + 8], esi
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x70], ecx
fst dword [esp + 0xc]
fild dword [esp + 0x1c]
fdivr dword [0x5303b4]
fst dword [esp + 0x14]
fmul dword [0x5303bc]
fstp dword [esp + 0x18]
fmul dword [0x5303bc]
fstp dword [esp + 0x10]
fld dword [edx + 0x18]
fstp dword [esp + 0x24]
fld dword [eax + 0x80]
fdivr dword [0x5303b4]
mov eax, dword [esp + 0x88]
test eax, eax
fstp dword [esp + 0x20]
jne 0x48828b
mov byte [0x80d920], 0
mov ecx, dword [esp + 0x6c]
xor ebp, ebp
xor eax, eax
mov dword [esp + 0x88], ebp
test ecx, ecx
mov dword [esp + 0x1c], eax
jbe 0x4884c1
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x74]
push ebx
mov ebx, dword [esp + 0x7c]
push edi
lea edi, [ecx + 4]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x7c], edx
lea esi, [ecx + 0x18]
mov ecx, dword [esp + 0x70]
mov al, byte [eax + ecx]
mov cl, byte [0x80d920]
cmp al, cl
je 0x4884a0
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x30], edx
add ecx, edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x54]
add ecx, ebx
cmp ebx, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
jge 0x4884a0
test ecx, ecx
jle 0x4884a0
cmp edx, dword [esp + 0x78]
jge 0x4884a0
mov ecx, dword [esp + 0x38]
test ecx, ecx
jle 0x4884a0
mov ebp, dword [esp + 0x64]
xor edx, edx
movsx ecx, al
sub ecx, 0x20
mov eax, ecx
div ebp
mov edx, eax
imul edx, ebp
sub ecx, edx
mov edx, dword [esp + 0x5c]
imul ecx, dword [esp + 0x58]
imul edx, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x40], ecx
add eax, ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
add eax, edx
test ebx, ebx
mov dword [esp + 0x4c], eax
jge 0x488372
sub edx, ebx
mov dword [esp + 0x34], 0
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x3c]
dec eax
cmp ebp, eax
jle 0x488395
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
sub edx, ebp
mov ebp, dword [esp + 0x10]
lea edx, [edx + ebp - 1]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x7c]
test edx, edx
jge 0x4883ab
sub ecx, edx
mov dword [esp + 0x30], 0
mov dword [esp + 0x40], ecx
mov ebp, dword [esp + 0x78]
lea eax, [ebp - 1]
cmp dword [esp + 0x38], eax
jle 0x4883c8
sub ecx, dword [esp + 0x30]
mov dword [esp + 0x38], eax
lea ecx, [ecx + ebp - 1]
mov dword [esp + 0x48], ecx
fild dword [esp + 0x40]
lea eax, [esi - 0x10]
mov ecx, 4
fmul dword [esp + 0x1c]
fadd dword [esp + 0x20]
fst dword [esi - 4]
fild dword [esp + 0x44]
fmul dword [esp + 0x14]
fadd dword [esp + 0x18]
fst dword [esi]
fxch st(1)
fstp dword [esi + 0x18]
fild dword [esp + 0x4c]
fmul dword [esp + 0x14]
fadd dword [esp + 0x18]
fst dword [esi + 0x1c]
fild dword [esp + 0x48]
fmul dword [esp + 0x1c]
fadd dword [esp + 0x20]
fst dword [esi + 0x34]
fxch st(1)
fstp dword [esi + 0x38]
fstp dword [esi + 0x50]
fstp dword [esi + 0x54]
fild dword [esp + 0x30]
fst dword [esi - 0x18]
fild dword [esp + 0x34]
fst dword [esi - 0x14]
fxch st(1)
fstp dword [esi + 4]
fild dword [esp + 0x3c]
fst dword [esi + 8]
fild dword [esp + 0x38]
fst dword [esi + 0x20]
fxch st(1)
fstp dword [esi + 0x24]
fstp dword [esi + 0x3c]
fstp dword [esi + 0x40]
mov ebp, dword [esp + 0x28]
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x2c]
mov dword [eax], ebp
add eax, 0x1c
dec ecx
jne 0x488447
mov eax, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
add esi, 0x70
lea eax, [eax + ebp*4]
mov word [edi - 4], ax
mov word [edi + 2], ax
lea ecx, [eax + 1]
mov word [edi - 2], cx
lea ecx, [eax + 2]
add eax, 3
inc ebp
mov word [edi], cx
mov word [edi + 4], cx
mov word [edi + 6], ax
mov dword [esp + 0x90], ebp
add edi, 0xc
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x24]
add edx, ecx
mov ecx, dword [esp + 0x74]
inc eax
mov dword [esp + 0x7c], edx
cmp eax, ecx
mov dword [esp + 0x24], eax
jb 0x4882c8
pop edi
pop ebx
mov eax, ebp
pop esi
pop ebp
add esp, 0x5c
ret