Function at 0x140157180
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push r12
push r13
sub rsp, 0x40
xor r13d, r13d
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r14
mov rbx, rcx
or r12, 0xffffffffffffffff
mov qword [rax + 0x20], r15
lea esi, [r13 + 0x2a]
nop dword [rax + rax]
cmp qword [rbx + 0x48], 0xffffffffffffffff
jne 0x14015725e
cmp qword [rbx + 0x30], r13
je 0x1401573ee
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0x10]
call fcn.140009480
mov r8, qword [rax]
test r8, r8
jne 0x1401571e0
mov r8, r13
jmp 0x1401571e3
mov r8, qword [r8]
mov rdx, qword [rax + 0x10]
mov rax, qword [r8 + 0x10]
dec rax
mov rcx, rdx
and edx, 1
shr rcx, 1
and rcx, rax
mov rax, qword [r8 + 8]
mov rax, qword [rax + rcx*8]
mov rcx, qword [rax + rdx*8]
mov qword [rbx + 0x38], rcx
dec qword [rbx + 0x30]
jne 0x140157216
mov qword [rbx + 0x28], r13
jmp 0x14015721a
inc qword [rbx + 0x28]
mov rcx, qword [rbx + 0x38]
mov rax, r12
inc rax
cmp word [rcx + rax*2], r13w
jne 0x140157221
mov dword [rbx + 0x40], eax
cdqe
lea rdx, [rbx + 0x50]
mov word [rcx + rax*2], si
movsxd rcx, dword [rbx + 0x40]
mov rax, qword [rbx + 0x38]
mov word [rax + rcx*2 + 2], r13w
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbx + 0x48], rax
cmp rax, 0xffffffffffffffff
je 0x1401571b0
test byte [rbx + 0x50], 0x10
mov r14b, 1
je 0x140157363
mov ecx, 2
lea rdx, [0x140347c20]
lea r8, [rbx + 0x7c]
nop dword [rax + rax]
movzx eax, word [rdx]
cmp word [r8], ax
jne 0x14015729e
add r8, 2
add rdx, 2
dec rcx
jne 0x140157280
xor r14b, r14b
jmp 0x1401573a2
cmp word [r8], ax
mov ecx, 1
cmovb ecx, r12d
test ecx, ecx
je 0x140157296
mov ecx, 3
lea rdx, [0x14034e8ac]
lea r8, [rbx + 0x7c]
nop
movzx eax, word [rdx]
cmp word [r8], ax
jne 0x1401572de
add r8, 2
add rdx, 2
dec rcx
jne 0x1401572c0
xor r14b, r14b
jmp 0x1401573a2
cmp word [r8], ax
mov ecx, 1
cmovb ecx, r12d
test ecx, ecx
je 0x140157296
mov rbp, r12
inc rbp
cmp word [rbx + rbp*2 + 0x7c], r13w
jne 0x1401572f2
movsxd rcx, dword [rbx + 0x40]
mov rax, qword [rbx + 0x38]
lea rdx, [rbx + 0x7c]
lea rsi, [rax + rcx*2]
movsxd rax, ebp
lea rdi, [rax + rax]
mov rcx, rsi
mov r8, rdi
call fcn.1402b9d30
mov eax, dword [0x140357730]
mov dword [rdi + rsi], eax
mov ecx, dword [rbx + 0x40]
add ecx, 0x104
add ecx, ebp
movsxd rdi, ecx
lea rcx, [rdi + rdi]
call fcn.1402b9c60
mov r8, qword [rbx + 0x38]
mov rdx, rdi
mov rcx, rax
mov qword [rsp + 0x70], rax
call fcn.1402b96f8
lea rcx, [rbx + 0x10]
lea rdx, [rsp + 0x70]
call fcn.140008cf0
jmp 0x14015739d
lea rdx, [rbx + 0x7c]
mov r8, r12
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], r13w
jne 0x140157370
movsxd rcx, dword [rbx + 0x40]
mov rax, qword [rbx + 0x38]
lea rsi, [rax + rcx*2]
movsxd rax, r8d
lea rdi, [rax + rax]
mov rcx, rsi
mov r8, rdi
call fcn.1402b9d30
mov word [rdi + rsi], r13w
mov esi, 0x2a
mov rcx, qword [rbx + 0x48]
lea rdx, [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1401573c2
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rbx + 0x48], r12
test r14b, r14b
je 0x1401571b0
mov al, 1
mov r15, qword [rsp + 0x88]
mov r14, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret
xor al, al
jmp 0x1401573cd