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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov dword [ebp - 4], ecx
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x44]
call eax
movzx ecx, al
test ecx, ecx
jne 0x5594ec
mov al, byte [ebp - 5]
jmp 0x559c7e
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x6c]
test eax, eax
je 0x559ae4
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 0x6c]
cmp edx, 0x100
je 0x559ae4
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x5c], 0xffffffff
mov dword [ebp - 0xd4], 0xffffffff
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0xe0], ecx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0xdc], edx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp + 8]
cmp ecx, dword [ebp - 0xe4]
jne 0x559589
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0xe0]
jne 0x559589
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0xdc]
jne 0x559589
mov ecx, dword [ebp + 0x14]
cmp ecx, dword [ebp - 0xd8]
jne 0x559589
mov dword [ebp - 0x2c], 0
jmp 0x559590
mov dword [ebp - 0x2c], 1
movzx edx, byte [ebp - 0x2c]
test edx, edx
je 0x559ae4
mov dword [ebp - 0x74], 0xffffffff
mov dword [ebp - 0x70], 0xffffffff
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x68], 0xffffffff
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0xf0], ecx
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0xec], edx
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp + 0x18]
cmp ecx, dword [ebp - 0xf4]
jne 0x559611
mov edx, dword [ebp + 0x1c]
cmp edx, dword [ebp - 0xf0]
jne 0x559611
mov eax, dword [ebp + 0x20]
cmp eax, dword [ebp - 0xec]
jne 0x559611
mov ecx, dword [ebp + 0x24]
cmp ecx, dword [ebp - 0xe8]
jne 0x559611
mov dword [ebp - 0x30], 0
jmp 0x559618
mov dword [ebp - 0x30], 1
movzx edx, byte [ebp - 0x30]
test edx, edx
je 0x559ae4
mov dword [ebp - 0x84], 0xffffffff
mov dword [ebp - 0x80], 0xffffffff
mov dword [ebp - 0x7c], 0xffffffff
mov dword [ebp - 0x78], 0xffffffff
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x100], ecx
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp + 0x28]
cmp ecx, dword [ebp - 0x104]
jne 0x55969f
mov edx, dword [ebp + 0x2c]
cmp edx, dword [ebp - 0x100]
jne 0x55969f
mov eax, dword [ebp + 0x30]
cmp eax, dword [ebp - 0xfc]
jne 0x55969f
mov ecx, dword [ebp + 0x34]
cmp ecx, dword [ebp - 0xf8]
jne 0x55969f
mov dword [ebp - 0x34], 0
jmp 0x5596a6
mov dword [ebp - 0x34], 1
movzx edx, byte [ebp - 0x34]
test edx, edx
je 0x559ae4
mov eax, 2
shl eax, 2
xor ecx, ecx
shl ecx, 2
mov edx, dword [ebp + eax + 0x18]
cmp edx, dword [ebp + ecx + 0x18]
jge 0x5596e8
mov eax, 2
shl eax, 2
xor ecx, ecx
shl ecx, 2
mov eax, dword [ebp + eax + 8]
sub eax, dword [ebp + ecx + 8]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x38], eax
jmp 0x559710
mov edx, 2
shl edx, 2
xor eax, eax
shl eax, 2
mov ecx, dword [ebp + edx + 0x18]
sub ecx, dword [ebp + eax + 0x18]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
xor edx, edx
shl edx, 2
add eax, dword [ebp + edx + 0x18]
mov dword [ebp - 0x38], eax
mov eax, 3
shl eax, 2
mov ecx, 1
shl ecx, 2
mov edx, dword [ebp + eax + 0x18]
cmp edx, dword [ebp + ecx + 0x18]
jge 0x559749
mov eax, 2
shl eax, 2
xor ecx, ecx
shl ecx, 2
mov eax, dword [ebp + eax + 8]
sub eax, dword [ebp + ecx + 8]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x3c], eax
jmp 0x559777
mov edx, 3
shl edx, 2
mov eax, 1
shl eax, 2
mov ecx, dword [ebp + edx + 0x18]
sub ecx, dword [ebp + eax + 0x18]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov edx, 1
shl edx, 2
add eax, dword [ebp + edx + 0x18]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x78]
call eax
mov ecx, dword [ebp - 4]
cvtsi2ss xmm0, dword [ecx + 0x3c]
movss dword [ebp - 0x88], xmm0
mov edx, dword [ebp - 4]
cvtsi2ss xmm0, dword [edx + 0x40]
movss dword [ebp - 0x8c], xmm0
cvttss2si eax, dword [ebp - 0x88]
mov dword [ebp - 0xc], eax
cvttss2si ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x6c]
and eax, 1
je 0x5597fa
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 0x6c]
and edx, 8
je 0x5597f5
xor eax, eax
shl eax, 2
xor ecx, ecx
shl ecx, 2
mov edx, dword [ebp + eax + 0x28]
sub edx, dword [ebp + ecx + 8]
add edx, dword [ebp - 0xc]
mov dword [ebp - 0xc], edx
jmp 0x559893
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0x6c]
and ecx, 2
je 0x55982c
mov edx, 2
shl edx, 2
xor eax, eax
shl eax, 2
mov ecx, dword [ebp + edx - 0x58]
sub ecx, dword [ebp + eax - 0x58]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0x38]
sub edx, eax
mov dword [ebp - 0xc], edx
jmp 0x559893
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0x6c]
and ecx, 4
je 0x559893
mov edx, 2
shl edx, 2
xor eax, eax
shl eax, 2
mov ecx, dword [ebp + edx + 8]
sub ecx, dword [ebp + eax + 8]
mov edx, 2
shl edx, 2
xor eax, eax
shl eax, 2
mov edx, dword [ebp + edx - 0x58]
sub edx, dword [ebp + eax - 0x58]
sub ecx, edx
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0x6c]
and ecx, 8
je 0x559893
mov edx, 2
shl edx, 2
mov eax, 2
shl eax, 2
mov ecx, dword [ebp + edx + 8]
sub ecx, dword [ebp + eax + 0x28]
mov edx, dword [ebp - 0xc]
sub edx, ecx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x3c]
push ecx
call fcn.006813e7
add esp, 4
cmp eax, 1
jle 0x5598d3
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0xb4]
call eax
mov byte [ebp - 5], 1
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 0x6c]
and edx, 0x10
je 0x559918
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0x6c]
and ecx, 0x80
je 0x559913
mov edx, 1
shl edx, 2
mov eax, 1
shl eax, 2
mov ecx, dword [ebp + edx + 0x28]
sub ecx, dword [ebp + eax + 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], ecx
jmp 0x5599b8
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x6c]
and eax, 0x20
je 0x55994b
mov ecx, 3
shl ecx, 2
mov edx, 1
shl edx, 2
mov eax, dword [ebp + ecx - 0x58]
sub eax, dword [ebp + edx - 0x58]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x3c]
sub ecx, eax
mov dword [ebp - 0x10], ecx
jmp 0x5599b8
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x6c]
and eax, 0x40
je 0x5599b8
mov ecx, 3
shl ecx, 2
mov edx, 1
shl edx, 2
mov eax, dword [ebp + ecx + 8]
sub eax, dword [ebp + edx + 8]
mov ecx, 3
shl ecx, 2
mov edx, 1
shl edx, 2
mov ecx, dword [ebp + ecx - 0x58]
sub ecx, dword [ebp + edx - 0x58]
sub eax, ecx
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x6c]
and eax, 8
je 0x5599b8
mov ecx, 2
shl ecx, 2
mov edx, 2
shl edx, 2
mov eax, dword [ebp + ecx + 8]
sub eax, dword [ebp + edx + 0x28]
mov ecx, dword [ebp - 0xc]
sub ecx, eax
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
sub eax, dword [edx + 0x40]
push eax
call fcn.006813e7
add esp, 4
cmp eax, 1
jle 0x5599f8
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x3c]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc8]
push edx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0xb4]
call eax
mov byte [ebp - 5], 1
movzx ecx, byte [ebp - 5]
test ecx, ecx
je 0x559ae4
mov edx, dword [ebp - 4]
add edx, 0x1c
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
cmp dword [eax + 8], 0
je 0x559a2b
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 8]
cmp dword [edx + 4], 0
jle 0x559a2b
mov dword [ebp - 0x44], 1
jmp 0x559a32
mov dword [ebp - 0x44], 0
movzx eax, byte [ebp - 0x44]
test eax, eax
je 0x559ae4
mov ecx, dword [ebp - 4]
add ecx, 0x20
call fcn.00569d30
add eax, 0x108
mov dword [ebp - 0x18], eax
cvtsi2ss xmm0, dword [0x7a1b44]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [0x7a1b44]
cvtsi2ss xmm1, ecx
mulss xmm1, dword [0x7657c4]
divss xmm1, xmm0
movss dword [ebp - 0x90], xmm1
cvtsi2ss xmm0, dword [0x7a1b40]
cvtsi2ss xmm1, dword [ebp - 0x10]
xorps xmm1, xmmword [0x765ed0]
mulss xmm1, dword [0x7657c4]
divss xmm1, xmm0
movss dword [ebp - 0x94], xmm1
mov edx, dword [ebp - 0x18]
mov dword [edx], 0
mov eax, dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x90]
movss dword [eax + 4], xmm0
mov ecx, dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x94]
movss dword [ecx + 8], xmm0
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x19], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x44], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x48], eax
mov dword [ebp - 0x1c], 0
jmp 0x559af6
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x28
call fcn.004b58a0
cmp dword [ebp - 0x1c], eax
jae 0x559c7b
mov dword [ebp - 0xb0], 0xffffffff
mov dword [ebp - 0xac], 0xffffffff
mov dword [ebp - 0xa8], 0xffffffff
mov dword [ebp - 0xa4], 0xffffffff
mov dword [ebp - 0xc0], 0xffffffff
mov dword [ebp - 0xbc], 0xffffffff
mov dword [ebp - 0xb8], 0xffffffff
mov dword [ebp - 0xb4], 0xffffffff
mov dword [ebp - 0xd0], 0xffffffff
mov dword [ebp - 0xcc], 0xffffffff
mov dword [ebp - 0xc8], 0xffffffff
mov dword [ebp - 0xc4], 0xffffffff
mov edx, dword [ebp - 4]
add edx, 0x28
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0xa0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0x48], edx
sub esp, 0x10
mov dword [ebp - 0x20], esp
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xa4]
mov dword [eax], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xa8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0xac]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xb0]
mov dword [eax + 0xc], ecx
sub esp, 0x10
mov dword [ebp - 0x24], esp
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xb4]
mov dword [edx], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0xb8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xbc]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc0]
mov dword [edx + 0xc], eax
sub esp, 0x10
mov dword [ebp - 0x28], esp
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0xc4]
mov dword [ecx], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xcc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0xd0]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx + 0x8c]
call eax
mov byte [ebp - 0x11], al
movzx ecx, byte [ebp - 0x11]
movzx edx, byte [ebp - 5]
or edx, ecx
mov byte [ebp - 5], dl
jmp 0x559aed
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret 0x30