Function at 0x140030d30
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x3e0], rbx
mov rax, qword [0x14022b078]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x70], rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov qword [rcx], r15
mov qword [rcx + 8], r15
xor r8d, r8d
xor edx, edx
call fcn.14002da10
mov qword [rsi], rax
mov dword [rsp + 0x20], 1
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov qword [rsp + 0x60], r15
cmp qword [sym.imp.KERNEL32.dll_FindClose], rax
je 0x140030df2
lea rax, vtable.std::_Func_impl_no_alloc_int____cdecl___void____ptr64___int__void____ptr64_.0
mov qword [rsp + 0x28], rax
mov rax, qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x60], rax
lea r8, [rsp + 0x28]
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.1400168f0
nop
cmp qword [rbx + 0x10], 0
je 0x14003114b
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.14002f990
nop
lea r8, [0x1401d7a30]
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x60]
call fcn.140034fe0
nop
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
lea rdx, [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
mov qword [rbp - 0x70], r15
mov ecx, 7
mov qword [rbp - 0x68], rcx
mov word [rbp - 0x80], r15w
cmp rax, 0xffffffffffffffff
je 0x14003106f
lea r13, [0x1401d7a3c]
lea r12, [0x1401d81c8]
nop word [rax + rax]
lea rax, [rbp + 0x5c]
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140030e90
cmp rdx, rcx
ja 0x140030eca
lea rdi, [rbp - 0x80]
cmp rcx, 8
cmovae rdi, qword [rbp - 0x80]
mov qword [rbp - 0x70], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp + 0x5c]
mov rcx, rdi
call fcn.14015dc80
mov word [rbx + rdi], r15w
jmp 0x140030eda
lea r9, [rbp + 0x5c]
xor r8d, r8d
lea rcx, [rbp - 0x80]
call fcn.140016ea0
cmp dword [rbp + 0x30], 0
je 0x140031056
mov r9, qword [rbp - 0x70]
test r9, r9
je 0x140031056
lea r8, [rbp - 0x80]
mov r10, qword [rbp - 0x80]
mov r11, qword [rbp - 0x68]
cmp r11, 8
cmovae r8, r10
cmp r9, 1
jne 0x140030f2d
mov rdx, r9
mov rcx, r13
sub r8, r13
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x140030f2d
add rcx, 2
sub rdx, 1
jne 0x140030f14
jmp 0x140031056
lea r8, [rbp - 0x80]
cmp r11, 8
cmovae r8, r10
cmp r9, 2
jne 0x140030f68
mov rdx, r9
mov rcx, r12
sub r8, r12
nop dword [rax + rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x140030f68
add rcx, 2
sub rdx, 1
jne 0x140030f50
mov al, 1
jmp 0x140030f6a
xor al, al
test al, al
jne 0x140031056
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r15w
lea rax, [rbp + 0x5c]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140030f91
lea rcx, [rsp + 0x28]
cmp rdx, 7
ja 0x140030fc3
mov qword [rsp + 0x38], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp + 0x5c]
call fcn.14015dc80
mov word [rsp + rbx + 0x28], r15w
jmp 0x140030fd0
lea r9, [rbp + 0x5c]
xor r8d, r8d
call fcn.140016ea0
nop
mov rbx, qword [rsi]
mov rdi, qword [rbx + 8]
lea r9, [rsp + 0x28]
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.14002ec10
mov rdx, qword [rsi + 8]
movabs rcx, 0x555555555555554
sub rcx, rdx
cmp rcx, 1
jb 0x140031193
lea rcx, [rdx + 1]
mov qword [rsi + 8], rcx
mov qword [rbx + 8], rax
mov qword [rdi], rax
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140031056
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031051
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003118d
call fcn.14013f180
lea rdx, [rbp + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov rcx, qword [rbp - 0x68]
test eax, eax
jne 0x140030e80
cmp rcx, 8
jb 0x1400310ab
lea rdx, [rcx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400310a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031187
call fcn.14013f180
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r15w
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x1400310fc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400310f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400311a0
call fcn.14013f180
movdqa xmm0, xmmword [0x1401da830]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r15w
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x14003114b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031145
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031181
call fcn.14013f180
nop
lea rcx, [rbp - 0x40]
call fcn.140016800
mov rax, rsi
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.14013f550
mov rbx, qword [rsp + 0x3e0]
add rsp, 0x390
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14016111c
nop
call fcn.14016111c
nop
call fcn.14016111c
nop
lea rcx, str.list_T__too_long
call fcn.14011d024
nop
call fcn.14016111c
int3