Function at 0x140004a60
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2b8]
sub rsp, 0x3b8
mov r14, rdx
mov rbx, rcx
mov dword [rbp + 0x318], 1
xor r13d, r13d
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov dword [rbp + 0x318], 1
lea rax, [rbp - 0x50]
mov qword [rbp - 0x60], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], r13
lea r8d, [r13 + 1]
lea rdx, [0x140056e1c]
lea rcx, [rbp - 0x50]
call fcn.1400055e0
nop
mov rdx, r14
lea rcx, [rbp + 0x18]
call fcn.140005380
nop
lea r8, [rbp - 0x50]
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.1400042e0
cmp qword [rax + 0x18], 8
jb 0x140004b05
mov rax, qword [rax]
lea rdx, [rbp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
mov qword [rbp - 0x60], rax
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x140004b59
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004b54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400052db
call fcn.140022b74
movdqa xmm0, xmmword [0x1400583e0]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], r13w
cmp rdi, 0xffffffffffffffff
jne 0x140004bd7
mov rdx, qword [r14 + 0x18]
cmp rdx, 8
jb 0x140004bb0
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rcx, qword [r14]
jb 0x140004bab
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400052f9
mov rcx, r8
call fcn.140022b74
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 7
mov word [r14], r13w
mov rax, rbx
add rsp, 0x3b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
movabs r15, 0x7ffffffffffffffe
lea rsi, [0x140056e20]
mov ecx, 0xa
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
lea rax, [rbp + 0x8c]
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140004c10
cmp rdi, r15
ja 0x1400052d5
cmp rdi, 8
jae 0x140004c66
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
lea rbx, [rdi + rdi]
mov r8, rbx
lea rdx, [rbp + 0x8c]
lea rcx, [rsp + 0x40]
call fcn.140024a20
mov word [rsp + rbx + 0x40], r13w
mov r14, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x40]
jmp 0x140004cba
mov r14, rdi
or r14, 7
cmp r14, r15
jbe 0x140004c77
mov r14, r15
jmp 0x140004c7f
cmp r14, 0xa
cmovb r14, rcx
lea rdx, [r14 + 1]
lea rcx, [rsp + 0x40]
call fcn.140003cd0
mov r12, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], r14
lea rbx, [rdi + rdi]
mov r8, rbx
lea rdx, [rbp + 0x8c]
mov rcx, rax
call fcn.140024a20
mov word [rbx + r12], r13w
mov r9d, dword [rbp + 0x318]
or r9d, 2
mov dword [rbp + 0x318], r9d
lea r8, [rsp + 0x40]
cmp r14, 8
setae r13b
cmovae r8, r12
cmp rdi, 1
jne 0x140004d15
mov rdx, rdi
mov rcx, rsi
sub r8, rsi
nop dword [rax]
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x140004d15
add rcx, 2
sub rdx, 1
jne 0x140004cf0
mov rsi, qword [rsp + 0x78]
mov r15, qword [rsp + 0x60]
xor bl, bl
jmp 0x140004e3a
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
lea rax, [rbp + 0x8c]
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140004d30
cmp rdi, r15
ja 0x1400052cf
cmp rdi, 8
jae 0x140004d87
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], 7
lea rbx, [rdi + rdi]
mov r8, rbx
lea rdx, [rbp + 0x8c]
lea rcx, [rsp + 0x60]
call fcn.140024a20
xor eax, eax
mov word [rsp + rbx + 0x60], ax
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
mov r15, qword [rsp + 0x60]
jmp 0x140004de2
mov rsi, rdi
or rsi, 7
cmp rsi, r15
jbe 0x140004d98
mov rsi, r15
jmp 0x140004da5
cmp rsi, 0xa
mov eax, 0xa
cmovb rsi, rax
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x60]
call fcn.140003cd0
mov r15, rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rsi
lea rbx, [rdi + rdi]
mov r8, rbx
lea rdx, [rbp + 0x8c]
mov rcx, rax
call fcn.140024a20
xor eax, eax
mov word [r15 + rbx], ax
mov r9d, dword [rbp + 0x318]
or r9d, 4
mov dword [rbp + 0x318], r9d
lea r8, [rsp + 0x60]
cmp rsi, 8
cmovae r8, r15
cmp rdi, 2
jne 0x140004e38
mov rdx, rdi
lea rax, [0x140056e24]
mov rcx, rax
sub r8, rax
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x140004e38
add rcx, 2
sub rdx, 1
jne 0x140004e20
xor bl, bl
jmp 0x140004e3a
mov bl, 1
test r9b, 4
je 0x140004e8d
and r9d, 0xfffffffb
mov dword [rbp + 0x318], r9d
cmp rsi, 8
jb 0x140004e8d
lea rdx, [rsi*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x140004e7e
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400052e1
mov rcx, r15
call fcn.140022b74
mov r9d, dword [rbp + 0x318]
test r9b, 2
je 0x140004ed9
and r9d, 0xfffffffd
mov dword [rbp + 0x318], r9d
test r13b, r13b
je 0x140004ed9
lea rdx, [r14*2 + 2]
mov rax, r12
cmp rdx, 0x1000
jb 0x140004ed1
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400052ed
mov rcx, r12
call fcn.140022b74
test bl, bl
je 0x1400052a0
lea rax, [rbp + 0x8c]
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140004ef0
mov r15, qword [rbp + 0x310]
xorps xmm0, xmm0
xor r13d, r13d
test r15, r15
jne 0x140005062
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
movabs r15, 0x7ffffffffffffffe
cmp rbx, r15
ja 0x1400052e7
cmp rbx, 8
jae 0x140004f65
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], 7
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0x8c]
lea rcx, [rsp + 0x20]
call fcn.140024a20
mov word [rsp + rbx + 0x20], r13w
jmp 0x140004fbd
mov rsi, rbx
or rsi, 7
cmp rsi, r15
jbe 0x140004f76
mov rsi, r15
jmp 0x140004f83
cmp rsi, 0xa
mov eax, 0xa
cmovb rsi, rax
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x20]
call fcn.140003cd0
mov rdi, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0x8c]
mov rcx, rax
call fcn.140024a20
mov word [rdi + rbx], r13w
mov rbx, qword [rbp + 0x300]
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140004ff1
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x20], r13w
add qword [rbx + 8], 0x20
jmp 0x140005003
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.140006030
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140005040
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000503b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400052ed
call fcn.140022b74
mov r14, qword [rbp + 0x308]
lea rdx, [rbp + 0x60]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140004b71
jmp 0x140004be1
lea rax, [rbp - 0x30]
mov qword [rbp - 0x58], rax
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], r13
mov r8, rbx
lea rdx, [rbp + 0x8c]
lea rcx, [rbp - 0x30]
call fcn.1400055e0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
mov r14, qword [rbp + 0x308]
mov rsi, r14
cmp qword [r14 + 0x18], 8
jb 0x1400050ad
mov rsi, qword [r14]
mov rdi, qword [r14 + 0x10]
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
ja 0x1400052f3
mov qword [rbp - 0x68], 7
cmp rdi, 8
jae 0x1400050df
mov qword [rbp - 0x70], rdi
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x80], xmm0
jmp 0x14000512a
mov rbx, rdi
or rbx, 7
cmp rbx, rax
jbe 0x1400050f0
mov rbx, rax
jmp 0x1400050fd
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x80]
call fcn.140003cd0
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rbx
lea r8, [rdi*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.140024a20
nop
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x38]
call fcn.1400042e0
mov rcx, rax
call r15
test al, al
je 0x1400052b9
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
lea rax, [rbp + 0x8c]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140005170
movabs r15, 0x7ffffffffffffffe
cmp rbx, r15
ja 0x1400052d5
cmp rbx, 8
jae 0x1400051c0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], 7
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0x8c]
lea rcx, [rsp + 0x20]
call fcn.140024a20
mov word [rsp + rbx + 0x20], r13w
jmp 0x140005218
mov rsi, rbx
or rsi, 7
cmp rsi, r15
jbe 0x1400051d1
mov rsi, r15
jmp 0x1400051de
cmp rsi, 0xa
mov eax, 0xa
cmovb rsi, rax
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x20]
call fcn.140003cd0
mov rdi, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0x8c]
mov rcx, rax
call fcn.140024a20
mov word [rdi + rbx], r13w
mov rbx, qword [rbp + 0x300]
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x14000524c
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x20], r13w
add qword [rbx + 8], 0x20
jmp 0x14000525e
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.140006030
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140005047
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005296
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400052ed
call fcn.140022b74
jmp 0x140005047
mov rbx, qword [rbp + 0x300]
xor r13d, r13d
movabs r15, 0x7ffffffffffffffe
jmp 0x140005040
mov rbx, qword [rbp + 0x300]
movabs r15, 0x7ffffffffffffffe
jmp 0x140005047
call fcn.1400034f0
nop
call fcn.1400034f0
int3
call fcn.140029694
nop
call fcn.140029694
nop
call fcn.1400034f0
int3
call fcn.140029694
nop
call fcn.1400034f0
nop
call fcn.140029694
int3