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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
push ebx
mov ebx, ecx
push esi
mov dword [esp + 0xd4], 0xd
mov eax, dword [ebx + 0x18]
push edi
mov esi, dword [eax + 0x1e4]
mov ecx, esi
mov dword [esp + 0x28], esi
mov edx, dword [esi]
call dword [edx + 8]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x48], eax
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x4f88d5
mov ecx, dword [ebx + 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 0x18]
push edi
mov edx, dword [ecx]
push eax
call dword [edx + 0xe4]
jmp 0x4f88d8
mov edi, dword [ebp + 8]
cmp dword [esi + 0x1c], 4
jne 0x4f8e0d
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
call dword [edx + 0x18]
test eax, eax
je 0x4f8e0d
mov eax, dword [ebx + 0x18]
mov ecx, 0xc
lea edi, [esp + 0xf8]
lea esi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
fld qword [esp + 0xf8]
fmul qword [eax + 0x1f0]
fld qword [esp + 0x108]
fmul qword [eax + 0x1f8]
faddp st(1)
fld qword [esp + 0x100]
fmul qword [eax + 0x1f0]
fld qword [esp + 0x110]
fmul qword [eax + 0x1f8]
mov esi, dword [esp + 0x28]
mov ecx, dword [eax + 0x250]
faddp st(1)
fstp qword [esp + 0x78]
fld qword [esp + 0x108]
fmul qword [eax + 0x208]
fld qword [esp + 0xf8]
fmul qword [eax + 0x200]
faddp st(1)
fstp qword [esp + 0x80]
fld qword [esp + 0x110]
fmul qword [eax + 0x208]
fld qword [esp + 0x100]
fmul qword [eax + 0x200]
faddp st(1)
fstp qword [esp + 0x88]
fmul qword [esi + 0x38]
fld qword [esp + 0x80]
fmul qword [esi + 0x40]
faddp st(1)
fld qword [esp + 0x78]
fmul qword [esi + 0x38]
fld qword [esp + 0x88]
fmul qword [esi + 0x40]
faddp st(1)
fstp qword [esp + 0x78]
fld qword [esp + 0x80]
fmul qword [esi + 0x50]
fld st(1)
fmul qword [esi + 0x48]
faddp st(1)
fstp qword [esp + 0x80]
fld qword [esp + 0x88]
fmul qword [esi + 0x50]
fld qword [esp + 0x78]
fmul qword [esi + 0x48]
faddp st(1)
fstp qword [esp + 0x88]
fmul qword [eax + 0x1e8]
fld qword [eax + 0x1e8]
fmul qword [esp + 0x78]
fstp qword [esp + 0x78]
fld qword [eax + 0x1e8]
fmul qword [esp + 0x80]
fstp qword [esp + 0x80]
fld qword [eax + 0x1e8]
fmul qword [esp + 0x88]
fstp qword [esp + 0x88]
fld qword [eax + 0x230]
fmul st(1)
fstp qword [esp + 0x70]
fstp st(0)
fld qword [eax + 0x230]
fmul qword [esp + 0x80]
fstp qword [esp + 0x80]
fld qword [eax + 0x240]
fld st(0)
fmul qword [eax + 0x200]
fstp qword [esp + 0xa8]
fmul qword [eax + 0x208]
fstp qword [esp + 0xb0]
mov edx, dword [eax + 0x254]
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 0x258]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0x25c]
mov dword [esp + 0x60], ecx
mov ecx, dword [eax + 0x260]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x264]
mov dword [esp + 0xa0], ecx
mov ecx, dword [eax + 0x268]
mov dword [esp + 0xa4], edx
mov edx, dword [eax + 0x26c]
mov eax, dword [ebx + 0x5c]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov ecx, dword [eax + 4]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jle 0x4f8e01
jmp 0x4f8ae5
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x58]
mov edx, dword [esi]
push ecx
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x13c]
push 8
push ecx
lea ecx, [esp + 0x48]
push ecx
push eax
mov eax, dword [esp + 0x3c]
mov ecx, esi
push eax
call dword [edx + 0xc]
mov edi, eax
mov eax, dword [ebx + 0x18]
cmp edi, 1
fld qword [eax + 0x1e8]
fmul qword [esp + 0x10]
fadd qword [eax + 0x220]
fstp qword [esp + 0x10]
jne 0x4f8b4f
mov ecx, dword [esp + 0x18]
cmp byte [ecx], 0x20
jne 0x4f8b4f
fld qword [eax + 0x228]
fadd qword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [eax + 0x230]
fmul qword [esp + 0x10]
mov ecx, ebx
fstp qword [esp + 0x10]
fld qword [eax + 0x1e8]
fmul qword [esp + 0x20]
fstp qword [esp + 0x20]
fld qword [esp + 0x10]
fmul qword [eax + 0x1f0]
fld qword [esp + 0x20]
fmul qword [eax + 0x200]
faddp st(1)
fstp qword [esp + 0x38]
fld qword [esp + 0x10]
fmul qword [eax + 0x1f8]
fld qword [esp + 0x20]
fmul qword [eax + 0x208]
faddp st(1)
fstp qword [esp + 0x30]
fld qword [esp + 0x60]
fadd qword [esp + 0xb0]
fst qword [esp + 0xc8]
fld qword [esp + 0x68]
fadd qword [esp + 0xa8]
fst qword [esp + 0xd0]
fld st(0)
fmul qword [eax + 0x10]
fld st(2)
fmul qword [eax + 0x20]
faddp st(1)
fadd qword [eax + 0x30]
fstp qword [esp + 0xc0]
fmul qword [eax + 0x18]
fxch st(1)
fmul qword [eax + 0x28]
faddp st(1)
fadd qword [eax + 0x38]
fstp qword [esp + 0x48]
call fcn.004fab70
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0xc4]
push edx
mov edx, dword [esp + 0xc4]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x94]
push edx
push eax
push ecx
mov ecx, dword [ebx + 0x18]
call fcn.004b1780
mov ecx, dword [ebx + 4]
push 0
push 0
push 0
mov edx, dword [ecx]
push 0
push 0x3ff00000
push 0
push 0
push 0
push 0
push 0
push 0x3ff00000
push 0
mov eax, dword [ebx + 0x18]
push eax
call dword [edx + 0x48]
mov eax, dword [esp + 0x44]
mov ecx, dword [ebx + 4]
push eax
lea eax, [esp + 0x12c]
push eax
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0xe8]
push eax
mov eax, dword [esp + 0xe8]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0xf8]
push eax
mov eax, dword [esp + 0xf8]
push eax
mov eax, dword [ebx + 0x18]
push eax
call dword [edx + 0xf4]
test eax, eax
jne 0x4f8d61
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0xd8]
push ecx
push edx
mov ecx, esi
call fcn.004cc530
mov ecx, esi
call fcn.004cc570
test eax, eax
mov dword [esp + 0x48], eax
je 0x4f8d05
push eax
mov ecx, ebx
call fcn.004fabb0
cmp dword [esp + 0xd8], 8
jne 0x4f8d22
lea eax, [esp + 0xd8]
push 0
push eax
mov ecx, ebx
call fcn.004f03f0
jmp 0x4f8d37
push 0x5e8e60
mov ecx, ebx
call fcn.004f0a90
push eax
call fcn.004cda10
add esp, 8
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0x18]
push eax
mov edx, dword [ecx]
call dword [edx + 0xf8]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4f8d55
mov ecx, ebx
call fcn.004fac10
lea ecx, [esp + 0xd8]
call fcn.004b24e0
mov ecx, ebx
call fcn.004fab90
fld qword [esp + 0x38]
fadd qword [esp + 0x68]
mov eax, dword [ebx + 0x18]
fst qword [esp + 0x68]
fld qword [esp + 0x30]
fadd qword [esp + 0x60]
fst qword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
fstp qword [eax + 0x258]
push ecx
mov ecx, dword [esp + 0x70]
fstp qword [eax + 0x250]
push edx
mov edx, dword [esp + 0x70]
push ecx
mov ecx, dword [eax + 0x24c]
push edx
call fcn.004b0cb0
mov eax, dword [ebx + 0x18]
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov dword [eax + 0x260], ecx
mov ecx, dword [esp + 0xb8]
mov dword [eax + 0x264], edx
mov edx, dword [esp + 0xbc]
mov dword [eax + 0x268], ecx
mov dword [eax + 0x26c], edx
mov eax, dword [esp + 0x18]
add eax, edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
sub eax, edi
test eax, eax
mov dword [esp + 0x1c], eax
jg 0x4f8ae1
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x5c], eax
jmp 0x4f91d1
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x4f902f
mov eax, dword [ebx + 0x18]
mov edi, dword [edi + 4]
mov dword [esp + 0x18], edi
fld qword [eax + 0x240]
fld st(0)
fmul qword [eax + 0x200]
fstp qword [esp + 0xa8]
fmul qword [eax + 0x208]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
fstp qword [esp + 0xb0]
test eax, eax
mov dword [esp + 0x1c], eax
jle 0x4f91d1
jmp 0x4f8e60
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x58]
mov edx, dword [esi]
push ecx
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x13c]
push 8
push ecx
lea ecx, [esp + 0x48]
push ecx
push eax
push edi
mov ecx, esi
call dword [edx + 0xc]
mov esi, eax
mov eax, dword [esp + 0x48]
test eax, eax
mov eax, dword [ebx + 0x18]
fld qword [eax + 0x1e8]
fmul qword [esp + 0x10]
je 0x4f8ed6
fstp qword [esp + 0x10]
fld qword [eax + 0x1e8]
fmul qword [esp + 0x20]
cmp esi, 1
fadd qword [eax + 0x220]
fstp qword [esp + 0x20]
jne 0x4f8f14
cmp byte [edi], 0x20
jne 0x4f8f14
fld qword [eax + 0x228]
fadd qword [esp + 0x20]
jmp 0x4f8f10
fadd qword [eax + 0x220]
cmp esi, 1
fstp qword [esp + 0x10]
jne 0x4f8ef8
cmp byte [edi], 0x20
jne 0x4f8ef8
fld qword [eax + 0x228]
fadd qword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [eax + 0x230]
fmul qword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [eax + 0x1e8]
fmul qword [esp + 0x20]
fstp qword [esp + 0x20]
fld qword [esp + 0x10]
fmul qword [eax + 0x1f0]
fld qword [esp + 0x20]
fmul qword [eax + 0x200]
mov edi, dword [esp + 0x44]
mov ecx, dword [ebx + 4]
push edi
lea edi, [esp + 0x12c]
faddp st(1)
push edi
mov edi, dword [esp + 0x34]
push esi
push edi
fstp qword [esp + 0x48]
fld qword [esp + 0x20]
fmul qword [eax + 0x1f8]
fld qword [esp + 0x30]
fmul qword [eax + 0x208]
sub esp, 8
sub esp, 8
faddp st(1)
fstp qword [esp + 0x50]
fld qword [eax + 0x1e8]
fmul qword [esp + 0x70]
mov edi, dword [esp + 0x54]
fstp qword [esp + 0x70]
fld qword [eax + 0x1e8]
fmul qword [esp + 0x78]
fstp qword [esp + 0x78]
fld qword [esp + 0x70]
fmul qword [eax + 0x1f8]
fld qword [esp + 0x78]
fmul qword [eax + 0x208]
mov edx, dword [ecx]
faddp st(1)
fstp qword [esp + 8]
fld qword [esp + 0x70]
fmul qword [eax + 0x1f0]
fld qword [esp + 0x78]
fmul qword [eax + 0x200]
faddp st(1)
fstp qword [esp]
fld qword [eax + 0x258]
push edi
mov edi, dword [esp + 0x54]
push edi
mov edi, dword [esp + 0x64]
push edi
mov edi, dword [esp + 0x64]
fadd qword [esp + 0xdc]
push edi
sub esp, 8
fstp qword [esp]
fld qword [eax + 0x250]
fadd qword [esp + 0xe0]
sub esp, 8
fstp qword [esp]
push eax
call dword [edx + 0xec]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
push eax
push ecx
mov ecx, dword [ebx + 0x18]
push edx
push edi
call fcn.004b1fc0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add edi, esi
sub eax, esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
test eax, eax
jg 0x4f8e5c
jmp 0x4f91d1
mov eax, dword [edi + 4]
mov edi, dword [edi]
mov dword [esp + 0x18], eax
xor eax, eax
cmp edi, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
jle 0x4f90f2
lea eax, [esp + 0x58]
lea ecx, [esp + 0x50]
push eax
lea eax, [esp + 0xf4]
push ecx
mov edx, dword [esi]
push eax
lea ecx, [esp + 0xf4]
lea eax, [esp + 0x50]
push ecx
push eax
lea ecx, [esp + 0x13c]
push 8
lea eax, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x34]
push eax
push edi
push ecx
mov ecx, esi
call dword [edx + 0xc]
fld qword [esp + 0xe8]
fadd qword [esp + 0x10]
cmp eax, 1
fstp qword [esp + 0x10]
fld qword [esp + 0xf0]
fadd qword [esp + 0x20]
fstp qword [esp + 0x20]
jne 0x4f90d5
mov edx, dword [esp + 0x18]
cmp byte [edx], 0x20
jne 0x4f90d5
inc dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
sub edi, eax
inc ecx
add edx, eax
mov dword [esp + 0x28], ecx
test edi, edi
mov dword [esp + 0x18], edx
jg 0x4f906a
mov eax, dword [esp + 0x48]
test eax, eax
mov eax, dword [ebx + 0x18]
je 0x4f912f
fld qword [eax + 0x1e8]
fmul qword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [eax + 0x228]
fimul dword [esp + 0x1c]
fld qword [eax + 0x220]
fimul dword [esp + 0x28]
faddp st(1)
fld qword [eax + 0x1e8]
fmul qword [esp + 0x20]
faddp st(1)
jmp 0x4f916d
fld qword [eax + 0x228]
fimul dword [esp + 0x1c]
fld qword [eax + 0x220]
fimul dword [esp + 0x28]
faddp st(1)
fld qword [eax + 0x1e8]
fmul qword [esp + 0x10]
faddp st(1)
fstp qword [esp + 0x10]
fld qword [eax + 0x230]
fmul qword [esp + 0x10]
fstp qword [esp + 0x10]
fld qword [eax + 0x1e8]
fmul qword [esp + 0x20]
fstp qword [esp + 0x20]
fld qword [esp + 0x10]
fmul qword [eax + 0x1f0]
fld qword [esp + 0x20]
fmul qword [eax + 0x200]
mov ecx, dword [ebx + 4]
mov esi, dword [ebp + 8]
push esi
push eax
faddp st(1)
mov edx, dword [ecx]
fstp qword [esp + 0x40]
fld qword [esp + 0x18]
fmul qword [eax + 0x1f8]
fld qword [esp + 0x28]
fmul qword [eax + 0x208]
faddp st(1)
fstp qword [esp + 0x38]
call dword [edx + 0xf0]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [ebx + 0x18]
push edx
push eax
call fcn.004b1fc0
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x4f91ec
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 0xe8]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov eax, dword [eax]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x14]
shl ecx, 1
add eax, ecx
mov dword [ebx + 0x14], eax
pop ebx
mov esp, ebp
pop ebp
ret 4