Function at 0x180004c40
Capabilities:
Enumerate files on windows
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x6f0
mov rax, qword [0x18000e040]
xor rax, rsp
mov qword [rsp + 0x6e8], rax
xor ebx, ebx
mov r13d, ebx
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x1e0], xmm0
mov qword [rsp + 0x1f0], rax
movups xmmword [rsp + 0x100], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x110], xmm1
mov r8d, 0x3c
lea rdx, str._LOCALAPPDATA_GoogleChrome_BetaUser_DataCrashpad_reports
lea rcx, [rsp + 0x100]
call fcn.180006ca0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x120], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x130], xmm1
mov r8d, 0x3e
lea rdx, [0x18000a780]
lea rcx, [rsp + 0x120]
call fcn.180006ca0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x140], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x150], xmm1
mov r8d, 0x3c
lea rdx, [0x18000a800]
lea rcx, [rsp + 0x140]
call fcn.180006ca0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x160], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x170], xmm1
mov r8d, 0x3d
lea rdx, [0x18000a880]
lea rcx, [rsp + 0x160]
call fcn.180006ca0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x180], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x190], xmm1
mov r8d, 0x3b
lea rdx, [0x18000a900]
lea rcx, [rsp + 0x180]
call fcn.180006ca0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x1a0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x1b0], xmm1
mov r8d, 0x43
lea rdx, [0x18000a980]
lea rcx, [rsp + 0x1a0]
call fcn.180006ca0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x1c0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x1d0], xmm1
mov r8d, 0x4f
lea rdx, [0x18000aa10]
lea rcx, [rsp + 0x1c0]
call fcn.180006ca0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x1e0], xmm0
mov qword [rsp + 0x1f0], rbx
mov ecx, 0xe0
call fcn.180008040
mov rdi, rax
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x1e8], rax
lea rcx, [rax + 0xe0]
mov qword [rsp + 0x1f0], rcx
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0xc8], rax
lea rsi, [rsp + 0x100]
xorps xmm0, xmm0
movups xmmword [rsp + 0x240], xmm0
mov qword [rsp + 0x240], rdi
mov qword [rsp + 0x248], rdi
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x250], rax
nop
mov rdx, rsi
mov rcx, rdi
call fcn.180006010
add rdi, 0x20
mov qword [rsp + 0x248], rdi
add rsi, 0x20
lea rax, [rsp + 0x1e0]
cmp rsi, rax
jne 0x180004e70
mov rdx, rdi
mov rcx, rdi
call fcn.180006f20
mov qword [rsp + 0x1e8], rdi
lea r9, [0x1800021d0]
mov edx, 0x20
mov r8d, 7
lea rcx, [rsp + 0x100]
call fcn.18000807c
mov rcx, qword [rsp + 0x1e0]
mov rdx, rcx
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0xc8], rax
lea r15, [0x18000a61c]
mov qword [rsp + 0xc0], rdx
cmp rdx, qword [rsp + 0xc8]
je 0x18000567f
mov rcx, rdx
cmp qword [rdx + 0x18], 7
jbe 0x180004f0f
mov rcx, qword [rdx]
mov r8d, 0x104
lea rdx, [rsp + 0x4d0]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
lea rax, [rsp + 0x4d0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180004f44
lea rdx, [rsp + 0x4d0]
lea rcx, [rsp + 0x58]
call fcn.180006ca0
nop
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rax, 2
jb 0x180004fa3
lea rax, [rcx + 2]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x58]
cmp rdx, 7
cmova rax, qword [rsp + 0x58]
mov dword [rax + rcx*2], 0x2a005c
mov word [rax + rcx*2 + 4], bx
lea rax, [rsp + 0x58]
jmp 0x180004fc2
mov qword [rsp + 0x20], 2
lea r9, [0x18000aab0]
mov edx, 2
lea rcx, [rsp + 0x58]
call fcn.180006ad0
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x98], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0xa8], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
or r13d, 0x10
lea rcx, [rsp + 0x98]
cmp qword [rsp + 0xb0], 7
cmova rcx, qword [rsp + 0x98]
lea rdx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb0]
cmp rdx, 7
jbe 0x180005085
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005080
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005080
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800084c4
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], 7
mov word [rsp + 0x98], bx
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x1800050e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800050e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800050e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800084c4
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], bx
cmp rdi, 0xffffffffffffffff
je 0x180005666
xorps xmm0, xmm0
movups xmmword [rsp + 0x210], xmm0
mov qword [rsp + 0x220], rbx
mov qword [rsp + 0x228], rbx
lea rax, [rsp + 0x2ac]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x180005130
lea rdx, [rsp + 0x2ac]
lea rcx, [rsp + 0x210]
call fcn.180006ca0
nop
lea r8, [rsp + 0x210]
mov r14, qword [rsp + 0x210]
mov r12, qword [rsp + 0x228]
cmp r12, 7
cmova r8, r14
mov rsi, qword [rsp + 0x220]
cmp rsi, 1
jne 0x1800051aa
mov rdx, rsi
mov rcx, r15
test rsi, rsi
je 0x180005606
sub r8, r15
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x1800051aa
add rcx, 2
sub rdx, 1
jne 0x180005191
jmp 0x180005606
lea r8, [rsp + 0x210]
cmp r12, 7
cmova r8, r14
cmp rsi, 2
jne 0x1800051f9
mov rdx, rsi
lea rax, [0x18000a620]
mov rcx, rax
test rsi, rsi
je 0x180005606
sub r8, rax
nop dword [rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x1800051f9
add rcx, 2
sub rdx, 1
jne 0x1800051e0
jmp 0x180005606
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rbx
lea rax, [rsp + 0x4d0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180005220
lea rdx, [rsp + 0x4d0]
lea rcx, [rsp + 0x78]
call fcn.180006ca0
nop
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x180005283
lea rax, [rcx + 1]
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x78]
cmp rdx, 7
cmova rax, qword [rsp + 0x78]
mov dword [rax + rcx*2], 0x5c
lea rax, [rsp + 0x78]
jmp 0x1800052a2
mov qword [rsp + 0x20], 1
lea r9, [0x18000a6f4]
mov edx, 1
lea rcx, [rsp + 0x78]
call fcn.180006ad0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea r9, [rsp + 0x210]
cmp r12, 7
cmova r9, r14
mov r15, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
sub rax, r15
cmp rsi, rax
ja 0x180005330
lea rax, [rsi + r15]
mov qword [rsp + 0x48], rax
lea rdi, [rsp + 0x38]
cmp rcx, 7
cmova rdi, qword [rsp + 0x38]
lea rcx, [rdi + r15*2]
lea r8, [rsi + rsi]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [r15 + rsi]
mov word [rdi + rax*2], bx
lea rax, [rsp + 0x38]
jmp 0x180005352
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.180006ad0
mov r12, qword [rsp + 0x228]
mov r14, qword [rsp + 0x210]
xorps xmm0, xmm0
movups xmmword [rsp + 0x260], xmm0
mov qword [rsp + 0x270], rbx
mov qword [rsp + 0x278], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x260], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x270], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
or r13d, 0xc
mov dword [rsp + 0x30], r13d
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x1800053e1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800053dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800053dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800084c4
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], bx
mov rdx, qword [rsp + 0x90]
cmp rdx, 7
jbe 0x18000543c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005437
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180005437
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800084c4
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], 7
mov word [rsp + 0x78], bx
lea rdx, [rsp + 0x260]
cmp qword [rsp + 0x278], 7
cmova rdx, qword [rsp + 0x260]
xorps xmm0, xmm0
movups xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xe8], rbx
mov r8, qword [rsp + 0x270]
lea rcx, [rsp + 0xd0]
call fcn.180006ca0
or r13d, 3
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x200], 0
lea rdi, [0x18000e0c8]
mov qword [rsp + 0x208], rdi
lea rcx, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 7
cmova rcx, qword [rsp + 0xd0]
call fcn.180007dec
mov rdx, rax
shr rdx, 0x20
movzx ecx, al
mov qword [rsp + 0x230], rcx
mov dword [rsp + 0x240], edx
mov qword [rsp + 0x248], rdi
movaps xmm0, xmmword [rsp + 0x240]
movdqa xmmword [rsp + 0x200], xmm0
cmp edx, 0x91
jne 0x180005539
lea r8, [rsp + 0x230]
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0xd0]
call fcn.180003420
cmp dword [rsp + 0x200], 0
jne 0x180005707
mov rdx, qword [rsp + 0xe8]
cmp rdx, 7
jbe 0x180005593
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000558d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000558d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800084c4
nop
jmp 0x1800055ac
lea r15, [0x18000a61c]
mov rdx, qword [rsp + 0x278]
cmp rdx, 7
jbe 0x1800055fe
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x260]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800055f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800055f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800084c4
mov rdi, qword [rsp + 0xb8]
cmp r12, 7
jbe 0x180005644
lea rdx, [r12*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x18000563c
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000563c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r14
call fcn.1800084c4
lea rdx, [rsp + 0x280]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x180005103
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdx, qword [rsp + 0xc0]
add rdx, 0x20
mov rcx, qword [rsp + 0x1e0]
jmp 0x180004eec
test rcx, rcx
je 0x1800056d5
mov rdx, qword [rsp + 0x1e8]
call fcn.180006f20
mov rdx, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1e0]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800056d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800056d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800084c4
mov rcx, qword [rsp + 0x6e8]
xor rcx, rsp
call fcn.180008020
lea r11, [rsp + 0x6f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
mov qword [rsp + 0x230], 0xffffffffffffffff
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x200]
call fcn.180002bf0
int3