Function at 0x140039693
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
sub rsp, 0x2f0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x280], rcx
mov qword [rbp + 0x288], rdx
mov qword [rbp + 0x260], 0
call fcn.1400e6a40
mov rax, qword [rbp + 0x280]
mov rdx, rax
lea rcx, [rbp + 0x280]
call fcn.1400e7040
mov rdx, qword [rbp + 0x288]
lea rax, [rbp + 0x288]
mov rcx, rax
call fcn.1400e7040
mov qword [rbp + 0x200], 0
lea rax, [rbp - 0x50]
mov edx, 0x250
mov r8, rdx
mov edx, 0
mov rcx, rax
call fcn.140073d90
mov dword [rbp + 0x25c], 0
mov qword [rbp - 0x58], 0
call fcn.1400e6ab0
call fcn.1400e6ab0
call fcn.1400e6b10
mov edx, eax
mov rax, qword [rbp + 0x280]
mov r8d, edx
mov edx, 1
mov rcx, rax
call fcn.1400e4d10
call fcn.1400e6f30
call fcn.1400e6bf0
mov qword [rbp + 0x250], rax
lea rax, [0x14084b210]
mov qword [rbp + 0x248], rax
mov rdx, qword [rbp + 0x250]
mov rax, qword [rbp + 0x248]
mov rcx, rax
call fcn.1400e6f60
test eax, eax
jne 0x1400397bc
call fcn.1400e6ab0
mov rax, qword [rbp + 0x280]
mov rcx, rax
call fcn.1400e6cf0
lea rax, [0x14084b210]
mov rcx, rax
call fcn.1400e6cf0
call fcn.1400e6b10
mov edx, eax
lea rcx, [rbp + 0x280]
call fcn.1400e6d60
jmp 0x1400397bd
nop
call fcn.1400e6ab0
mov rax, qword [rbp + 0x280]
mov rcx, rax
call fcn.1400e6cf0
mov rax, qword [rbp + 0x288]
mov rcx, rax
call fcn.1400e6cf0
call fcn.1400e6b10
mov edx, eax
lea rax, [rbp + 0x200]
mov rcx, rax
call fcn.1400e6d60
lea rax, [rbp - 0x50]
mov qword [rbp + 0x240], rax
mov rax, qword [rbp + 0x200]
mov rcx, rax
mov rax, qword [rbp + 0x240]
mov rdx, rax
call sub.KERNEL32.dll_FindFirstFileW
mov qword [rbp + 0x238], rax
mov rax, qword [rbp + 0x238]
mov dword [rbp + 0x25c], eax
cmp dword [rbp + 0x25c], 0xffffffff
je 0x14003996e
call fcn.1400e6ab0
call fcn.1400e6ab0
lea rax, [rbp - 0x50]
add rax, 0x2c
mov qword [rbp + 0x230], rax
call fcn.1400e6b10
mov edx, eax
mov rax, qword [rbp + 0x230]
mov rcx, rax
call fcn.1400e54e0
call fcn.1400e6b10
mov edx, eax
lea rax, [rbp - 0x58]
mov rcx, rax
call fcn.1400e6d60
mov eax, dword [rbp - 0x50]
and eax, 0x10
test eax, eax
jne 0x1400398e7
mov rax, qword [0x140871cb0]
mov qword [rbp + 0x228], rax
mov rax, qword [rbp + 0x228]
mov rcx, rax
call fcn.1400de9bc
mov qword [rbp + 0x220], rax
call fcn.1400e6ab0
mov rax, qword [rbp + 0x280]
mov rcx, rax
call fcn.1400e6cf0
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.1400e6cf0
call fcn.1400e6b10
mov edx, eax
mov rax, qword [0x140871cb8]
add rax, 0x10
mov rcx, rax
call fcn.1400e6d60
jmp 0x1400398e8
nop
mov qword [rbp + 0x268], 0
mov rax, qword [0x1408716a0]
cmp rax, 1
je 0x140039935
lea rax, [rbp - 0x50]
mov qword [rbp + 0x218], rax
mov eax, dword [rbp + 0x25c]
cdqe
mov rdx, qword [rbp + 0x218]
mov rcx, rax
call sub.KERNEL32.dll_FindNextFileW
mov qword [rbp + 0x210], rax
cmp qword [rbp + 0x210], 0
jne 0x140039943
jmp 0x140039936
nop
mov qword [rbp + 0x268], 1
jmp 0x140039944
nop
cmp qword [rbp + 0x268], 0
jne 0x140039954
nop
jmp 0x14003983b
nop
mov eax, dword [rbp + 0x25c]
cdqe
mov rcx, rax
call sub.KERNEL32.dll_FindClose
mov qword [rbp + 0x208], rax
jmp 0x14003996f
nop
mov qword [rbp + 0x260], 0
mov rax, qword [rbp + 0x280]
mov rcx, rax
call fcn.1400e6fc0
mov rax, qword [rbp + 0x200]
mov rcx, rax
call fcn.1400e6fc0
mov rax, qword [rbp + 0x288]
mov rcx, rax
call fcn.1400e6fc0
mov rax, qword [rbp - 0x58]
mov rcx, rax
call fcn.1400e6fc0
mov rax, qword [rbp + 0x260]
add rsp, 0x2f0
pop rbp
ret