Function at 0x140083560
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1400ef010]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r15, rcx
xor r12d, r12d
lea rcx, str.APPDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
mov r14, 0xffffffffffffffff
mov r8, r14
inc r8
cmp byte [rax + r8], r12b
jne 0x1400835c0
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140011070
nop
mov r8d, 8
lea rdx, str.dx9ware
lea rcx, [rsp + 0x58]
call fcn.1400100a0
xorps xmm0, xmm0
movups xmmword [rbp + 0xe0], xmm0
mov qword [rbp + 0xf0], r12
mov qword [rbp + 0xf8], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xe0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf0], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14008366a
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083665
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140083665
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a53fc
movdqa xmm0, xmmword [0x1400d93c0]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rcx, qword [r15]
add rcx, 0x98
lea rax, [rbp + 0xe0]
cmp rcx, rax
je 0x1400836b6
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0x10
cmovae rdx, qword [rbp + 0xe0]
mov r8, qword [rbp + 0xf0]
call fcn.14001a860
mov rdi, qword [rbp + 0xf0]
lea rbx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0x10
cmovae rbx, qword [rbp + 0xe0]
call fcn.1400a49bc
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], rdi
lea r8, [rbp + 0x10]
mov edx, eax
lea rcx, [rbp + 0x160]
call fcn.1400126d0
nop
mov rdi, qword [rbp + 0xf0]
lea rbx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0x10
cmovae rbx, qword [rbp + 0xe0]
call fcn.1400a49bc
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], rdi
lea r8, [rbp + 0x20]
mov edx, eax
lea rcx, [rbp + 0x140]
call fcn.1400126d0
nop
call fcn.1400a49bc
lea rcx, str.Config
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x38], 6
lea r8, [rbp + 0x30]
mov edx, eax
lea rcx, [rbp - 0x68]
call fcn.1400126d0
nop
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x160]
call fcn.140012960
mov rbx, rax
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x1400837b0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400837ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400837ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a53fc
movdqa xmm0, xmmword [0x1400d93a0]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r12w
mov rcx, qword [r15]
add rcx, 0x58
mov rdx, rbx
call fcn.140012ca0
call fcn.1400a49bc
lea rcx, str.AutoLoad
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x38], 8
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, [rsp + 0x78]
call fcn.1400126d0
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x140]
call fcn.140012960
mov rbx, rax
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140083852
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008384d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008384d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a53fc
movdqa xmm0, xmmword [0x1400d93a0]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r12w
mov rcx, qword [r15]
add rcx, 0x78
mov rdx, rbx
call fcn.140012ca0
mov rbx, qword [r15]
lea rdx, [rbx + 0x58]
lea rcx, [rbp + 0x60]
call fcn.140002a70
movsd xmm0, qword [rax]
movsd qword [rsp + 0x28], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x30], ecx
lea rdi, [0x1400ef048]
mov qword [rbp - 0x28], rdi
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp + 0x1b0], xmm0
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x140083a0a
cmp eax, 1
jne 0x1400838ea
mov rbx, qword [r15]
mov qword [rbp + 0x130], r12
mov qword [rbp + 0x138], rdi
lea rdx, [rbp + 0x130]
lea rcx, [rbx + 0x58]
call fcn.140083100
cmp dword [rbp + 0x130], 0
jne 0x140083fde
mov rbx, qword [r15]
lea rdx, [rbx + 0x78]
lea rcx, [rbp + 0x70]
call fcn.140002a70
movsd xmm0, qword [rax]
movsd qword [rsp + 0x28], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp - 0x20], ecx
mov qword [rbp - 0x18], rdi
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp + 0x180], xmm0
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x140083a17
cmp eax, 1
jne 0x140083959
mov rbx, qword [r15]
mov qword [rbp + 0x120], r12
mov qword [rbp + 0x128], rdi
lea rdx, [rbp + 0x120]
lea rcx, [rbx + 0x78]
call fcn.140083100
cmp dword [rbp + 0x120], 0
jne 0x140083ff6
mov rbx, qword [r15]
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xc0], xmm0
lea rdx, [rbx + 0x58]
lea rcx, [rbp + 0xc0]
call fcn.140015940
test eax, eax
jne 0x14008400e
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
mov rdi, qword [rbp + 0xc8]
test rdi, rdi
je 0x1400839a0
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0xc8]
movaps xmm0, xmmword [rbp + 0xc0]
movdqa xmmword [rbp + 0x110], xmm0
test rdi, rdi
je 0x1400839bf
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0xc8]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x190], xmm1
test rdi, rdi
je 0x140083a2b
mov eax, r14d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140083a24
mov rbx, qword [rbp + 0xc8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140083a24
mov rdi, qword [rbp + 0xc8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
jmp 0x140083a2b
test ecx, ecx
jne 0x140083f9e
jmp 0x1400838bc
test ecx, ecx
jne 0x140083fb6
jmp 0x14008392b
mov rdi, qword [rbp + 0xc8]
nop dword [rax + rax]
mov rax, qword [rbp + 0x110]
test rax, rax
je 0x140083bd8
mov rbx, qword [r15]
lea rcx, [rax + 0x20]
cmp qword [rax + 0x38], 8
jb 0x140083a52
mov rcx, qword [rax + 0x20]
mov rax, qword [rax + 0x30]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.140012830
cmp rax, r11
je 0x140083aab
nop word [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140083a7f
cmp cx, 0x2f
jne 0x140083a88
add rax, 2
cmp rax, r11
jne 0x140083a70
cmp rax, r11
je 0x140083aab
nop dword [rax]
lea rdx, [r10 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x140083aab
cmp cx, 0x2f
je 0x140083aab
mov r10, rdx
cmp rax, rdx
jne 0x140083a90
sub r11, r10
sar r11, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r12
mov r8, r11
mov rdx, r10
lea rcx, [rsp + 0x38]
call fcn.140010de0
nop
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x38]
call fcn.140012bb0
nop
mov rdx, qword [rbx + 0x48]
cmp rdx, qword [rbx + 0x50]
je 0x140083b1f
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r12
mov qword [rdx + 0x18], r12
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
add qword [rbx + 0x48], 0x20
jmp 0x140083b2c
mov r8, rax
lea rcx, [rbx + 0x40]
call fcn.140016520
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x140083b63
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083b5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140083bca
call fcn.1400a53fc
mov qword [rbp], r12
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140083bb1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083bac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140083bd1
call fcn.1400a53fc
lea rcx, [rbp + 0x110]
call fcn.140012ef0
test eax, eax
jne 0x140083fce
jmp 0x140083a30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rbp + 0x118]
test rcx, rcx
je 0x140083c21
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140083c1a
mov rbx, qword [rbp + 0x118]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140083c1a
mov rcx, qword [rbp + 0x118]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rbp + 0xc8]
test rdi, rdi
je 0x140083c5c
mov eax, r14d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140083c5c
mov rbx, qword [rbp + 0xc8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140083c5c
mov rcx, qword [rbp + 0xc8]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [r15]
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xd0], xmm0
lea rdx, [rbx + 0x78]
lea rcx, [rbp + 0xd0]
call fcn.140015940
test eax, eax
jne 0x140084021
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
mov rdi, qword [rbp + 0xd8]
test rdi, rdi
je 0x140083ca3
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0xd8]
movaps xmm0, xmmword [rbp + 0xd0]
movdqa xmmword [rbp + 0x100], xmm0
test rdi, rdi
je 0x140083cc2
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0xd8]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1a0], xmm1
test rdi, rdi
je 0x140083d14
mov eax, r14d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140083d0d
mov rbx, qword [rbp + 0xd8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140083d0d
mov rdi, qword [rbp + 0xd8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
jmp 0x140083d14
mov rdi, qword [rbp + 0xd8]
nop dword [rax]
nop dword [rax + rax]
mov rsi, qword [rbp + 0x100]
test rsi, rsi
je 0x140083dd8
mov r8d, 3
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.140012d90
mov rax, qword [rsp + 0x28]
mov edx, dword [rsp + 0x30]
test edx, edx
je 0x140083d5f
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x140083f8d
cmp eax, 3
jne 0x140083db8
mov rbx, qword [r15]
lea rcx, [rsi + 0x20]
lea rdx, [rbp + 0x40]
call fcn.140012bb0
nop
mov rdx, rax
mov rcx, rbx
call fcn.140015240
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x140083db8
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083db3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140083dd1
call fcn.1400a53fc
lea rcx, [rbp + 0x100]
call fcn.140012ef0
test eax, eax
jne 0x140083fd6
jmp 0x140083d20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rbp + 0x108]
test rcx, rcx
je 0x140083e21
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140083e1a
mov rbx, qword [rbp + 0x108]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140083e1a
mov rcx, qword [rbp + 0x108]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rbp + 0xd8]
test rdi, rdi
je 0x140083e5c
mov eax, r14d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x140083e5c
mov rbx, qword [rbp + 0xd8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x140083e5c
mov rcx, qword [rbp + 0xd8]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x158]
cmp rdx, 8
jb 0x140083ea5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083ea0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140083ea0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a53fc
movdqa xmm0, xmmword [0x1400d93a0]
movdqu xmmword [rbp + 0x150], xmm0
mov word [rbp + 0x140], r12w
mov rdx, qword [rbp + 0x178]
cmp rdx, 8
jb 0x140083f06
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083f01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140083f01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a53fc
movdqa xmm0, xmmword [0x1400d93a0]
movdqu xmmword [rbp + 0x170], xmm0
mov word [rbp + 0x160], r12w
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x140083f62
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083f5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140083f5d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a53fc
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400a53a0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea r8, [rsi + 0x20]
lea rcx, str.directory_entry::status
call fcn.140012d20
nop
lea r8, [rbx + 0x58]
lea rdx, [rbp + 0x1b0]
lea rcx, str.exists
call fcn.140002a10
int3
lea r8, [rbx + 0x78]
lea rdx, [rbp + 0x180]
lea rcx, str.exists
call fcn.140002a10
nop
mov edx, eax
call fcn.1400830a0
nop
mov edx, eax
call fcn.1400830a0
nop
lea r8, [rbx + 0x58]
lea rdx, [rbp + 0x130]
lea rcx, str.create_directories
call fcn.140002a10
int3
lea r8, [rbx + 0x78]
lea rdx, [rbp + 0x120]
lea rcx, str.create_directories
call fcn.140002a10
nop
lea r8, [rbx + 0x58]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140012d20
nop
lea r8, [rbx + 0x78]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.140012d20
int3