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

Disassembly:
sub esp, 0x4a0
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x4bc]
lea eax, [esp + 0x2c]
mov ebx, 6
push eax
mov ecx, edi
mov dword [esp + 0x30], 0x6f2c38
mov dword [esp + 0x34], ebx
call fcn.00498ae0
mov esi, eax
xor ebp, ebp
cmp esi, ebp
je 0x4d8d44
push ebp
mov ecx, esi
call fcn.00498400
fstp dword [esp + 0x48]
push 1
mov ecx, esi
call fcn.00498400
fstp dword [esp + 0x3c]
push 2
mov ecx, esi
call fcn.00498400
fstp dword [esp + 0x24]
push 3
mov ecx, esi
call fcn.00498400
fstp dword [esp + 0x4c]
push 4
mov ecx, esi
call fcn.00498400
fstp dword [esp + 0x58]
push 5
mov ecx, esi
call fcn.00498400
mov ecx, dword [0x68ba50]
mov eax, dword [esp + 0x4b8]
fstp dword [esp + 0x50]
mov dword [esp + 0x7c], ecx
mov edx, ecx
push eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], edx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x78], ebp
call fcn.004abde0
mov ecx, dword [0x68ba4c]
lea edx, [esp + 0x2c]
mov dword [esp + 0x18], ecx
push edx
mov ecx, edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x30], 0x6f2c30
mov dword [esp + 0x34], ebx
call fcn.00498ae0
mov esi, eax
cmp esi, ebp
je 0x4d89a3
push ebp
mov ecx, esi
call fcn.00498400
fstp dword [esp + 0x10]
push 1
mov ecx, esi
call fcn.00498400
fstp dword [esp + 0x18]
lea eax, [esp + 0x2c]
mov ecx, edi
push eax
mov dword [esp + 0x58], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x30], 0x6f2c28
mov dword [esp + 0x34], ebx
call fcn.00498ae0
mov esi, eax
cmp esi, ebp
je 0x4d89e2
push ebp
mov ecx, esi
call fcn.004983d0
push 1
mov ecx, esi
mov dword [esp + 0x58], eax
call fcn.004983d0
mov dword [esp + 0x40], eax
fld dword [esp + 0x18]
fsub dword [esp + 0x10]
lea ecx, [esp + 0xb0]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ecx
fstp dword [esp + 0x38]
fild dword [esp + 0x20]
mov ebx, dword [esp + 0x4c4]
xor esi, esi
test ebx, ebx
fmul dword [esp + 0x38]
fmul dword [0x68219c]
fadd dword [esp + 0x10]
fstp dword [esp + 0x14]
jle 0x4d8a4e
mov edi, dword [esp + 0x4c0]
lea edx, [esp + 0x34]
lea eax, [esp + esi*4 + 0x88]
push edx
push eax
lea ecx, [esp + 0x1c]
push 1
push ecx
mov ecx, dword [edi]
call fcn.004f2cc0
mov edx, dword [esp + 0x34]
add edi, 4
add esi, edx
dec ebx
jne 0x4d8a27
mov ecx, dword [esp + 0x4c8]
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x20]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x94]
push eax
call dword [edx + 4]
fld dword [esp + 0x28]
fmul dword [0x6860a4]
push ecx
fstp dword [esp]
call fcn.004ac220
fld dword [esp + 0x20]
mov ecx, dword [esp + 0x4d0]
mov esi, eax
fmul dword [0x6860a4]
shl ecx, 8
or esi, ecx
shl esi, 8
fstp dword [esp]
call fcn.004ac220
fld dword [esp + 0x48]
fmul dword [0x6860a4]
or esi, eax
shl esi, 8
fstp dword [esp]
call fcn.004ac220
or esi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
inc ebp
mov dword [eax], esi
add eax, 4
cmp ebp, 0x100
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], eax
jl 0x4d89fd
fld dword [esp + 0x3c]
fsub dword [esp + 0x58]
fld dword [esp + 0x48]
fsub dword [esp + 0x4c]
fld dword [esp + 0x24]
fsub dword [esp + 0x50]
fld st(1)
fmul st(2)
fld st(3)
fmul st(4)
faddp st(1)
mov edi, dword [esp + 0x4b4]
xor eax, eax
mov dword [esp + 0x20], eax
fld st(1)
fmul st(2)
mov ebp, dword [edi + 8]
mov edx, dword [edi + 0x14]
mov ebx, dword [edi + 4]
cmp ebp, eax
fsubp st(1)
mov dword [esp + 0x68], ebp
mov dword [esp + 0x2c], edx
fstp dword [esp + 0x28]
fstp st(0)
fstp st(0)
fstp st(0)
jle 0x4d8d44
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [esp + 0x18]
xor esi, esi
add eax, edx
mov dword [esp + 0x14], esi
test ebx, ebx
jle 0x4d8d25
fild dword [esp + 0x20]
mov ebp, eax
fstp dword [esp + 0x44]
fld dword [esp + 0x58]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x60]
fld dword [esp + 0x4c]
fsub dword [esp + 0x48]
fstp dword [esp + 0x5c]
fld dword [esp + 0x50]
fsub dword [esp + 0x24]
fst dword [esp + 0x38]
fmul dword [esp + 0x24]
fstp dword [esp + 0x64]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
fstp dword [esp + 0x6c]
fild dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x34]
lea eax, [esp + 0x10]
mov dword [esp + 0x34], ecx
push edx
push eax
fstp dword [esp + 0x18]
lea ecx, [esp + 0x78]
call fcn.004abc70
fld dword [esp + 0x34]
fsub dword [esp + 0x3c]
fld dword [esp + 0x10]
fsub dword [esp + 0x48]
fstp dword [esp + 0x10]
fld dword [esp + 0x5c]
fmul dword [esp + 0x10]
fld dword [esp + 0x60]
fmul st(2)
faddp st(1)
fadd dword [esp + 0x64]
fmul dword [0x68ba5c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x10]
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
fld st(1)
fmul st(2)
fld st(3)
fmul st(4)
faddp st(1)
fsub dword [esp + 0x6c]
fmul dword [esp + 0x28]
fmul dword [0x6860ac]
fsubp st(1)
fstp st(2)
fstp st(0)
fcom dword [0x675254]
fnstsw ax
test ah, 1
jne 0x4d8d0f
fsqrt
fstp dword [esp + 0x10]
fld dword [esp + 0x28]
fcomp dword [0x675254]
fld dword [esp + 0x28]
fadd st(0), st(0)
fnstsw ax
test ah, 0x41
jne 0x4d8c63
fld dword [esp + 0x1c]
fchs
fsub dword [esp + 0x10]
fdiv st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fsub dword [esp + 0x1c]
fdivrp st(1)
jmp 0x4d8c85
fstp dword [esp + 0x14]
fld dword [esp + 0x1c]
fchs
fsub dword [esp + 0x10]
fdiv dword [esp + 0x14]
fld dword [esp + 0x10]
fsub dword [esp + 0x1c]
fdiv dword [esp + 0x14]
fstp dword [esp + 0x14]
fcom dword [0x68ba54]
fnstsw ax
test ah, 0x41
jne 0x4d8ca0
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4d8ca0
fstp st(0)
fld dword [esp + 0x14]
fld dword [esp + 0x38]
fmul st(1)
fadd dword [esp + 0x24]
fcomp dword [0x675254]
fnstsw ax
test ah, 1
jne 0x4d8d0f
fcom dword [0x675254]
fnstsw ax
test ah, 1
je 0x4d8cd4
mov eax, dword [esp + 0x54]
test eax, eax
fstp st(0)
je 0x4d8d11
fld dword [0x675254]
fcom dword [0x68ba4c]
fnstsw ax
test ah, 0x41
jne 0x4d8cf1
mov eax, dword [esp + 0x40]
test eax, eax
fstp st(0)
je 0x4d8d11
fld dword [0x68ba4c]
fmul dword [0x68ba58]
call fcn.004665dc
shl eax, 2
lea ecx, [esp + 0xb0]
sub ecx, eax
mov edx, dword [ecx]
mov dword [ebp], edx
jmp 0x4d8d11
fstp st(0)
inc esi
add ebp, 4
cmp esi, ebx
mov dword [esp + 0x14], esi
jl 0x4d8b9a
mov ebp, dword [esp + 0x68]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
inc eax
add edx, ecx
cmp eax, ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
jl 0x4d8b3d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4a0
ret