Function at 0x14004a15c
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0x6b8]
sub rsp, 0x7a0
mov rax, qword [0x1400e5430]
xor rax, rsp
mov qword [rbp + 0x690], rax
mov rax, qword [0x1400ea2f8]
mov ebx, pe_nt_image_headers64
xor edi, edi
mov r9, qword [rax + 0x70]
mov rsi, rcx
lea r12d, [rbx - 0x7f]
test r9, r9
je 0x14004a1bf
mov r8d, r12d
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [0x1400ea2f8]
mov r9, qword [rax + 0x78]
test r9, r9
je 0x14004a1d6
xor r8d, r8d
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rsi
mov rdx, rax
call fcn.14002e510
mov rcx, qword [0x1400e9270]
xor r9d, r9d
mov dword [rsp + 0x30], edi
lea r8d, [r9 + 0x10]
mov edx, 0x89
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0xc0c0c0
call qword [sym.imp.COMCTL32.dll_ImageList_LoadImageW]
mov edx, 0x417
mov rcx, rsi
mov qword [0x1400eb598], rax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r14d, 0xfffffff0
mov rcx, rax
mov edx, r14d
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, r14d
mov rcx, rbx
or eax, 0x94c
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov r9, qword [0x1400eb598]
xor r8d, r8d
mov edx, 0x430
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
lea r9, [0x1400b80f0]
lea r8d, [r14 + 0x14]
mov edx, 0x444
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x408
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r9d, 0x4020
xor r8d, r8d
mov rcx, rax
mov edx, 0x1036
mov rbx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
lea rdx, [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [r14 + 0x25]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea r8d, [r14 + 0x48]
lea rcx, [rsp + 0x40]
sub dword [rbp - 0x80], eax
xor edx, edx
call fcn.1400809a0
mov rcx, qword [0x1400e9270]
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x50], rax
mov eax, dword [rbp - 0x80]
lea r9d, [r14 + 0x50]
cdq
lea r8, [rbp + 0x1f0]
mov dword [rsp + 0x40], 6
sub eax, edx
lea edx, [r9 + 0x47]
sar eax, 1
mov dword [rsp + 0x48], eax
call qword [sym.imp.USER32.dll_LoadStringW]
mov r14d, 0x1061
lea r9, [rsp + 0x40]
mov edx, r14d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rbp - 0x80]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rsp + 0x48], eax
mov rcx, qword [0x1400e9270]
mov r9d, 0x40
lea r8, [rbp + 0x1f0]
lea edx, [r9 + 0x4e]
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9, [rsp + 0x40]
mov r8, r12
mov edx, r14d
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rbp - 0x80]
mov rcx, qword [0x1400e9270]
cdq
mov r9d, 0x40
lea r8, [rbp + 0x1f0]
and edx, 3
add eax, edx
lea edx, [r9 + 0x4f]
sar eax, 2
mov dword [rsp + 0x48], eax
call qword [sym.imp.USER32.dll_LoadStringW]
lea r9, [rsp + 0x40]
mov r8d, 2
mov edx, r14d
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
or qword [0x1400e5148], 0xffffffffffffffff
test byte [0x1400e9488], r12b
mov qword [0x1400eb588], rdi
mov dword [0x1400eb580], edi
je 0x14004a44e
lea r8, [0x1400b5514]
lea rdx, [0x1400ea510]
lea rcx, [rbp + 0x480]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x480]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14004a45d
test byte [rbp - 0x60], 0x10
jne 0x14004a432
lea r8, [rbp - 0x34]
lea rdx, [0x1400ea510]
lea rcx, [rbp + 0x270]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea rdx, [rbp + 0x270]
mov rcx, rbx
call fcn.140049b24
lea rdx, [rbp - 0x60]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14004a405
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x14004a45d
lea rdx, [0x1400ea720]
mov rcx, rbx
call fcn.140049b24
mov rax, qword [0x1400ea940]
mov r14, rax
test rax, rax
je 0x14004a4ac
cmp rdi, rax
jb 0x14004a484
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0xc000008c
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov rax, qword [0x1400ea938]
mov rcx, rbx
mov rdx, qword [rax + rdi*8]
add rdx, 8
call fcn.140049b24
add rdi, r12
cmp rdi, r14
jae 0x14004a4ac
mov rax, qword [0x1400ea940]
jmp 0x14004a46c
mov edx, 0x40c
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetDlgItem]
lea rdi, [0x1400eb6a8]
mov rdx, rax
mov rcx, rdi
call fcn.14004db74
lea rdx, [rbp - 0x78]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [rbp - 0x6c]
mov rcx, rdi
call fcn.14004de50
mov r8, rbx
xor edx, edx
mov rcx, rdi
call fcn.14004dc58
mov edx, 0x409
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, r12d
mov rcx, rdi
mov r8, rax
call fcn.14004dc58
lea r8, [0x1400eb5a0]
lea rcx, [0x1400eb678]
mov r9d, 6
mov rdx, rsi
mov byte [rsp + 0x20], r12b
call fcn.14004a9c8
lea rcx, [0x1400e5150]
mov rdx, rbx
call fcn.14002edf0
mov eax, r12d
mov rcx, qword [rbp + 0x690]
xor rcx, rsp
call fcn.14007e1c0
lea r11, [rsp + 0x7a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret