Function at 0x180057d60
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x250
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
mov rax, qword [0x1801b9588]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov r15, r9
movaps xmm7, xmm2
movss dword [rsp + 0x70], xmm2
mov rdi, rdx
mov qword [rbp - 0x48], rdx
mov r13, rcx
cmp byte [0x1801b9355], 1
jne 0x18005923c
movss xmm10, dword [0x18008efcc]
comiss xmm2, xmm10
jb 0x18005923c
movss xmm0, dword [0x1801b936c]
comiss xmm0, xmm2
jb 0x18005923c
xor esi, esi
mov ebx, esi
mov qword [rbp - 0x58], rbx
lea edx, [rsi + 8]
add rcx, 0x4f8
call qword [sym.imp.KERNEL32.dll_IsBadHugeReadPtr]
test eax, eax
jne 0x180057e41
mov rbx, qword [r13 + 0x4f8]
mov qword [rbp - 0x58], rbx
lea rax, [rbx - 0xffff]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
ja 0x18005923c
test bl, 7
jne 0x18005923c
cmp rbx, qword [0x1801bb240]
je 0x18005923c
lea rcx, [r13 + 0xfd8]
call fcn.180054fb0
mov ebx, eax
mov eax, 0xd1b71759
mul ebx
shr edx, 0xd
imul ecx, edx, 0x2710
sub ebx, ecx
mov ecx, ebx
cmp rcx, qword [0x1801bb248]
jne 0x180057ea9
cmp byte [0x1801ba156], sil
je 0x18005923c
lea eax, [rbx - 1]
cmp eax, 0x270e
cmova ebx, esi
mov dword [rbp - 0x50], ebx
lea rcx, [r13 + 0x9b0]
call fcn.180054fe0
movaps xmm6, xmm0
movss dword [rbp - 0x64], xmm6
lea rcx, [r13 + 0x1d20]
call fcn.180054fe0
movaps xmm1, xmm0
addss xmm1, xmm6
xorps xmm11, xmm11
comiss xmm11, xmm1
jae 0x18005923c
comiss xmm1, dword [0x18019efe0]
ja 0x18005923c
movss xmm12, dword [0x18008f014]
comiss xmm11, xmm6
jae 0x180057f13
comiss xmm6, xmm12
ja 0x180057f13
mov dword [rbp - 0x6c], esi
jmp 0x180057f1f
mov dword [rbp - 0x6c], 1
movss dword [rbp - 0x64], xmm0
mov ecx, ebx
cmp dword [rdi], 2
cmove ecx, esi
call fcn.18005ca20
mov dword [rbp - 0x60], eax
lea rcx, [r13 + 0x428]
call fcn.180055010
test rax, rax
je 0x180057f58
mov rdx, rax
xor ecx, ecx
mov r8, qword [0x1801ba170]
call qword [r8 + 0xa8ecb28]
mov rdi, rax
jmp 0x180057f5b
mov rdi, rsi
xor eax, eax
mov ebx, eax
lea edx, [rax + 8]
lea rcx, [r13 + 0x1bf0]
call qword [sym.imp.KERNEL32.dll_IsBadHugeReadPtr]
test eax, eax
jne 0x180057f7a
mov rbx, qword [r13 + 0x1bf0]
lea rax, [rbx - 0xffff]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
ja 0x18005923c
test bl, 7
jne 0x18005923c
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
mov rsi, 0xffffffffffffffff
mov r9d, esi
mov r8, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, esi
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test rdi, rdi
jne 0x180057ffc
xor eax, eax
mov dword [rbp - 0x68], eax
jmp 0x180058018
lea rcx, [rdi + 0x678]
call fcn.180054fb0
mov ebx, eax
cmp eax, 0x63
mov eax, 0
cmova ebx, eax
mov dword [rbp - 0x68], ebx
mov r8d, 0xf
mov rdi, qword [rbp - 0x58]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.18005c880
movsd xmm0, qword [rsp + 0x50]
movsd qword [rbp - 0x40], xmm0
mov eax, dword [rsp + 0x58]
mov dword [rbp - 0x38], eax
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x30]
call fcn.1800670a0
mov r8d, 0xc1
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.18005c880
movsd xmm0, qword [rsp + 0x50]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x68], eax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x40]
call fcn.1800670a0
cmp byte [0x1801b9366], 0
je 0x1800582b7
movss xmm7, dword [0x1801bb258]
movss xmm8, dword [0x1801bb25c]
movss xmm6, dword [0x1801bb260]
movsd xmm1, qword [r15]
mov eax, dword [r15 + 8]
mov dword [rsp + 0x58], eax
subss xmm7, xmm1
movaps xmm0, xmm1
shufps xmm0, xmm0, 0x55
movsd qword [rsp + 0x50], xmm1
subss xmm8, xmm0
subss xmm6, dword [rsp + 0x58]
movaps xmm0, xmm8
mulss xmm0, xmm8
movaps xmm2, xmm7
mulss xmm2, xmm7
addss xmm0, xmm2
call fcn.18007518c
movaps xmm1, xmm0
movaps xmm0, xmm6
call fcn.180076a74
movaps xmm6, xmm0
movaps xmm1, xmm7
movaps xmm0, xmm8
call fcn.180076a74
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
mulsd xmm1, qword [0x18019ef68]
cvtpd2ps xmm8, xmm1
xorps xmm0, xmm0
cvtss2sd xmm0, xmm6
mulsd xmm0, qword [0x18019ef68]
cvtpd2ps xmm9, xmm0
xorps xmm7, xmm7
xorps xmm6, xmm6
mov edx, 0xc
lea rcx, [r13 + 0x1760]
call qword [sym.imp.KERNEL32.dll_IsBadHugeReadPtr]
test eax, eax
jne 0x180058173
movsd xmm1, qword [r13 + 0x1760]
mov eax, dword [r13 + 0x1768]
mov dword [rsp + 0x58], eax
movaps xmm0, xmm1
shufps xmm0, xmm0, 0x55
movaps xmm6, xmm0
movsd qword [rsp + 0x50], xmm1
movss xmm7, dword [rsp + 0x50]
movss xmm1, dword [0x180093dc4]
movss xmm2, dword [0x18019f040]
movss xmm3, dword [0x18019efdc]
comiss xmm7, xmm3
jbe 0x180058196
subss xmm7, xmm1
jmp 0x18005819f
comiss xmm2, xmm7
jbe 0x18005819f
addss xmm7, xmm1
comiss xmm6, xmm3
jbe 0x1800581aa
subss xmm6, xmm1
jmp 0x1800581b3
comiss xmm2, xmm6
jbe 0x1800581b3
addss xmm6, xmm1
movss xmm0, dword [0x18019f03c]
maxss xmm0, xmm7
movss xmm4, dword [0x18019efcc]
minss xmm4, xmm0
comiss xmm2, xmm6
jbe 0x1800581d9
addss xmm6, xmm1
comiss xmm2, xmm6
ja 0x1800581d0
comiss xmm6, xmm3
jbe 0x1800581ef
movss xmm0, dword [0x18019f044]
addss xmm6, xmm0
comiss xmm6, xmm3
ja 0x1800581e6
subss xmm8, xmm6
xorps xmm0, xmm0
cvtss2sd xmm0, xmm8
andps xmm0, xmmword [0x18008f090]
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
subss xmm9, xmm4
xorps xmm0, xmm0
cvtss2sd xmm0, xmm9
andps xmm0, xmmword [0x18008f090]
cvtpd2ps xmm0, xmm0
cvttss2si ecx, xmm0
cmp eax, 2
jg 0x1800582b1
cmp ecx, 2
jg 0x1800582b1
movss xmm2, dword [0x1801ba2c4]
mulss xmm2, dword [0x18008efa4]
movss xmm1, dword [0x1801ba2c0]
mulss xmm1, dword [0x18008efa4]
movups xmm0, xmmword [0x1801b9470]
movups xmmword [rsp + 0x50], xmm0
movss dword [rbp - 0x74], xmm1
movss dword [rbp - 0x70], xmm2
movss xmm0, dword [rbp + 0x1b0]
movss dword [rbp - 0x7c], xmm0
movss xmm1, dword [rbp + 0x1b4]
movss dword [rbp - 0x78], xmm1
call fcn.180009d20
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.180007590
mov r9d, eax
movss dword [rsp + 0x20], xmm10
lea r8, [rbp - 0x74]
lea rdx, [rbp - 0x7c]
mov rcx, rbx
call fcn.18001ae60
movss xmm7, dword [rsp + 0x70]
cmp byte [0x1801b9364], 1
jne 0x180058c84
mov rcx, qword [0x1801bb230]
add rcx, 0x1764
call fcn.180054fe0
lea rcx, [r13 + 0x1764]
call fcn.180054fe0
movss dword [rsp + 0x74], xmm0
lea rcx, [r13 + 0x4f8]
call fcn.180055010
mov r15, rax
mov qword [rsp + 0x60], rax
lea rcx, [r13 + 0xfd8]
call fcn.180054fb0
mov edi, eax
mov rcx, qword [0x1801bb230]
add rcx, 0xfc8
call fcn.180054fb0
mov ebx, eax
mov r8d, 0xf
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.18005c880
mov r8d, 0xf
mov rdx, qword [0x1801bb240]
lea rcx, [rsp + 0x50]
call fcn.18005c880
cmp ebx, edi
je 0x180058c80
mov rcx, qword [0x1801bb230]
add rcx, 0x4f8
call fcn.180055010
mov rbx, rax
movss dword [rsp + 0x7c], xmm11
movss dword [rbp - 0x80], xmm11
mov edx, 0xc
lea rcx, [rax + 0x2d0]
call qword [sym.imp.KERNEL32.dll_IsBadHugeReadPtr]
test eax, eax
jne 0x1800583bb
movsd xmm1, qword [rbx + 0x2d0]
mov eax, dword [rbx + 0x2d8]
mov dword [rsp + 0x58], eax
movaps xmm0, xmm1
shufps xmm0, xmm0, 0x55
movss dword [rbp - 0x80], xmm0
movsd qword [rsp + 0x50], xmm1
movss xmm0, dword [rsp + 0x50]
movss dword [rsp + 0x7c], xmm0
lea rcx, [r13 + 0x4f8]
call fcn.180055010
mov rbx, rax
movaps xmm14, xmm11
movaps xmm15, xmm11
mov edx, 0xc
lea rcx, [rax + 0x2d0]
call qword [sym.imp.KERNEL32.dll_IsBadHugeReadPtr]
test eax, eax
jne 0x180058412
movsd xmm1, qword [rbx + 0x2d0]
mov eax, dword [rbx + 0x2d8]
mov dword [rsp + 0x58], eax
movaps xmm0, xmm1
shufps xmm0, xmm0, 0x55
movaps xmm15, xmm0
movsd qword [rsp + 0x50], xmm1
movss xmm14, dword [rsp + 0x50]
call fcn.18000a190
movss xmm0, dword [rax + 8]
movss dword [rbp - 0x7c], xmm0
call fcn.18000a190
movss xmm0, dword [rax + 0xc]
movss dword [rbp - 0x74], xmm0
mov rcx, qword [0x1801ba1b8]
add rcx, 0x708
call fcn.180054fb0
mov r12d, eax
mov rcx, qword [0x1801ba188]
add rcx, 0x20
call fcn.180054fb0
xor eax, 0xf1c590e9
ror eax, 0xf
mov ecx, eax
shl ecx, 0x10
xor ecx, eax
xor ecx, 0x2c61b05f
call fcn.180056730
movdqa xmm0, xmmword [0x18019f050]
movdqu xmmword [rbp + 0x58], xmm0
mov byte [rbp + 0x48], 0
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x180058484
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.180067800
nop
mov dword [rsp + 0x50], 0xa020a38
mov dword [rsp + 0x54], 0x103d300b
mov word [rsp + 0x58], 0x1d1b
xor eax, eax
mov byte [rsp + 0x5a], al
xor edi, edi
mov edx, edi
nop dword [rax]
movsxd rcx, edx
lea eax, [rdx + 0x6a]
xor byte [rsp + rcx + 0x50], al
inc edx
cmp edx, 0xa
jb 0x1800584c0
mov dword [rsp + 0x50], 0x19000a28
mov dword [rsp + 0x54], 0x3c2f0c07
mov dword [rsp + 0x58], 0x1a1a13
mov edx, edi
nop dword [rax + rax]
movsxd rcx, edx
lea eax, [rdx + 0x6a]
xor byte [rsp + rcx + 0x50], al
inc edx
cmp edx, 0xb
jb 0x1800584f0
mov byte [rsp + 0x5b], dil
lea rcx, [rsp + 0x50]
mov rax, rsi
nop
inc rax
cmp byte [rcx + rax], dil
jne 0x180058510
lea rcx, [rbp + 0x48]
mov r14, qword [rbp + 0x48]
mov r15, qword [rbp + 0x60]
cmp r15, 0x10
cmovae rcx, r14
movss xmm7, dword [0x18019efd4]
movss xmm8, dword [0x18019f018]
mov rbx, qword [rbp + 0x58]
cmp rbx, rax
jne 0x18005855e
mov r8, rbx
lea rdx, [rsp + 0x50]
call fcn.18006a5c0
test eax, eax
jne 0x18005855e
movaps xmm6, xmm8
jmp 0x180058561
movaps xmm6, xmm7
mov dword [rsp + 0x50], 0x81f0e2e
mov dword [rsp + 0x54], 0x3c2f1b1c
mov dword [rsp + 0x58], 0x1a1a13
mov edx, edi
nop dword [rax + rax]
movsxd rcx, edx
lea eax, [rdx + 0x6a]
xor byte [rsp + rcx + 0x50], al
inc edx
cmp edx, 0xb
jb 0x180058580
mov byte [rsp + 0x5b], dil
lea rcx, [rsp + 0x50]
mov rax, rsi
nop
inc rax
cmp byte [rcx + rax], dil
jne 0x1800585a0
lea rcx, [rbp + 0x48]
cmp r15, 0x10
cmovae rcx, r14
cmp rbx, rax
jne 0x1800585cf
mov r8, rbx
lea rdx, [rsp + 0x50]
call fcn.18006a5c0
test eax, eax
jne 0x1800585cf
movaps xmm6, xmm8
mov dword [rsp + 0x50], 0xc1a0a39
mov dword [rsp + 0x54], 0x3c2f0a09
mov dword [rsp + 0x58], 0x1a1a13
mov edx, edi
nop dword [rax]
movsxd rcx, edx
lea eax, [rdx + 0x6a]
xor byte [rsp + rcx + 0x50], al
inc edx
cmp edx, 0xb
jb 0x1800585f0
mov byte [rsp + 0x5b], dil
lea rcx, [rsp + 0x50]
mov rax, rsi
nop
inc rax
cmp byte [rcx + rax], dil
jne 0x180058610
lea rcx, [rbp + 0x48]
cmp r15, 0x10
cmovae rcx, r14
cmp rbx, rax
jne 0x180058643
mov r8, rbx
lea rdx, [rsp + 0x50]
call fcn.18006a5c0
test eax, eax
jne 0x180058643
movss xmm6, dword [0x18019efec]
mov dword [rsp + 0x50], 0x204022e
mov dword [rsp + 0x54], 0x1e04201c
mov dword [rsp + 0x58], 0x14392c19
mov word [rsp + 0x5c], 0x191f
xor eax, eax
mov byte [rsp + 0x5e], al
mov edx, edi
nop word [rax + rax]
movsxd rcx, edx
lea eax, [rdx + 0x6a]
xor byte [rsp + rcx + 0x50], al
inc edx
cmp edx, 0xe
jb 0x180058670
mov byte [rsp + 0x5e], dil
lea rcx, [rsp + 0x50]
mov rax, rsi
nop
inc rax
cmp byte [rcx + rax], dil
jne 0x180058690
lea rcx, [rbp + 0x48]
cmp r15, 0x10
cmovae rcx, r14
cmp rbx, rax
jne 0x1800586c3
mov r8, rbx
lea rdx, [rsp + 0x50]
call fcn.18006a5c0
test eax, eax
jne 0x1800586c3
movss xmm6, dword [0x18019f000]
mov dword [rsp + 0x50], 0x50329
mov dword [rsp + 0x54], 0x2e111d0b
mov dword [rsp + 0x58], 0x1b1d123f
xor eax, eax
mov byte [rsp + 0x5c], al
mov edx, edi
nop dword [rax]
nop word [rax + rax]
movsxd rcx, edx
lea eax, [rdx + 0x6a]
xor byte [rsp + rcx + 0x50], al
inc edx
cmp edx, 0xc
jb 0x1800586f0
mov byte [rsp + 0x5c], dil
lea rcx, [rsp + 0x50]
mov rax, rsi
nop
inc rax
cmp byte [rcx + rax], dil
jne 0x180058710
lea rcx, [rbp + 0x48]
cmp r15, 0x10
cmovae rcx, r14
cmp rbx, rax
jne 0x180058743
mov r8, rbx
lea rdx, [rsp + 0x50]
call fcn.18006a5c0
test eax, eax
jne 0x180058743
movss xmm6, dword [0x18019efe4]
movdqa xmm0, xmmword [0x18019f0c0]
movdqu xmmword [rsp + 0x50], xmm0
mov edx, edi
nop dword [rax]
nop word [rax + rax]
movsxd rcx, edx
lea eax, [rdx + 0x6a]
xor byte [rsp + rcx + 0x50], al
inc edx
cmp edx, 0xf
jb 0x180058760
mov byte [rsp + 0x5f], dil
lea rcx, [rsp + 0x50]
mov rax, rsi
nop
inc rax
cmp byte [rcx + rax], dil
jne 0x180058780
lea rcx, [rbp + 0x48]
cmp r15, 0x10
cmovae rcx, r14
cmp rbx, rax
jne 0x1800587ae
mov r8, rbx
lea rdx, [rsp + 0x50]
call fcn.18006a5c0
test eax, eax
jne 0x1800587ae
movaps xmm6, xmm7
mov dword [rsp + 0x50], 0x80b023e
mov dword [rsp + 0x54], 0x103d301c
mov word [rsp + 0x58], 0x1d1b
xor eax, eax
mov byte [rsp + 0x5a], al
mov edx, edi
nop dword [rax]
movsxd rcx, edx
lea eax, [rdx + 0x6a]
xor byte [rsp + rcx + 0x50], al
inc edx
cmp edx, 0xa
jb 0x1800587d0
mov byte [rsp + 0x5a], dil
lea rcx, [rsp + 0x50]
mov rax, rsi
nop
inc rax
cmp byte [rcx + rax], dil
jne 0x1800587f0
lea rcx, [rbp + 0x48]
cmp r15, 0x10
cmovae rcx, r14
cmp rbx, rax
jne 0x180058823
mov r8, rbx
lea rdx, [rsp + 0x50]
call fcn.18006a5c0
test eax, eax
jne 0x180058823
movss xmm6, dword [0x18019f014]
mov dword [rsp + 0x50], 0x3030e24
mov dword [rsp + 0x54], 0x18112231
mov word [rsp + 0x58], 0x1c
mov edx, edi
nop dword [rax]
movsxd rcx, edx
lea eax, [rdx + 0x6a]
xor byte [rsp + rcx + 0x50], al
inc edx
cmp edx, 9
jb 0x180058840
mov byte [rsp + 0x59], dil
lea rcx, [rsp + 0x50]
mov rax, rsi
nop
inc rax
cmp byte [rcx + rax], dil
jne 0x180058860
lea rcx, [rbp + 0x48]
cmp r15, 0x10
cmovae rcx, r14
cmp rbx, rax
jne 0x18005888f
mov r8, rbx
lea rdx, [rsp + 0x50]
call fcn.18006a5c0
test eax, eax
jne 0x18005888f
movaps xmm6, xmm8
mov dword [rsp + 0x50], 0x4070221
mov dword [rsp + 0x54], 0x18112231
mov word [rsp + 0x58], 0x1c
mov edx, edi
nop dword [rax + rax]
movsxd rcx, edx
lea eax, [rdx + 0x6a]
xor byte [rsp + rcx + 0x50], al
inc edx
cmp edx, 9
jb 0x1800588b0
mov byte [rsp + 0x59], dil
lea rcx, [rsp + 0x50]
mov rax, rsi
nop
inc rax
cmp byte [rcx + rax], dil
jne 0x1800588d0
lea rcx, [rbp + 0x48]
cmp r15, 0x10
cmovae rcx, r14
cmp rbx, rax
jne 0x1800588ff
mov r8, rbx
lea rdx, [rsp + 0x50]
call fcn.18006a5c0
test eax, eax
jne 0x1800588ff
movaps xmm6, xmm8
mov dword [rsp + 0x50], 0x1b0d0e22
mov dword [rsp + 0x54], 0x3c2f010b
mov dword [rsp + 0x58], 0x1a1a13
mov edx, edi
nop dword [rax]
movsxd rcx, edx
lea eax, [rdx + 0x6a]
xor byte [rsp + rcx + 0x50], al
inc edx
cmp edx, 0xb
jb 0x180058920
mov byte [rsp + 0x5b], dil
lea rcx, [rsp + 0x50]
mov rax, rsi
nop
inc rax
cmp byte [rcx + rax], dil
jne 0x180058940
lea rcx, [rbp + 0x48]
cmp r15, 0x10
cmovae rcx, r14
cmp rbx, rax
jne 0x180058973
mov r8, rbx
lea rdx, [rsp + 0x50]
call fcn.18006a5c0
test eax, eax
jne 0x180058973
movss xmm6, dword [0x18019efc4]
mov rcx, qword [0x1801ba188]
add rcx, 0x9b4
call fcn.180054fb0
mov edi, eax
mov rcx, qword [0x1801ba188]
add rcx, 0x9b8
call fcn.180054fb0
mov ebx, eax
mov r8d, 0xf
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.18005c880
movd xmm10, ebx
cvtdq2ps xmm10, xmm10
addss xmm10, dword [rsp + 0x54]
movd xmm9, edi
cvtdq2ps xmm9, xmm9
addss xmm9, dword [rsp + 0x50]
movss xmm11, dword [0x18019f030]
movss xmm12, dword [0x18019f02c]
cmp r12d, 3
je 0x1800589f4
cmp r12d, 0x4b
jne 0x180058b2c
call fcn.18000a190
comiss xmm11, dword [rax + 8]
jae 0x180058a1c
call fcn.18000a190
comiss xmm12, dword [rax + 0xc]
jae 0x180058a1c
divss xmm9, xmm6
addss xmm9, dword [0x18019f010]
jmp 0x180058a32
mulss xmm6, dword [0x18019eecc]
divss xmm9, xmm6
addss xmm9, dword [0x18019effc]
movaps xmm0, xmmword [0x18019f250]
divss xmm10, xmm6
movups xmmword [rsp + 0x50], xmm0
movss dword [rsp + 0x60], xmm9
movss dword [rsp + 0x64], xmm10
call fcn.180009d20
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.180007590
mov dword [rsp + 0x20], 0x64
mov r9d, eax
movss xmm2, dword [0x18008eff4]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.180019db0
movss xmm6, dword [rsp + 0x74]
cvtps2pd xmm6, xmm6
movaps xmm8, xmmword [0x18019f250]
mulsd xmm6, qword [0x18019eeb8]
movaps xmm0, xmm6
call fcn.18007b0c0
cvtps2pd xmm1, xmm10
mulsd xmm0, qword [0x18019ef48]
xorps xmm7, xmm7
addsd xmm0, xmm1
cvtsd2ss xmm7, xmm0
movaps xmm0, xmm6
call fcn.18007ab40
cvtps2pd xmm1, xmm9
mulsd xmm0, qword [0x18019ef40]
addsd xmm0, xmm1
cvtsd2ss xmm0, xmm0
movups xmmword [rsp + 0x50], xmm8
movss dword [rsp + 0x60], xmm0
movss dword [rsp + 0x64], xmm7
movss dword [rsp + 0x74], xmm9
movss dword [rsp + 0x78], xmm10
call fcn.180009d20
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.180007590
movss xmm0, dword [0x18008efcc]
movss dword [rsp + 0x20], xmm0
mov r9d, eax
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x74]
mov rcx, rbx
call fcn.18001ae60
movss xmm7, dword [rsp + 0x70]
movss xmm0, dword [0x18019efe0]
comiss xmm0, xmm7
jb 0x180058c3c
call fcn.18000a190
comiss xmm11, dword [rax + 8]
jae 0x180058b7c
call fcn.18000a190
comiss xmm12, dword [rax + 0xc]
jae 0x180058b7c
subss xmm14, dword [rsp + 0x7c]
divss xmm14, dword [0x18019efd0]
subss xmm15, dword [rbp - 0x80]
divss xmm15, dword [0x18019efd0]
jmp 0x180058b9b
subss xmm14, dword [rsp + 0x7c]
divss xmm14, dword [0x18019efd8]
subss xmm15, dword [rbp - 0x80]
divss xmm15, dword [0x18019efd8]
movss xmm0, dword [rbp - 0x74]
movss xmm1, dword [rbp - 0x7c]
addss xmm15, xmm0
addss xmm14, xmm1
mulss xmm0, dword [0x18019eea4]
mulss xmm1, dword [0x18019eea0]
subss xmm15, xmm0
subss xmm14, xmm1
movaps xmm0, xmmword [0x18019f250]
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
cvtss2sd xmm1, xmm14
subsd xmm1, qword [0x18019ef28]
cvtpd2ps xmm0, xmm1
movss dword [rsp + 0x60], xmm0
xorps xmm1, xmm1
cvtss2sd xmm1, xmm15
subsd xmm1, qword [0x18019ef28]
cvtpd2ps xmm0, xmm1
movss dword [rsp + 0x64], xmm0
call fcn.180009d20
mov rbx, rax
lea rcx, [rsp + 0x50]
call fcn.180007590
mov r9d, eax
mov dword [rsp + 0x20], 0x64
movss xmm2, dword [0x18008eff4]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.180019db0
nop
cmp r15, 0x10
jb 0x180058c73
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x180058c6b
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005929c
mov rcx, r14
call fcn.180068180
movss xmm12, dword [0x18008f014]
xorps xmm11, xmm11
mov rdi, qword [rbp - 0x58]
movss xmm0, dword [0x18008efcc]
movss xmm1, dword [rbp + 0x1b0]
comiss xmm0, xmm1
ja 0x180059219
comiss xmm1, dword [0x1801ba2c0]
ja 0x180059219
movss xmm1, dword [rbp + 0x1b4]
comiss xmm0, xmm1
ja 0x180059219
comiss xmm1, dword [0x1801ba2c4]
ja 0x180059219
mov rcx, qword [0x1801bb240]
add rcx, 0x73c
call fcn.180054fb0
mov ebx, eax
lea rcx, [rdi + 0x73c]
call fcn.180054fb0
xor r14d, r14d
mov r9d, r14d
cmp eax, ebx
setae r9b
lea rcx, [0x1801b9460]
lea rax, [0x1801b9450]
mov edx, dword [rbp - 0x6c]
test edx, edx
cmovne rax, rcx
movups xmm9, xmmword [rax]
jne 0x180058d27
lea rax, [0x1801b9490]
lea rcx, [0x1801b9440]
test r9d, r9d
cmovne rcx, rax
cmp byte [0x1801b9356], 1
jne 0x180058d4d
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x50], xmm0
movss xmm2, dword [0x1801b9368]
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1800592b0
cmp byte [0x1801b9365], 1
jne 0x180058f4b
movdqa xmm0, xmmword [0x18019f050]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], r14b
lea rax, [rbp + 0x70]
nop
inc rsi
cmp byte [rax + rsi], r14b
jne 0x180058d70
mov r8, rsi
lea rdx, [rbp + 0x70]
lea rcx, [rbp]
call fcn.180067800
nop
movdqa xmmword [rsp + 0x50], xmm9
mov rax, qword [rbp - 0x48]
movups xmm0, xmmword [rax]
movaps xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x30], xmm1
mov rbx, r14
mov edx, 8
lea rcx, [r13 + 0x910]
call qword [sym.imp.KERNEL32.dll_IsBadHugeReadPtr]
test eax, eax
jne 0x180058dc4
mov rbx, qword [r13 + 0x910]
lea rax, [rbx - 0xffff]
movabs r15, 0x7fffffff0000
cmp rax, r15
ja 0x180058e9b
test bl, 7
jne 0x180058e9b
mov rdi, r14
mov edx, 8
lea rcx, [rbx + 0x1f8]
call qword [sym.imp.KERNEL32.dll_IsBadHugeReadPtr]
test eax, eax
jne 0x180058e07
mov rdi, qword [rbx + 0x1f8]
lea rax, [rdi - 0xffff]
cmp rax, r15
ja 0x180058e9b
test dil, 7
jne 0x180058e9b
lea rsi, [rbx + 0x301]
xor bl, bl
mov edx, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_IsBadHugeReadPtr]
test eax, eax
jne 0x180058e40
movzx ebx, byte [rsi]
cmp bl, 4
ja 0x180058e9b
movzx eax, bl
lea rcx, [rdi + rax*8]
call fcn.180055010
lea rcx, [rax - 0xffff]
cmp rcx, r15
ja 0x180058e9b
test al, 7
jne 0x180058e9b
lea rcx, [rax + 0x20]
call fcn.180054fb0
xor eax, 0xf1c590e9
ror eax, 0xf
mov edx, eax
shl edx, 0x10
xor edx, eax
xor edx, 0x2c61b05f
lea rcx, [rbp - 0x20]
call fcn.18005a980
cmp dword [rbp - 0x20], 0
je 0x180058e9b
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rbp + 0x48], xmm0
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [rbp + 0x58], xmm1
jmp 0x180058eb2
lea rax, [0x18008ed24]
mov dword [rbp + 0x48], r14d
mov qword [rbp + 0x50], rax
mov byte [rbp + 0x58], 0
mov qword [rbp + 0x60], r14
movups xmm0, xmmword [rbp + 0x48]
movaps xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rbp + 0x58]
movaps xmmword [rbp - 0x10], xmm1
lea rax, [rbp]
mov qword [rsp + 0x48], rax
mov eax, dword [rbp - 0x50]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp - 0x68]
mov dword [rsp + 0x38], eax
movsd xmm0, qword [rbp - 0x30]
movsd qword [rsp + 0x30], xmm0
movss xmm1, dword [rbp - 0x64]
movss dword [rsp + 0x28], xmm1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp - 0x60]
movaps xmm2, xmm7
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x20]
call fcn.180059630
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x180058f55
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180058f44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180059296
call fcn.180068180
jmp 0x180058f55
movabs r15, 0x7fffffff0000
lea rcx, [r13 + 0x1fe0]
call fcn.180055010
lea rcx, [rax + 0x300]
call fcn.180055010
mov rbx, rax
lea rcx, [rax - 0xffff]
cmp rcx, r15
ja 0x180059138
test bl, 7
jne 0x180059138
lea rcx, [rax + 0x20]
call fcn.180054fb0
xor eax, 0xf1c590e9
ror eax, 0xf
mov edx, eax
shl edx, 0x10
xor edx, eax
xor edx, 0x2c61b05f
lea eax, [rdx - 1]
cmp eax, 0xf423f
ja 0x18005923c
lea rcx, [rbp - 0x20]
call fcn.18005a980
cmp dword [rbp - 0x20], 0
je 0x18005923c
lea rcx, [rbx + 0x1c0]
call fcn.180055010
test rax, rax
je 0x18005923c
mov rdx, rax
xor ecx, ecx
mov rax, qword [0x1801ba170]
call qword [rax + 0xa8ecb28]
lea rcx, [rax - 0xffff]
cmp rcx, r15
ja 0x18005923c
test al, 7
jne 0x18005923c
lea rdi, [rax + 0x2d0]
movss dword [rsp + 0x50], xmm11
movaps xmm8, xmm11
movss dword [rsp + 0x54], xmm11
movaps xmm9, xmm11
movss dword [rsp + 0x58], xmm11
mov edx, 0xc
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_IsBadHugeReadPtr]
test eax, eax
jne 0x18005906c
movsd xmm10, qword [rdi]
mov edi, dword [rdi + 8]
mov dword [rsp + 0x58], edi
movss xmm9, dword [rsp + 0x58]
movaps xmm0, xmm10
shufps xmm0, xmm0, 0x55
movaps xmm8, xmm0
movsd qword [rsp + 0x50], xmm10
movss xmm11, dword [rsp + 0x50]
jmp 0x180059077
mov edi, dword [rsp + 0x58]
movsd xmm10, qword [rsp + 0x50]
subss xmm11, dword [0x1801bb268]
subss xmm8, dword [0x1801bb26c]
subss xmm9, dword [0x1801bb270]
movss xmm7, dword [0x18008efdc]
movaps xmm1, xmm7
movaps xmm0, xmm11
call fcn.180078e40
movaps xmm6, xmm0
movaps xmm1, xmm7
movaps xmm0, xmm8
call fcn.180078e40
addss xmm6, xmm0
movaps xmm1, xmm7
movaps xmm0, xmm9
call fcn.180078e40
addss xmm6, xmm0
movaps xmm0, xmm6
call fcn.18007518c
movaps xmm6, xmm0
divss xmm6, xmm12
comiss xmm7, xmm6
jae 0x18005923c
comiss xmm6, dword [0x18019f034]
ja 0x18005923c
movsd qword [rsp + 0x50], xmm10
mov dword [rsp + 0x58], edi
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x48]
call fcn.1800670a0
movups xmm0, xmmword [rbp - 0x20]
movaps xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rbp - 0x10]
movaps xmmword [rbp + 0x30], xmm1
mov dword [rsp + 0x20], 1
mov r9, qword [rbp - 0x48]
movaps xmm2, xmm6
lea rdx, [rbp + 0x20]
mov rcx, rbx
call fcn.180059c60
jmp 0x18005923c
movaps xmm1, xmm7
movss xmm2, dword [0x18019ef90]
divss xmm1, xmm2
movss xmm0, dword [0x18008f008]
subss xmm0, xmm1
movaps xmm3, xmm2
maxss xmm3, xmm0
cmp byte [0x1801b9365], 1
jne 0x18005923c
movdqa xmmword [rsp + 0x50], xmm9
movss xmm6, dword [rbp - 0x3c]
addss xmm6, xmm3
xorps xmm0, xmm0
cvtss2sd xmm0, xmm7
movaps xmm1, xmm6
subss xmm1, xmm2
movsd qword [rsp + 0x28], xmm0
lea rax, str.__.0f_
mov qword [rsp + 0x20], rax
movss xmm7, dword [0x18019ef98]
movaps xmm3, xmm7
movd r9d, xmm3
lea r8, [rsp + 0x50]
movd edx, xmm1
movss xmm8, dword [rbp - 0x30]
movaps xmm0, xmm8
movd ecx, xmm0
call fcn.180065e20
lea rcx, [r13 + 0xf0c]
call fcn.180054fb0
lea ecx, [rax - 1]
cmp ecx, 0x62
ja 0x18005923c
movdqa xmmword [rsp + 0x50], xmm9
addss xmm6, dword [0x18008effc]
mov dword [rsp + 0x28], eax
lea rax, [0x18019ed40]
mov qword [rsp + 0x20], rax
movaps xmm3, xmm7
movd r9d, xmm3
lea r8, [rsp + 0x50]
movaps xmm1, xmm6
movd edx, xmm1
movaps xmm0, xmm8
movd ecx, xmm0
call fcn.180065e20
jmp 0x18005923c
inc dword [0x1801ba26c]
movss xmm0, dword [0x1801ba278]
comiss xmm0, xmm7
ja 0x180059234
ucomiss xmm0, xmm11
jp 0x18005923c
jne 0x18005923c
movss dword [0x1801ba278], xmm7
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1800682a0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm14, xmmword [r11 - 0x80]
movaps xmm15, xmmword [r11 - 0x90]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18007aabc
int3
call fcn.18007aabc
int3