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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb4
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x30]
mov esi, dword [eax + 0x3c]
mov ecx, dword [edi + 0x28]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0xc]
xor ebx, ebx
add esi, 0x80
cmp ecx, ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ebx
jle 0x4f5c8d
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], ebx
jmp 0x4f5bc0
mov edx, dword [edi + 0xc]
mov esi, dword [edx + 0x80]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
add esi, ecx
mov ecx, dword [eax + 0x1c]
add ecx, dword [esp + 0x14]
push ecx
lea ebx, [esi + 0x50]
push edx
mov ecx, ebx
call fcn.0054ce90
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
add ecx, eax
push ecx
push edx
mov ecx, esi
call fcn.0054cdc0
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x28]
mov eax, dword [esp + 0x10]
fld dword [ecx + eax*4]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x10]
fld dword [edx + eax*4]
mov edx, dword [esi]
mov dword [esi + 0x10], edx
faddp st(1)
mov edx, dword [esi + 4]
mov dword [esi + 0x14], edx
mov edx, dword [esi + 8]
fld st(0)
mov dword [esi + 0x18], edx
mov edx, dword [esi + 0xc]
mov dword [esi + 0x1c], edx
fmul dword [ebx]
inc eax
mov dword [esp + 0x10], eax
fadd dword [esi + 0x10]
fstp dword [esi + 0x10]
fld st(0)
fmul dword [ebx + 4]
fadd dword [esi + 0x14]
fstp dword [esi + 0x14]
fld st(0)
fmul dword [ebx + 8]
fadd dword [esi + 0x18]
fstp dword [esi + 0x18]
fmul dword [ebx + 0xc]
mov ebx, dword [esp + 0xc]
add ebx, 0xc0
mov dword [esp + 0xc], ebx
fadd dword [esi + 0x1c]
fstp dword [esi + 0x1c]
mov esi, dword [esp + 0x14]
mov edx, dword [ecx + 0xc]
add esi, 0x10
cmp eax, edx
mov dword [esp + 0x14], esi
jl 0x4f5bc0
mov esi, dword [esp + 0x38]
xor ebx, ebx
mov eax, dword [edi]
lea ecx, [esp + 0x50]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov ecx, dword [edi + 0x38]
cmp ecx, ebx
je 0x4f5caf
lea edx, [esp + 0x50]
push edx
call fcn.0053d630
jmp 0x4f5d90
lea ecx, [esp + 0x80]
call fcn.0053db00
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xb4], edx
mov edx, dword [edi + 0x44]
mov dword [esp + 0xbc], ecx
mov ecx, dword [0x9617f0]
push 0x2c
mov dword [esp + 0xbc], eax
mov dword [esp + 0x84], edx
mov eax, dword [ecx]
push 0x90
call dword [eax + 0x10]
lea ecx, [esp + 0x80]
push ecx
mov ecx, eax
mov word [eax + 4], 0x90
call fcn.0053d990
mov edx, dword [edi + 0x30]
lea ecx, [edi + 0x3c]
add edx, 0xc
push ecx
mov ecx, eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x40], edx
call fcn.0053afc0
mov edx, dword [edi + 0x38]
mov ecx, dword [edi + 0x34]
push edx
call fcn.00538410
mov eax, dword [esp + 0x94]
test eax, eax
js 0x4f5d90
mov ecx, dword [0x9617f0]
mov edx, dword [ecx]
and eax, 0x7fffffff
push 0x12
shl eax, 3
push eax
mov eax, dword [esp + 0x94]
push eax
call dword [edx + 0x14]
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0xc], ebx
mov dword [esp + 0x14], ebx
jle 0x4f6013
mov dword [esp + 0x10], ebx
jmp 0x4f5db0
mov edx, dword [edi + 0xc]
mov esi, dword [edx + 0x80]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x50]
push ecx
add esi, eax
mov eax, dword [edi]
push ebx
mov ecx, edi
mov dword [esp + 0x6c], 0x3f800000
mov dword [esp + 0x78], 0
call dword [eax + 0x20]
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x28]
mov ecx, dword [esp + 0x18]
fld dword [eax + ebx*4]
mov edx, dword [ecx + 0x10]
mov eax, dword [esp + 0x70]
fld dword [edx + ebx*4]
xor ecx, ecx
fstp dword [esp + 0x1c]
cmp eax, ecx
je 0x4f5f89
mov eax, dword [esp + 0x50]
mov dword [esi + 0x30], eax
mov edx, dword [esp + 0x54]
mov dword [esi + 0x34], edx
mov eax, dword [esp + 0x58]
mov dword [esi + 0x38], eax
mov edx, dword [esp + 0x5c]
mov dword [esi + 0x3c], edx
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x18], 1
jne 0x4f5e31
mov eax, dword [eax + 0x20]
mov dword [esp + 0xc], eax
jmp 0x4f5e37
mov dword [esp + 0xc], ecx
mov eax, ecx
fadd dword [esp + 0x1c]
mov dword [esi + 0xa4], eax
mov al, byte [eax + 0x40]
mov byte [esi + 0xa8], al
mov eax, dword [esi]
mov byte [esi + 0x80], 1
lea ebx, [esi + 0x20]
fmul dword [esp + 0x64]
fld dword [esp + 0x1c]
fsubr st(1)
fstp dword [esi + 0xb0]
mov dword [ebx], eax
mov ecx, dword [esi + 4]
mov dword [ebx + 4], ecx
fld st(0)
mov edx, dword [esi + 8]
mov dword [ebx + 8], edx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
fmul dword [esi + 0x50]
fadd dword [ebx]
fstp dword [ebx]
fld st(0)
fmul dword [esi + 0x54]
fadd dword [ebx + 4]
fstp dword [ebx + 4]
fld st(0)
fmul dword [esi + 0x58]
fadd dword [ebx + 8]
fstp dword [ebx + 8]
fmul dword [esi + 0x5c]
fadd dword [ebx + 0xc]
fstp dword [ebx + 0xc]
mov ecx, dword [esi + 0xa4]
mov edx, dword [ecx + 0x4c]
mov eax, dword [edi]
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], edx
lea edx, [esp + 0x54]
push edx
push esi
mov ecx, edi
call dword [eax + 0x24]
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x88], eax
fld dword [esi + 0x58]
fmul dword [esi + 0x38]
mov ecx, dword [edi + 0x30]
fld dword [esi + 0x54]
mov ecx, dword [ecx + 0x3c]
fmul dword [esi + 0x34]
mov edx, dword [ecx]
lea eax, [esp + 0x20]
faddp st(1)
fld dword [esi + 0x30]
push eax
fmul dword [esi + 0x50]
push ebx
faddp st(1)
fstp dword [esp + 0x24]
call dword [edx + 0x58]
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ecx]
lea eax, [esp + 0x40]
push eax
push ebx
call dword [edx + 0x58]
fld dword [esp + 0x20]
fsub dword [esp + 0x40]
fld dword [esp + 0x24]
fsub dword [esp + 0x44]
fld dword [esp + 0x28]
fsub dword [esp + 0x48]
fmul dword [esi + 0x38]
mov ebx, dword [esp + 0x14]
fxch st(1)
fmul dword [esi + 0x34]
faddp st(1)
fxch st(1)
fmul dword [esi + 0x30]
faddp st(1)
fld dword [edi + 0x150]
fchs
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
jp 0x4f5f6b
fstp st(0)
mov dword [esi + 0xb4], 0
fld dword [0x6419bc]
fdiv dword [edi + 0x150]
fstp dword [esi + 0xac]
jmp 0x4f5ff1
fld dword [0x645260]
fdiv dword [esp + 0x1c]
fld st(0)
fmul st(2)
fstp dword [esi + 0xb4]
fstp dword [esi + 0xac]
fstp st(0)
jmp 0x4f5ff1
fstp dword [esi + 0xb0]
mov byte [esi + 0x80], 0
mov byte [esi + 0xa8], 1
mov dword [esi + 0xa4], ecx
mov dword [esi + 0xb4], ecx
mov edx, dword [esi + 0x10]
mov dword [esi + 0x20], edx
mov eax, dword [esi + 0x14]
mov dword [esi + 0x24], eax
mov edx, dword [esi + 0x18]
mov dword [esi + 0x28], edx
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x2c], eax
fld dword [esi + 0x50]
fchs
fstp dword [esi + 0x30]
fld dword [esi + 0x54]
fchs
fstp dword [esi + 0x34]
fld dword [esi + 0x58]
fchs
fstp dword [esi + 0x38]
fld dword [esi + 0x5c]
fchs
fstp dword [esi + 0x3c]
mov dword [esi + 0x88], ecx
mov dword [esi + 0xac], 0x3f800000
add dword [esp + 0x10], 0xc0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0xc]
inc ebx
cmp ebx, eax
mov dword [esp + 0x14], ebx
jl 0x4f5db0
mov esi, dword [esp + 0x38]
xor ebx, ebx
mov edx, dword [edi + 0x10]
add edx, 0x10
push edx
push esi
lea ecx, [esp + 0x48]
call fcn.0054ce90
fld dword [esp + 0x48]
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 0x3c]
fmul dword [eax + 0x48]
mov ecx, dword [esp + 0x18]
fld dword [esp + 0x44]
add eax, 0x40
fmul dword [eax + 4]
faddp st(1)
fld dword [esp + 0x40]
fmul dword [eax]
mov eax, dword [ecx + 0xc]
cmp eax, ebx
faddp st(1)
fstp dword [esp + 0x3c]
jle 0x4f61d3
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov edx, dword [edi + 0xc]
mov ecx, dword [esp + 0x10]
mov esi, dword [edx + 0x80]
mov eax, dword [edi + 0x24]
add esi, ecx
mov ecx, dword [eax + 0x1c]
cmp byte [ebx + ecx], 0
jne 0x4f60a8
fld dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
fadd dword [esi + 0x9c]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp + 8]
fdiv dword [eax + ebx*4]
fst dword [esi + 0x8c]
fmul dword [ecx]
fadd dword [esi + 0x90]
fstp dword [esi + 0x90]
jmp 0x4f60b2
mov dword [esi + 0x8c], 0
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x1c]
add eax, dword [esp + 0xc]
mov ecx, dword [edi + 0x18]
mov edx, dword [ecx + 0x14]
fld dword [edx + ebx*4]
fmul dword [0x6431e4]
fld st(0)
fmul dword [eax]
fstp dword [esp + 0x20]
fld st(0)
fmul dword [eax + 4]
fstp dword [esp + 0x24]
fmul dword [eax + 8]
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
faddp st(1)
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
faddp st(1)
fadd dword [0x6419bc]
fld dword [0x641de0]
fld st(1)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4f6121
fsqrt
fdivr dword [0x6419bc]
jmp 0x4f6129
fstp st(0)
fld dword [0x641de0]
fld dword [esp + 0x20]
fmul st(1)
fst dword [esp + 0x20]
fld dword [esp + 0x24]
fmul st(2)
fstp dword [esp + 0x24]
mov eax, dword [esp + 0x24]
fld dword [esp + 0x28]
mov dword [esi + 0x74], eax
fmul st(2)
fstp dword [esp + 0x28]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x78], ecx
fxch st(1)
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x7c], edx
fstp dword [esi + 0x70]
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 0x30]
add eax, 0x30
mov dword [esi + 0x40], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x44], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x48], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x4c], edx
mov eax, dword [edi + 0x10]
add eax, 0x30
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x58]
call fcn.00445904
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x50]
push edx
push eax
lea ecx, [esi + 0x60]
call fcn.0054ce90
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
add ecx, 0x10
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0xc]
inc ebx
add edx, 0xc0
cmp ebx, eax
mov dword [esp + 0x10], edx
jl 0x4f6060
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4