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

Disassembly:
sub esp, 0x44
mov eax, dword [esp + 0x48]
push esi
push edi
sub esp, 8
mov esi, dword [eax + 0x68]
mov eax, dword [eax + 0x40]
mov dword [esp + 0x4c], esi
mov edi, dword [eax + 0x68]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x50], edi
movsd xmm0, qword [edi + 0x70]
addsd xmm0, qword [0x101592c0]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x40], eax
movsd qword [esp + 0x10], xmm0
fld qword [esp + 0x10]
fstp qword [esp]
call fcn.1007bc90
fstp qword [esp + 0x10]
cvttsd2si edi, qword [esp + 0x10]
lea eax, [edi + 3]
push dword [esi + eax*4]
lea eax, [esi + eax*4]
mov dword [esp + 0x40], eax
call fcn.100bad60
mov ecx, dword [esp + 0x54]
mov esi, eax
mov eax, dword [esp + 0x5c]
add esp, 0xc
shl esi, 3
lea edx, [ecx + 0x68]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x24], edx
lea edx, [ecx + 0x64]
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 0x60]
test eax, eax
je 0x10055645
mov eax, dword [ecx + 0x68]
imul eax, edx
mov edx, dword [ecx + 0x64]
imul edx, dword [ecx + 0x68]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
jmp 0x1005565d
lea eax, [ecx + 0x64]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x28], eax
lea edx, [ecx + 0x68]
mov eax, dword [eax]
mov dword [esp + 0x24], edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
movd xmm0, dword [eax + 0xd2c]
mov edx, dword [ecx + 0x1c]
cvtdq2pd xmm0, xmm0
mov ecx, dword [eax + edx*4]
sar ecx, 1
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x48]
mulsd xmm0, qword [eax + 0xd30]
cmp dword [ecx + 0x50], 0
cvttsd2si eax, xmm0
mov dword [esp + 0x30], eax
jne 0x100556b5
cmp dword [ecx + 0x78], 0
je 0x100556a6
pop edi
or eax, 0xffffffff
pop esi
add esp, 0x44
ret
mov eax, dword [esp + 0x50]
pop edi
mov dword [ecx + 0x78], eax
xor eax, eax
pop esi
add esp, 0x44
ret
mov eax, dword [ecx + 0x5c]
mov edx, dword [esp + 0x50]
mov dword [ecx + 0x78], edx
test eax, eax
jle 0x10055869
cmp dword [edx + 0x1c], 0
je 0x100556dc
mov edx, dword [esp + 0x24]
mov edx, dword [edx]
imul edx, eax
mov dword [esp + 0x2c], edx
jmp 0x100556e2
mov edx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
movsd xmm0, qword [0x101592d0]
divsd xmm0, qword [eax + 0xd38]
mov eax, dword [ecx + 0x54]
sub eax, edx
add eax, esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
movsd qword [esp + 8], xmm0
cmp dword [esp + 0x20], eax
jle 0x1005575a
test edi, edi
jle 0x1005579d
nop dword [eax]
cmp esi, edx
jle 0x1005579d
mov eax, dword [ecx + 0x54]
sub eax, edx
add eax, esi
cmp eax, dword [esp + 0x30]
jle 0x1005579d
mov eax, dword [esp + 0x34]
dec edi
sub eax, 4
mov dword [esp + 0x34], eax
push dword [eax]
call fcn.100bad60
mov ecx, dword [esp + 0x4c]
mov esi, eax
mov edx, dword [esp + 0x30]
add esp, 4
shl esi, 3
test edi, edi
jg 0x10055720
jmp 0x1005579d
jge 0x1005579d
lea eax, [edi + 1]
cmp eax, 0xf
jge 0x1005579d
cmp esi, edx
jge 0x1005579d
mov eax, dword [ecx + 0x54]
sub eax, edx
add eax, esi
cmp eax, dword [esp + 0x30]
jge 0x1005579d
mov eax, dword [esp + 0x34]
inc edi
add eax, 4
mov dword [esp + 0x34], eax
push dword [eax]
call fcn.100bad60
mov ecx, dword [esp + 0x4c]
mov esi, eax
mov edx, dword [esp + 0x30]
add esp, 4
shl esi, 3
cmp edi, 0xe
jl 0x10055764
movsd xmm0, qword [esp + 8]
sub esp, 8
xorps xmm0, xmmword [0x101547e0]
mov esi, dword [esp + 0x20]
movsd qword [esp + 0x24], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, edi
mov edi, dword [esp + 0x50]
subsd xmm0, qword [edi + 0x70]
addsd xmm0, qword [0x101592c0]
movsd qword [esp + 0x1c], xmm0
fld qword [esp + 0x1c]
fstp qword [esp]
call fcn.1007bc90
xorps xmm3, xmm3
mov eax, dword [esp + 0x18]
cvtsi2sd xmm3, esi
fstp qword [esp + 0x1c]
movsd xmm0, qword [esp + 0x1c]
xorps xmm2, xmm2
divsd xmm0, xmm3
cvtsi2sd xmm2, dword [eax + 8]
movsd xmm1, qword [esp + 0x24]
mulsd xmm0, xmm2
maxsd xmm1, xmm0
movsd xmm0, qword [esp + 0x10]
minsd xmm0, xmm1
divsd xmm0, xmm2
mulsd xmm0, xmm3
addsd xmm0, qword [edi + 0x70]
movsd qword [edi + 0x70], xmm0
addsd xmm0, qword [0x101592c0]
movsd qword [esp + 0x10], xmm0
fld qword [esp + 0x10]
fstp qword [esp]
call fcn.1007bc90
mov eax, dword [esp + 0x4c]
fstp qword [esp + 0x10]
cvttsd2si edi, qword [esp + 0x10]
push dword [eax + edi*4 + 0xc]
call fcn.100bad60
mov ecx, dword [esp + 0x54]
mov esi, eax
add esp, 0xc
shl esi, 3
cmp dword [ecx + 0x60], 0
jle 0x100558bf
mov edx, dword [esp + 0x3c]
cmp esi, edx
jge 0x100558bf
mov eax, dword [ecx + 0x58]
sub eax, edx
add eax, esi
jns 0x100558bf
mov eax, dword [esp + 0x44]
lea eax, [eax + edi*4]
add eax, 0xc
nop word [eax + eax]
inc edi
add eax, 4
mov dword [esp + 0x10], eax
cmp edi, 0xf
jge 0x100558bf
push dword [eax]
call fcn.100bad60
mov ecx, dword [esp + 0x4c]
mov esi, eax
shl esi, 3
add esp, 4
mov eax, dword [ecx + 0x58]
sub eax, dword [esp + 0x3c]
add eax, esi
mov eax, dword [esp + 0x10]
js 0x10055890
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
cmp dword [eax], 0
jle 0x1005592d
cmp esi, edx
jle 0x1005592d
mov eax, dword [ecx + 0x58]
mov ecx, dword [esp + 0x38]
sub eax, edx
add eax, esi
cmp eax, dword [ecx + 0xd2c]
mov ecx, dword [esp + 0x48]
jle 0x1005592d
mov eax, dword [esp + 0x44]
lea eax, [eax + edi*4]
add eax, 0xc
sub eax, 4
sub edi, 1
mov dword [esp + 0x10], eax
js 0x1005592d
push dword [eax]
call fcn.100bad60
mov ecx, dword [esp + 0x4c]
mov esi, eax
mov edx, dword [esp + 0x3c]
add esp, 4
shl esi, 3
mov eax, esi
sub eax, dword [esp + 0x40]
add eax, dword [ecx + 0x58]
cmp eax, dword [edx + 0xd2c]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
jg 0x100558f1
test edi, edi
jns 0x1005598c
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x44]
mov eax, dword [eax + 0xd2c]
sub eax, dword [ecx + 0x58]
add eax, edx
mov dword [ecx + 0x7c], 0
push dword [edi + 0xc]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [esp + 0x14], eax
call fcn.100bad60
mov ecx, dword [esp + 0x14]
add esp, 4
cmp eax, ecx
jle 0x100559f2
lea eax, [ecx*8]
push eax
push dword [edi + 0xc]
call fcn.100bb140
push dword [edi + 0xc]
call fcn.100bad60
add esp, 0xc
jmp 0x100559ed
mov eax, dword [esp + 0x3c]
sub eax, dword [ecx + 0x58]
add eax, 7
cdq
and edx, 7
lea esi, [edx + eax]
mov eax, 0xe
sar esi, 3
cmp edi, 0xf
cmovge edi, eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 0x7c], edi
push dword [eax + edi*4 + 0xc]
call fcn.100bad60
sub esi, eax
add esp, 4
test esi, esi
jle 0x100559dd
mov eax, dword [esp + 0x44]
dec esi
push 8
push 0
push dword [eax + edi*4 + 0xc]
call fcn.100bafa0
add esp, 0xc
test esi, esi
jg 0x100559c4
mov eax, dword [esp + 0x44]
push dword [eax + edi*4 + 0xc]
call fcn.100bad60
add esp, 4
mov esi, eax
shl esi, 3
mov edi, dword [esp + 0x48]
cmp dword [edi + 0x60], 0
jg 0x10055a05
mov eax, dword [esp + 0x28]
cmp dword [eax], 0
jle 0x10055a64
mov edx, dword [esp + 0x40]
test edx, edx
jle 0x10055a1a
cmp esi, edx
jle 0x10055a1a
mov eax, esi
sub eax, edx
add dword [edi + 0x58], eax
jmp 0x10055a64
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x10055a31
cmp esi, eax
jge 0x10055a31
mov eax, esi
sub eax, dword [esp + 0x3c]
add dword [edi + 0x58], eax
jmp 0x10055a64
mov ecx, dword [esp + 0x30]
cmp dword [edi + 0x58], ecx
jle 0x10055a4e
test edx, edx
jle 0x10055a61
mov eax, dword [edi + 0x58]
sub eax, edx
add eax, esi
mov dword [edi + 0x58], eax
cmp eax, ecx
jge 0x10055a64
jmp 0x10055a61
test eax, eax
jle 0x10055a61
mov edx, dword [edi + 0x58]
sub edx, eax
lea eax, [edx + esi]
mov dword [edi + 0x58], eax
cmp eax, ecx
jle 0x10055a64
mov dword [edi + 0x58], ecx
mov ecx, dword [edi + 0x5c]
test ecx, ecx
jle 0x10055a92
mov eax, dword [esp + 0x50]
cmp dword [eax + 0x1c], 0
je 0x10055a8b
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
imul eax, ecx
sub esi, eax
add dword [edi + 0x54], esi
xor eax, eax
pop edi
pop esi
add esp, 0x44
ret
mov eax, ecx
sub esi, eax
add dword [edi + 0x54], esi
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret