Function at 0x18002195c
Capabilities:
Contain obfuscated stackstrings
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 - 0x78]
sub rsp, 0x140
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r12d, r8d
mov rsi, rdx
mov r15, rcx
mov rax, qword [rdx + 8]
lea rdi, [rcx + 8]
xor ebx, ebx
test r8d, r8d
jne 0x1800219c5
cmp qword [rdx], rax
jne 0x1800219ac
mov rdx, qword [rdi]
sub rdx, qword [rcx]
mov rcx, rsi
call fcn.1800255bc
mov r8, qword [rdi]
sub r8, qword [r15]
mov rdx, qword [r15]
mov rcx, qword [rsi]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov al, 1
jmp 0x180021ead
cmp qword [rdx], rax
jne 0x1800219dc
mov rax, qword [rdi]
sub rax, qword [rcx]
imul rdx, rax, 0xf
mov rcx, rsi
call fcn.1800255bc
mov word [rbp + 0x98], bx
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movdqa xmm1, xmmword [0x180165920]
movdqu xmmword [rsp + 0x78], xmm1
mov word [rsp + 0x68], bx
mov dword [rbp + 0x90], ebx
mov r13d, 0x77
or r14, 0xffffffffffffffff
lea edx, [r13 - 0x74]
cmp r12d, edx
jne 0x180021b2b
mov dword [rbp + 0x98], 0x102
lea eax, [rdx + 0x4c]
mov word [rsp + 0x50], ax
lea eax, [rdx + 0x5a]
mov word [rsp + 0x52], ax
lea eax, [rdx + 0x6e]
mov word [rsp + 0x54], ax
mov word [rsp + 0x56], r13w
lea eax, [rdx + 0x31]
mov word [rsp + 0x58], ax
mov word [rsp + 0x5a], bx
movzx eax, word [rsp + 0x50]
mov rcx, rbx
movzx eax, word [rsp + rcx*2 + 0x50]
sub ax, dx
mov word [rsp + rcx*2 + 0x50], ax
inc rcx
cmp rcx, 5
jb 0x180021a58
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
lea rax, [rsp + 0x50]
mov r8, r14
inc r8
cmp word [rax + r8*2], bx
jne 0x180021a85
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x58]
call fcn.18000c67c
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x180021ae1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180021adc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180021adc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
movdqa xmm0, xmmword [0x180165920]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], bx
mov r8d, 0x20
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x68]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
movdqa xmm0, xmmword [0x180165920]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], bx
xor edx, edx
lea r8d, [rdx + 0xc]
lea rcx, [rsp + 0x50]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov ecx, dword [0x180195f94]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x18019afb0], eax
jle 0x180021d6f
lea rcx, [0x18019afb0]
call fcn.180157af0
cmp dword [0x18019afb0], r14d
jne 0x180021d6f
lea rax, [rbp - 0x38]
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x3c], 0x59
mov byte [rsp + 0x3d], 0x7b
mov byte [rsp + 0x3e], 0x73
mov byte [rsp + 0x3f], 0x4b
mov byte [rsp + 0x40], 0x6c
mov byte [rsp + 0x41], 0x6a
mov byte [rsp + 0x42], 0x76
mov byte [rsp + 0x43], 0x74
mov byte [rsp + 0x44], r13b
mov byte [rsp + 0x45], 0x79
mov byte [rsp + 0x46], 0x6c
mov byte [rsp + 0x47], 0x7a
mov byte [rsp + 0x48], 0x7a
mov byte [rsp + 0x49], 0x49
mov byte [rsp + 0x4a], 0x7c
mov byte [rsp + 0x4b], 0x6d
mov byte [rsp + 0x4c], 0x6d
mov byte [rsp + 0x4d], 0x6c
mov byte [rsp + 0x4e], 0x79
mov byte [rsp + 0x4f], bl
mov al, byte [rsp + 0x3c]
mov rcx, rbx
mov al, byte [rsp + rcx + 0x3c]
sub al, 7
mov byte [rsp + rcx + 0x3c], al
inc rcx
cmp rcx, 0x13
jb 0x180021bde
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], rbx
lea rax, [rsp + 0x3c]
mov r8, r14
inc r8
cmp byte [rax + r8], bl
jne 0x180021c08
lea rdx, [rsp + 0x3c]
lea rcx, [rbp - 0x38]
call fcn.18000c7ac
nop
mov dword [rsp + 0x30], 3
mov eax, dword [rsp + 0x30]
xor al, 0x6e
mov byte [rsp + 0x34], al
mov eax, dword [rsp + 0x30]
inc al
xor al, 0x74
mov byte [rsp + 0x35], al
mov eax, dword [rsp + 0x30]
add al, 2
xor al, 0x64
mov byte [rsp + 0x36], al
mov eax, dword [rsp + 0x30]
add al, 3
xor al, 0x6c
mov byte [rsp + 0x37], al
mov eax, dword [rsp + 0x30]
add al, 4
xor al, 0x6c
mov byte [rsp + 0x38], al
xor eax, eax
mov byte [rsp + 0x39], al
mov al, byte [rsp + 0x34]
mov rdx, rbx
mov al, byte [rsp + rdx + 0x34]
mov ecx, dword [rsp + 0x30]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x34], cl
inc rdx
cmp rdx, 5
jb 0x180021c6f
mov byte [rsp + 0x39], bl
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
lea rax, [rsp + 0x34]
inc r14
cmp byte [rax + r14], bl
jne 0x180021ca0
mov r8, r14
lea rdx, [rsp + 0x34]
lea rcx, [rbp - 0x78]
call fcn.18000c7ac
nop
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 8]
call fcn.1800ceb58
nop
mov qword [rsp + 0x20], rbx
mov r9b, 1
lea r8, [rbp - 0x38]
mov rdx, rax
lea rcx, [0x18019af30]
call fcn.180021ec8
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x180021d23
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180021d1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180021d1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
movdqa xmm0, xmmword [0x180165930]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], bl
xor edx, edx
lea r8d, [rdx + 6]
lea rcx, [rsp + 0x34]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x14]
lea rcx, [rsp + 0x3c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [0x180162ed0]
call fcn.1801579fc
nop
lea rcx, [0x18019afb0]
call fcn.180157a84
mov r13, qword [r15]
mov r14, qword [rdi]
sub r14, r13
mov rax, qword [rsi]
mov qword [rsp + 0x60], rax
mov r12, qword [rsi + 8]
sub r12, rax
lea rcx, [0x18019af40]
cmp qword [0x18019af58], 0x10
cmovae rcx, qword [0x18019af40]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x180021ddc
lea rcx, [0x18019af40]
cmp qword [0x18019af58], 0x10
cmovae rcx, qword [0x18019af40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x18019af38], rax
mov r8, rax
lea rdx, [0x18019af40]
call fcn.1800150f8
lea rax, [rbp + 0x90]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
mov r9, r13
mov r8d, r12d
mov rdx, qword [rsp + 0x60]
movzx ecx, word [rbp + 0x98]
call qword [0x18019af30]
test eax, eax
jne 0x180021ea1
cmp dword [rbp + 0x90], ebx
je 0x180021ea1
mov edx, dword [rbp + 0x90]
mov rcx, rsi
call fcn.1800255bc
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x18]
call fcn.18000be28
mov rcx, rax
call fcn.18000bd8c
mov rdx, qword [rsi + 8]
sub rdx, qword [rsi]
mov rcx, qword [rdi]
sub rcx, qword [r15]
xorps xmm1, xmm1
test rdx, rdx
js 0x180021e59
cvtsi2sd xmm1, rdx
jmp 0x180021e6e
mov rax, rdx
shr rax, 1
and edx, 1
or rax, rdx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
xorps xmm0, xmm0
test rcx, rcx
js 0x180021e7d
cvtsi2sd xmm0, rcx
jmp 0x180021e92
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
mulsd xmm0, qword [0x180165908]
comisd xmm1, xmm0
setae bl
lea rcx, [rsp + 0x68]
call fcn.18000bd8c
mov al, bl
mov rbx, qword [rsp + 0x180]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret