Function at 0x14012e310
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x290], rbx
mov rax, qword [0x1404716f0]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov qword [rsp + 0x48], r8
mov r12, rdx
mov qword [rsp + 0x38], rdx
xor r14d, r14d
mov esi, r14d
mov dword [rsp + 0x30], r14d
lea rcx, [rbp - 0x48]
call fcn.140004fe0
nop
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x14012e3b4
lea rax, [rcx + 4]
mov qword [rbp - 0x38], rax
lea rbx, [rbp - 0x48]
cmp rdx, 0x10
cmovae rbx, qword [rbp - 0x48]
add rbx, rcx
lea r8d, [r14 + 4]
lea rdx, [0x1402bc5dc]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 4], r14b
jmp 0x14012e3d4
mov qword [rsp + 0x20], 4
lea r9, [0x1402bc5dc]
xor r8d, r8d
lea edx, [r8 + 4]
lea rcx, [rbp - 0x48]
call fcn.140005410
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0x10
cmovae rcx, qword [rbp - 0x48]
lea rdx, [rbp]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x40], rax
cmp rax, 0xffffffffffffffff
je 0x14012e887
mov rbx, rax
nop
test byte [rbp], 0x10
je 0x14012e849
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], SafeArrayGetDim
mov byte [rbp - 0x68], 0
lea rax, [rbp + 0x2c]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14012e430
lea rdx, [rbp + 0x2c]
lea rcx, [rbp - 0x68]
call fcn.140004960
nop
xor r15b, r15b
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], SafeArrayGetDim
mov byte [rbp - 0x28], r15b
mov r8d, 7
lea rdx, str..bundle
lea rcx, [rbp - 0x28]
call fcn.140004960
nop
mov rdi, qword [rbp - 0x68]
mov r13, qword [rbp - 0x10]
mov rbx, qword [rbp - 0x28]
mov rax, qword [rbp - 0x58]
mov r14, qword [rbp - 0x18]
cmp rax, r14
jbe 0x14012e4fc
mov rcx, rax
sub rcx, r14
cmp rax, rcx
jb 0x14012e905
lea rdx, [rbp - 0x28]
cmp r13, 0x10
cmovae rdx, rbx
sub rax, rcx
mov r12, r14
cmp rax, r14
cmovb r12, rax
lea rax, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rax, rdi
mov r8, r12
cmp r14, r12
cmovb r8, r14
add rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14012e4f7
cmp r12, r14
mov r12, qword [rsp + 0x38]
jb 0x14012e4fc
movzx r15d, r15b
mov eax, 1
cmovbe r15d, eax
jmp 0x14012e4fc
mov r12, qword [rsp + 0x38]
cmp r13, 0x10
jb 0x14012e533
lea rdx, [r13 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14012e52b
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012e86b
mov rcx, rbx
call fcn.14010a370
xor r14d, r14d
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], SafeArrayGetDim
mov byte [rbp - 0x28], r14b
mov rax, qword [rbp - 0x50]
cmp rax, 0x10
jb 0x14012e581
lea rdx, [rax + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14012e579
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012e872
mov rcx, rdi
call fcn.14010a370
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], SafeArrayGetDim
mov byte [rbp - 0x68], 0
test r15b, r15b
je 0x14012e844
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], SafeArrayGetDim
mov byte [rsp + 0x58], 0
or esi, 1
mov dword [rsp + 0x30], esi
mov rdx, qword [r12 + 0x10]
inc rdx
lea rcx, [rsp + 0x58]
call fcn.1400056a0
mov r9, r12
cmp qword [r12 + 0x18], 0x10
jb 0x14012e5df
mov r9, qword [r12]
mov rdi, qword [r12 + 0x10]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x14012e628
lea rax, [rcx + rdi]
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x58]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x58]
add rbx, rcx
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x14012e63d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140005410
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14012e689
lea rax, [rcx + 1]
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x58]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x58]
add rbx, rcx
mov r8d, 1
lea rdx, [0x1402bc4a4]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 1], 0
jmp 0x14012e6ac
mov r15d, 1
mov qword [rsp + 0x20], r15
lea r9, [0x1402bc4a4]
xor r8d, r8d
mov edx, r15d
lea rcx, [rsp + 0x58]
call fcn.140005410
nop
lea rax, [rbp + 0x2c]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x14012e6b7
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rbx, rax
ja 0x14012e70a
lea rax, [rcx + rbx]
mov qword [rsp + 0x68], rax
lea rdi, [rsp + 0x58]
cmp rdx, 0x10
cmovae rdi, qword [rsp + 0x58]
add rdi, rcx
mov r8, rbx
lea rdx, [rbp + 0x2c]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
lea rax, [rsp + 0x58]
jmp 0x14012e723
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x2c]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140005410
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], SafeArrayGetDim
mov byte [rax], 0
or esi, 2
mov dword [rsp + 0x30], esi
mov rbx, qword [rsp + 0x48]
mov rdx, qword [rbx + 8]
cmp qword [rbx + 0x10], rdx
je 0x14012e790
mov qword [rdx + 0x10], r14
mov qword [rdx + 0x18], r14
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rdx + 0x10], xmm1
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], SafeArrayGetDim
mov byte [rsp + 0x78], 0
add qword [rbx + 8], 0x20
jmp 0x14012e79d
lea r8, [rsp + 0x78]
mov rcx, rbx
call fcn.1400051f0
and esi, 0xfffffffd
mov dword [rsp + 0x30], esi
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14012e7e0
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14012e7db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012e879
call fcn.14010a370
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], SafeArrayGetDim
mov byte [rsp + 0x78], 0
and esi, 0xfffffffe
mov dword [rsp + 0x30], esi
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14012e831
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14012e82c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012e880
call fcn.14010a370
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], SafeArrayGetDim
mov byte [rsp + 0x58], 0
mov rbx, qword [rsp + 0x40]
lea rdx, [rbp]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x14012e400
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
jmp 0x14012e889
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor bl, bl
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x14012e8c7
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14012e8c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14012e8c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010a370
movdqa xmm0, xmmword [0x1403a8e90]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
movzx eax, bl
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.14010a310
mov rbx, qword [rsp + 0x290]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140005150
nop
int3