Function at 0x180008450
Capabilities:
Encode data using xor
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x868]
sub rsp, 0x940
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1800f0040]
xor rax, rsp
mov qword [rbp + 0x820], rax
mov r12, rcx
mov qword [rsp + 0x28], rcx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
movdqa xmm0, xmmword [str.._E9_]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rbp - 0x80], 0x100
mov ecx, r13d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x7a]
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 0x10
jb 0x1800084c0
mov byte [rbp - 0x7f], r13b
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x18]
call fcn.1800113a0
mov edi, 0x6000000
mov dword [rsp + 0x20], edi
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x140]
call fcn.180003330
nop
cmp qword [rax + 0x18], 0xf
jbe 0x18000850a
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x180008590
movdqa xmm0, xmmword [str.._E9_]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x68], 0x100
mov rcx, r13
lea eax, [rcx + 0x7a]
xor byte [rsp + rcx + 0x58], al
inc rcx
cmp rcx, 0x10
jb 0x180008530
mov byte [rsp + 0x69], 0
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x38]
call fcn.1800113a0
nop
mov dword [rsp + 0x20], 0x6000001
lea rdx, [rbp + 0x38]
lea rcx, [rbp + 0x120]
call fcn.180003330
nop
mov edi, 0x6000003
mov dword [rsp + 0x20], edi
cmp qword [rax + 0x18], 0xf
jbe 0x180008585
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
jmp 0x18000859a
mov word [rsp + 0x28], ax
lea rax, [rsp + 0x28]
xorps xmm0, xmm0
movups xmmword [rbp + 0x2e0], xmm0
mov qword [rbp + 0x2f0], r13
mov qword [rbp + 0x2f8], r13
mov r14, 0xffffffffffffffff
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800085c0
mov rdx, rax
lea rcx, [rbp + 0x2e0]
call fcn.180003220
nop
test dil, 2
je 0x180008644
and edi, 0xfffffffd
mov dword [rsp + 0x20], edi
mov rdx, qword [rbp + 0x138]
cmp rdx, 0xf
jbe 0x18000862b
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008626
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008626
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
mov qword [rbp + 0x130], r13
mov qword [rbp + 0x138], 0xf
mov byte [rbp + 0x120], 0
test dil, 1
je 0x18000869f
and edi, 0xfffffffe
mov dword [rsp + 0x20], edi
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x18000868f
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000868a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000868a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
mov qword [rbp + 0x48], r13
mov qword [rbp + 0x50], 0xf
mov byte [rbp + 0x38], 0
mov rdx, qword [rbp + 0x158]
cmp rdx, 0xf
jbe 0x1800086e3
inc rdx
mov rcx, qword [rbp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800086de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800086de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
mov qword [rbp + 0x150], r13
mov qword [rbp + 0x158], 0xf
mov byte [rbp + 0x140], 0
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x18000873a
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008735
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008735
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
mov qword [rbp + 0x28], r13
mov qword [rbp + 0x30], 0xf
mov byte [rbp + 0x18], 0
cmp qword [rbp + 0x2f0], 0
jne 0x1800087b9
xor eax, eax
mov word [rsp + 0x28], ax
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x28]
mov rcx, r12
call fcn.1800113a0
nop
mov rdx, qword [rbp + 0x2f8]
cmp rdx, 0xf
jbe 0x18000963d
inc rdx
mov rcx, qword [rbp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180009638
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180009638
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dword [rsp + 0x40], 0x7103c28
mov dword [rsp + 0x44], 0xf8b94d27
mov dword [rsp + 0x48], 0xb8b9c2d8
mov word [rsp + 0x4c], 0x100
mov rcx, r13
nop dword [rax + rax]
lea eax, [rcx + 0x7a]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0xc
jb 0x1800087e0
mov byte [rsp + 0x4d], 0
lea r8, [rsp + 0x4c]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x58]
call fcn.1800113a0
nop
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x160]
call fcn.180003330
nop
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x180008828
mov rax, qword [rax]
mov qword [rbp + 0x2b0], rax
mov qword [rbp + 0x2b8], rcx
call fcn.180013d90
movaps xmm0, xmmword [rbp + 0x2b0]
movdqa xmmword [rbp + 0x220], xmm0
lea r8, [rbp + 0x220]
mov edx, eax
lea rcx, [rbp - 8]
call fcn.180001a40
nop
lea rax, [rbp + 0x2e0]
cmp qword [rbp + 0x2f8], 0xf
cmova rax, qword [rbp + 0x2e0]
mov qword [rbp + 0x2b0], rax
mov rax, qword [rbp + 0x2f0]
mov qword [rbp + 0x2b8], rax
call fcn.180013d90
movaps xmm0, xmmword [rbp + 0x2b0]
movdqa xmmword [rbp + 0x230], xmm0
lea r8, [rbp + 0x230]
mov edx, eax
lea rcx, [rbp - 0x28]
call fcn.180001a40
nop
lea r8, [rbp - 8]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x300]
call fcn.180001f30
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 7
jbe 0x180008908
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008903
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008903
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r13w
mov rdx, qword [rbp + 0x10]
cmp rdx, 7
jbe 0x18000895c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008957
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008957
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], 7
mov word [rbp - 8], r13w
mov rdx, qword [rbp + 0x178]
cmp rdx, 0xf
jbe 0x1800089b1
inc rdx
mov rcx, qword [rbp + 0x160]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800089ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800089ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
mov qword [rbp + 0x170], r13
mov qword [rbp + 0x178], 0xf
mov byte [rbp + 0x160], 0
mov rdx, qword [rbp + 0x70]
cmp rdx, 0xf
jbe 0x180008a08
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008a03
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008a03
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
mov qword [rbp + 0x68], r13
mov qword [rbp + 0x70], 0xf
mov byte [rbp + 0x58], 0
xorps xmm6, xmm6
movdqa xmmword [rbp + 0x290], xmm6
xor r8d, r8d
lea rdx, [rbp + 0x300]
lea rcx, [rbp + 0x350]
call fcn.180002d30
nop
cmp byte [rbp + 0x5c8], 0
je 0x180008a9f
mov ecx, 0x58
call fcn.180014974
mov rsi, rax
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_struct_std::filesystem::_Dir_enum_impl_.0
mov qword [rsi], rax
lea rbx, [rsi + 0x10]
lea rdx, [rbp + 0x350]
mov rcx, rbx
call fcn.180003040
nop
mov qword [rbp + 0x290], rbx
mov qword [rbp + 0x298], rsi
movdqa xmm6, xmmword [rbp + 0x290]
jmp 0x180008aac
xorps xmm0, xmm0
psrldq xmm0, 8
movq rsi, xmm0
mov ebx, dword [rbp + 0x5cc]
mov rcx, qword [rbp + 0x370]
call fcn.180014010
mov rdx, qword [rbp + 0x368]
cmp rdx, 7
jbe 0x180008b07
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x350]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008b02
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180008b02
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
mov qword [rbp + 0x360], r13
mov qword [rbp + 0x368], 7
mov word [rbp + 0x350], r13w
test ebx, ebx
jne 0x18000967d
xorps xmm0, xmm0
movups xmmword [rbp + 0x2a0], xmm0
test rsi, rsi
je 0x180008b4f
lock inc dword [rsi + 8]
mov rsi, qword [rbp + 0x298]
movdqa xmm6, xmmword [rbp + 0x290]
mov edi, dword [rsp + 0x20]
movdqa xmmword [rbp + 0x2a0], xmm6
test rsi, rsi
je 0x180008b6b
lock inc dword [rsi + 8]
mov rsi, qword [rbp + 0x298]
mov edi, dword [rsp + 0x20]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x320], xmm1
test rsi, rsi
je 0x180008bb5
mov eax, r14d
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x180008bb1
mov rbx, qword [rbp + 0x298]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x180008bb1
mov rcx, qword [rbp + 0x298]
mov rax, qword [rcx]
call qword [rax + 8]
mov edi, dword [rsp + 0x20]
mov r15, qword [rbp + 0x2a8]
mov rsi, qword [rbp + 0x2a0]
test rsi, rsi
je 0x1800094fe
lea rdx, [rbp - 0x58]
mov rcx, rsi
call fcn.180002bc0
mov rax, qword [rbp - 0x58]
mov edx, dword [rbp - 0x50]
test edx, edx
je 0x180008bf2
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x180009693
cmp eax, 3
jne 0x180008d67
lea rcx, [rsi + 0x20]
cmp qword [rsi + 0x38], 7
jbe 0x180008c0a
mov rcx, qword [rsi + 0x20]
mov rax, qword [rsi + 0x30]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.180001b90
cmp rax, r11
je 0x180008c5b
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x180008c31
cmp cx, 0x2f
jne 0x180008c3a
add rax, 2
cmp rax, r11
jne 0x180008c22
cmp rax, r11
je 0x180008c5b
nop
lea rdx, [r10 - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x180008c5b
cmp cx, 0x2f
je 0x180008c5b
mov r10, rdx
cmp rax, rdx
jne 0x180008c40
sub r11, r10
sar r11, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], r13
mov r8, r11
mov rdx, r10
lea rcx, [rbp - 0x78]
call fcn.180011cb0
or edi, 0x38000
or edi, 8
mov dword [rsp + 0x20], edi
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 7
cmova rax, qword [rbp - 0x78]
mov qword [rbp + 0xe0], rax
mov rax, qword [rbp - 0x68]
mov qword [rbp + 0xe8], rax
call fcn.180013d90
movaps xmm0, xmmword [rbp + 0xe0]
movdqa xmmword [rbp + 0x240], xmm0
lea r8, [rbp + 0x240]
mov edx, eax
lea rcx, [rbp + 0x98]
call fcn.1800134b0
or edi, 0x1c0000
or edi, 0x10
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x30], 0xa3e2323
mov dword [rsp + 0x34], 0xbcbd2e32
mov word [rsp + 0x38], 0x100
mov rcx, r13
nop dword [rax]
lea eax, [rcx + 0x7a]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 8
jb 0x180008d00
mov byte [rsp + 0x39], 0
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x78]
call fcn.1800113a0
or edi, 0x600000
or edi, 0x20
mov dword [rsp + 0x20], edi
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x180]
call fcn.180003330
or edi, 0x40
mov dword [rsp + 0x20], edi
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x98]
call fcn.1800104f0
test rax, rax
jne 0x180008d67
mov bl, 1
jmp 0x180008d69
xor bl, bl
test dil, 0x40
je 0x180008dd0
and edi, 0xffffffbf
mov dword [rsp + 0x20], edi
mov rdx, qword [rbp + 0x198]
cmp rdx, 0xf
jbe 0x180008db7
inc rdx
mov rcx, qword [rbp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008db2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800092eb
call fcn.1800145b0
mov qword [rbp + 0x190], r13
mov qword [rbp + 0x198], 0xf
mov byte [rbp + 0x180], 0
test dil, 0x20
je 0x180008e31
and edi, 0xffffffdf
mov dword [rsp + 0x20], edi
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xf
jbe 0x180008e1b
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008e16
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800092f2
call fcn.1800145b0
mov qword [rbp + 0x88], r13
mov qword [rbp + 0x90], 0xf
mov byte [rbp + 0x78], 0
test dil, 0x10
je 0x180008e98
and edi, 0xffffffef
mov dword [rsp + 0x20], edi
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0xf
jbe 0x180008e7f
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008e7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800092f9
call fcn.1800145b0
mov qword [rbp + 0xa8], r13
mov qword [rbp + 0xb0], 0xf
mov byte [rbp + 0x98], 0
test dil, 8
je 0x180008ee5
and edi, 0xfffffff7
mov dword [rsp + 0x20], edi
mov rdx, qword [rbp - 0x60]
cmp rdx, 7
jbe 0x180008ee5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008ee0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180009300
call fcn.1800145b0
test bl, bl
je 0x180009230
movdqa xmm0, xmmword [0x1800e9180]
movdqa xmmword [rbp + 0x1c0], xmm0
movdqa xmm1, xmmword [0x1800e9360]
movdqa xmmword [rbp + 0x1d0], xmm1
movdqa xmm0, xmmword [0x1800e9130]
movdqa xmmword [rbp + 0x1e0], xmm0
movdqa xmm1, xmmword [0x1800e90e0]
movdqa xmmword [rbp + 0x1f0], xmm1
movdqa xmm0, xmmword [0x1800e8f00]
movdqa xmmword [rbp + 0x200], xmm0
mov word [rbp + 0x210], 0x100
mov rcx, r13
nop dword [rax]
lea eax, [rcx + 0x7a]
xor byte [rbp + rcx + 0x1c0], al
inc rcx
cmp rcx, 0x50
jb 0x180008f50
mov byte [rbp + 0x211], 0
lea r8, [rbp + 0x210]
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0xb8]
call fcn.1800113a0
or edi, 0x1800000
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0x1a0]
call fcn.180003330
nop
mov rcx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x180008fac
mov rax, qword [rax]
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rcx
call fcn.180013d90
movaps xmm0, xmmword [rbp + 0xf0]
movdqa xmmword [rbp + 0x260], xmm0
lea r8, [rbp + 0x260]
mov edx, eax
lea rcx, [rbp - 0x48]
call fcn.180001a40
or edi, 0x3000
mov dword [rsp + 0x20], edi
lea rdx, [rsi + 0x20]
lea r8, [rbp - 0x48]
lea rcx, [rbp + 0x2c0]
call fcn.180001f30
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 7
jbe 0x18000903f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000903a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180009307
call fcn.1800145b0
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r13w
mov rdx, qword [rbp + 0x1b8]
cmp rdx, 0xf
jbe 0x180009091
inc rdx
mov rcx, qword [rbp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000908c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000930e
call fcn.1800145b0
mov qword [rbp + 0x1b0], r13
mov qword [rbp + 0x1b8], 0xf
mov byte [rbp + 0x1a0], 0
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0xf
jbe 0x1800090eb
inc rdx
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800090e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180009315
call fcn.1800145b0
mov qword [rbp + 0xc8], r13
mov qword [rbp + 0xd0], 0xf
mov byte [rbp + 0xb8], 0
lea rcx, [rbp + 0x2c0]
cmp qword [rbp + 0x2d8], 7
cmova rcx, qword [rbp + 0x2c0]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp + 0x330]
call fcn.1800140a4
mov r8d, eax
test eax, eax
jne 0x180009173
mov ecx, dword [rbp + 0x340]
bt ecx, 0xa
jae 0x180009168
mov edx, dword [rbp + 0x344]
cmp edx, 0xa000000c
jne 0x180009159
lea ecx, [rax + 4]
jmp 0x180009190
cmp edx, 0xa0000003
jne 0x180009168
mov ecx, 0xa
jmp 0x180009190
and ecx, 0x10
or ecx, 0x20
shr ecx, 4
jmp 0x180009190
sub eax, 2
je 0x18000918b
sub eax, 1
je 0x18000918b
sub eax, 0x32
je 0x18000918b
cmp eax, 0x46
je 0x18000918b
xor al, al
jmp 0x18000918d
mov al, 1
movzx ecx, al
mov dword [rbp + 0x100], r8d
lea rbx, [0x18026d750]
mov qword [rbp + 0x108], rbx
movaps xmm0, xmmword [rbp + 0x100]
movdqa xmmword [rbp + 0x2b0], xmm0
test ecx, ecx
je 0x1800091ce
mov dword [rbp + 0x2b0], r13d
mov qword [rbp + 0x2b8], rbx
cmp ecx, 1
setne al
jmp 0x1800091d9
xor al, al
test r8d, r8d
jne 0x1800096a4
test al, al
jne 0x18000931c
mov rdx, qword [rbp + 0x2d8]
cmp rdx, 7
jbe 0x180009230
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180009222
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800093ab
call fcn.1800145b0
nop word [rax + rax]
lea rdx, [rbp + 0x5d0]
mov rcx, qword [rsi + 0x40]
call fcn.180013ff0
cmp eax, 0x12
je 0x180009287
test eax, eax
jne 0x180009675
cmp word [rbp + 0x5fc], 0x2e
jne 0x180009273
movzx eax, word [rbp + 0x5fe]
test ax, ax
je 0x180009230
cmp ax, 0x2e
jne 0x180009273
cmp word [rbp + 0x600], 0
je 0x180009230
lea rdx, [rbp + 0x5d0]
mov rcx, rsi
call fcn.180002ed0
jmp 0x180008bc3
mov rsi, r13
mov qword [rbp + 0x2a0], r13
mov rbx, r15
mov r15, r13
mov qword [rbp + 0x2a8], r13
test rbx, rbx
je 0x180008bc3
mov eax, r14d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1800092d0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
je 0x1800092d9
nop dword [rax]
mov edi, dword [rsp + 0x20]
jmp 0x180008bb5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov edi, dword [rsp + 0x20]
jmp 0x180008bb5
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
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
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rax, [rbp + 0x2c0]
cmp qword [rbp + 0x2d8], 7
cmova rax, qword [rbp + 0x2c0]
mov qword [rbp + 0x110], rax
mov rax, qword [rbp + 0x2d0]
mov qword [rbp + 0x118], rax
call fcn.180013d90
movaps xmm0, xmmword [rbp + 0x110]
movdqa xmmword [rbp + 0x250], xmm0
lea r8, [rbp + 0x250]
mov edx, eax
mov rcx, r12
call fcn.1800134b0
nop
mov rdx, qword [rbp + 0x2d8]
cmp rdx, 7
jbe 0x1800093b7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2c0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800093b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800093b2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
mov qword [rbp + 0x2d0], r13
mov qword [rbp + 0x2d8], 7
mov word [rbp + 0x2c0], r13w
test r15, r15
je 0x18000940e
mov eax, r14d
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x18000940e
mov rbx, qword [rbp + 0x2a8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18000940e
mov rcx, qword [rbp + 0x2a8]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0x298]
test rcx, rcx
je 0x180009450
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x180009450
mov rbx, qword [rbp + 0x298]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x180009450
mov rcx, qword [rbp + 0x298]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0x318]
cmp rdx, 7
jbe 0x180009499
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x300]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180009494
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180009494
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
mov qword [rbp + 0x310], r13
mov qword [rbp + 0x318], 7
mov word [rbp + 0x300], r13w
mov rdx, qword [rbp + 0x2f8]
cmp rdx, 0xf
jbe 0x18000963d
inc rdx
mov rcx, qword [rbp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180009638
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180009638
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test r15, r15
je 0x18000953b
mov eax, r14d
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x18000953b
mov rbx, qword [rbp + 0x2a8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r14d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x18000953b
mov rcx, qword [rbp + 0x2a8]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0x298]
test rcx, rcx
je 0x18000957c
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x18000957c
mov rbx, qword [rbp + 0x298]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r14d
cmp r14d, 1
jne 0x18000957c
mov rcx, qword [rbp + 0x298]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
mov word [rsp + 0x28], ax
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x28]
mov rcx, r12
call fcn.1800113a0
nop
mov rdx, qword [rbp + 0x318]
cmp rdx, 7
jbe 0x1800095df
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x300]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800095da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800095da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
mov qword [rbp + 0x310], r13
mov qword [rbp + 0x318], 7
mov word [rbp + 0x300], r13w
mov rdx, qword [rbp + 0x2f8]
cmp rdx, 0xf
jbe 0x18000963d
inc rdx
mov rcx, qword [rbp + 0x2e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180009638
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180009638
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800145b0
mov rax, r12
mov rcx, qword [rbp + 0x820]
xor rcx, rsp
call fcn.180014590
lea r11, [rsp + 0x940]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov edx, eax
call fcn.180002a00
nop
lea r8, [rbp + 0x300]
mov edx, ebx
lea rcx, str.directory_iterator::directory_iterator
call fcn.180002af0
nop
lea r8, [rsi + 0x20]
lea rcx, str.directory_entry::status
call fcn.180002af0
nop
lea r8, [rbp + 0x2c0]
lea rdx, [rbp + 0x2b0]
call fcn.180002b60
int3