Function at 0x140012470
Capabilities:
Query environment variable
Write file on windows

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 - 0x2f0]
sub rsp, 0x3f0
mov rax, qword [0x140046010]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov r15, rcx
xor r12d, r12d
mov dword [rbp - 0x20], r12d
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x18], xmm1
lea r8d, [r12 + 0xb]
lea rdx, str.SYSTEMDRIVE
lea rcx, [rbp + 8]
call fcn.14000b790
nop
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rcx, qword [rbp + 8]
mov r8d, 0x104
lea rdx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x140013294
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r12
mov qword [rbp + 0xa8], r12
lea rax, [rbp + 0xd0]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140012530
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x90]
call fcn.14000b790
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x140012590
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001258a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400132b5
call fcn.140016878
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov dword [rbp - 0x20], 3
mov rbx, qword [rbp + 0xa0]
test rbx, rbx
jne 0x1400125c4
mov qword [rbp - 0x30], rbx
mov byte [rbp + rbx - 0x40], bl
jmp 0x1400125ee
lea rcx, [rbp - 0x40]
cmp rbx, 0xf
ja 0x1400125e3
mov qword [rbp - 0x30], rbx
mov r8, rbx
xor edx, edx
call fcn.140018710
mov byte [rbp + rbx - 0x40], 0
jmp 0x1400125ee
mov r9, rbx
mov rdx, rbx
call fcn.14000c680
lea r9, [rbp + 0x90]
cmp qword [rbp + 0xa8], 8
cmovae r9, qword [rbp + 0x90]
mov r8, qword [rbp - 0x30]
inc r8
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rdx, qword [rbp - 0x40]
mov rax, qword [rbp + 0xa0]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x50]
call fcn.140021d68
lea rcx, [r15 + 8]
lea rdx, [rbp - 0x40]
call fcn.14000a7a0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140012679
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012673
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400132bb
call fcn.140016878
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov dword [rbp - 0x20], 5
mov rbx, qword [rbp + 0xa0]
test rbx, rbx
jne 0x1400126ad
mov qword [rbp - 0x30], rbx
mov byte [rbp + rbx - 0x40], bl
jmp 0x1400126d7
lea rcx, [rbp - 0x40]
cmp rbx, 0xf
ja 0x1400126cc
mov qword [rbp - 0x30], rbx
mov r8, rbx
xor edx, edx
call fcn.140018710
mov byte [rbp + rbx - 0x40], 0
jmp 0x1400126d7
mov r9, rbx
mov rdx, rbx
call fcn.14000c680
lea r9, [rbp + 0x90]
cmp qword [rbp + 0xa8], 8
cmovae r9, qword [rbp + 0x90]
mov r8, qword [rbp - 0x30]
inc r8
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rdx, qword [rbp - 0x40]
mov rax, qword [rbp + 0xa0]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0x50]
call fcn.140021d68
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov r8d, 0x14
lea rdx, str._sUsersPublic_test
lea rcx, [rsp + 0x40]
call fcn.14000ba10
lea r8, [rbp - 0x40]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x28]
call fcn.14000b000
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14001278f
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001278a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400132c1
call fcn.140016878
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov rdi, qword [rbp + 0x38]
lea rbx, [rbp + 0x28]
cmp qword [rbp + 0x40], 0x10
cmovae rbx, qword [rbp + 0x28]
call fcn.14001558c
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rdi
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rbp - 0x18]
call fcn.140006070
mov r14d, 0x19
lea r8d, [r14 - 0x16]
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x50]
call fcn.140007770
movsd xmm0, qword [rax]
movsd qword [rbp - 0x60], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp + 0x50], ecx
lea r13, [0x140046a38]
mov qword [rbp + 0x58], r13
movaps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x50], xmm0
mov eax, dword [rbp - 0x60]
test eax, eax
je 0x140012a0c
cmp eax, 1
setne bl
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x140012858
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012853
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400132c7
call fcn.140016878
test bl, bl
je 0x140012924
mov rdi, qword [rbp + 0x38]
lea rbx, [rbp + 0x28]
cmp qword [rbp + 0x40], 0x10
cmovae rbx, qword [rbp + 0x28]
call fcn.14001558c
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rdi
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rbp + 8]
call fcn.140006070
mov r14d, 0x199
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rcx, qword [rbp + 8]
call fcn.140015fc4
movzx ecx, al
mov qword [rbp - 0x20], rcx
shr rax, 0x20
mov dword [rbp - 0x60], eax
mov qword [rbp - 0x58], r13
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
cmp eax, 0x91
jne 0x1400128da
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 8]
call fcn.140007ab0
cmp dword [rbp - 0x60], 0
jne 0x1400132cd
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x140012924
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001291f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400132e2
call fcn.140016878
mov rdi, qword [rbp + 0x38]
lea rbx, [rbp + 0x28]
cmp qword [rbp + 0x40], 0x10
cmovae rbx, qword [rbp + 0x28]
call fcn.14001558c
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rdi
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rbp - 0x18]
call fcn.140006070
or r14d, 0x60
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r13
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x18]
call fcn.140007850
movzx ebx, al
cmp dword [rbp - 0x60], 0
jne 0x1400132e8
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x1400129b8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400129b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400132fd
call fcn.140016878
test bl, bl
je 0x1400131b6
lea rcx, [r15 + 0x28]
lea rax, [rbp + 0x28]
cmp rcx, rax
je 0x140012a23
mov rbx, qword [rbp + 0x38]
lea r9, [rbp + 0x28]
cmp qword [rbp + 0x40], 0x10
cmovae r9, qword [rbp + 0x28]
mov rax, qword [rcx + 0x18]
cmp rbx, rax
ja 0x140012a1b
mov rdi, rcx
cmp rax, 0x10
jb 0x1400129f4
mov rdi, qword [rcx]
mov qword [rcx + 0x10], rbx
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.14001c250
mov byte [rdi + rbx], 0
jmp 0x140012a23
xor bl, bl
test ecx, ecx
jne 0x140013279
jmp 0x140012818
mov rdx, rbx
call fcn.14000bfc0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov r8d, 0x13
lea rdx, str._sWindows_system32
lea rcx, [rsp + 0x60]
call fcn.14000ba10
lea r8, [rbp + 0x28]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 8]
call fcn.14000b000
nop
mov rdi, qword [rbp + 0x18]
lea rbx, [rbp + 8]
cmp qword [rbp + 0x20], 0x10
cmovae rbx, qword [rbp + 8]
call fcn.14001558c
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rdi
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140006070
or r14d, 0x600
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r13
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x40]
call fcn.140007850
movzx ebx, al
cmp dword [rbp - 0x60], 0
jne 0x140013303
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140012afa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012af5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013319
call fcn.140016878
test bl, bl
je 0x140012fdd
lea rcx, [rbp - 0x18]
call fcn.1400058b0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r12
mov qword [rbp + 0x68], r12
mov r8d, 0xd
lea rdx, str._swermgr.exe
lea rcx, [rbp + 0x50]
call fcn.14000ba10
lea r8, [rbp + 8]
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0xb0]
call fcn.14000b000
nop
mov rdi, qword [rbp + 0xc0]
lea rbx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0x10
cmovae rbx, qword [rbp + 0xb0]
call fcn.14001558c
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rdi
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.140006070
or r14d, 0x1800
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
bts r14d, 0xd
mov dword [rbp - 0x20], r14d
mov rbx, qword [rbp - 8]
test rbx, rbx
jne 0x140012bba
mov qword [rbp - 0x30], rbx
mov byte [rbp + rbx - 0x40], bl
jmp 0x140012be4
lea rcx, [rbp - 0x40]
cmp rbx, 0xf
ja 0x140012bd9
mov qword [rbp - 0x30], rbx
mov r8, rbx
xor edx, edx
call fcn.140018710
mov byte [rbp + rbx - 0x40], 0
jmp 0x140012be4
mov r9, rbx
mov rdx, rbx
call fcn.14000c680
lea r9, [rbp - 0x18]
cmp qword [rbp], 8
cmovae r9, qword [rbp - 0x18]
mov r8, qword [rbp - 0x30]
inc r8
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rdx, qword [rbp - 0x40]
mov rax, qword [rbp - 8]
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x60]
call fcn.140021d68
mov rdi, qword [rbp - 0x30]
lea rbx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rbx, qword [rbp - 0x40]
call fcn.14001558c
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], rdi
lea r8, [rbp + 0x50]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.140006070
or r14d, 0xc000
mov dword [rbp - 0x20], r14d
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140008650
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140012ca4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012c9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001331f
call fcn.140016878
movdqa xmm0, xmmword [0x14003fcf0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r12w
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140012cf3
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012cee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013325
call fcn.140016878
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], 0xf
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140012d43
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012d3e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001332b
call fcn.140016878
lea r8, str.Fake_wermgr.exe_prepared.
mov edx, 0x2b
lea rcx, str.internal::winserver_1607_exp_strategy::build_report_file
call fcn.14000f060
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x140012d9d
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012d98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013331
call fcn.140016878
mov qword [rbp + 0xc0], r12
mov qword [rbp + 0xc8], 0xf
mov byte [rbp + 0xb0], 0
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x140012df6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012df1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013337
call fcn.140016878
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov r8d, 0x3d
lea rdx, str._sProgramDataMicrosoftWindowsWERReportArchiveWER1CF4123
lea rcx, [rsp + 0x40]
call fcn.14000ba10
lea r8, [rbp + 0x28]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x70]
call fcn.14000b000
nop
mov rdi, qword [rbp + 0x80]
lea rbx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0x10
cmovae rbx, qword [rbp + 0x70]
call fcn.14001558c
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rdi
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140006070
nop
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r13
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.140007850
movzx ebx, al
cmp dword [rbp - 0x60], 0
jne 0x14001333d
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140012ecd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012ec8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013353
call fcn.140016878
test bl, bl
je 0x140013126
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x18]
call fcn.14000b140
nop
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x80]
call fcn.14000f270
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rax
call fcn.140005980
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140013020
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.Creating_wer_file_failed:_0x_x
lea edx, [rbx + 0x2e]
lea rcx, str.internal::winserver_1607_exp_strategy::build_report_file
call fcn.14000f060
nop
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x140012f78
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012f73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013365
call fcn.140016878
movdqa xmm0, xmmword [0x14003fd00]
movdqu xmmword [rbp - 8], xmm0
mov byte [rbp - 0x18], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x140012fc7
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012fc2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013359
call fcn.140016878
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], 0xf
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x1400131b6
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400131b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001328e
jmp 0x1400131b0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
lea rdx, [0x14003e2c0]
inc rsi
cmp word [rdx + rsi*2], 0
jne 0x140013036
mov r8, rsi
lea rcx, [rbp - 0x40]
call fcn.14000b790
mov dword [rbp - 0x20], r12d
mov eax, dword [rbp - 0x30]
lea r8d, [rax + rax]
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rdx, qword [rbp - 0x40]
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r8, str.Fake_wer_file_created.
mov edx, 0x2b
lea rcx, str.internal::winserver_1607_exp_strategy::build_report_file
call fcn.14000f060
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1400130d8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400130d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001335f
call fcn.140016878
movdqa xmm0, xmmword [0x14003fcf0]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], r12w
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x140013126
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013120
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013365
call fcn.140016878
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x140013164
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001315f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001336b
call fcn.140016878
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x88], 0xf
mov byte [rbp + 0x70], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x1400131b6
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400131b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013371
call fcn.140016878
nop
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x1400131f1
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400131ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013377
call fcn.140016878
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x40], 0xf
mov byte [rbp + 0x28], 0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 8
jb 0x140013243
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001323e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013273
call fcn.140016878
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.140016330
lea r11, [rsp + 0x3f0]
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
call fcn.14001ccd4
nop
lea r8, [rbp - 0x18]
lea rdx, [rbp + 0x50]
lea rcx, str.exists
call fcn.140006e20
nop
call fcn.14001ccd4
nop
lea rdx, str.GetEnvironmentVariableW_failed
lea rcx, [rbp - 0x60]
call fcn.1400055d0
lea rdx, [0x1400447a0]
lea rcx, [rbp - 0x60]
call fcn.1400185fc
nop
call fcn.14001ccd4
int3
call fcn.14001ccd4
nop
call fcn.14001ccd4
int3
call fcn.14001ccd4
nop
lea r8, [rbp + 8]
lea rdx, [rbp - 0x60]
lea rcx, str.remove_all
call fcn.140006e20
nop
call fcn.14001ccd4
nop
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x60]
lea rcx, str.create_directories
call fcn.140006e20
nop
call fcn.14001ccd4
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x60]
lea rcx, str.create_directories
call fcn.140006e20
nop
call fcn.14001ccd4
nop
call fcn.14001ccd4
nop
call fcn.14001ccd4
nop
call fcn.14001ccd4
nop
call fcn.14001ccd4
nop
call fcn.14001ccd4
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x60]
lea rcx, str.create_directories
call fcn.140006e20
nop
call fcn.14001ccd4
nop
call fcn.14001ccd4
nop
call fcn.14001ccd4
nop
call fcn.14001ccd4
nop
call fcn.14001ccd4
nop
call fcn.14001ccd4
nop
call fcn.14001ccd4
int3