Function at 0x140082d20
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 [0x1400ee010]
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 0x140082d80
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 0x140082e2a
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082e25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082e25
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4a0c
movdqa xmm0, xmmword [0x1400d81b0]
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 0x140082e76
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0x10
cmovae rdx, qword [rbp + 0xe0]
mov r8, qword [rbp + 0xf0]
call fcn.14001a830
mov rdi, qword [rbp + 0xf0]
lea rbx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0x10
cmovae rbx, qword [rbp + 0xe0]
call fcn.1400a3fcc
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.1400a3fcc
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.1400a3fcc
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 0x140082f70
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082f6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140082f6b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4a0c
movdqa xmm0, xmmword [0x1400d8190]
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.1400a3fcc
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 0x140083012
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008300d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008300d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4a0c
movdqa xmm0, xmmword [0x1400d8190]
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, [0x1400ee048]
mov qword [rbp - 0x28], rdi
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp + 0x1b0], xmm0
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x1400831ca
cmp eax, 1
jne 0x1400830aa
mov rbx, qword [r15]
mov qword [rbp + 0x130], r12
mov qword [rbp + 0x138], rdi
lea rdx, [rbp + 0x130]
lea rcx, [rbx + 0x58]
call fcn.1400828c0
cmp dword [rbp + 0x130], 0
jne 0x14008379e
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 0x1400831d7
cmp eax, 1
jne 0x140083119
mov rbx, qword [r15]
mov qword [rbp + 0x120], r12
mov qword [rbp + 0x128], rdi
lea rdx, [rbp + 0x120]
lea rcx, [rbx + 0x78]
call fcn.1400828c0
cmp dword [rbp + 0x120], 0
jne 0x1400837b6
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 0x1400837ce
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
mov rdi, qword [rbp + 0xc8]
test rdi, rdi
je 0x140083160
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0xc8]
movaps xmm0, xmmword [rbp + 0xc0]
movdqa xmmword [rbp + 0x110], xmm0
test rdi, rdi
je 0x14008317f
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0xc8]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x190], xmm1
test rdi, rdi
je 0x1400831eb
mov eax, r14d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400831e4
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 0x1400831e4
mov rdi, qword [rbp + 0xc8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
jmp 0x1400831eb
test ecx, ecx
jne 0x14008375e
jmp 0x14008307c
test ecx, ecx
jne 0x140083776
jmp 0x1400830eb
mov rdi, qword [rbp + 0xc8]
nop dword [rax + rax]
mov rax, qword [rbp + 0x110]
test rax, rax
je 0x140083398
mov rbx, qword [r15]
lea rcx, [rax + 0x20]
cmp qword [rax + 0x38], 8
jb 0x140083212
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 0x14008326b
nop word [rax + rax]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14008323f
cmp cx, 0x2f
jne 0x140083248
add rax, 2
cmp rax, r11
jne 0x140083230
cmp rax, r11
je 0x14008326b
nop dword [rax]
lea rdx, [r10 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x14008326b
cmp cx, 0x2f
je 0x14008326b
mov r10, rdx
cmp rax, rdx
jne 0x140083250
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 0x1400832df
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 0x1400832ec
mov r8, rax
lea rcx, [rbx + 0x40]
call fcn.140016520
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x140083323
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008331e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008338a
call fcn.1400a4a0c
mov qword [rbp], r12
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140083371
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008336c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140083391
call fcn.1400a4a0c
lea rcx, [rbp + 0x110]
call fcn.140012ef0
test eax, eax
jne 0x14008378e
jmp 0x1400831f0
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 0x1400833e1
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400833da
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 0x1400833da
mov rcx, qword [rbp + 0x118]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rbp + 0xc8]
test rdi, rdi
je 0x14008341c
mov eax, r14d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14008341c
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 0x14008341c
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 0x1400837e1
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
mov rdi, qword [rbp + 0xd8]
test rdi, rdi
je 0x140083463
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0xd8]
movaps xmm0, xmmword [rbp + 0xd0]
movdqa xmmword [rbp + 0x100], xmm0
test rdi, rdi
je 0x140083482
lock inc dword [rdi + 8]
mov rdi, qword [rbp + 0xd8]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1a0], xmm1
test rdi, rdi
je 0x1400834d4
mov eax, r14d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1400834cd
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 0x1400834cd
mov rdi, qword [rbp + 0xd8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
jmp 0x1400834d4
mov rdi, qword [rbp + 0xd8]
nop dword [rax]
nop dword [rax + rax]
mov rsi, qword [rbp + 0x100]
test rsi, rsi
je 0x140083598
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 0x14008351f
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x14008374d
cmp eax, 3
jne 0x140083578
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 0x140083578
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083573
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140083591
call fcn.1400a4a0c
lea rcx, [rbp + 0x100]
call fcn.140012ef0
test eax, eax
jne 0x140083796
jmp 0x1400834e0
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 0x1400835e1
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400835da
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 0x1400835da
mov rcx, qword [rbp + 0x108]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rbp + 0xd8]
test rdi, rdi
je 0x14008361c
mov eax, r14d
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14008361c
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 0x14008361c
mov rcx, qword [rbp + 0xd8]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x158]
cmp rdx, 8
jb 0x140083665
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083660
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140083660
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4a0c
movdqa xmm0, xmmword [0x1400d8190]
movdqu xmmword [rbp + 0x150], xmm0
mov word [rbp + 0x140], r12w
mov rdx, qword [rbp + 0x178]
cmp rdx, 8
jb 0x1400836c6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400836c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400836c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4a0c
movdqa xmm0, xmmword [0x1400d8190]
movdqu xmmword [rbp + 0x170], xmm0
mov word [rbp + 0x160], r12w
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x140083722
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008371d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008371d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400a4a0c
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400a49b0
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.140082860
nop
mov edx, eax
call fcn.140082860
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