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

Disassembly:
sub esp, 0x80
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [ebp + 4]
mov eax, dword [ecx + 0x2c]
push esi
xor esi, esi
cmp eax, esi
je 0x55951b
mov ebx, eax
mov dword [esp + 0x1c], ebx
jmp 0x559526
call fcn.0055d81c
mov dword [esp + 0x1c], eax
mov ebx, eax
mov eax, dword [ebp + 0x24]
cmp eax, 1
jne 0x55955c
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x90]
mov eax, dword [ebp]
push esi
push ebx
push ecx
push edx
mov ecx, ebp
call dword [eax + 0x10]
pop esi
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
pop ebp
pop ebx
add esp, 0x80
ret 0x1c
cmp eax, 2
jne 0x559a5e
mov eax, dword [ebp]
push edi
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebp
call dword [eax + 0x24]
mov edi, eax
cmp edi, esi
mov dword [esp + 0x30], edi
jne 0x559590
fld qword [0x5f66c8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 0x1c
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], 0x7fffffff
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov byte [esp + 0x8c], 0
mov edx, dword [edi + 0x74]
mov ecx, dword [edi + 0x70]
push edx
push eax
push ecx
lea ecx, [esp + 0x78]
call fcn.005d42bc
test byte [edi + 0x38], 4
mov eax, dword [esp + 0x70]
je 0x5595ee
movzx edx, word [edi + 0x36]
lea eax, [eax + edx*2]
jmp 0x5595f4
movzx ecx, word [edi + 0x36]
add eax, ecx
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x98]
mov esi, dword [esp + 0x94]
add eax, 6
mov dword [esp + 0x70], eax
add eax, edx
push ecx
mov dword [esp + 0x3c], eax
mov eax, dword [ebp]
push esi
mov ecx, ebp
call dword [eax + 0x28]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x55957d
cmp ebx, 8
mov dword [esp + 0x28], 0
jl 0x55964e
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x30]
test al, al
je 0x55964e
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x2c]
mov dword [esp + 0x28], eax
cmp ebx, 8
mov dword [esp + 0x2c], 0
jl 0x55967e
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x34]
test eax, eax
je 0x55967e
mov eax, dword [ebp]
push 0
mov ecx, ebp
call dword [eax + 0x34]
mov ecx, dword [ebp + 4]
push eax
call fcn.0055f4ac
mov dword [esp + 0x2c], eax
cmp byte [edi + 0x7e], 0x4b
mov dword [esp + 0x18], 0x400
jne 0x559694
mov dword [esp + 0x18], 0x5000
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x55990c
push edi
call fcn.005aa65c
add esp, 4
test eax, eax
mov dword [esp + 0x44], eax
je 0x55990c
mov eax, dword [esp + 0x98]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x14], 0
jle 0x5598ee
mov dword [esp + 0x24], esi
lea esp, [esp]
mov ecx, dword [esp + 0x1c]
mov di, word [ecx + ebx*2]
cmp di, 0xffff
je 0x5598d3
mov eax, dword [esp + 0x38]
movzx edx, di
xor ecx, ecx
mov ch, byte [eax + edx*2 + 1]
lea eax, [eax + edx*2]
movzx edx, byte [eax]
or ecx, edx
mov dword [esp + 0x34], ecx
fild dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
test ecx, ecx
fstp dword [esp + 0x10]
je 0x55979b
movzx edx, word [esi + 6]
lea eax, [esp + 0x34]
push eax
movzx eax, word [esi]
shl eax, 0x10
or edx, eax
push edx
mov dword [esp + 0x3c], 0
call fcn.005780bc
test eax, eax
mov eax, dword [esp + 0x34]
je 0x559756
movsx ecx, ax
mov dword [esp + 0x40], ecx
fild dword [esp + 0x40]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x55979b
mov edx, dword [esp + 0x98]
dec edx
cmp ebx, edx
jne 0x55979b
neg eax
mov esi, eax
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x38]
test eax, eax
jge 0x55977f
neg eax
mov ecx, eax
movsx eax, si
imul eax, ecx
movsx ecx, word [esp + 0x18]
cdq
idiv ecx
movsx edx, ax
mov eax, dword [esp + 0x9c]
mov dword [eax], edx
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x38]
test eax, eax
jge 0x5597a9
neg eax
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
movsx eax, word [esp + 0x18]
mov dword [esp + 0x40], eax
fmul dword [esp + 0x10]
mov esi, dword [esp + 0xa0]
mov ecx, dword [esi + 4]
fidiv dword [esp + 0x40]
fstp dword [esp + 0x10]
call fcn.005ccadc
mov ecx, eax
call fcn.005aae7c
cmp eax, 1
jne 0x55989e
test di, di
je 0x55989e
mov edi, dword [esp + 0x24]
cmp word [edi], 0x20
je 0x55989e
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x38]
test eax, eax
jge 0x55980a
neg eax
fld qword [esp + 0xa8]
push 1
fadd dword [esp + 0x18]
lea ecx, [esp + 0x50]
push ecx
push eax
mov eax, dword [esp + 0x28]
fstp dword [esp + 0x58]
xor ecx, ecx
mov cx, word [eax + ebx*2]
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x54]
push edx
xor edx, edx
mov dx, word [edi]
mov dword [esp + 0x60], 0
push ecx
mov ecx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0x48]
push eax
push ecx
push edx
mov ecx, esi
call fcn.005abbac
add esi, 0x54
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x5c], edx
fld dword [esp + 0x5c]
mov dword [esp + 0x54], eax
fdiv dword [esp + 0x54]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], edx
fmul dword [esp + 0x10]
fld dword [esp + 0x64]
fmul dword [0x5f7a78]
faddp st(1)
jmp 0x5598a2
fld dword [esp + 0x10]
mov eax, dword [esp + 0x20]
fiadd dword [esp + 0x2c]
cmp eax, 7
jl 0x5598cb
mov eax, dword [esp + 0x30]
test byte [eax + 0x38], 0x20
je 0x5598cb
fadd dword [0x5f7a74]
fmul dword [0x5f7a70]
fmul dword [0x5f7a78]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x98]
inc ebx
add esi, 6
cmp ebx, eax
mov dword [esp + 0x24], esi
jl 0x5596dc
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.007152ac
fld dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 0x1c
mov eax, dword [esp + 0x98]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x14], ebx
jle 0x559a40
mov dword [esp + 0x24], esi
lea esp, [esp]
mov edx, dword [esp + 0x1c]
mov ax, word [edx + ebx*2]
cmp ax, 0xffff
je 0x559a29
mov ecx, dword [esp + 0x38]
movzx eax, ax
xor edx, edx
mov dh, byte [ecx + eax*2 + 1]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x28]
test ecx, ecx
mov dl, byte [eax]
mov edi, edx
je 0x5599cf
movzx edx, word [esi + 6]
lea eax, [esp + 0x34]
push eax
movzx eax, word [esi]
shl eax, 0x10
or edx, eax
push edx
mov dword [esp + 0x3c], 0
call fcn.005780bc
test eax, eax
mov eax, dword [esp + 0x34]
je 0x559986
movsx ecx, ax
add edi, ecx
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x5599cf
mov edx, dword [esp + 0x98]
dec edx
cmp ebx, edx
jne 0x5599cf
neg eax
mov esi, eax
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x38]
test eax, eax
jge 0x5599af
neg eax
mov ecx, eax
movsx eax, si
imul eax, ecx
movsx ecx, word [esp + 0x18]
cdq
idiv ecx
mov esi, dword [esp + 0x24]
movsx edx, ax
mov eax, dword [esp + 0x9c]
mov dword [eax], edx
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x38]
test eax, eax
jge 0x5599dd
neg eax
movsx ecx, word [esp + 0x18]
imul eax, edi
cdq
idiv ecx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
add eax, edx
cmp ecx, 7
jl 0x559a25
mov edx, dword [esp + 0x30]
test byte [edx + 0x38], 0x20
je 0x559a25
lea ecx, [eax + 0x13]
mov eax, 0x66666667
imul ecx
mov ecx, dword [esp + 0x14]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4]
mov dword [esp + 0x14], edx
jmp 0x559a29
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x98]
inc ebx
add esi, 6
cmp ebx, eax
mov dword [esp + 0x24], esi
jl 0x55992c
mov eax, dword [esp + 0x1c]
push eax
call fcn.007152ac
fild dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 0x1c
fld qword [0x5f66c8]
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 0x1c