Function at 0x14004e920
Capabilities:
Enumerate files on windows

Disassembly:
mov word [rsp + 0x18], r8w
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x28]
sub rsp, 0x128
mov rbx, rdx
mov r13, rcx
xor esi, esi
mov dword [rbp + 0x78], esi
call fcn.1400533f0
mov rax, qword [rbx + 0x20]
mov qword [r13 + 0x20], rax
mov word [r13 + 0x28], si
mov r12, 0xffffffffffffffff
mov qword [r13 + 0x280], r12
lea rax, [r13 + 0x288]
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea rcx, [rax + 0x10]
mov qword [rbp - 0x30], rcx
mov qword [rcx], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rcx, [rax + 0x20]
mov qword [rbp + 0x88], rcx
mov qword [rcx], rsi
mov dword [rax + 0x28], esi
mov ecx, 0xffff
mov word [rax + 0x2c], cx
mov dword [rax + 0x30], esi
mov word [rax + 0x34], cx
mov qword [rax + 0x38], r12
mov qword [rax + 0x40], rsi
mov dword [r13 + 0x2d0], esi
lea r14, [0x1400c9098]
mov qword [r13 + 0x2d8], r14
cmp qword [r13 + 0x10], rsi
je 0x14004f162
xor edx, edx
mov r8d, 0x250
lea rcx, [r13 + 0x2c]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400b83cc]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 1
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x20]
call fcn.1400551c0
mov dword [rbp + 0x78], 0xc
mov qword [rsp + 0x40], rsi
lea edx, [rsi + 2]
lea rcx, [rsp + 0x20]
call fcn.14004a550
nop
mov rdx, r13
lea rcx, [rsp + 0x68]
call fcn.1400533f0
mov rax, qword [r13 + 0x20]
mov qword [rbp - 0x78], rax
mov dword [rbp + 0x78], 0x1c
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x68]
call fcn.14004b790
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 7
cmova rcx, qword [rsp + 0x68]
lea rdx, [r13 + 0x2c]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
mov qword [r13 + 0x280], rax
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x14004eabb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004eab6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004eab6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400744bc
movdqa xmm0, xmmword [0x1400bb200]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], si
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x14004eb13
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004eb0e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004eb0e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400744bc
cmp rbx, 0xffffffffffffffff
je 0x14004f0c5
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
mov r8, r12
nop
inc r8
cmp word [r13 + r8*2 + 0x58], 0
jne 0x14004eb30
lea rdx, [r13 + 0x58]
lea rcx, [rbp - 8]
call fcn.140049720
nop
mov esi, 0xd
mov dword [rbp + 0x78], esi
lea r8, [rbp - 8]
mov r14, qword [rbp - 8]
mov r15, qword [rbp + 0x10]
cmp r15, 7
cmova r8, r14
lea r9, [0x1400b8420]
mov rdx, qword [rbp + 8]
cmp rdx, 1
jne 0x14004eb9f
mov rcx, r9
test rdx, rdx
je 0x14004eb96
sub r8, r9
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x14004eb9f
add rcx, 2
sub rdx, 1
jne 0x14004eb82
mov r9, qword [rbp - 0x58]
mov dil, 1
jmp 0x14004ec1c
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
mov r8, r12
inc r8
cmp word [r13 + r8*2 + 0x58], 0
jne 0x14004ebb1
lea rdx, [r13 + 0x58]
lea rcx, [rbp - 0x70]
call fcn.140049720
mov esi, 0xf
mov dword [rbp + 0x78], esi
lea r8, [rbp - 0x70]
mov r9, qword [rbp - 0x58]
cmp r9, 7
cmova r8, qword [rbp - 0x70]
lea rax, [0x1400b8424]
mov rdx, qword [rbp - 0x60]
cmp rdx, 2
jne 0x14004ec19
mov rcx, rax
test rdx, rdx
je 0x14004ec14
sub r8, rax
nop
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x14004ec19
add rcx, 2
sub rdx, 1
jne 0x14004ec00
mov dil, 1
jmp 0x14004ec1c
xor dil, dil
test sil, 2
je 0x14004ec68
and esi, 0xfffffffd
mov dword [rbp + 0x78], esi
cmp r9, 7
jbe 0x14004ec68
lea rdx, [r9*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ec62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ec62
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400744bc
nop
test sil, 1
je 0x14004ecaf
and esi, 0xfffffffe
mov dword [rbp + 0x78], esi
cmp r15, 7
jbe 0x14004ecaf
lea rdx, [r15*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x14004eca7
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f13a
mov rcx, r14
call fcn.1400744bc
test dil, dil
je 0x14004ef58
cmp qword [r13 + 0x280], 0xffffffffffffffff
je 0x14004ef4b
nop word [rax + rax]
lea rdx, [r13 + 0x2c]
mov rcx, qword [r13 + 0x280]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14004eed9
mov rdx, r13
lea rcx, [r13 + 0x288]
call fcn.1400532d0
mov rax, qword [r13 + 0x20]
mov rcx, qword [rbp + 0x88]
mov qword [rcx], rax
lea rdx, [r13 + 0x58]
lea rcx, [r13 + 0x288]
call fcn.14004c380
lea rdx, [r13 + 0x2d0]
mov rcx, r13
call fcn.14004f480
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xor edi, edi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rdi
mov r8, r12
nop dword [rax]
inc r8
cmp word [r13 + r8*2 + 0x58], di
jne 0x14004ed40
lea rdx, [r13 + 0x58]
lea rcx, [rbp - 0x28]
call fcn.140049720
nop
or esi, 0x20
mov dword [rbp + 0x78], esi
lea r8, [rbp - 0x28]
mov r15, qword [rbp - 0x10]
cmp r15, 7
seta byte [rbp + 0x80]
mov r14, qword [rbp - 0x28]
cmova r8, r14
cmp qword [rbp - 0x18], 1
jne 0x14004edb7
mov edx, 1
lea rax, [0x1400b8420]
mov rcx, rax
sub r8, rax
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x14004edb7
add rcx, 2
sub rdx, 1
jne 0x14004ed93
mov r10, qword [rbp - 0x38]
mov r9, qword [rbp - 0x50]
mov dil, 1
jmp 0x14004ee3c
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rdi
mov r8, r12
nop dword [rax]
inc r8
cmp word [r13 + r8*2 + 0x58], 0
jne 0x14004edd0
lea rdx, [r13 + 0x58]
lea rcx, [rbp - 0x50]
call fcn.140049720
or esi, 0x40
lea r8, [rbp - 0x50]
mov r9, qword [rbp - 0x50]
mov r10, qword [rbp - 0x38]
cmp r10, 7
cmova r8, r9
cmp qword [rbp - 0x40], 2
jne 0x14004ee39
mov edx, 2
lea rax, [0x1400b8424]
mov rcx, rax
sub r8, rax
nop dword [rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x14004ee39
add rcx, 2
sub rdx, 1
jne 0x14004ee20
mov dil, 1
jmp 0x14004ee3c
xor dil, dil
test sil, 0x40
je 0x14004ee7d
and esi, 0xffffffbf
cmp r10, 7
jbe 0x14004ee7d
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14004ee74
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004eed2
mov rcx, r9
call fcn.1400744bc
nop
test sil, 0x20
je 0x14004eec4
and esi, 0xffffffdf
cmp byte [rbp + 0x80], 0
je 0x14004eec4
lea rdx, [r15*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x14004eebc
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f13a
mov rcx, r14
call fcn.1400744bc
test dil, dil
jne 0x14004ecd0
jmp 0x14004f162
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x14004ef0b
test eax, eax
jne 0x14004eeee
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
lea rax, [0x1400c9098]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [r13 + 0x2d0], xmm0
mov rcx, qword [r13 + 0x280]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [r13 + 0x280], r12
lea rcx, [r13 + 0x288]
cmp qword [rcx + 0x18], 7
jbe 0x14004ef30
mov rcx, qword [rcx]
mov rax, qword [rbp - 0x30]
xor ebx, ebx
mov qword [rax], rbx
mov word [rcx], bx
mov rax, qword [rbp + 0x88]
mov qword [rax], rbx
jmp 0x14004f162
movups xmm0, xmmword [r13 + 0x2d0]
jmp 0x14004f15a
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
nop dword [rax]
inc r12
cmp word [r13 + r12*2 + 0x58], 0
jne 0x14004ef70
mov r8, r12
lea rdx, [r13 + 0x58]
lea rcx, [rsp + 0x48]
call fcn.140049720
nop
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rsp + 0x20], xmm1
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [0x1400bb200]
movdqu xmmword [rsp + 0x58], xmm1
xor ebx, ebx
mov word [rsp + 0x48], bx
mov qword [rsp + 0x40], rbx
lea edx, [rbx + 2]
lea rcx, [rsp + 0x20]
call fcn.14004a550
nop
mov rdx, r13
lea rcx, [rsp + 0x68]
call fcn.1400533f0
mov rax, qword [r13 + 0x20]
mov qword [rbp - 0x78], rax
bts esi, 7
mov dword [rbp + 0x78], esi
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x68]
call fcn.14004b790
lea rdx, [rsp + 0x68]
lea rcx, [r13 + 0x288]
call fcn.140053350
mov rax, qword [rbp - 0x78]
mov rcx, qword [rbp + 0x88]
mov qword [rcx], rax
mov rdx, qword [rbp - 0x80]
cmp rdx, 7
jbe 0x14004f058
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f053
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f053
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400744bc
movdqa xmm0, xmmword [0x1400bb200]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], bx
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x14004f0b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f0ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f0ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400744bc
nop
lea rdx, [r13 + 0x2d0]
mov rcx, r13
call fcn.14004f480
jmp 0x14004f162
call qword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x1400bb200]
movdqu xmmword [rsp + 0x30], xmm1
mov word [rsp + 0x20], si
mov qword [rsp + 0x40], rsi
lea rdx, [rsp + 0x20]
mov rcx, r13
call fcn.140053350
mov rax, qword [rsp + 0x40]
mov qword [r13 + 0x20], rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x14004f146
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f141
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004f141
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400744bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x50], r14
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [r13 + 0x2d0], xmm0
mov rax, r13
add rsp, 0x128
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret