Function at 0x1800a3a84
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x638]
sub rsp, 0x700
mov qword [rbp + 0xc0], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rdi, r8
mov rsi, rdx
xor r12d, r12d
mov dword [rbp - 0x80], r12d
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r12
lea eax, [r12 + 0xf]
mov qword [rdx + 0x18], rax
mov byte [rdx], r12b
lea r13d, [r12 + 1]
mov dword [rbp - 0x80], r13d
mov rcx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x1800a3aec
mov rcx, qword [r8]
mov r8, qword [r8 + 0x10]
add r8, rcx
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1800a3b00
mov rdx, qword [rdi]
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x60], r12
mov r15d, 7
cmp rdx, r8
jne 0x1800a3b26
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x60], r15
mov word [rbp + 0x48], r12w
jmp 0x1800a3b36
mov r9, r8
sub r9, rdx
lea rcx, [rbp + 0x48]
call fcn.18001e568
nop
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
movdqa xmm1, xmmword [0x180165920]
movdqu xmmword [rbp + 0x18], xmm1
mov word [rbp + 8], r12w
mov edx, 0x100
lea rcx, [rbp + 8]
call fcn.18009393c
lea rdx, [rbp + 8]
mov eax, 8
cmp qword [rbp + 0x20], rax
cmovae rdx, qword [rbp + 8]
mov eax, 0x51
mov word [rbp - 0x5c], ax
mov eax, 0x73
mov word [rbp - 0x5a], ax
lea ecx, [rax - 3]
mov word [rbp - 0x58], cx
lea ecx, [rax - 0xb]
mov word [rbp - 0x56], cx
mov word [rbp - 0x54], ax
lea eax, [rcx - 6]
mov word [rbp - 0x52], ax
lea eax, [rcx + 6]
mov word [rbp - 0x50], ax
lea eax, [rcx - 0x21]
mov word [rbp - 0x4e], ax
lea eax, [rcx + 2]
mov word [rbp - 0x4c], ax
lea eax, [rcx + 5]
mov word [rbp - 0x4a], ax
lea eax, [rcx - 2]
mov word [rbp - 0x48], ax
lea eax, [rcx + 0xc]
mov word [rbp - 0x46], ax
lea eax, [rcx - 0x3f]
mov word [rbp - 0x44], ax
lea eax, [rcx + 0x11]
mov word [rbp - 0x42], ax
lea eax, [rcx - 0x2f]
mov word [rbp - 0x40], ax
lea eax, [rcx - 0x31]
mov word [rbp - 0x3e], ax
lea eax, [rcx - 0x3e]
mov word [rbp - 0x3c], ax
mov word [rbp - 0x3a], r12w
movzx eax, word [rbp - 0x5c]
mov rcx, r12
movzx eax, word [rbp + rcx*2 - 0x5c]
sub ax, r13w
mov word [rbp + rcx*2 - 0x5c], ax
add rcx, r13
cmp rcx, 0x11
jb 0x1800a3bf3
mov r8d, dword [rbp + 0x18]
lea rcx, [rbp - 0x5c]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
mov r14d, 0x24
mov r8d, r14d
xor edx, edx
lea rcx, [rbp - 0x5c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea eax, [r14 + 0x25]
lea r8d, [r14 + 0xa]
lea r9d, [r14 - 4]
lea r10d, [r14 + 0x16]
test ebx, ebx
jne 0x1800a3cee
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rdx, qword [rbp + 8]
mov dword [rbp - 0x7c], eax
lea eax, [rbx + 0x19]
mov word [rbp - 0x78], ax
lea ecx, [rbx + 0x3b]
mov word [rbp - 0x76], cx
lea eax, [rbx + 0x26]
mov word [rbp - 0x74], ax
mov word [rbp - 0x72], r8w
mov word [rbp - 0x70], cx
lea eax, [rbx + 0x28]
mov word [rbp - 0x6e], ax
mov word [rbp - 0x6c], r14w
lea eax, [rbx + 0xf]
mov word [rbp - 0x6a], ax
mov word [rbp - 0x68], r9w
lea eax, [rbx + 0x25]
mov word [rbp - 0x66], ax
lea eax, [rbx + 0x2c]
mov word [rbp - 0x64], ax
mov word [rbp - 0x62], r10w
xor eax, eax
mov word [rbp - 0x60], ax
movzx eax, word [rbp - 0x78]
mov r8, r12
movzx eax, word [rbp + r8*2 - 0x78]
mov ecx, dword [rbp - 0x7c]
xor cx, ax
mov word [rbp + r8*2 - 0x78], cx
add r8, r13
cmp r8, 0xc
jb 0x1800a3cae
mov word [rbp - 0x60], r12w
mov r8d, dword [rbp + 0x18]
lea rcx, [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ebx, eax
xor edx, edx
lea r8d, [rdx + 0x1a]
lea rcx, [rbp - 0x78]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov edx, ebx
lea rcx, [rbp + 8]
call fcn.18009393c
mov dword [rsp + 0x64], 0x7b
mov eax, dword [rsp + 0x64]
xor ax, 0x5c
mov word [rsp + 0x68], ax
mov eax, dword [rsp + 0x64]
add ax, r13w
mov ebx, 0x6d
xor ax, bx
mov word [rsp + 0x6a], ax
mov eax, dword [rsp + 0x64]
add ax, 2
lea r8d, [rbx + 6]
xor ax, r8w
mov word [rsp + 0x6c], ax
mov eax, dword [rsp + 0x64]
add ax, 3
lea r9d, [rbx - 8]
xor ax, r9w
mov word [rsp + 0x6e], ax
mov eax, dword [rsp + 0x64]
add ax, 4
lea edx, [rbx - 9]
xor ax, dx
mov word [rsp + 0x70], ax
mov eax, dword [rsp + 0x64]
lea r14d, [rbx - 0x68]
add ax, r14w
lea r11d, [rbx - 6]
xor ax, r11w
mov word [rsp + 0x72], ax
mov eax, dword [rsp + 0x64]
add ax, 6
xor ax, r9w
mov word [rsp + 0x74], ax
mov eax, dword [rsp + 0x64]
add ax, r15w
xor ax, 0x2e
mov word [rsp + 0x76], ax
mov eax, dword [rsp + 0x64]
lea r10d, [rbx - 0x65]
add ax, r10w
xor ax, dx
mov word [rsp + 0x78], ax
mov eax, dword [rsp + 0x64]
add ax, 9
xor ax, 0x6c
mov word [rsp + 0x7a], ax
mov eax, dword [rsp + 0x64]
add ax, 0xa
xor ax, 0x6c
mov word [rsp + 0x7c], ax
xor eax, eax
mov word [rsp + 0x7e], ax
movzx eax, word [rsp + 0x68]
mov rdx, r12
movzx eax, word [rsp + rdx*2 + 0x68]
mov ecx, dword [rsp + 0x64]
add cx, dx
xor cx, ax
mov word [rsp + rdx*2 + 0x68], cx
add rdx, r13
cmp rdx, 0xb
jb 0x1800a3de0
mov word [rsp + 0x7e], r12w
mov edx, 0x60
mov word [rbp - 0x38], dx
lea eax, [rdx - 0xf]
mov word [rbp - 0x36], ax
mov word [rbp - 0x34], bx
mov word [rbp - 0x32], r11w
lea eax, [rdx + 0x16]
mov word [rbp - 0x30], ax
mov word [rbp - 0x2e], r8w
lea eax, [rdx + 0x17]
mov word [rbp - 0x2c], ax
mov word [rbp - 0x2a], r8w
lea eax, [rdx + 0xa]
mov word [rbp - 0x28], ax
lea ecx, [rdx + 0x18]
mov word [rbp - 0x26], cx
mov word [rbp - 0x24], dx
lea eax, [rdx - 0x17]
mov word [rbp - 0x22], ax
lea eax, [rdx + 8]
mov word [rbp - 0x20], ax
lea eax, [rdx + 0xb]
mov word [rbp - 0x1e], ax
lea eax, [rdx + 9]
mov word [rbp - 0x1c], ax
mov word [rbp - 0x1a], dx
lea eax, [rdx - 0x1b]
mov word [rbp - 0x18], ax
lea eax, [rdx + 0x14]
mov word [rbp - 0x16], ax
mov word [rbp - 0x14], ax
lea eax, [rdx + 0x10]
mov word [rbp - 0x12], ax
mov word [rbp - 0x10], bx
mov word [rbp - 0xe], r11w
mov word [rbp - 0xc], r9w
mov word [rbp - 0xa], cx
mov word [rbp - 8], bx
mov word [rbp - 6], r8w
lea eax, [rdx + 0x12]
mov word [rbp - 4], ax
mov word [rbp - 2], dx
mov word [rbp], r12w
movzx eax, word [rbp - 0x38]
mov rcx, r12
movzx eax, word [rbp + rcx*2 - 0x38]
sub ax, 4
mov word [rbp + rcx*2 - 0x38], ax
add rcx, r13
cmp rcx, 0x1c
jb 0x1800a3eb1
lea rax, [rbp - 0x38]
or r15, 0xffffffffffffffff
mov rcx, r15
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x1800a3ed3
movabs rax, 0x7ffffffffffffffe
mov rdx, qword [rbp + 0x58]
sub rax, rdx
cmp rax, rcx
jb 0x1800a448b
lea rax, [rbp + 0x48]
cmp qword [rbp + 0x60], r10
cmovae rax, qword [rbp + 0x48]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x38]
lea rcx, [rbp + 0xc8]
call fcn.1800a8224
mov dword [rbp - 0x80], r14d
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0xc8]
call fcn.1800a8194
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xb0], xmm1
mov r8d, 0x20
mov rdx, rax
lea rcx, [rbp + 0xa0]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov qword [rbx + 0x10], r12
mov eax, 7
mov qword [rbx + 0x18], rax
mov word [rbx], r12w
mov dword [rbp - 0x80], eax
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 8]
call fcn.18000bc8c
nop
lea rcx, [rbp + 0xa0]
call fcn.18000bd8c
nop
lea rcx, [rbp + 0xc8]
call fcn.18000bd8c
nop
xor edx, edx
lea r8d, [rdx + 0x3a]
lea rcx, [rbp - 0x38]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x18]
lea rcx, [rsp + 0x68]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [rbp + 0x170]
call fcn.18000d54c
nop
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x170]
call fcn.18009a1e4
test al, al
je 0x1800a444d
mov rbx, r12
mov rcx, qword [rbp + 0x4f0]
mov r8, qword [rbp + 0x4e8]
sub rcx, r8
movabs rax, 0x4ec4ec4ec4ec4ec5
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1800a4440
mov r14, r12
lea rcx, [r8 + 0x28]
add rcx, r14
mov r8d, 6
lea rdx, [0x18016535c]
call qword [sym.imp.VCRUNTIME140.dll_memcmp]
test eax, eax
je 0x1800a407f
add rbx, r13
add r14, 0x34
mov rcx, qword [rbp + 0x4f0]
mov r8, qword [rbp + 0x4e8]
sub rcx, r8
movabs rax, 0x4ec4ec4ec4ec4ec5
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbx, rdx
jb 0x1800a4024
jmp 0x1800a4440
imul r8, rbx, 0x34
add r8, qword [rbp + 0x4e8]
lea rdx, [rbp + 0x88]
lea rcx, [rbp + 0x170]
call fcn.1800c3330
nop
mov dword [rsp + 0x40], 0x2d
mov byte [rsp + 0x44], 0x4c
mov byte [rsp + 0x45], 0x41
mov byte [rsp + 0x46], 0x41
mov byte [rsp + 0x47], 0x42
mov byte [rsp + 0x48], 0x5a
mov byte [rsp + 0x49], r12b
mov byte [rsp + 0x4a], 0x5f
mov byte [rsp + 0x4b], 0x58
mov byte [rsp + 0x4c], 0x43
mov byte [rsp + 0x4d], 0x43
mov byte [rsp + 0x4e], 0x44
mov byte [rsp + 0x4f], 0x43
mov byte [rsp + 0x50], 0x4a
mov byte [rsp + 0x51], r12b
mov byte [rsp + 0x52], 0x44
mov byte [rsp + 0x53], 0x43
mov byte [rsp + 0x54], 0x5e
mov byte [rsp + 0x55], 0x48
mov byte [rsp + 0x56], 0x4e
mov byte [rsp + 0x57], 0x58
mov byte [rsp + 0x58], 0x5f
mov byte [rsp + 0x59], 0x48
mov byte [rsp + 0x5a], r12b
mov byte [rsp + 0x5b], 0x4e
mov byte [rsp + 0x5c], 0x42
mov byte [rsp + 0x5d], 0x43
mov byte [rsp + 0x5e], 0x59
mov byte [rsp + 0x5f], 0x48
mov byte [rsp + 0x60], 0x43
mov byte [rsp + 0x61], 0x59
xor eax, eax
mov byte [rsp + 0x62], al
mov al, byte [rsp + 0x44]
mov rdx, r12
mov al, byte [rsp + rdx + 0x44]
mov ecx, dword [rsp + 0x40]
xor cl, al
mov byte [rsp + rdx + 0x44], cl
add rdx, r13
cmp rdx, 0x1e
jb 0x1800a4149
mov byte [rsp + 0x62], r12b
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x40], r12
lea rax, [rsp + 0x44]
mov r8, r15
inc r8
cmp byte [rax + r8], r12b
jne 0x1800a417c
lea rdx, [rsp + 0x44]
lea rcx, [rbp + 0x28]
call fcn.18000c7ac
nop
xor edx, edx
lea r8d, [rdx + 0x1f]
lea rcx, [rsp + 0x44]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov r14, r12
mov r13, qword [rbp + 0x90]
mov r12, r13
mov rbx, qword [rbp + 0x88]
sub r12, rbx
mov rax, r12
mov r8, qword [rbp + 0x38]
sub rax, r8
cmp rax, 0x64
je 0x1800a43b4
lea rdx, [rbp + 0x28]
cmp qword [rbp + 0x40], 0x10
cmovae rdx, qword [rbp + 0x28]
lea rcx, [rbx + r14]
call qword [sym.imp.VCRUNTIME140.dll_memcmp]
test eax, eax
je 0x1800a4207
inc r14
mov rax, r12
mov r8, qword [rbp + 0x38]
sub rax, r8
sub rax, 0x64
cmp r14, rax
jb 0x1800a41d0
jmp 0x1800a43b4
test r14, r14
je 0x1800a43b4
mov rax, qword [rbp + 0x38]
inc rax
add r14, rax
cmp r14, r12
jae 0x1800a43b4
xor edx, edx
lea r8d, [rdx + 0x40]
lea rcx, [rbp + 0xf0]
call sub.VCRUNTIME140.dll_memset
lea r8, [rbx + r14]
mov edx, 0x40
lea rcx, [rbp + 0xf0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rcx, [rbp + 0xf0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
inc rax
add r14, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
xor eax, eax
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rax
lea rcx, [rbp + 0xf0]
mov r8, r15
inc r8
cmp byte [rcx + r8], al
jne 0x1800a427c
lea rdx, [rbp + 0xf0]
lea rcx, [rbp + 0x68]
call fcn.18000c7ac
lea rcx, [rbp + 0x68]
call fcn.1800a39b4
test al, al
je 0x1800a43b4
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1800a42b3
mov rdx, qword [rdi]
lea rcx, [rbp + 0xf0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
test eax, eax
jne 0x1800a43b4
cmp r14, r12
jae 0x1800a43b4
lea r12d, [rax + 0x40]
mov r8d, r12d
xor edx, edx
lea rcx, [rbp + 0x130]
call sub.VCRUNTIME140.dll_memset
lea r8, [rbx + r14]
mov edx, r12d
lea rcx, [rbp + 0x130]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
cmp rbx, r13
cmovne r13, rbx
mov qword [rbp + 0x90], r13
lea rcx, [rbp + 0x130]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
test rax, rax
je 0x1800a43b4
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
and qword [rbp + 0x78], 0
and qword [rbp + 0x80], 0
lea rax, [rbp + 0x130]
inc r15
cmp byte [rax + r15], 0
jne 0x1800a4339
mov r8, r15
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x68]
call fcn.18000c7ac
lea rcx, [rbp + 0x68]
call fcn.1800a39b4
test al, al
je 0x1800a43b4
mov edx, 0x200
mov rcx, rsi
call fcn.1800a6374
cmp qword [rdi + 0x18], 0x10
jb 0x1800a437a
mov rdi, qword [rdi]
lea r8, [0x180197388]
cmp qword [0x1801973a0], 0x10
cmovae r8, qword [0x180197388]
mov rcx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1800a439e
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x130]
mov rdx, qword [rsi + 0x10]
call fcn.18009a18c
nop
mov edi, 0x1000
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x1800a43f3
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, rdi
jb 0x1800a43ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a43ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
and qword [rbp + 0x38], 0
mov eax, 0xf
mov qword [rbp + 0x40], rax
mov byte [rbp + 0x28], 0
test rbx, rbx
je 0x1800a4440
mov rdx, qword [rbp + 0x98]
sub rdx, rbx
mov rax, rbx
cmp rdx, rdi
jb 0x1800a4438
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800a4438
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180157a14
lea rcx, [rbp + 0x170]
call fcn.1800bb718
nop
lea rcx, [rbp + 0x170]
call fcn.1800bb5bc
nop
lea rcx, [rbp + 8]
call fcn.18000bd8c
nop
lea rcx, [rbp + 0x48]
call fcn.18000bd8c
mov rax, rsi
mov rbx, qword [rsp + 0x750]
add rsp, 0x700
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18000a128
int3