Function at 0x1400042a0
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0x9d8]
sub rsp, 0xad8
mov rax, qword [0x14006b008]
xor rax, rsp
mov qword [rbp + 0x9c0], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x250
call fcn.140008710
xor edx, edx
lea rcx, [rbp + 0x390]
mov r8d, 0x20a
call fcn.140008710
xor edx, edx
lea rcx, [rbp + 0x180]
mov r8d, 0x208
call fcn.140008710
xor edx, edx
lea rcx, [rbp + 0x5a0]
mov r8d, 0x208
call fcn.140008710
xor edx, edx
lea rcx, [rbp + 0x7b0]
mov r8d, 0x208
call fcn.140008710
test rbx, rbx
jne 0x140004334
xor eax, eax
jmp 0x1400045a1
mov qword [rsp + 0xaf8], rsi
lea rdx, [0x140055128]
mov qword [rsp + 0xb00], rdi
mov rcx, rbx
mov qword [rsp + 0xad0], r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r14d, r14d
mov rsi, rax
test rax, rax
je 0x140004584
mov edx, 0x104
lea rcx, [rbp + 0x5a0]
call fcn.140001c10
test eax, eax
je 0x140004584
lea r8, [rbp + 0x5a0]
mov edx, 0x104
lea rax, [rbp + 0x180]
sub r8, rax
lea rcx, [rbp + 0x180]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x1400043c4
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1400043c4
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400043a1
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
je 0x140004584
xor edx, edx
lea rcx, [rbp + 0x180]
lea r8d, [rdx + 0x5c]
call qword [sym.imp.SHLWAPI.dll_StrRChrW]
test rax, rax
je 0x140004584
mov word [rax], r14w
mov ecx, 0x104
lea rax, [rbp + 0x180]
cmp word [rax], r14w
je 0x140004415
add rax, 2
sub rcx, 1
jne 0x140004405
mov eax, 0x104
mov r8, r14
sub rax, rcx
test rcx, rcx
cmovne r8, rax
je 0x140004584
mov edx, 0x104
lea rcx, [rbp + 0x180]
lea rcx, [rcx + r8*2]
sub rdx, r8
je 0x140004477
lea rax, [r8 + 0x7ffffefa]
add rax, rdx
lea r9, str..._apps
sub r9, rcx
test rax, rax
je 0x140004477
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004477
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004456
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r14w
je 0x140004584
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x390]
call qword [sym.imp.SHLWAPI.dll_PathCanonicalizeW]
test eax, eax
je 0x140004584
lea r9, [rbp + 0x180]
mov edx, 0x105
lea r8, str._s.msi
lea rcx, [rbp + 0x390]
call fcn.140004810
test eax, eax
js 0x140004584
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x390]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140004584
mov edi, 1
lea rdx, [0x1400546f4]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x140004559
lea rdx, [0x140054934]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x140004559
lea rax, [rsp + 0x5c]
mov edx, 0x104
lea r9, [rbp + 0x180]
mov qword [rsp + 0x20], rax
lea r8, [0x140055170]
lea rcx, [rbp + 0x7b0]
call fcn.140004810
test eax, eax
js 0x140004576
lea rcx, [rbp + 0x7b0]
call rsi
test eax, eax
jne 0x140004576
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400044f3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x140004587
mov rcx, rbx
mov edi, r14d
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x140004587
mov edi, r14d
mov r14, qword [rsp + 0xad0]
mov eax, edi
mov rdi, qword [rsp + 0xb00]
mov rsi, qword [rsp + 0xaf8]
mov rcx, qword [rbp + 0x9c0]
xor rcx, rsp
call fcn.1400074e0
add rsp, 0xad8
pop rbx
pop rbp
ret