Function at 0x18008b390
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov rax, qword [0x18015d870]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov r15, rcx
mov qword [rbp - 0x40], rcx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
mov dword [rsp + 0x30], 1
lea rcx, str.APPDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], r12
mov qword [rbp + 0xb8], r12
mov r13, 0xffffffffffffffff
mov r8, r13
nop
inc r8
cmp byte [rax + r8], 0
jne 0x18008b420
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.180022aa0
nop
mov r8d, 0x10
lea rdx, str.ElysiumProfile
lea rcx, [rbp + 0xa0]
call fcn.180022a00
mov rdi, qword [rbp + 0xb0]
lea rbx, [rbp + 0xa0]
cmp qword [rbp + 0xb8], 0x10
cmovae rbx, qword [rbp + 0xa0]
call fcn.1800de668
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.18006d100
mov edi, 0x181
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x70], xmm0
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x70]
call fcn.1800d4ef0
test eax, eax
jne 0x18008b886
lea rcx, [rbp - 0x60]
call fcn.18006fbc0
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x18008b4db
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 0x78]
mov edi, dword [rsp + 0x30]
movaps xmm0, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0x60], xmm0
test rcx, rcx
je 0x18008b4f5
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 0x78]
mov edi, dword [rsp + 0x30]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xc0], xmm1
test rcx, rcx
je 0x18008b539
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18008b535
mov rbx, qword [rbp + 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18008b535
mov rcx, qword [rbp + 0x78]
mov rax, qword [rcx]
call qword [rax + 8]
mov edi, dword [rsp + 0x30]
mov rsi, qword [rbp + 0x60]
nop dword [rax]
lea rbx, str..json
test rsi, rsi
je 0x18008b7cc
call fcn.1800de668
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], 5
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.18006d100
or edi, 6
mov dword [rsp + 0x30], edi
lea rdx, [rbp]
lea rcx, [rsi + 0x20]
call fcn.1800d45f0
mov rcx, rax
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rax, qword [rsp + 0x48]
mov qword [rbp - 0x70], rax
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x68], rax
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x30], xmm0
lea rdx, [rbp - 0x30]
call fcn.1800d4780
mov ebx, eax
lea rcx, [rbp]
call fcn.18006fbc0
nop
lea rcx, [rsp + 0x48]
call fcn.18006fbc0
test ebx, ebx
jne 0x18008b720
lea rdx, [rbp + 0x40]
lea rcx, [rsi + 0x20]
call fcn.1800d4310
nop
lea rdx, [rbp + 0x20]
mov rcx, rax
call fcn.1800d4460
nop
mov r12, rax
cmp qword [rax + 0x18], 8
jb 0x18008b5fe
mov r12, qword [rax]
mov r14, qword [rax + 0x10]
call fcn.1800de668
mov dword [rsp + 0x40], eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
xor ecx, ecx
mov qword [rbp + 0x90], rcx
mov qword [rbp + 0x98], 0xf
mov byte [rbp + 0x80], cl
or edi, 0x40
mov dword [rsp + 0x30], edi
test r14, r14
je 0x18008b6c1
cmp r14, 0x7fffffff
ja 0x18008b8ad
mov dword [rsp + 0x20], ecx
xor r9d, r9d
mov r8d, r14d
mov rdx, r12
mov ecx, eax
call fcn.1800de6d8
mov rbx, rax
mov qword [rsp + 0x38], rax
shr rax, 0x20
test eax, eax
jne 0x18008b8a3
movsxd rdx, ebx
xor r8d, r8d
lea rcx, [rbp + 0x80]
call fcn.18006dc20
lea r9, [rbp + 0x80]
cmp qword [rbp + 0x98], 0x10
cmovae r9, qword [rbp + 0x80]
mov dword [rsp + 0x20], ebx
mov r8d, r14d
mov rdx, r12
mov ecx, dword [rsp + 0x40]
call fcn.1800de6d8
mov qword [rsp + 0x40], rax
shr rax, 0x20
test eax, eax
jne 0x18008b899
and edi, 0xffffffbf
or edi, 0x38
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0x20]
call fcn.18006fbc0
nop
lea rcx, [rbp + 0x40]
call fcn.18006fbc0
mov rax, qword [r15 + 8]
cmp rax, qword [r15 + 0x10]
je 0x18008b6fe
lea rdx, [rbp + 0x80]
mov rcx, rax
call fcn.180022750
add qword [r15 + 8], 0x20
jmp 0x18008b711
lea r8, [rbp + 0x80]
mov rdx, rax
mov rcx, r15
call fcn.1800d40c0
nop
lea rcx, [rbp + 0x80]
call fcn.1800014f0
xor r12d, r12d
lea rdx, [rbp + 0xd0]
mov rcx, qword [rsi + 0x40]
call fcn.1800de940
cmp eax, 0x12
je 0x18008b777
test eax, eax
jne 0x18008b87e
cmp word [rbp + 0xfc], 0x2e
jne 0x18008b763
movzx eax, word [rbp + 0xfe]
test ax, ax
je 0x18008b720
cmp ax, 0x2e
jne 0x18008b763
cmp word [rbp + 0x100], 0
je 0x18008b720
lea rdx, [rbp + 0xd0]
mov rcx, rsi
call fcn.1800d4c30
jmp 0x18008b540
mov rsi, r12
mov qword [rbp + 0x60], r12
mov rbx, qword [rbp + 0x68]
mov qword [rbp + 0x68], r12
test rbx, rbx
je 0x18008b540
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x18008b7b1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
je 0x18008b7ba
mov edi, dword [rsp + 0x30]
jmp 0x18008b539
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov edi, dword [rsp + 0x30]
jmp 0x18008b539
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x18008b806
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18008b806
mov rbx, qword [rbp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18008b806
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x18008b83f
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18008b83f
mov rbx, qword [rbp + 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r13d
cmp r13d, 1
jne 0x18008b83f
mov rcx, qword [rbp + 0x78]
mov rdx, qword [rcx]
call qword [rdx + 8]
nop
lea rcx, [rbp + 0xa0]
call fcn.1800014f0
mov rax, r15
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.1800df090
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov edx, eax
call fcn.1800d4a30
nop
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.18006d9b0
nop
mov ecx, dword [rsp + 0x44]
call fcn.18006e0e0
int3
mov ecx, dword [rsp + 0x3c]
call fcn.18006e0e0
int3
mov ecx, 0x16
call fcn.18006da40
int3