Function at 0x140058f10
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, 0x6e0
mov rax, qword [0x14012c040]
xor rax, rsp
mov qword [rsp + 0x6d8], rax
xor ebx, ebx
mov r15d, ebx
mov dword [rsp + 0x20], ebx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x1d0], xmm0
mov qword [rsp + 0x1e0], rax
movups xmmword [rsp + 0xf0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x100], xmm1
mov r8d, 0x3c
lea rdx, str._LOCALAPPDATA_GoogleChrome_BetaUser_DataCrashpad_reports
lea rcx, [rsp + 0xf0]
call fcn.140054310
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x110], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x120], xmm1
mov r8d, 0x3e
lea rdx, str._LOCALAPPDATA_GoogleChrome_BetaUser_DataCrashpadcompleted
lea rcx, [rsp + 0x110]
call fcn.140054310
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x130], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x140], xmm1
mov r8d, 0x3c
lea rdx, str._LOCALAPPDATA_GoogleChrome_BetaUser_DataCrashpadpending
lea rcx, [rsp + 0x130]
call fcn.140054310
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x150], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x160], xmm1
mov r8d, 0x3d
lea rdx, str._LOCALAPPDATA_GoogleChrome_BetaUser_DataCrashpadmetadata
lea rcx, [rsp + 0x150]
call fcn.140054310
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x170], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x180], xmm1
mov r8d, 0x3b
lea rdx, str._LOCALAPPDATA_GoogleChrome_BetaUser_DataDefaultLogging
lea rcx, [rsp + 0x170]
call fcn.140054310
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x190], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x1a0], xmm1
mov r8d, 0x43
lea rdx, str._LOCALAPPDATA_GoogleChrome_BetaUser_DataDefaultExtension_State
lea rcx, [rsp + 0x190]
call fcn.140054310
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x1b0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0x1c0], xmm1
mov r8d, 0x4f
lea rdx, str._LOCALAPPDATA_GoogleChrome_BetaUser_DataDefaultService_WorkerCacheStorage
lea rcx, [rsp + 0x1b0]
call fcn.140054310
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x1d0], xmm0
mov qword [rsp + 0x1e0], rbx
mov ecx, 0xe0
call fcn.14007eff8
mov rdi, rax
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x1d8], rax
lea rcx, [rax + 0xe0]
mov qword [rsp + 0x1e0], rcx
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x50], rax
lea rsi, [rsp + 0xf0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x230], xmm0
mov qword [rsp + 0x230], rdi
mov qword [rsp + 0x238], rdi
lea rax, [rsp + 0x1d0]
mov qword [rsp + 0x240], rax
nop dword [rax]
mov rdx, rsi
mov rcx, rdi
call fcn.14007b540
add rdi, 0x20
mov qword [rsp + 0x238], rdi
add rsi, 0x20
lea rax, [rsp + 0x1d0]
cmp rsi, rax
jne 0x140059140
mov rdx, rdi
mov rcx, rdi
call fcn.14007cdd0
mov qword [rsp + 0x1d8], rdi
lea r9, [0x140048fb0]
mov edx, 0x20
mov r8d, 7
lea rcx, [rsp + 0xf0]
call fcn.14007f2a8
mov r12, qword [rsp + 0x1d0]
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0x48], r12
cmp r12, qword [rsp + 0xd8]
je 0x14005983f
mov rcx, r12
cmp qword [r12 + 0x18], 7
jbe 0x1400591d4
mov rcx, qword [r12]
mov r8d, 0x104
lea rdx, [rsp + 0x4c0]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], rbx
lea rax, [rsp + 0x4c0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140059212
lea rdx, [rsp + 0x4c0]
lea rcx, [rsp + 0x98]
call fcn.140054310
nop
mov r8d, 2
lea rdx, [0x140114c98]
lea rcx, [rsp + 0x98]
call fcn.14007b4c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x38], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
or r15d, 0x10
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 7
cmova rcx, qword [rsp + 0x28]
lea rdx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r13, rax
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x1400592ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400592ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400592ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007eed0
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], bx
mov rdx, qword [rsp + 0xb0]
cmp rdx, 7
jbe 0x14005934d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059348
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059348
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007eed0
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], 7
mov word [rsp + 0x98], bx
cmp r13, 0xffffffffffffffff
je 0x140059836
xorps xmm0, xmm0
movups xmmword [rsp + 0x200], xmm0
mov qword [rsp + 0x210], rbx
mov qword [rsp + 0x218], rbx
lea rax, [rsp + 0x29c]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400593a0
lea rdx, [rsp + 0x29c]
lea rcx, [rsp + 0x200]
call fcn.140054310
nop
lea r8, [rsp + 0x200]
mov rdi, qword [rsp + 0x200]
mov rsi, qword [rsp + 0x218]
cmp rsi, 7
cmova r8, rdi
mov r14, qword [rsp + 0x210]
cmp r14, 1
jne 0x140059429
mov rdx, r14
lea rax, [0x140114764]
mov rcx, rax
test r14, r14
je 0x1400597d6
sub r8, rax
nop dword [rax + rax]
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x140059429
add rcx, 2
sub rdx, 1
jne 0x140059410
jmp 0x1400597d6
lea r8, [rsp + 0x200]
cmp rsi, 7
cmova r8, rdi
cmp r14, 2
jne 0x140059479
mov rdx, r14
lea rcx, [0x14011475c]
mov rax, rcx
test r14, r14
je 0x1400597d6
sub r8, rcx
nop dword [rax + rax]
movzx ecx, word [rax + r8]
cmp cx, word [rax]
jne 0x140059479
add rax, 2
sub rdx, 1
jne 0x140059460
jmp 0x1400597d6
xorps xmm0, xmm0
movups xmmword [rsp + 0xb8], xmm0
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xd0], rbx
lea rax, [rsp + 0x4c0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400594a3
lea rdx, [rsp + 0x4c0]
lea rcx, [rsp + 0xb8]
call fcn.140054310
nop
mov r8d, 1
lea rdx, [0x140114970]
lea rcx, [rsp + 0xb8]
call fcn.14007b4c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x88], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea rdx, [rsp + 0x200]
cmp rsi, 7
cmova rdx, rdi
mov r8, r14
lea rcx, [rsp + 0x78]
call fcn.14007b4c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x250], xmm0
mov qword [rsp + 0x260], rbx
mov qword [rsp + 0x268], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x250], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x260], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
or r15d, 0xc
mov dword [rsp + 0x20], r15d
mov rdx, qword [rsp + 0x90]
cmp rdx, 7
jbe 0x1400595c8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400595c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400595c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007eed0
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], 7
mov word [rsp + 0x78], bx
mov rdx, qword [rsp + 0xd0]
cmp rdx, 7
jbe 0x14005962c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059627
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059627
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007eed0
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xd0], 7
mov word [rsp + 0xb8], bx
lea rdx, [rsp + 0x250]
cmp qword [rsp + 0x268], 7
cmova rdx, qword [rsp + 0x250]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov r8, qword [rsp + 0x260]
lea rcx, [rsp + 0x58]
call fcn.140054310
or r15d, 3
mov dword [rsp + 0x20], r15d
mov qword [rsp + 0x1f0], 0
lea rdi, [0x140196ce8]
mov qword [rsp + 0x1f8], rdi
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rcx, qword [rsp + 0x58]
call fcn.140080460
mov rdx, rax
shr rdx, 0x20
movzx ecx, al
mov qword [rsp + 0x220], rcx
mov dword [rsp + 0x230], edx
mov qword [rsp + 0x238], rdi
movaps xmm0, xmmword [rsp + 0x230]
movdqa xmmword [rsp + 0x1f0], xmm0
cmp edx, 0x91
jne 0x140059714
lea r8, [rsp + 0x220]
lea rdx, [rsp + 0x1f0]
lea rcx, [rsp + 0x58]
call fcn.140056db0
cmp dword [rsp + 0x1f0], 0
jne 0x14005987e
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140059768
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059762
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059762
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007eed0
nop
jmp 0x14005977b
mov rdx, qword [rsp + 0x268]
cmp rdx, 7
jbe 0x1400597c6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x250]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400597c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400597c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007eed0
mov rdi, qword [rsp + 0x200]
mov rsi, qword [rsp + 0x218]
cmp rsi, 7
jbe 0x140059814
lea rdx, [rsi*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14005980c
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005980c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14007eed0
lea rdx, [rsp + 0x270]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140059373
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
add r12, 0x20
jmp 0x1400591b2
lea rcx, [rsp + 0x1d0]
call fcn.14007bb70
mov rcx, qword [rsp + 0x6d8]
xor rcx, rsp
call fcn.14007ec10
lea r11, [rsp + 0x6e0]
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 + 0x220], 0xffffffffffffffff
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x1f0]
call fcn.140056580
int3