Function at 0x18021ba84
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 - 0x188]
sub rsp, 0x250
mov qword [rbp + 0x118], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r14, rdx
mov rsi, rcx
call fcn.180209ce0
xor ebx, ebx
test al, al
je 0x18021c465
mov dword [rbp - 0x74], 0xb
lea r15d, [rbx + 0x65]
mov word [rbp - 0x70], r15w
lea eax, [rbx + 0x7f]
mov word [rbp - 0x6e], ax
lea edi, [rbx + 0x6f]
mov word [rbp - 0x6c], di
lea r12d, [rbx + 0x67]
mov word [rbp - 0x6a], r12w
mov word [rbp - 0x68], r12w
xor eax, eax
mov word [rbp - 0x66], ax
movzx eax, word [rbp - 0x70]
mov edx, ebx
movzx eax, word [rbp + rdx*2 - 0x70]
mov ecx, dword [rbp - 0x74]
xor cx, ax
mov word [rbp + rdx*2 - 0x70], cx
inc rdx
cmp rdx, 5
jb 0x18021bafc
mov word [rbp - 0x66], bx
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor edx, edx
lea r8d, [rdx + 0xc]
lea rcx, [rbp - 0x70]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov ecx, 0x23
mov word [rbp - 0x64], cx
lea eax, [rcx + 0x55]
mov word [rbp - 0x62], ax
lea r8d, [rcx + 0x53]
mov word [rbp - 0x60], r8w
lea eax, [rcx + 0x49]
mov word [rbp - 0x5e], ax
lea eax, [rcx + 0x4e]
mov word [rbp - 0x5c], ax
lea eax, [rcx + 0x47]
mov word [rbp - 0x5a], ax
mov word [rbp - 0x58], cx
lea r13d, [rcx + 0x32]
mov word [rbp - 0x56], r13w
lea ecx, [rax + 0xd]
mov word [rbp - 0x54], cx
mov word [rbp - 0x52], di
lea eax, [rcx - 0x31]
mov word [rbp - 0x50], ax
lea edx, [rcx - 2]
mov word [rbp - 0x4e], dx
lea eax, [rcx - 0xf]
mov word [rbp - 0x4c], ax
lea r9d, [r8 - 0x12]
mov word [rbp - 0x4a], r9w
mov word [rbp - 0x48], cx
mov word [rbp - 0x46], ax
lea ecx, [rdx - 0x1d]
mov word [rbp - 0x44], cx
mov word [rbp - 0x42], r8w
mov word [rbp - 0x40], ax
mov word [rbp - 0x3e], dx
lea ecx, [rdx - 0x1e]
mov word [rbp - 0x3c], cx
lea ecx, [rdx - 0xa]
mov word [rbp - 0x3a], cx
mov word [rbp - 0x38], dx
mov word [rbp - 0x36], ax
mov word [rbp - 0x34], r9w
mov word [rbp - 0x32], r12w
mov word [rbp - 0x30], bx
movzx eax, word [rbp - 0x64]
mov rcx, rbx
movzx eax, word [rbp + rcx*2 - 0x64]
sub ax, 3
mov word [rbp + rcx*2 - 0x64], ax
inc rcx
cmp rcx, 0x1a
jb 0x18021bbde
mov dword [rbp - 0x2c], r13d
mov eax, 0xe
mov word [rbp - 0x28], ax
mov eax, 0x7e
mov word [rbp - 0x26], ax
mov eax, 8
mov word [rbp - 0x24], ax
mov word [rbp - 0x22], dx
mov eax, 0x10
mov word [rbp - 0x20], ax
lea ecx, [rax + 0x1d]
mov word [rbp - 0x1e], cx
lea r8d, [rax + 0x20]
mov word [rbp - 0x1c], r8w
lea edi, [rax + 0x26]
mov word [rbp - 0x1a], di
lea eax, [rcx - 0xd]
mov word [rbp - 0x18], ax
lea eax, [rcx - 0xc]
mov word [rbp - 0x16], ax
lea eax, [rcx + 0xf]
mov word [rbp - 0x14], ax
lea eax, [rcx + 0xe]
mov word [rbp - 0x12], ax
lea eax, [rcx + 5]
mov word [rbp - 0x10], ax
mov word [rbp - 0xe], dx
mov word [rbp - 0xc], di
lea r9d, [rcx + 0xd]
mov word [rbp - 0xa], r9w
lea eax, [rcx + 4]
mov word [rbp - 8], ax
mov word [rbp - 6], r8w
mov word [rbp - 4], dx
lea eax, [rcx + 6]
mov word [rbp - 2], ax
lea eax, [rcx - 6]
mov word [rbp], ax
mov word [rbp + 2], r9w
lea eax, [rcx + 0xb]
mov word [rbp + 4], ax
mov word [rbp + 6], dx
mov word [rbp + 8], r15w
mov word [rbp + 0xa], cx
xor eax, eax
mov word [rbp + 0xc], ax
movzx eax, word [rbp - 0x28]
mov rdx, rbx
movzx eax, word [rbp + rdx*2 - 0x28]
mov ecx, dword [rbp - 0x2c]
xor cx, ax
mov word [rbp + rdx*2 - 0x28], cx
inc rdx
cmp rdx, 0x1a
jb 0x18021bcb0
mov word [rbp + 0xc], bx
lea r9, [rbp - 0x64]
mov r8, rsi
lea rcx, [rbp - 0x28]
call fcn.180264f88
nop
mov r8, rdi
xor edx, edx
lea rcx, [rbp - 0x28]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
mov r8, rdi
xor edx, edx
lea rcx, [rbp - 0x64]
call qword [sym.imp.VCRUNTIME140.dll_memset]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r15, rax
test r14, r14
cmovne r15, r14
mov dword [rsp + 0x74], 0x13
mov byte [rsp + 0x78], 0x41
mov byte [rsp + 0x79], r12b
mov eax, 0x7f
mov byte [rsp + 0x7a], al
mov byte [rsp + 0x7b], 0x46
mov eax, 0x60
mov byte [rsp + 0x7c], al
lea ecx, [rax + 0x16]
mov byte [rsp + 0x7d], cl
lea eax, [rcx - 0x15]
mov byte [rsp + 0x7e], al
mov byte [rsp + 0x7f], 0x47
mov byte [rbp - 0x80], 0x7b
mov byte [rbp - 0x7f], al
mov byte [rbp - 0x7e], cl
mov byte [rbp - 0x7d], 0x72
mov byte [rbp - 0x7c], 0x77
lea ecx, [rax - 0x21]
mov byte [rbp - 0x7b], cl
mov byte [rbp - 0x7a], r12b
mov byte [rbp - 0x79], 0x72
mov byte [rbp - 0x78], al
mov byte [rbp - 0x77], r12b
xor eax, eax
mov byte [rbp - 0x76], al
mov al, byte [rsp + 0x78]
mov rdx, rbx
mov al, byte [rsp + rdx + 0x78]
mov ecx, dword [rsp + 0x74]
xor cl, al
mov byte [rsp + rdx + 0x78], cl
inc rdx
cmp rdx, 0x12
jb 0x18021bd7c
mov byte [rbp - 0x76], bl
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [rsp + 0x78]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
xor edx, edx
lea r8d, [rdx + 0x13]
lea rcx, [rsp + 0x78]
call qword [sym.imp.VCRUNTIME140.dll_memset]
test rdi, rdi
jne 0x18021bdcf
mov rdi, rsi
jmp 0x18021bdd3
add rdi, 0x21
mov qword [rbp + 0x1a0], rbx
mov ecx, dword [0x1802bccdc]
mov rax, qword gs:[0x58]
mov r8d, 4
mov rdx, qword [rax + rcx*8]
mov eax, dword [r8 + rdx]
cmp dword [0x1802c9588], eax
jle 0x18021c046
lea rcx, [0x1802c9588]
call fcn.1802696f0
cmp dword [0x1802c9588], 0xffffffff
jne 0x18021c046
lea rax, [rbp + 0xf8]
mov qword [rbp + 0x1a8], rax
mov dword [rsp + 0x5c], 0x30
mov byte [rsp + 0x60], 0x62
mov byte [rsp + 0x61], 0x44
mov byte [rsp + 0x62], 0x5c
mov byte [rsp + 0x63], 0x73
mov byte [rsp + 0x64], 0x42
mov byte [rsp + 0x65], r13b
mov eax, 0x51
mov byte [rsp + 0x66], al
mov byte [rsp + 0x67], 0x44
mov byte [rsp + 0x68], r13b
mov byte [rsp + 0x69], 0x65
mov byte [rsp + 0x6a], 0x43
mov byte [rsp + 0x6b], r13b
mov byte [rsp + 0x6c], 0x42
mov byte [rsp + 0x6d], 0x64
mov byte [rsp + 0x6e], 0x58
mov byte [rsp + 0x6f], 0x42
mov byte [rsp + 0x70], r13b
mov byte [rsp + 0x71], al
mov byte [rsp + 0x72], 0x54
xor eax, eax
mov byte [rsp + 0x73], al
mov al, byte [rsp + 0x60]
mov rdx, rbx
mov al, byte [rsp + rdx + 0x60]
mov ecx, dword [rsp + 0x5c]
xor cl, al
mov byte [rsp + rdx + 0x60], cl
inc rdx
cmp rdx, 0x13
jb 0x18021bea1
mov byte [rsp + 0x73], bl
xorps xmm0, xmm0
movups xmmword [rbp + 0xf8], xmm0
mov qword [rbp + 0x108], rbx
mov qword [rbp + 0x110], rbx
lea rax, [rsp + 0x60]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x18021bedd
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0xf8]
call fcn.18007b70c
nop
mov dword [rsp + 0x50], 7
mov byte [rsp + 0x54], 0x69
mov byte [rsp + 0x55], 0x73
mov byte [rsp + 0x56], 0x63
mov eax, 0x6b
mov byte [rsp + 0x57], al
mov byte [rsp + 0x58], al
xor eax, eax
mov byte [rsp + 0x59], al
mov al, byte [rsp + 0x54]
mov rdx, rbx
mov al, byte [rsp + rdx + 0x54]
mov ecx, dword [rsp + 0x50]
xor cl, al
mov byte [rsp + rdx + 0x54], cl
inc rdx
cmp rdx, 5
jb 0x18021bf29
mov byte [rsp + 0x59], bl
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe8], xmm1
lea rax, [rsp + 0x54]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x18021bf62
lea rdx, [rsp + 0x54]
lea rcx, [rbp + 0xd8]
call fcn.18007b70c
nop
lea rdx, [rbp + 0xd8]
lea rcx, [rbp + 0x128]
call fcn.180188b20
nop
mov qword [rsp + 0x20], rbx
mov r9b, 1
lea r8, [rbp + 0xf8]
mov rdx, rax
lea rcx, [0x1802c91a0]
call fcn.1801bba38
nop
mov rdx, qword [rbp + 0xf0]
cmp rdx, 0x10
jb 0x18021bff4
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18021bfef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18021bfef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
movdqa xmm0, xmmword [0x180280de0]
movdqu xmmword [rbp + 0xe8], xmm0
mov byte [rbp + 0xd8], bl
xor edx, edx
lea r8d, [rdx + 6]
lea rcx, [rsp + 0x54]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x14]
lea rcx, [rsp + 0x60]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [0x18027e60c]
call fcn.18026951c
nop
lea rcx, [0x1802c9588]
call fcn.180269690
lea r13, [0x1802c91b8]
mov rcx, r13
cmp qword [0x1802c91d0], 0x10
cmovae rcx, qword [0x1802c91b8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18021c096
mov rcx, r13
cmp qword [0x1802c91d0], 0x10
cmovae rcx, qword [0x1802c91b8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x1802c91b0], rax
mov r8, rax
mov rdx, r13
call fcn.18008c99c
mov qword [rsp + 0x48], rbx
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8b, 1
xor edx, edx
mov rcx, r15
call qword [0x1802c91a8]
mov r8d, eax
test eax, eax
jne 0x18021c223
cmp qword [rbp + 0x1a0], rbx
je 0x18021c223
cmp rdi, rsi
je 0x18021c101
mov byte [rsp + 0x20], bl
mov r9b, 1
lea r8, [rbp + 0x1a0]
xor edx, edx
mov rcx, rsi
call fcn.18020e630
mov word [rbp + 0x10], r12w
mov eax, 0x37
mov word [rbp + 0x12], ax
mov eax, 0x69
mov word [rbp + 0x14], ax
lea r8d, [rax - 0x3d]
mov word [rbp + 0x16], r8w
lea eax, [r8 + 0x34]
mov word [rbp + 0x18], ax
lea edx, [rax + 0x14]
mov word [rbp + 0x1a], dx
lea eax, [rdx + 0xa]
mov word [rbp + 0x1c], ax
lea r9d, [r8 + 0x45]
mov word [rbp + 0x1e], r9w
lea ecx, [rdx - 7]
mov word [rbp + 0x20], cx
lea eax, [rdx - 4]
mov word [rbp + 0x22], ax
mov word [rbp + 0x24], r8w
mov word [rbp + 0x26], dx
mov word [rbp + 0x28], cx
lea ecx, [rdx + 0xb]
mov word [rbp + 0x2a], cx
mov word [rbp + 0x2c], r8w
lea ecx, [rdx - 6]
mov word [rbp + 0x2e], cx
mov word [rbp + 0x30], r9w
mov word [rbp + 0x32], r9w
lea ecx, [rdx + 6]
mov word [rbp + 0x34], cx
mov word [rbp + 0x36], r8w
mov word [rbp + 0x38], r9w
lea ecx, [rdx + 0x10]
mov word [rbp + 0x3a], cx
mov word [rbp + 0x3c], r9w
lea ecx, [rdx - 5]
mov word [rbp + 0x3e], cx
lea ecx, [rdx + 0xd]
mov word [rbp + 0x40], cx
lea ecx, [rdx + 0xc]
mov word [rbp + 0x42], cx
mov word [rbp + 0x44], r9w
mov word [rbp + 0x46], ax
lea eax, [rdx - 0x3a]
mov word [rbp + 0x48], ax
mov word [rbp + 0x4a], bx
movzx eax, word [rbp + 0x10]
lea ecx, [rdx - 0x68]
movzx eax, word [rbp + rbx*2 + 0x10]
sub ax, cx
mov word [rbp + rbx*2 + 0x10], ax
inc rbx
cmp rbx, 0x1d
jb 0x18021c1c5
lea rcx, [rbp + 0x10]
call fcn.18009557c
nop
xor edx, edx
lea r8d, [rdx + 0x3c]
lea rcx, [rbp + 0x10]
call qword [sym.imp.VCRUNTIME140.dll_memset]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp r14, rax
jne 0x18021c465
mov rcx, qword [rbp + 0x1a0]
cmp rcx, 0xffffffffffffffff
je 0x18021c465
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x18021c465
mov dword [rbp + 0x4c], 5
mov eax, 0x5e
mov word [rbp + 0x50], ax
mov eax, 0x28
mov word [rbp + 0x52], ax
mov eax, 0x58
mov word [rbp + 0x54], ax
lea edx, [rax - 0x33]
mov word [rbp + 0x56], dx
lea r13d, [rax - 0x12]
mov word [rbp + 0x58], r13w
lea ecx, [rax + 0x12]
mov word [rbp + 0x5a], cx
lea eax, [rdx + 0x4b]
mov word [rbp + 0x5c], ax
lea r10d, [rdx + 0x44]
mov word [rbp + 0x5e], r10w
lea r11d, [rdx + 0x3c]
mov word [rbp + 0x60], r11w
mov word [rbp + 0x62], dx
lea r15d, [rdx + 0x46]
mov word [rbp + 0x64], r15w
mov word [rbp + 0x66], cx
lea r9d, [rdx + 0x4c]
mov word [rbp + 0x68], r9w
mov word [rbp + 0x6a], dx
lea ecx, [rdx + 0x41]
mov word [rbp + 0x6c], cx
lea r14d, [rdx + 0x52]
mov word [rbp + 0x6e], r14w
lea esi, [rdx + 0x3b]
mov word [rbp + 0x70], si
lea r12d, [rdx + 0x3f]
mov word [rbp + 0x72], r12w
mov word [rbp + 0x74], r9w
mov word [rbp + 0x76], si
mov word [rbp + 0x78], dx
mov word [rbp + 0x7a], r12w
mov word [rbp + 0x7c], dx
mov word [rbp + 0x7e], r9w
lea ecx, [rdx + 0x48]
mov word [rbp + 0x80], cx
mov word [rbp + 0x82], r14w
mov word [rbp + 0x84], si
mov word [rbp + 0x86], r12w
mov word [rbp + 0x88], r11w
mov word [rbp + 0x8a], dx
mov word [rbp + 0x8c], ax
lea edi, [rdx + 0x51]
mov word [rbp + 0x8e], di
lea eax, [rdx + 0x47]
mov word [rbp + 0x90], ax
mov word [rbp + 0x92], r15w
lea eax, [rdx + 0x3d]
mov word [rbp + 0x94], ax
mov word [rbp + 0x96], dx
lea eax, [rdx + 0x32]
mov word [rbp + 0x98], ax
mov word [rbp + 0x9a], r9w
mov word [rbp + 0x9c], r10w
mov word [rbp + 0x9e], r13w
mov word [rbp + 0xa0], r14w
mov word [rbp + 0xa2], si
mov word [rbp + 0xa4], r12w
mov word [rbp + 0xa6], r9w
mov word [rbp + 0xa8], si
lea eax, [rdx + 0x2b]
mov word [rbp + 0xaa], ax
mov word [rbp + 0xac], di
mov word [rbp + 0xae], si
mov word [rbp + 0xb0], r14w
lea eax, [rdx + 0x2c]
mov word [rbp + 0xb2], ax
mov word [rbp + 0xb4], cx
mov word [rbp + 0xb6], r14w
mov word [rbp + 0xb8], si
mov word [rbp + 0xba], r12w
mov word [rbp + 0xbc], r11w
lea eax, [rdx - 1]
mov word [rbp + 0xbe], ax
mov word [rbp + 0xc0], dx
lea r9d, [rdx + 0x1b]
mov word [rbp + 0xc2], r9w
mov word [rbp + 0xc4], r14w
mov word [rbp + 0xc6], r14w
lea eax, [rdx + 0x45]
mov word [rbp + 0xc8], ax
mov word [rbp + 0xca], r14w
lea eax, [rdx + 0x1a]
mov word [rbp + 0xcc], ax
mov word [rbp + 0xce], dx
xor eax, eax
mov word [rbp + 0xd0], ax
movzx eax, word [rbp + 0x50]
mov rdx, rbx
movzx eax, word [rbp + rdx*2 + 0x50]
mov ecx, dword [rbp + 0x4c]
xor cx, ax
mov word [rbp + rdx*2 + 0x50], cx
inc rdx
cmp rdx, r9
jb 0x18021c42a
mov word [rbp + 0xd0], bx
lea rcx, [rbp + 0x50]
call fcn.1800ae954
nop
xor edx, edx
mov r8d, 0x82
lea rcx, [rbp + 0x50]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rbx, qword [rsp + 0x290]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret