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

Disassembly:
push 0xffffffffffffffff
push 0x791fcb
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push ebp
push esi
push edi
mov eax, dword [0x867e6c]
xor eax, esp
push eax
lea eax, [esp + 0xa4]
mov dword fs:[0], eax
mov ecx, dword [esp + 0xb4]
mov esi, dword [esp + 0xb8]
mov dword [ecx], 0x10
mov dword [ecx + 4], 0x10
mov eax, dword [esi + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x34]
xor ebp, ebp
cmp eax, ebp
mov dword [ecx + 0xc], eax
mov dword [esp + 0x24], ebp
jle 0x55d2c0
cmp dword [ecx + 8], ebp
mov dword [esp + 0x20], ebp
jle 0x55d2ae
lea edx, [ecx + 0x10]
mov dword [esp + 0x2c], edx
mov eax, dword [esi + 0x2c]
cdq
idiv dword [ecx + 8]
push 4
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebp
mov ebx, eax
mov eax, dword [esi + 0x30]
cdq
idiv dword [ecx + 0xc]
mov dword [esp + 0x3c], ebx
imul ebx, dword [esp + 0x24]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], eax
imul eax, dword [esp + 0x28]
mov dword [esp + 0x38], eax
call fcn.006442a0
add esp, 4
cmp eax, ebp
je 0x55cf92
lea ecx, [esp + 0x88]
mov dword [eax], ecx
jmp 0x55cf94
xor eax, eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], ebp
mov edi, dword [esp + 0x2c]
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0xb0], 1
call fcn.004957b0
mov eax, dword [esp + 0x94]
cmp eax, ebp
je 0x55cfdd
push eax
call fcn.006441c7
add esp, 4
mov eax, dword [esp + 0x88]
push eax
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], ebp
call fcn.006441c7
mov esi, dword [esp + 0x30]
mov edi, dword [esi + 0x10]
add esp, 4
cmp dword [esi + 0xc], edi
jbe 0x55d013
call fcn.006441b7
mov esi, dword [esi]
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edi
cmp esi, ebp
jne 0x55d038
call fcn.006441b7
xor eax, eax
lea ecx, [edi - 0x28]
cmp ecx, dword [eax + 0x10]
ja 0x55d043
cmp esi, ebp
je 0x55d03c
mov esi, dword [esi]
jmp 0x55d03e
mov eax, dword [esi]
jmp 0x55d028
xor esi, esi
cmp ecx, dword [esi + 0xc]
jae 0x55d048
call fcn.006441b7
mov eax, dword [esp + 0x70]
lea esi, [edi - 0x28]
cmp eax, ebp
jne 0x55d0e0
call fcn.006441b7
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x55d068
call fcn.006441b7
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esi], ebx
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov edx, dword [esp + 0xb8]
push ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0xb0], 2
fld dword [0x82e410]
fstp dword [esp]
push ecx
push edx
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x40]
call fcn.0055b1c0
mov eax, dword [esp + 0x40]
cmp eax, ebp
je 0x55d276
push 4
call fcn.006442a0
add esp, 4
cmp eax, ebp
je 0x55d0e7
lea ecx, [esp + 0x4c]
mov dword [eax], ecx
jmp 0x55d0e9
mov eax, dword [eax]
jmp 0x55d05e
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
lea eax, [esp + 0x40]
lea ebx, [esp + 0x4c]
mov byte [esp + 0xac], 4
call fcn.0055b7b0
mov edx, ebx
push edx
call fcn.0055b8b0
lea ebx, [esi + 0x10]
push ebx
lea esi, [esp + 0x50]
call fcn.0055ce40
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x55d233
mov eax, dword [esp + 0xb8]
fild dword [eax + 0x2c]
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov edi, dword [ebx + 0xc]
fstp dword [esp + 0x1c]
fild dword [esp + 0x38]
fld dword [esp + 0x1c]
fld st(0)
fdivp st(2)
fxch st(1)
fstp dword [esp + 0x6c]
fild dword [eax + 0x30]
mov eax, 0x2aaaaaab
imul ecx
fstp dword [esp + 0x1c]
fild dword [esp + 0x3c]
fld dword [esp + 0x1c]
fld st(0)
fdivp st(2)
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
fxch st(1)
fstp dword [esp + 0x1c]
fild dword [esp + 0x30]
fdivrp st(2)
fxch st(1)
fstp dword [esp + 0x68]
fidivr dword [esp + 0x34]
fstp dword [esp + 0x28]
cmp edi, dword [ebx + 0x10]
jbe 0x55d1b5
call fcn.006441b7
mov ebx, dword [ebx]
cmp ebx, ebp
jne 0x55d2f9
call fcn.006441b7
xor ebx, ebx
cmp edi, dword [ebx + 0x10]
jb 0x55d1d0
call fcn.006441b7
cmp esi, ebp
jle 0x55d233
fld dword [esp + 0x6c]
lea eax, [edi + 0x14]
fld dword [esp + 0x1c]
fld dword [esp + 0x68]
fld dword [esp + 0x28]
fld dword [eax - 0x14]
add eax, 0x18
sub esi, 1
fmul st(4)
fadd st(2)
fstp dword [eax - 0x2c]
fld st(2)
fmul dword [eax - 0x28]
fadd st(1)
fstp dword [eax - 0x28]
fld dword [eax - 0x24]
fmul st(4)
fadd st(2)
fstp dword [eax - 0x24]
fld dword [eax - 0x20]
fmul st(3)
fadd st(1)
fstp dword [eax - 0x20]
fld dword [eax - 0x1c]
fmul st(4)
fadd st(2)
fstp dword [eax - 0x1c]
fld dword [eax - 0x18]
fmul st(3)
fadd st(1)
fstp dword [eax - 0x18]
jne 0x55d1e7
fstp st(3)
fstp st(1)
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x58]
cmp eax, ebp
je 0x55d259
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x5c]
push ecx
call fcn.0055f550
mov edx, dword [esp + 0x5c]
add esp, 4
push edx
call fcn.006441c7
add esp, 4
mov eax, dword [esp + 0x4c]
push eax
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
call fcn.006441c7
mov eax, dword [esp + 0x44]
add esp, 4
mov dword [esp + 0xac], 0xffffffff
cmp eax, ebp
je 0x55d28e
push eax
call fcn.00644b73
add esp, 4
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xb4]
mov esi, dword [esp + 0xb8]
inc eax
cmp eax, dword [ecx + 8]
mov dword [esp + 0x20], eax
jl 0x55cf36
mov eax, dword [esp + 0x24]
inc eax
cmp eax, dword [ecx + 0xc]
mov dword [esp + 0x24], eax
jl 0x55cf22
mov edx, dword [ecx + 0x20]
sub edx, dword [ecx + 0x1c]
mov eax, 0x66666667
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
neg eax
sbb eax, eax
neg eax
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret 0xc
mov ebx, dword [ebx]
jmp 0x55d1c6