Function at 0x140004ad0
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, [0x14004ba38]
lea rcx, [rbp - 0x50]
call fcn.140005610
nop
mov rdx, r14
lea rcx, [rbp + 0x18]
call fcn.1400053f0
nop
lea r8, [rbp - 0x50]
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.140004350
cmp qword [rax + 0x18], 8
jb 0x140004b75
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 0x140004bc9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004bc4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000534b
call fcn.14001bc64
movdqa xmm0, xmmword [0x14004c6f0]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], r13w
cmp rdi, 0xffffffffffffffff
jne 0x140004c47
mov rdx, qword [r14 + 0x18]
cmp rdx, 8
jb 0x140004c20
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rcx, qword [r14]
jb 0x140004c1b
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005369
mov rcx, r8
call fcn.14001bc64
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, [0x14004ba3c]
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 0x140004c80
cmp rdi, r15
ja 0x140005345
cmp rdi, 8
jae 0x140004cd6
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.14001d930
mov word [rsp + rbx + 0x40], r13w
mov r14, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x40]
jmp 0x140004d2a
mov r14, rdi
or r14, 7
cmp r14, r15
jbe 0x140004ce7
mov r14, r15
jmp 0x140004cef
cmp r14, 0xa
cmovb r14, rcx
lea rdx, [r14 + 1]
lea rcx, [rsp + 0x40]
call fcn.140003c80
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.14001d930
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 0x140004d85
mov rdx, rdi
mov rcx, rsi
sub r8, rsi
nop dword [rax]
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x140004d85
add rcx, 2
sub rdx, 1
jne 0x140004d60
mov rsi, qword [rsp + 0x78]
mov r15, qword [rsp + 0x60]
xor bl, bl
jmp 0x140004eaa
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 0x140004da0
cmp rdi, r15
ja 0x14000533f
cmp rdi, 8
jae 0x140004df7
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.14001d930
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 0x140004e52
mov rsi, rdi
or rsi, 7
cmp rsi, r15
jbe 0x140004e08
mov rsi, r15
jmp 0x140004e15
cmp rsi, 0xa
mov eax, 0xa
cmovb rsi, rax
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x60]
call fcn.140003c80
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.14001d930
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 0x140004ea8
mov rdx, rdi
lea rax, [0x14004ba40]
mov rcx, rax
sub r8, rax
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x140004ea8
add rcx, 2
sub rdx, 1
jne 0x140004e90
xor bl, bl
jmp 0x140004eaa
mov bl, 1
test r9b, 4
je 0x140004efd
and r9d, 0xfffffffb
mov dword [rbp + 0x318], r9d
cmp rsi, 8
jb 0x140004efd
lea rdx, [rsi*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x140004eee
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005351
mov rcx, r15
call fcn.14001bc64
mov r9d, dword [rbp + 0x318]
test r9b, 2
je 0x140004f49
and r9d, 0xfffffffd
mov dword [rbp + 0x318], r9d
test r13b, r13b
je 0x140004f49
lea rdx, [r14*2 + 2]
mov rax, r12
cmp rdx, 0x1000
jb 0x140004f41
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000535d
mov rcx, r12
call fcn.14001bc64
test bl, bl
je 0x140005310
lea rax, [rbp + 0x8c]
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140004f60
mov r15, qword [rbp + 0x310]
xorps xmm0, xmm0
xor r13d, r13d
test r15, r15
jne 0x1400050d2
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
movabs r15, 0x7ffffffffffffffe
cmp rbx, r15
ja 0x140005357
cmp rbx, 8
jae 0x140004fd5
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.14001d930
mov word [rsp + rbx + 0x20], r13w
jmp 0x14000502d
mov rsi, rbx
or rsi, 7
cmp rsi, r15
jbe 0x140004fe6
mov rsi, r15
jmp 0x140004ff3
cmp rsi, 0xa
mov eax, 0xa
cmovb rsi, rax
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x20]
call fcn.140003c80
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.14001d930
mov word [rdi + rbx], r13w
mov rbx, qword [rbp + 0x300]
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x140005061
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 0x140005073
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.140005f60
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400050b0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400050ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000535d
call fcn.14001bc64
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 0x140004be1
jmp 0x140004c51
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.140005610
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 0x14000511d
mov rsi, qword [r14]
mov rdi, qword [r14 + 0x10]
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
ja 0x140005363
mov qword [rbp - 0x68], 7
cmp rdi, 8
jae 0x14000514f
mov qword [rbp - 0x70], rdi
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x80], xmm0
jmp 0x14000519a
mov rbx, rdi
or rbx, 7
cmp rbx, rax
jbe 0x140005160
mov rbx, rax
jmp 0x14000516d
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x80]
call fcn.140003c80
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.14001d930
nop
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x38]
call fcn.140004350
mov rcx, rax
call r15
test al, al
je 0x140005329
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 0x1400051e0
movabs r15, 0x7ffffffffffffffe
cmp rbx, r15
ja 0x140005345
cmp rbx, 8
jae 0x140005230
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.14001d930
mov word [rsp + rbx + 0x20], r13w
jmp 0x140005288
mov rsi, rbx
or rsi, 7
cmp rsi, r15
jbe 0x140005241
mov rsi, r15
jmp 0x14000524e
cmp rsi, 0xa
mov eax, 0xa
cmovb rsi, rax
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x20]
call fcn.140003c80
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.14001d930
mov word [rdi + rbx], r13w
mov rbx, qword [rbp + 0x300]
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x1400052bc
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 0x1400052ce
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.140005f60
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1400050b7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005306
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000535d
call fcn.14001bc64
jmp 0x1400050b7
mov rbx, qword [rbp + 0x300]
xor r13d, r13d
movabs r15, 0x7ffffffffffffffe
jmp 0x1400050b0
mov rbx, qword [rbp + 0x300]
movabs r15, 0x7ffffffffffffffe
jmp 0x1400050b7
call fcn.1400034f0
nop
call fcn.1400034f0
int3
call fcn.140022684
nop
call fcn.140022684
nop
call fcn.1400034f0
int3
call fcn.140022684
nop
call fcn.1400034f0
nop
call fcn.140022684
int3