Function at 0x140001970
Capabilities:
Enumerate files on windows

Disassembly:
push rsi
push r14
sub rsp, 0x4b8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x490], rax
xor edx, edx
mov dword [rsp + 0x20], 4
mov r14, rcx
mov r9d, 0x3000
or rcx, 0xffffffffffffffff
lea r8d, [rdx + 0x10]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
je 0x140001c6c
xor eax, eax
mov qword [rsp + 0x4e0], rbp
mov qword [rsi], rax
or rbp, 0xffffffffffffffff
mov qword [rsp + 0x4b0], r12
mov qword [rsi + 8], rax
mov qword [rsp + 0x4a0], r15
nop
inc rbp
cmp word [r14 + rbp*2], ax
jne 0x1400019e0
movzx r12d, word [r14 + rbp*2 - 2]
lea rcx, [rsp + 0x280]
xor edx, edx
mov r8d, 0x104
call fcn.140003800
lea rdx, [rsp + 0x280]
mov rcx, r14
sub rdx, r14
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140001a20
lea rcx, [rsp + 0x280]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140001a40
mov eax, dword [0x140021518]
lea rdx, [rsp + 0x30]
mov dword [rcx], eax
movzx eax, word [0x14002151c]
mov word [rcx + 4], ax
lea rcx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140001c51
mov qword [rsp + 0x4a8], r13
lea r13, str..jar
mov qword [rsp + 0x4d8], rbx
mov qword [rsp + 0x4e8], rdi
nop dword [rax]
lea rax, [rsp + 0x5c]
or rcx, 0xffffffffffffffff
nop dword [rax]
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x140001ab0
lea rdx, [rsp + 0x5c]
lea rdx, [rdx + rcx*2]
lea rcx, [rsp + 0x5c]
lea rax, [0x140021530]
cmp rdx, rcx
je 0x140001c1a
nop word [rax + rax]
cmp rax, r13
je 0x140001b09
movzx ecx, word [rax - 2]
sub rax, 2
sub rdx, 2
cmp word [rdx], cx
jne 0x140001b00
lea rcx, [rsp + 0x5c]
cmp rdx, rcx
jne 0x140001ae0
cmp rax, r13
jne 0x140001c1a
movzx ecx, word [rax]
cmp word [rdx], cx
jne 0x140001c1a
lea rcx, [rsp + 0x5c]
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x140001b20
add rax, rbp
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
xor edx, edx
or rcx, 0xffffffffffffffff
lea rbx, [rax*2 + 4]
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
je 0x140001c30
mov r8, rbx
xor edx, edx
mov rcx, rax
call fcn.140003800
mov rdx, rdi
mov rcx, r14
sub rdx, r14
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140001b80
cmp r12w, 0x5c
je 0x140001bb3
lea rcx, [rdi - 2]
nop dword [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140001ba0
mov eax, dword [0x140021520]
mov dword [rcx], eax
lea rcx, [rdi - 2]
nop word [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140001bc0
lea r8, [rsp + 0x5c]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x140001be0
mov rdx, qword [rsi + 8]
mov rcx, qword [rsi]
lea rdx, [rdx*8 + 8]
call section..text
test rax, rax
je 0x140001c30
mov rcx, qword [rsi + 8]
mov qword [rsi], rax
mov qword [rax + rcx*8], rdi
inc qword [rsi + 8]
lea rdx, [rsp + 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140001aa0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r13, qword [rsp + 0x4a8]
mov rdi, qword [rsp + 0x4e8]
mov rbx, qword [rsp + 0x4d8]
mov r12, qword [rsp + 0x4b0]
mov rax, rsi
mov rbp, qword [rsp + 0x4e0]
mov r15, qword [rsp + 0x4a0]
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140002340
add rsp, 0x4b8
pop r14
pop rsi
ret