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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1a4
mov ecx, dword [0x72a3e8]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [0x72a3e4]
lea eax, [esi + 0x40]
cmp eax, ecx
push edi
jb 0x4881d5
mov eax, dword [0x72a3f8]
add eax, 0x40
mov dword [0x72a3f4], 1
mov dword [0x72a3f8], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
test esi, esi
mov dword [esp + 0x68], esi
mov dword [0x72a3e4], eax
je 0x488805
lea ecx, [esp + 0x110]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0x3f800000
call fcn.0040b040
mov eax, dword [ebp + 0x14]
xor edi, edi
test eax, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x3c], 1
je 0x488234
push eax
push esi
call fcn.00401c70
add esp, 8
jmp 0x48823d
push esi
call fcn.00598300
add esp, 4
mov esi, dword [ebp + 0x10]
push esi
lea ecx, [ebx + 0x24]
call fcn.0059cf80
fstp dword [esp + 0x64]
push esi
lea ecx, [ebx + 0x2c]
call fcn.0059cf80
fsub dword [esp + 0x64]
mov eax, dword [ebx + 8]
fild dword [eax + 4]
fdivp st(1)
fstp dword [esp + 0x6c]
fld dword [ebp + 0x10]
fmul dword [eax + 8]
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
push eax
call fcn.004361d0
fcom dword [esp + 0x34]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x48828e
fsub dword [0x6bda18]
fld dword [esp + 0x30]
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 4]
fsub st(1)
test eax, eax
mov dword [esp + 0x38], 0
fstp dword [esp + 0x30]
fstp st(0)
jl 0x488805
mov eax, dword [ebx]
test eax, eax
je 0x4882df
mov ecx, dword [eax + 8]
sub ecx, 0
je 0x4882d1
dec ecx
je 0x4882cc
dec ecx
je 0x4882d1
fld dword [0x6bda00]
jmp 0x4882e5
fild dword [eax + 4]
jmp 0x4882e5
mov edx, dword [eax + 4]
dec edx
mov dword [esp + 0x34], edx
fild dword [esp + 0x34]
jmp 0x4882e5
mov ecx, dword [ebx + 4]
fld dword [ecx + 0xc]
test eax, eax
fild dword [esp + 0x38]
fst dword [esp + 0x34]
fmul dword [esp + 0x6c]
fadd dword [esp + 0x64]
fmul st(1)
fstp dword [esp + 0x14]
fstp st(0)
je 0x48833d
mov edx, dword [esp + 0x14]
push edx
lea esi, [esp + 0x44]
mov edi, eax
call fcn.0055f490
mov eax, dword [esp + 0x14]
mov edi, dword [ebx]
push eax
lea esi, [esp + 0x54]
call fcn.0055f540
mov ecx, dword [esp + 0x14]
mov edi, dword [ebx]
push ecx
lea esi, [esp + 0x84]
call fcn.0055f600
mov edi, dword [esp + 0x18]
jmp 0x4883e6
mov esi, dword [esp + 0x14]
mov eax, dword [ebx + 4]
push 0
push esi
lea edx, [esp + 0x108]
push edx
call fcn.00577d90
mov eax, dword [esp + 0x100]
mov ecx, dword [esp + 0x104]
mov edx, dword [esp + 0x108]
push 1
mov dword [esp + 0x44], eax
push esi
lea eax, [esp + 0xf8]
push eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
call fcn.00577d90
mov ecx, dword [esp + 0xf0]
mov eax, dword [esp + 0xf8]
mov edx, dword [esp + 0xf4]
push 2
mov dword [esp + 0x54], ecx
push esi
lea ecx, [esp + 0xe8]
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 4]
push ecx
mov dword [esp + 0x60], edx
call fcn.00577d90
mov edx, dword [esp + 0xe0]
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe8]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
fld dword [esp + 0x48]
mov edx, dword [ebx + 8]
fadd dword [edx + 0x18]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x54]
push ecx
fstp dword [esp + 0x50]
call fcn.00599e10
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0059a0e0
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.00599e10
fld dword [esp + 0xa4]
fmul dword [esp + 0x44]
mov ecx, dword [ebx + 8]
fld dword [esp + 0xa0]
add esp, 0x18
fmul dword [esp + 0x28]
lea edx, [esp + 0x24]
lea eax, [esp + 0x94]
faddp st(1)
fld dword [esp + 0x84]
fmul dword [esp + 0x24]
faddp st(1)
fmul dword [ecx + 0x1c]
lea ecx, [esp + 0x74]
fstp dword [esp]
push edx
push eax
push ecx
call fcn.00599fc0
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.0059a0e0
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.00599e10
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x9c]
push eax
call fcn.0059a0e0
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0xa4]
push edx
call fcn.00599e10
mov eax, dword [esp + 0x70]
xor esi, esi
add esp, 0x38
cmp eax, esi
jne 0x4885ef
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xb8], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc8], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0xd0], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x68]
push eax
mov dword [esp + 0xdc], edx
push ecx
lea edx, [esp + 0xa8]
push edx
mov dword [esp + 0xb8], esi
mov dword [esp + 0xc8], esi
mov dword [esp + 0xd8], esi
mov dword [esp + 0xe8], 0x3f800000
call fcn.00598510
mov eax, dword [ebx + 0x10]
add esp, 0xc
cmp eax, esi
mov dword [esp + 0x18], esi
jle 0x4885ef
mov eax, dword [ebx + 0xc]
lea ecx, [esi + eax]
cmp dword [ecx + 0x10], 1
jne 0x4885d9
mov edx, dword [ebx + 8]
fld dword [ebp + 0x10]
fcomp dword [edx + 0x58]
fnstsw ax
test ah, 5
jp 0x4885d2
lea eax, [esp + 0xa0]
push eax
add ecx, 0x30
push ecx
call fcn.00401c70
add esp, 8
jmp 0x4885d9
mov dword [ecx + 0x10], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0x10]
inc eax
add esi, 0xc0
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x4885a0
mov ecx, dword [ebx + 8]
fild dword [ecx + 4]
mov esi, ecx
lea ecx, [ebx + 0x1c]
fdivr dword [esp + 0x34]
fstp dword [esp + 0x14]
fld dword [0x6bda18]
fsub dword [esp + 0x14]
mov edx, dword [esp + 0x14]
push edx
fstp dword [esp + 0x1c]
call fcn.0059cf80
fmul dword [esi + 0x10]
mov ecx, dword [esp + 0x3c]
mov eax, edi
shl eax, 4
fmul dword [0x6bda38]
fld dword [esp + 0x20]
fmul st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul st(1)
fstp dword [esp + 0x24]
fmul dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x40]
fadd dword [esp + 0x20]
fstp dword [esp + eax + 0x120]
fld dword [esp + 0x44]
fadd dword [esp + 0x24]
fstp dword [esp + eax + 0x124]
fld dword [esp + 0x28]
fadd dword [esi + 0x14]
fadd dword [esp + 0x48]
fstp dword [esp + eax + 0x128]
mov eax, ecx
fld dword [esp + 0x40]
shl eax, 4
fsub dword [esp + 0x20]
lea ecx, [ecx + ecx*2]
fstp dword [esp + eax + 0x120]
fld dword [esp + 0x44]
fsub dword [esp + 0x24]
fstp dword [esp + eax + 0x124]
fld dword [esp + 0x48]
fsub dword [esp + 0x28]
fadd dword [esi + 0x14]
fstp dword [esp + eax + 0x128]
lea eax, [edi + edi*2]
fld dword [esp + 0x14]
fadd dword [esp + 0x30]
fst dword [esp + eax*4 + 0x164]
fstp dword [esp + ecx*4 + 0x164]
fld dword [ebp + 0x10]
fsub dword [esi + 0x58]
fcom dword [0x6bda00]
fnstsw ax
test ah, 5
jp 0x4886e6
fstp st(0)
fld dword [0x6bda18]
jmp 0x4886f7
fld dword [0x6bda18]
fsub dword [esi + 0x58]
fdivp st(1)
fsubr dword [0x6bda18]
fld dword [esp + 0x18]
fmul dword [esi + 0xa4]
fld dword [esp + 0x14]
fmul dword [esi + 0xb4]
faddp st(1)
call fcn.00666390
fld dword [esp + 0x18]
fmul dword [esi + 0xa8]
mov byte [esp + 0x1f], al
fld dword [esp + 0x14]
mov byte [esp + edi*4 + 0x190], al
fmul dword [esi + 0xb8]
faddp st(1)
call fcn.00666390
fld dword [esp + 0x18]
fmul dword [esi + 0xac]
mov byte [esp + edi*4 + 0x191], al
fld dword [esp + 0x14]
fmul dword [esi + 0xbc]
faddp st(1)
call fcn.00666390
fld dword [esp + 0x18]
fmul dword [esi + 0xb0]
mov byte [esp + edi*4 + 0x192], al
fld dword [esp + 0x14]
fmul dword [esi + 0xc0]
faddp st(1)
fmul st(1)
call fcn.00666390
fstp st(0)
mov dl, byte [esp + 0x1f]
mov esi, dword [esp + 0x38]
mov byte [esp + edi*4 + 0x193], al
mov eax, dword [esp + 0x3c]
mov byte [esp + eax*4 + 0x190], dl
mov cl, byte [esp + edi*4 + 0x191]
mov byte [esp + eax*4 + 0x191], cl
mov dl, byte [esp + edi*4 + 0x192]
mov byte [esp + eax*4 + 0x192], dl
mov cl, byte [esp + edi*4 + 0x193]
mov byte [esp + eax*4 + 0x193], cl
xor edi, 3
xor eax, 3
test esi, esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x3c], eax
jle 0x4887f0
mov edx, dword [esp + 0x68]
mov eax, dword [ebx + 0x18]
push 0
push edx
push eax
lea eax, [esp + 0x11c]
call fcn.0040b420
add esp, 0xc
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + 4]
add esi, 2
cmp esi, eax
mov dword [esp + 0x38], esi
jle 0x4882b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10