Function at 0x140011570
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
lea rbp, [rax - 0x47]
sub rsp, 0x100
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x98], xmm11
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rbp - 0x61], rax
cmp byte [rcx + 0xd2], 0
mov r12, rdx
mov rsi, qword [0x1400694a0]
mov rdi, rcx
mov r15d, dword [rcx + 0xc]
mov rbx, rsi
movss xmm11, dword [rcx + 0x88]
movss xmm9, dword [rcx + 0x8c]
mov byte [rsp + 0x42], r9b
movzx r13d, r8b
mov byte [rcx + 0xd4], 0
je 0x14001165d
movss xmm6, dword [rsi + 0x167c]
movss dword [rsi + 0x167c], xmm9
test r8b, r8b
je 0x14001160a
cmp byte [rsi + 0x1fa6], 0
mov eax, 0x174
je 0x14001160f
mov eax, 0x184
movups xmm0, xmmword [rsi + rax + 0x1638]
lea rcx, [rbp - 0x71]
movups xmmword [rbp - 0x71], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rsi + 0x1638]
movss dword [rbp - 0x65], xmm0
call fcn.140007cc0
mov rdx, qword [r12 + 8]
mov r8d, eax
mov rcx, qword [r12]
mov r9b, 1
movss dword [rsp + 0x20], xmm11
call fcn.140008fc0
movss dword [rsi + 0x167c], xmm6
jmp 0x140011f28
xor r8d, r8d
mov qword [rsp + 0x150], r14
movaps xmmword [rsp + 0xb0], xmm10
xorps xmm10, xmm10
test r15b, r15b
js 0x140011877
xor r14b, r14b
cmp byte [rsi + 0x20d4], r8b
je 0x1400116de
mov eax, dword [rsi + 0x1c90]
sub eax, dword [rsi + 0x214c]
cmp eax, 1
jg 0x1400116de
cmp byte [rsi + 0xca], r8b
je 0x1400116de
cmp dword [rsi + 0x20fc], 0xffffffff
je 0x1400116de
lea rdx, [rsi + 0x2100]
lea rcx, str._IMWINDOW
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400116db
mov rax, qword [rsi + 0x20e8]
movzx r14d, r14b
cmp qword [rax], rdi
mov eax, 1
cmove r14d, eax
xor r8d, r8d
test r15d, 0x6000000
je 0x1400116ee
mov eax, 0x104
jmp 0x140011700
mov rax, r15
and eax, 0x1000000
or rax, 0xe400000
shr rax, 0x14
movups xmm0, xmmword [rsi + rax + 0x1638]
lea rcx, [rbp - 0x71]
movups xmmword [rbp - 0x71], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rsi + 0x1638]
movss dword [rbp - 0x65], xmm0
call fcn.140007cc0
cmp byte [rdi + 0xce], 0
mov r9d, eax
je 0x140011756
or r9d, 0xff000000
test r14b, r14b
je 0x1400117bb
mov rcx, qword [rdi + 0x38]
movss xmm0, dword [rcx + 0x78]
mulss xmm0, dword [0x14005b8d8]
movss dword [rcx + 0x78], xmm0
jmp 0x1400117bb
mov eax, dword [rsi + 0x1dc0]
movss xmm0, dword [0x14005b91c]
movaps xmm1, xmm0
and eax, 0x40
je 0x140011774
movss xmm1, dword [rsi + 0x1e20]
movss xmm2, dword [0x14005b8d8]
test r14b, r14b
je 0x140011787
mulss xmm1, xmm2
jmp 0x14001178b
test eax, eax
je 0x1400117bb
comiss xmm10, xmm1
jbe 0x140011796
xorps xmm0, xmm0
jmp 0x14001179a
minss xmm0, xmm1
mulss xmm0, dword [0x14005b99c]
mov eax, r9d
and eax, 0xffffff
addss xmm0, xmm2
cvttss2si ecx, xmm0
shl ecx, 0x18
mov r9d, ecx
or r9d, eax
test byte [rdi + 0xc], 1
movss xmm2, dword [rdi + 0x50]
movss xmm3, dword [rdi + 0x54]
movaps xmm0, xmm2
addss xmm0, dword [rdi + 0x58]
movaps xmm1, xmm3
addss xmm1, dword [rdi + 0x5c]
movss dword [rsp + 0x4c], xmm0
movss dword [rsp + 0x50], xmm1
je 0x1400117ec
xorps xmm1, xmm1
jmp 0x140011828
movss xmm0, dword [rdi + 0x2e8]
mulss xmm0, dword [rsi + 0x1a84]
mov rax, qword [rdi + 0x3c8]
mulss xmm0, dword [rdi + 0x2ec]
test rax, rax
je 0x140011818
mulss xmm0, dword [rax + 0x2e8]
movss xmm1, dword [rsi + 0x1674]
addss xmm1, xmm1
addss xmm1, xmm0
mov rcx, qword [rdi + 0x2f8]
addss xmm2, xmm10
addss xmm3, xmm1
mov eax, 0xc0
mov r14d, r15d
lea rdx, [rsp + 0x44]
and r14d, 1
cmovne eax, r8d
movss dword [rsp + 0x44], xmm2
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0x4c]
movss dword [rsp + 0x20], xmm11
movss dword [rsp + 0x48], xmm3
call fcn.1400324c0
mov rsi, qword [0x1400694a0]
jmp 0x14001187e
mov r14d, r15d
and r14d, 1
test r14d, r14d
jne 0x1400118e1
mov rax, r13
lea rcx, [rbp - 0x71]
add rax, rax
movups xmm0, xmmword [rsi + rax*8 + 0x179c]
movups xmmword [rbp - 0x71], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rsi + 0x1638]
movss dword [rbp - 0x65], xmm0
call fcn.140007cc0
mov ecx, eax
lea r8, [r12 + 8]
and ecx, 0xff000000
mov r9d, eax
mov dword [rsp + 0x30], ecx
mov rdx, r12
mov dword [rsp + 0x28], ecx
mov rcx, qword [rdi + 0x2f8]
mov dword [rsp + 0x20], eax
call fcn.140032660
mov rsi, qword [0x1400694a0]
movaps xmmword [rsp + 0xe0], xmm7
movaps xmmword [rsp + 0xd0], xmm8
bt r15d, 0xa
jae 0x140011a65
lea rdx, [rbp - 0x71]
mov rcx, rdi
call fcn.140006ed0
movss xmm5, dword [rdi + 0x50]
movss xmm4, dword [rdi + 0x54]
movss xmm6, dword [rbp - 0x65]
movss xmm1, dword [rbp - 0x69]
movss xmm2, dword [rbp - 0x6d]
movss xmm7, dword [rbp - 0x71]
maxss xmm2, xmm4
maxss xmm7, xmm5
addss xmm4, dword [rdi + 0x5c]
addss xmm5, dword [rdi + 0x58]
minss xmm6, xmm4
minss xmm1, xmm5
movss dword [rbp - 0x65], xmm6
movss dword [rbp - 0x69], xmm1
test r14d, r14d
je 0x140011956
movaps xmm8, xmm11
jmp 0x14001195a
xorps xmm8, xmm8
movups xmm0, xmmword [rsi + 0x17cc]
lea rcx, [rsp + 0x58]
subss xmm1, xmm9
movups xmmword [rsp + 0x58], xmm0
shufps xmm0, xmm0, 0xff
addss xmm2, xmm10
mulss xmm0, dword [rsi + 0x1638]
movss dword [rsp + 0x44], xmm1
movss dword [rsp + 0x64], xmm0
movaps xmm0, xmm6
subss xmm0, xmm10
movss dword [rsp + 0x50], xmm2
movss dword [rsp + 0x48], xmm0
movaps xmm0, xmm7
addss xmm0, xmm9
movss dword [rsp + 0x4c], xmm0
call fcn.140007cc0
mov rcx, qword [rdi + 0x2f8]
lea rdx, [rsp + 0x4c]
mov r9d, eax
mov dword [rsp + 0x28], 0x30
lea r8, [rsp + 0x44]
movss dword [rsp + 0x20], xmm8
call fcn.1400324c0
movss xmm8, dword [rbx + 0x167c]
comiss xmm8, xmm10
jbe 0x140011a5e
movss xmm0, dword [rdi + 0x54]
addss xmm0, dword [rdi + 0x5c]
comiss xmm0, xmm6
jbe 0x140011a5e
mov rax, qword [0x1400694a0]
lea rcx, [rsp + 0x58]
movss dword [rsp + 0x44], xmm7
movss dword [rsp + 0x48], xmm6
movups xmm0, xmmword [rax + 0x174c]
movups xmmword [rsp + 0x58], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1638]
movss dword [rsp + 0x64], xmm0
movsd xmm0, qword [rbp - 0x69]
movsd qword [rbp - 0x71], xmm0
call fcn.140007cc0
mov rcx, qword [rdi + 0x2f8]
lea rdx, [rsp + 0x44]
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rbp - 0x71]
call fcn.140032260
mov rsi, qword [0x1400694a0]
test byte [rdi + 0x429], 1
mov r14, qword [rdi + 0x448]
je 0x140011c7e
mov ecx, dword [r14 + 8]
mov eax, ecx
shr eax, 0xd
test al, 1
je 0x140011c7e
shr ecx, 0xc
test cl, 1
jne 0x140011c7e
movss xmm1, dword [rbx + 0x1a80]
xor ecx, ecx
movsd xmm7, qword [r14 + 0x40]
movaps xmm0, xmm1
mulss xmm1, dword [0x14005b8dc]
mov dword [rbp - 0x71], 0xd3d4ccbb
mulss xmm0, dword [0x14005b8ec]
mov dword [rbp - 0x6d], 0xdbd9d5
movsd qword [rsp + 0x68], xmm7
movss xmm6, dword [rsp + 0x6c]
cvttss2si eax, xmm0
mov byte [rbp - 0x69], 1
movsd qword [rsp + 0x58], xmm7
movd xmm8, eax
cvttss2si eax, xmm1
cvtdq2ps xmm8, xmm8
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movaps xmm1, xmm2
addss xmm2, xmm6
addss xmm1, xmm7
movss dword [rsp + 0x64], xmm2
movss dword [rsp + 0x60], xmm1
nop dword [rax]
lea eax, [rcx - 0x68]
xor byte [rbp + rcx - 0x71], al
inc rcx
cmp rcx, 7
jb 0x140011b10
movsxd rcx, dword [rdi + 0x108]
xor edx, edx
mov rax, qword [rdi + 0x110]
mov byte [rbp - 0x69], 0
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rbp - 0x71]
call fcn.1400077e0
cmp dword [rsi + 0x1d6c], eax
jne 0x140011b50
mov dword [rsi + 0x1d70], eax
cmp dword [rsi + 0x1da8], eax
jne 0x140011b5f
mov byte [rsi + 0x1dac], 1
lea r9, [rsp + 0x41]
mov dword [rsp + 0x20], 0x800
lea r8, [rsp + 0x40]
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.14003d210
movzx ebx, byte [rsp + 0x40]
movzx esi, byte [rsp + 0x41]
test al, al
je 0x140011b95
or byte [r14 + 0xbd], 1
jmp 0x140011bd3
test sil, sil
je 0x140011bdc
mov rax, qword [0x1400694a0]
cmp byte [rax + 0x128], 0
je 0x140011bd3
movss xmm1, dword [rax + 0x38]
movss xmm0, dword [rax + 0x484]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x140011bd3
mov r8b, 1
mov rdx, r14
mov rcx, rdi
call fcn.14000a580
test sil, sil
je 0x140011bdc
test bl, bl
jne 0x140011bea
test byte [r14 + 0xbc], 2
je 0x140011bf1
test bl, bl
jne 0x140011bf1
mov ecx, 0x17
jmp 0x140011bfc
xor ecx, ecx
test bl, bl
setne cl
add rcx, 0x15
mov rax, qword [0x1400694a0]
add rcx, rcx
movups xmm0, xmmword [rax + rcx*8 + 0x16fc]
lea rcx, [rbp - 0x71]
movups xmmword [rbp - 0x71], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x1638]
movss dword [rbp - 0x65], xmm0
movaps xmm0, xmm7
addss xmm0, xmm10
movss dword [rsp + 0x44], xmm0
movaps xmm0, xmm8
addss xmm0, xmm6
addss xmm6, xmm10
addss xmm8, xmm7
movss dword [rsp + 0x48], xmm0
movss dword [rsp + 0x50], xmm6
movss dword [rsp + 0x4c], xmm8
call fcn.140007cc0
mov rcx, qword [rdi + 0x2f8]
lea rdx, [rsp + 0x68]
lea r9, [rsp + 0x44]
mov dword [rsp + 0x20], eax
lea r8, [rsp + 0x4c]
call fcn.140032840
cmp byte [rdi + 0xcc], 0
je 0x140011c8e
xor ecx, ecx
call fcn.14003ed60
cmp byte [rdi + 0xcd], 0
je 0x140011ca1
mov ecx, 1
call fcn.14003ed60
cmp byte [rsp + 0x42], 0
je 0x140011f06
test r15b, 2
jne 0x140011ef4
mov r12d, dword [rbp + 0x6f]
xor r15d, r15d
test r12d, r12d
jle 0x140011ef4
mov r13, qword [rbp + 0x77]
lea rsi, [0x14006707c]
movss xmm8, dword [rbp + 0x7f]
movaps xmm10, xmm9
addss xmm10, xmm11
movss xmm0, dword [rdi + 0x50]
mov r14d, r15d
movss xmm1, dword [rdi + 0x54]
movaps xmm6, xmm0
mov rbx, qword [rdi + 0x2f8]
movaps xmm7, xmm1
addss xmm6, dword [rdi + 0x58]
addss xmm7, dword [rdi + 0x5c]
subss xmm6, xmm0
subss xmm7, xmm1
mulss xmm6, dword [rsi - 0xc]
mulss xmm7, dword [rsi - 8]
addss xmm6, xmm0
addss xmm7, xmm1
and r14d, 1
je 0x140011d38
movss dword [rsp + 0x44], xmm9
movaps xmm0, xmm9
movss dword [rsp + 0x48], xmm8
jmp 0x140011d4a
movss dword [rsp + 0x68], xmm8
movaps xmm0, xmm8
movss dword [rsp + 0x6c], xmm9
mulss xmm0, dword [rsi - 4]
lea rax, [rsp + 0x6c]
mov r8d, dword [rbx + 0x7c]
lea rcx, [rsp + 0x48]
test r14d, r14d
addss xmm0, xmm6
cmovne rax, rcx
movss dword [rsp + 0x4c], xmm0
movss xmm0, dword [rax]
mulss xmm0, dword [rsi]
mov eax, dword [rbx + 0x78]
addss xmm0, xmm7
movss dword [rsp + 0x50], xmm0
cmp eax, r8d
jne 0x140011db5
lea ecx, [rax + 1]
test r8d, r8d
je 0x140011d9d
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140011da2
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbx + 0x78]
call fcn.1400277f0
mov eax, dword [rbx + 0x78]
mov rcx, qword [rbx + 0x80]
movsxd rdx, eax
mov rax, qword [rsp + 0x4c]
mov qword [rcx + rdx*8], rax
inc dword [rbx + 0x78]
mov rbx, qword [rdi + 0x2f8]
test r14d, r14d
je 0x140011de9
movss dword [rbp - 0x79], xmm8
movaps xmm0, xmm8
movss dword [rbp - 0x75], xmm9
jmp 0x140011dfa
movss dword [rsp + 0x70], xmm9
movaps xmm0, xmm9
movss dword [rbp - 0x7d], xmm8
mulss xmm0, dword [rsi - 4]
lea rax, [rbp - 0x7d]
mov r8d, dword [rbx + 0x7c]
lea rcx, [rbp - 0x75]
test r14d, r14d
addss xmm0, xmm6
cmovne rax, rcx
movss dword [rsp + 0x58], xmm0
movss xmm0, dword [rax]
mulss xmm0, dword [rsi]
mov eax, dword [rbx + 0x78]
addss xmm0, xmm7
movss dword [rsp + 0x5c], xmm0
cmp eax, r8d
jne 0x140011e63
lea ecx, [rax + 1]
test r8d, r8d
je 0x140011e4b
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140011e50
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
lea rcx, [rbx + 0x78]
call fcn.1400277f0
mov eax, dword [rbx + 0x78]
mov rcx, qword [rbx + 0x80]
movaps xmm0, xmm10
movsxd rdx, eax
movaps xmm1, xmm10
mov rax, qword [rsp + 0x58]
movaps xmm2, xmm11
mov qword [rcx + rdx*8], rax
lea rdx, [rbp - 0x71]
inc dword [rbx + 0x78]
mulss xmm0, dword [rsi - 4]
mov eax, dword [rsi + 8]
mulss xmm1, dword [rsi]
mov r9d, dword [rsi + 4]
mov rcx, qword [rdi + 0x2f8]
addss xmm0, xmm6
mov dword [rsp + 0x20], eax
addss xmm1, xmm7
movss dword [rbp - 0x71], xmm0
movss dword [rbp - 0x6d], xmm1
call fcn.140031820
mov rbx, qword [rdi + 0x2f8]
mov r9d, dword [r13]
mov rcx, rbx
mov r8d, dword [rbx + 0x78]
mov rdx, qword [rbx + 0x80]
call fcn.140030ce0
inc r15d
mov dword [rbx + 0x78], 0
add rsi, 0x18
add r13, 4
cmp r15d, r12d
jl 0x140011ce0
cmp qword [rdi + 0x450], 0
jne 0x140011f06
mov rcx, rdi
call fcn.140011170
movaps xmm8, xmmword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0xe0]
mov r14, qword [rsp + 0x150]
movaps xmm10, xmmword [rsp + 0xb0]
mov rcx, qword [rbp - 0x61]
xor rcx, rsp
call fcn.140052570
lea r11, [rsp + 0x100]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret