Function at 0x140034650
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x3f0], rbx
mov rax, qword [0x14023c048]
xor rax, rsp
mov qword [rbp + 0x290], 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.140032270
mov qword [rsi], rax
mov dword [rsp + 0x20], 1
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
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 [rsp + 0x60], r15
mov ecx, r15d
cmp qword [sym.imp.KERNEL32.dll_FindClose], rax
je 0x14003471a
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 rcx, [rsp + 0x28]
lea rax, [rsp + 0x28]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x50], r15
lea rax, [rbp - 0x48]
mov qword [rsp + 0x78], rax
mov r8, r15
mov qword [rbp - 0x10], r15
test rcx, rcx
je 0x140034758
mov rax, qword [rcx]
lea rdx, [rbp - 0x48]
mov rax, qword [rax]
call qword [case.0x140024b66.0]
mov r8, rax
mov qword [rbp - 0x10], rax
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14003477e
mov rax, qword [rcx]
lea rdx, [rsp + 0x28]
cmp rcx, rdx
setne dl
mov rax, qword [rax + 0x20]
call qword [case.0x140024b66.0]
mov qword [rsp + 0x60], r15
mov r8, qword [rbp - 0x10]
cmp qword [rbx + 0x10], 0
je 0x140034aeb
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.140032eb0
nop
lea r8, [0x1401e58b0]
lea rdx, [rbp + 0x20]
lea rcx, [rbp]
call fcn.1400387e0
nop
lea rcx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rcx, qword [rbp]
lea rdx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
mov qword [rbp - 0x68], r15
mov ecx, 7
mov qword [rbp - 0x60], rcx
mov word [rbp - 0x78], r15w
cmp rax, 0xffffffffffffffff
je 0x140034a08
lea r13, str..:__
lea r12, [0x1401e5f48]
lea rax, [rbp + 0x6c]
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140034800
cmp rdx, rcx
ja 0x14003483a
lea rdi, [rbp - 0x78]
cmp rcx, 8
cmovae rdi, qword [rbp - 0x78]
mov qword [rbp - 0x68], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp + 0x6c]
mov rcx, rdi
call fcn.1401679c0
mov word [rbx + rdi], r15w
jmp 0x14003484a
lea r9, [rbp + 0x6c]
xor r8d, r8d
lea rcx, [rbp - 0x78]
call fcn.14001f490
cmp dword [rbp + 0x40], 0
je 0x1400349ef
mov r10, qword [rbp - 0x68]
test r10, r10
je 0x1400349ef
lea r9, [rbp - 0x78]
mov r11, qword [rbp - 0x78]
mov rbx, qword [rbp - 0x60]
cmp rbx, 8
cmovae r9, r11
cmp r10, 1
jne 0x1400348b5
mov r8, r10
mov rax, r13
movzx ecx, word [r9]
mov edx, 0x2e
cmp cx, dx
jb 0x1400348b5
sub r9, r13
cmp cx, dx
ja 0x1400348b5
cmp r8, 1
je 0x1400349ef
dec r8
add rax, 2
movzx ecx, word [rax + r9]
movzx edx, word [rax]
cmp cx, dx
jae 0x140034895
lea r9, [rbp - 0x78]
cmp rbx, 8
cmovae r9, r11
cmp r10, 2
jne 0x1400348fd
mov r8, r10
mov rax, r12
movzx ecx, word [r9]
mov edx, 0x2e
cmp cx, dx
jb 0x1400348fd
sub r9, r12
cmp cx, dx
ja 0x1400348fd
cmp r8, 1
je 0x140034958
dec r8
add rax, 2
movzx ecx, word [rax + r9]
movzx edx, word [rax]
cmp cx, dx
jae 0x1400348e1
xor al, al
test al, al
jne 0x1400349ef
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r15w
lea rax, [rbp + 0x6c]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140034926
lea rcx, [rsp + 0x28]
cmp rdx, 7
ja 0x14003495c
mov qword [rsp + 0x38], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp + 0x6c]
call fcn.1401679c0
mov word [rsp + rbx + 0x28], r15w
jmp 0x140034969
mov al, 1
jmp 0x1400348ff
lea r9, [rbp + 0x6c]
xor r8d, r8d
call fcn.14001f490
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.140032520
mov rdx, qword [rsi + 8]
movabs rcx, 0x555555555555554
sub rcx, rdx
cmp rcx, 1
jb 0x140034b78
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 0x1400349ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400349ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034b72
call fcn.140148ec0
lea rdx, [rbp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov rcx, qword [rbp - 0x60]
test eax, eax
jne 0x1400347f0
cmp rcx, 8
jb 0x140034a44
lea rdx, [rcx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034a3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034b6c
call fcn.140148ec0
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], r15w
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x140034a95
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034a90
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034b85
call fcn.140148ec0
movdqa xmm0, xmmword [0x1401e87c0]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r15w
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x140034ae7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034ae2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034b8b
call fcn.140148ec0
mov r8, qword [rbp - 0x10]
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x140034b19
mov qword [rbp - 0x80], rax
test r8, r8
je 0x140034b66
mov rax, qword [r8]
lea rdx, [rbp - 0x80]
mov rcx, r8
mov rax, qword [rax + 0x10]
call qword [case.0x140024b66.0]
mov qword [rbp - 0x50], r15
mov r8, qword [rbp - 0x10]
test r8, r8
je 0x140034b39
mov rcx, qword [r8]
mov rax, qword [rcx + 0x20]
lea rcx, [rbp - 0x48]
cmp r8, rcx
setne dl
mov rcx, r8
call qword [case.0x140024b66.0]
nop
mov rax, rsi
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.140149290
mov rbx, qword [rsp + 0x3f0]
add rsp, 0x3a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140126d20
nop
call fcn.14016ae5c
nop
call fcn.14016ae5c
nop
lea rcx, str.list_T__too_long
call fcn.140126d64
nop
call fcn.14016ae5c
nop
call fcn.14016ae5c
int3