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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
push esi
mov esi, ecx
push edi
mov dword [esp + 0x7c], esi
mov eax, dword [esi + 0x12c]
mov dword [esp + 0x4c], eax
cmp dword [esi + 0x24], eax
jle 0x595fbc
cmp dword [esi + 0x28], eax
jle 0x595fbc
mov al, 1
jmp 0x595fbe
xor al, al
cmp byte [esi + 0x13c], 0
je 0x595fcf
test al, al
je 0x595fcf
mov cl, 1
jmp 0x595fd1
xor cl, cl
cmp byte [esi + 0x13d], 0
mov byte [esp + 0xe], cl
je 0x595fe6
test al, al
je 0x595fe6
mov ch, 1
jmp 0x595fe8
xor ch, ch
mov edi, dword [esi + 0x118]
mov eax, 2
mov byte [esp + 0xf], ch
mov dword [esp + 0x78], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0x1c], eax
test cl, cl
je 0x59602c
mov eax, dword [esi + 0x90]
cmp byte [eax + 0xee], 0
jne 0x59602c
mov dl, 1
jmp 0x59602e
xor dl, dl
mov byte [esp + 0x58], dl
test ch, ch
je 0x596049
mov eax, dword [esi + 0x8c]
cmp byte [eax + 0xee], 0
jne 0x596049
mov dh, 1
jmp 0x59604b
xor dh, dh
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
movaps xmm0, xmmword [esp + 0xa0]
mov dword [esp + 0x10], eax
movaps xmmword [esp + 0x80], xmm0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x80]
mov byte [esp + 0x50], dh
mov dword [esp + 0x30], eax
test edi, edi
je 0x59620b
mov edi, dword [edi + 8]
test edi, edi
je 0x59620b
movups xmm0, xmmword [edi + 0x1c]
movd eax, xmm0
movaps xmmword [esp + 0xb0], xmm0
mov dword [esp + 0x60], eax
test eax, eax
js 0x5960ed
cmp dword [esp + 0xb4], 0
jl 0x5960ed
mov eax, dword [esp + 0xb8]
add eax, dword [esp + 0x60]
mov esi, dword [esp + 0x7c]
cmp dword [esp + 0x10], eax
jl 0x5960ed
mov eax, dword [esp + 0xbc]
add eax, dword [esp + 0xb4]
cmp ecx, eax
jge 0x59620b
cmp byte [esp + 0xe], 0
je 0x59610e
test dl, dl
jne 0x59610a
cmp dword [edi + 0x1c], 0
jl 0x59610a
mov eax, dword [edi + 0x24]
add eax, dword [edi + 0x1c]
cmp eax, dword [esp + 0x10]
jle 0x59610e
mov dl, 1
jmp 0x596110
xor dl, dl
cmp byte [esp + 0xf], 0
mov byte [esp + 0x58], dl
je 0x59613b
test dh, dh
jne 0x59612f
cmp dword [edi + 0x20], 0
jl 0x59612f
mov eax, dword [edi + 0x28]
add eax, dword [edi + 0x20]
cmp eax, ecx
jle 0x59613b
mov eax, dword [esp + 0x4c]
mov dh, 1
sub dword [esp + 0x10], eax
jmp 0x59614c
mov eax, dword [esp + 0x88]
xor dh, dh
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x50], dh
test dl, dl
je 0x59615c
sub ecx, eax
mov dword [esp + 0x60], ecx
jmp 0x596167
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x60], eax
movups xmm0, xmmword [edi + 0x1c]
mov ecx, dword [esp + 0x30]
movd eax, xmm0
movaps xmmword [esp + 0xb0], xmm0
mov dword [esp + 0x20], eax
cmp ecx, eax
jg 0x5961c1
mov eax, dword [esp + 0x54]
cmp eax, dword [esp + 0xb4]
jg 0x5961c1
mov eax, dword [esp + 0xb8]
add ecx, dword [esp + 0x10]
add eax, dword [esp + 0x20]
mov esi, dword [esp + 0x7c]
cmp ecx, eax
jl 0x5961c1
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0xbc]
add ecx, dword [esp + 0x60]
add eax, dword [esp + 0xb4]
cmp ecx, eax
jge 0x596223
cmp byte [esp + 0xe], 0
mov ecx, dword [esp + 0x10]
je 0x5961de
test dl, dl
jne 0x5961da
mov eax, dword [edi + 0x24]
add eax, dword [edi + 0x1c]
cmp eax, ecx
jle 0x5961de
mov dl, 1
jmp 0x5961e0
xor dl, dl
cmp byte [esp + 0xf], 0
mov byte [esp + 0x58], dl
je 0x596203
test dh, dh
jne 0x5961fb
mov eax, dword [edi + 0x28]
add eax, dword [edi + 0x20]
cmp eax, dword [esp + 0x60]
jle 0x596203
mov al, 1
mov byte [esp + 0x50], al
jmp 0x59622f
xor al, al
mov byte [esp + 0x50], al
jmp 0x59623a
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x60], eax
mov dword [esp + 0x10], ecx
jmp 0x596227
mov ecx, dword [esp + 0x10]
mov al, byte [esp + 0x50]
test al, al
je 0x59623a
mov ecx, dword [esi + 0x24]
sub ecx, dword [esp + 0x4c]
mov dword [esp + 0x10], ecx
test dl, dl
je 0x596247
mov edi, dword [esi + 0x28]
sub edi, dword [esp + 0x4c]
jmp 0x59624b
mov edi, dword [esp + 0x60]
cmp byte [esi + 0x142], 0
jne 0x59626d
mov ecx, dword [esp + 0x30]
test al, al
mov eax, ecx
mov dword [esp + 0x30], ecx
cmovne eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
cmp byte [esi + 0x143], 0
jne 0x596285
mov eax, dword [esp + 0x54]
test dl, dl
cmovne eax, dword [esp + 0x4c]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x118]
test eax, eax
je 0x596338
mov eax, dword [eax + 8]
test eax, eax
je 0x596338
movups xmm0, xmmword [eax + 0x1c]
push edi
push ecx
push dword [esp + 0x5c]
lea ecx, [esi + 0x94]
push dword [esp + 0x3c]
movups xmmword [esp + 0xc0], xmm0
call fcn.005c3bd0
mov ecx, dword [esi + 0x118]
test ecx, ecx
je 0x5962ce
mov eax, dword [ecx + 8]
jmp 0x5962d0
xor eax, eax
movups xmm0, xmmword [eax + 0x1c]
movd eax, xmm0
movaps xmmword [esp + 0x80], xmm0
cmp dword [esp + 0xb0], eax
jne 0x596319
mov eax, dword [esp + 0xb4]
cmp eax, dword [esp + 0x84]
jne 0x596319
mov eax, dword [esp + 0xb8]
cmp eax, dword [esp + 0x88]
jne 0x596319
mov eax, dword [esp + 0xbc]
cmp eax, dword [esp + 0x8c]
je 0x596353
mov eax, dword [esp + 0x78]
dec eax
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x78], eax
jle 0x596353
mov edi, ecx
mov cl, byte [esp + 0xe]
mov ch, byte [esp + 0xf]
jmp 0x596011
push edi
push ecx
push dword [esp + 0x5c]
lea ecx, [esi + 0x94]
push dword [esp + 0x3c]
call fcn.005c3bd0
mov ecx, dword [esi + 0x118]
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
test ecx, ecx
je 0x596367
mov ecx, dword [ecx + 8]
jmp 0x596369
xor ecx, ecx
test ecx, ecx
je 0x5963cd
mov eax, dword [ecx + 0x24]
lea edx, [esi + 0x94]
mov dword [esp + 0xb8], eax
sub esp, 0x10
mov eax, dword [ecx + 0x28]
mov dword [esp + 0xcc], eax
mov eax, esp
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
movups xmm0, xmmword [esp + 0xc0]
push ecx
lea ecx, [esp + 0xc4]
movups xmmword [eax], xmm0
call fcn.00484a30
movaps xmm0, xmmword [esp + 0xc4]
add esp, 0x14
movaps xmmword [esp + 0x80], xmm0
mov eax, dword [esp + 0x80]
push dword [esp + 0x4c]
mov ecx, dword [esi + 0x90]
neg eax
push dword [esp + 0x14]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x8c]
neg eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0x8c]
mov dword [esp + 0x24], eax
xor eax, eax
cmp byte [esi + 0x143], al
cmovne eax, edi
push eax
push dword [esp + 0x3c]
call fcn.005c3bd0
movd xmm2, dword [esp + 0x88]
xorps xmm1, xmm1
cvtdq2pd xmm2, xmm2
comisd xmm2, xmm1
ja 0x596434
xorps xmm2, xmm2
mov edx, dword [esp + 0x20]
movsd xmm0, qword [edx + 0x98]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp 0x596460
movsd xmm0, qword [edx + 0xa0]
ucomisd xmm0, xmm2
lahf
test ah, 0x44
jnp 0x596583
movsd xmm5, qword [edx + 0xb0]
movaps xmm0, xmm2
movsd xmm3, qword [edx + 0xa8]
subsd xmm0, xmm1
movaps xmm4, xmm5
movsd qword [edx + 0x98], xmm1
subsd xmm4, xmm3
movsd qword [edx + 0xa0], xmm2
comisd xmm4, xmm0
jb 0x5964a5
movups xmm0, xmmword [edx + 0x98]
movups xmmword [esp + 0xb0], xmm0
jmp 0x5964e6
comisd xmm1, xmm3
jbe 0x5964b0
xorps xmm2, xmm2
jmp 0x5964b8
subsd xmm2, xmm4
minsd xmm2, xmm3
movaps xmm0, xmm2
movsd qword [esp + 0xb0], xmm2
subsd xmm0, xmm3
addsd xmm0, xmm5
comisd xmm0, xmm2
jbe 0x5964dd
movsd qword [esp + 0xb8], xmm0
jmp 0x5964e6
movsd qword [esp + 0xb8], xmm2
lea eax, [esp + 0xb0]
movsd xmm1, qword [eax]
movsd xmm0, qword [eax + 8]
ucomisd xmm3, xmm1
lahf
test ah, 0x44
jp 0x59650a
ucomisd xmm5, xmm0
lahf
test ah, 0x44
jnp 0x596578
mov ecx, edx
movsd qword [edx + 0xa8], xmm1
movsd qword [edx + 0xb0], xmm0
call fcn.0059cb80
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x30]
push 5
push 5
push 1
mov eax, dword [eax + 0x88]
add eax, 0xc
mov dword [esp + 0x3c], 0
push ecx
push eax
call fcn.00404f40
add esp, 0x14
test eax, eax
je 0x596574
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x88]
call fcn.005093a0
mov edx, dword [esp + 0x20]
test al, al
jne 0x596578
mov eax, dword [edx + 0x88]
xor ecx, ecx
add eax, 0xc
xchg dword [eax], ecx
jmp 0x596578
mov edx, dword [esp + 0x20]
mov ecx, edx
call fcn.0059cb80
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
movd xmm2, dword [esp + 0x60]
cvtdq2pd xmm2, xmm2
movd xmm3, ecx
cvtdq2pd xmm3, xmm3
addsd xmm3, xmm2
comisd xmm3, xmm2
ja 0x5965a6
movaps xmm3, xmm2
movsd xmm5, qword [edx + 0xa0]
movaps xmm4, xmm3
movsd xmm1, qword [edx + 0x98]
subsd xmm4, xmm2
movaps xmm0, xmm5
subsd xmm0, xmm1
comisd xmm4, xmm0
jb 0x5965db
movups xmm0, xmmword [edx + 0x98]
movups xmmword [esp + 0xb0], xmm0
jmp 0x59661a
comisd xmm1, xmm2
ja 0x5965ec
movaps xmm1, xmm5
subsd xmm1, xmm4
minsd xmm1, xmm2
movaps xmm0, xmm1
movsd qword [esp + 0xb0], xmm1
subsd xmm0, xmm2
addsd xmm0, xmm3
comisd xmm0, xmm1
jbe 0x596611
movsd qword [esp + 0xb8], xmm0
jmp 0x59661a
movsd qword [esp + 0xb8], xmm1
movsd xmm0, qword [edx + 0xa8]
lea eax, [esp + 0xb0]
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
ucomisd xmm0, xmm2
lahf
test ah, 0x44
jp 0x59664e
movsd xmm0, qword [edx + 0xb0]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x5966c0
mov ecx, edx
movsd qword [edx + 0xa8], xmm2
movsd qword [edx + 0xb0], xmm1
call fcn.0059cb80
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x30]
push 5
push 5
push 1
mov eax, dword [eax + 0x88]
add eax, 0xc
mov dword [esp + 0x3c], 0
push ecx
push eax
call fcn.00404f40
add esp, 0x14
test eax, eax
je 0x5966b8
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x88]
call fcn.005093a0
mov edx, dword [esp + 0x20]
test al, al
jne 0x5966bc
mov eax, dword [edx + 0x88]
xor ecx, ecx
add eax, 0xc
xchg dword [eax], ecx
jmp 0x5966bc
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
cmp byte [esp + 0xe], 0
movd xmm0, dword [esi + 0x130]
cvtdq2pd xmm0, xmm0
movsd qword [edx + 0xb8], xmm0
je 0x5966ec
mov eax, dword [esp + 0x60]
xor edx, edx
cmp byte [esp + 0x58], dl
cmove eax, edx
mov dword [esp + 0x60], eax
xor eax, eax
cmp byte [esi + 0x142], al
push edi
push dword [esp + 0x50]
cmovne eax, ecx
mov ecx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x28]
push eax
call fcn.005c3bd0
movd xmm2, dword [esp + 0x8c]
xorps xmm1, xmm1
cvtdq2pd xmm2, xmm2
comisd xmm2, xmm1
ja 0x596724
xorps xmm2, xmm2
mov ecx, dword [esp + 0x1c]
movsd xmm0, qword [ecx + 0x98]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp 0x596750
movsd xmm0, qword [ecx + 0xa0]
ucomisd xmm0, xmm2
lahf
test ah, 0x44
jnp 0x596873
movsd xmm4, qword [ecx + 0xb0]
movsd qword [ecx + 0xa0], xmm2
movaps xmm3, xmm4
movsd xmm2, qword [ecx + 0xa8]
movsd qword [ecx + 0x98], xmm1
subsd xmm3, xmm2
movsd xmm5, qword [ecx + 0xa0]
movaps xmm0, xmm5
subsd xmm0, xmm1
comisd xmm3, xmm0
jb 0x59679d
movups xmm0, xmmword [ecx + 0x98]
movups xmmword [esp + 0xb0], xmm0
jmp 0x5967dc
comisd xmm1, xmm2
ja 0x5967ae
movaps xmm1, xmm5
subsd xmm1, xmm3
minsd xmm1, xmm2
movaps xmm0, xmm1
movsd qword [esp + 0xb0], xmm1
subsd xmm0, xmm2
addsd xmm0, xmm4
comisd xmm0, xmm1
jbe 0x5967d3
movsd qword [esp + 0xb8], xmm0
jmp 0x5967dc
movsd qword [esp + 0xb8], xmm1
lea eax, [esp + 0xb0]
movsd xmm1, qword [eax]
movsd xmm0, qword [eax + 8]
ucomisd xmm2, xmm1
lahf
test ah, 0x44
jp 0x596800
ucomisd xmm4, xmm0
lahf
test ah, 0x44
jnp 0x59686a
movsd qword [ecx + 0xa8], xmm1
movsd qword [ecx + 0xb0], xmm0
call fcn.0059cb80
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x54]
push 5
push 5
push 1
mov eax, dword [eax + 0x88]
add eax, 0xc
mov dword [esp + 0x60], 0
push ecx
push eax
call fcn.00404f40
add esp, 0x14
test eax, eax
je 0x596866
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x88]
call fcn.005093a0
test al, al
jne 0x596866
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov eax, dword [eax + 0x88]
add eax, 0xc
xchg dword [eax], ecx
mov ecx, dword [esp + 0x1c]
call fcn.0059cb80
mov ecx, dword [esp + 0x1c]
movd xmm2, dword [esp + 0x78]
movd xmm3, edi
cvtdq2pd xmm2, xmm2
cvtdq2pd xmm3, xmm3
addsd xmm3, xmm2
comisd xmm3, xmm2
ja 0x596892
movaps xmm3, xmm2
movsd xmm5, qword [ecx + 0xa0]
movaps xmm4, xmm3
movsd xmm1, qword [ecx + 0x98]
subsd xmm4, xmm2
movaps xmm0, xmm5
subsd xmm0, xmm1
comisd xmm4, xmm0
jb 0x5968c7
movups xmm0, xmmword [ecx + 0x98]
movups xmmword [esp + 0xb0], xmm0
jmp 0x596906
comisd xmm1, xmm2
ja 0x5968d8
movaps xmm1, xmm5
subsd xmm1, xmm4
minsd xmm1, xmm2
movaps xmm0, xmm1
movsd qword [esp + 0xb0], xmm1
subsd xmm0, xmm2
addsd xmm0, xmm3
comisd xmm0, xmm1
jbe 0x5968fd
movsd qword [esp + 0xb8], xmm0
jmp 0x596906
movsd qword [esp + 0xb8], xmm1
movsd xmm0, qword [ecx + 0xa8]
lea eax, [esp + 0xb0]
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
ucomisd xmm0, xmm2
lahf
test ah, 0x44
jp 0x59693a
movsd xmm0, qword [ecx + 0xb0]
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x5969a4
movsd qword [ecx + 0xa8], xmm2
movsd qword [ecx + 0xb0], xmm1
call fcn.0059cb80
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x54]
push 5
push 5
push 1
mov eax, dword [eax + 0x88]
add eax, 0xc
mov dword [esp + 0x60], 0
push ecx
push eax
call fcn.00404f40
add esp, 0x14
test eax, eax
je 0x5969a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x88]
call fcn.005093a0
test al, al
jne 0x5969a0
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov eax, dword [eax + 0x88]
add eax, 0xc
xchg dword [eax], ecx
mov ecx, dword [esp + 0x1c]
cmp byte [esp + 0xf], 0
movd xmm0, dword [esi + 0x134]
cvtdq2pd xmm0, xmm0
movsd qword [ecx + 0xb8], xmm0
je 0x5969d0
mov eax, dword [esp + 0x78]
xor ecx, ecx
cmp byte [esp + 0x50], cl
cmove eax, ecx
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x20]
push dword [esp + 0x58]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [esp + 0x1c]
push dword [esp + 0x50]
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov eax, dword [esi + 0x118]
test eax, eax
je 0x596a73
cmp dword [eax + 8], 0
je 0x596a73
push dword [esp + 0x78]
lea eax, [esp + 0x5c]
mov ecx, esi
push dword [esp + 0x64]
push eax
call fcn.00596df0
mov ecx, dword [esi + 0x118]
test ecx, ecx
je 0x596a1d
mov eax, dword [ecx + 8]
jmp 0x596a1f
xor eax, eax
movups xmm0, xmmword [eax + 0x1c]
mov edx, dword [esp + 0x58]
movd eax, xmm0
movaps xmmword [esp + 0xb0], xmm0
cmp eax, edx
mov eax, dword [esp + 0x5c]
jne 0x596a44
cmp dword [esp + 0xb4], eax
je 0x596a73
test ecx, ecx
je 0x596a5e
mov ecx, dword [ecx + 8]
push dword [ecx + 0x28]
push dword [ecx + 0x24]
push eax
push edx
call fcn.005c3bd0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor ecx, ecx
push dword [ecx + 0x28]
push dword [ecx + 0x24]
push eax
push edx
call fcn.005c3bd0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
sub esi, eax
sub ecx, edx
mov dword [esp + 0x90], eax
cmp dword [esp + 0x10], esi
mov dword [esp + 0x94], edx
cmovl esi, dword [esp + 0x10]
cmp edi, ecx
mov eax, esi
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x7c]
cmovl ecx, edi
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x9c], ecx
cmp dword [esi + 0x11c], eax
jne 0x596ae9
cmp dword [esi + 0x120], edx
jne 0x596ae9
mov eax, dword [esp + 0x78]
cmp dword [esi + 0x124], eax
jne 0x596ae9
cmp dword [esi + 0x128], ecx
je 0x596b0a
movups xmm0, xmmword [esp + 0x90]
mov eax, dword [esi]
lea ecx, [esp + 0x90]
push ecx
mov ecx, esi
movups xmmword [esi + 0x11c], xmm0
call dword [eax + 0xb4]
mov ecx, dword [esp + 0x20]
xor eax, eax
add ecx, 0x84
mov edx, dword [ecx + 4]
add edx, 0xc
xchg dword [edx], eax
test eax, eax
je 0x596b27
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x1c]
xor eax, eax
add ecx, 0x84
mov edx, dword [ecx + 4]
add edx, 0xc
xchg dword [edx], eax
test eax, eax
je 0x596b44
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret