Function at 0x180088570
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 [0x180159870]
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 0x180088600
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.180022aa0
nop
mov r8d, 0x12
lea rdx, str.LucaModzZProfile
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.1800da508
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.18006a380
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.1800cc5c0
test eax, eax
jne 0x180088a66
lea rcx, [rbp - 0x60]
call fcn.18006ce40
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x1800886bb
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 0x1800886d5
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 0x180088719
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180088715
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 0x180088715
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 0x1800889ac
call fcn.1800da508
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], 5
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.18006a380
or edi, 6
mov dword [rsp + 0x30], edi
lea rdx, [rbp]
lea rcx, [rsi + 0x20]
call fcn.1800cbcc0
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.1800cbe50
mov ebx, eax
lea rcx, [rbp]
call fcn.18006ce40
nop
lea rcx, [rsp + 0x48]
call fcn.18006ce40
test ebx, ebx
jne 0x180088900
lea rdx, [rbp + 0x40]
lea rcx, [rsi + 0x20]
call fcn.1800cb9e0
nop
lea rdx, [rbp + 0x20]
mov rcx, rax
call fcn.1800cbb30
nop
mov r12, rax
cmp qword [rax + 0x18], 8
jb 0x1800887de
mov r12, qword [rax]
mov r14, qword [rax + 0x10]
call fcn.1800da508
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 0x1800888a1
cmp r14, 0x7fffffff
ja 0x180088a8d
mov dword [rsp + 0x20], ecx
xor r9d, r9d
mov r8d, r14d
mov rdx, r12
mov ecx, eax
call fcn.1800da578
mov rbx, rax
mov qword [rsp + 0x38], rax
shr rax, 0x20
test eax, eax
jne 0x180088a83
movsxd rdx, ebx
xor r8d, r8d
lea rcx, [rbp + 0x80]
call fcn.18006aea0
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.1800da578
mov qword [rsp + 0x40], rax
shr rax, 0x20
test eax, eax
jne 0x180088a79
and edi, 0xffffffbf
or edi, 0x38
mov dword [rsp + 0x30], edi
lea rcx, [rbp + 0x20]
call fcn.18006ce40
nop
lea rcx, [rbp + 0x40]
call fcn.18006ce40
mov rax, qword [r15 + 8]
cmp rax, qword [r15 + 0x10]
je 0x1800888de
lea rdx, [rbp + 0x80]
mov rcx, rax
call fcn.180022750
add qword [r15 + 8], 0x20
jmp 0x1800888f1
lea r8, [rbp + 0x80]
mov rdx, rax
mov rcx, r15
call fcn.1800cb790
nop
lea rcx, [rbp + 0x80]
call fcn.1800014f0
xor r12d, r12d
lea rdx, [rbp + 0xd0]
mov rcx, qword [rsi + 0x40]
call fcn.1800da7e0
cmp eax, 0x12
je 0x180088957
test eax, eax
jne 0x180088a5e
cmp word [rbp + 0xfc], 0x2e
jne 0x180088943
movzx eax, word [rbp + 0xfe]
test ax, ax
je 0x180088900
cmp ax, 0x2e
jne 0x180088943
cmp word [rbp + 0x100], 0
je 0x180088900
lea rdx, [rbp + 0xd0]
mov rcx, rsi
call fcn.1800cc300
jmp 0x180088720
mov rsi, r12
mov qword [rbp + 0x60], r12
mov rbx, qword [rbp + 0x68]
mov qword [rbp + 0x68], r12
test rbx, rbx
je 0x180088720
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180088991
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
je 0x18008899a
mov edi, dword [rsp + 0x30]
jmp 0x180088719
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov edi, dword [rsp + 0x30]
jmp 0x180088719
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x1800889e6
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1800889e6
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 0x1800889e6
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x180088a1f
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180088a1f
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 0x180088a1f
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.1800daf30
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.1800cc100
nop
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.18006ac30
nop
mov ecx, dword [rsp + 0x44]
call fcn.18006b360
int3
mov ecx, dword [rsp + 0x3c]
call fcn.18006b360
int3
mov ecx, 0x16
call fcn.18006acc0
int3