Function at 0x140087500
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
mov word [rsp + 0x18], r8w
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rbx, rdx
mov rdi, rcx
xor r14d, r14d
mov dword [rbp + 0x70], r14d
call fcn.14008c530
mov rax, qword [rbx + 0x20]
mov qword [rdi + 0x20], rax
mov word [rdi + 0x28], r14w
mov r13, 0xffffffffffffffff
mov qword [rdi + 0x280], r13
lea r12, [rdi + 0x288]
xorps xmm0, xmm0
movups xmmword [r12], xmm0
mov qword [r12 + 0x10], r14
mov qword [r12 + 0x18], 7
mov word [r12], r14w
mov qword [r12 + 0x20], r14
mov dword [r12 + 0x28], r14d
mov eax, 0xffff
mov word [r12 + 0x2c], ax
mov dword [r12 + 0x30], r14d
mov word [r12 + 0x34], ax
mov qword [r12 + 0x38], r13
mov qword [r12 + 0x40], r14
mov dword [rdi + 0x2d0], r14d
lea r15, [0x1400f9178]
mov qword [rdi + 0x2d8], r15
cmp qword [rdi + 0x10], r14
je 0x140087cda
xor edx, edx
mov r8d, 0x250
lea rcx, [rdi + 0x2c]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400e6434]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 1
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x50]
call fcn.14008e0b0
mov dword [rbp + 0x70], select
mov qword [rbp - 0x30], r14
lea edx, [r14 + 2]
lea rcx, [rbp - 0x50]
call fcn.140083860
nop
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14008c530
mov rax, qword [rdi + 0x20]
mov qword [rsp + 0x68], rax
mov dword [rbp + 0x70], 0x1c
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x48]
call fcn.140084980
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 7
cmova rcx, qword [rsp + 0x48]
lea rdx, [rdi + 0x2c]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
mov qword [rdi + 0x280], rax
lea rcx, [rsp + 0x48]
call fcn.140058840
nop
lea rcx, [rbp - 0x50]
call fcn.140058840
cmp rbx, r13
je 0x140087c78
lea rbx, [rdi + 0x58]
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
mov r8, r13
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x140087690
mov rdx, rbx
lea rcx, [rbp - 8]
call fcn.140082e60
nop
mov r15d, select
mov dword [rbp + 0x70], r15d
lea r8, [rbp - 8]
mov rsi, qword [rbp - 8]
mov r14, qword [rbp + 0x10]
cmp r14, 7
cmova r8, rsi
lea r9, [0x1400e6488]
mov rdx, qword [rbp + 8]
cmp rdx, 1
jne 0x140087702
mov rcx, r9
test rdx, rdx
je 0x1400876f6
sub r8, r9
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140087702
add rcx, 2
sub rdx, 1
jne 0x1400876e2
mov r9, qword [rbp - 0x78]
mov dil, 1
jmp 0x140087782
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8, r13
inc r8
cmp word [rbx + r8*2], 0
jne 0x140087715
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.140082e60
mov r15d, select
mov dword [rbp + 0x70], r15d
lea r8, [rsp + 0x70]
mov r9, qword [rbp - 0x78]
cmp r9, 7
cmova r8, qword [rsp + 0x70]
lea rax, [0x1400e648c]
mov rdx, qword [rbp - 0x80]
cmp rdx, 2
jne 0x14008777f
mov rcx, rax
test rdx, rdx
je 0x14008777a
sub r8, rax
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x14008777f
add rcx, 2
sub rdx, 1
jne 0x140087766
mov dil, 1
jmp 0x140087782
xor dil, dil
test r15b, 2
je 0x1400877d1
and r15d, 0xfffffffd
mov dword [rbp + 0x70], r15d
cmp r9, 7
jbe 0x1400877d1
lea rdx, [r9*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400877cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400877cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140099b9c
nop
test r15b, 1
je 0x14008781a
and r15d, 0xfffffffe
mov dword [rbp + 0x70], r15d
cmp r14, 7
jbe 0x14008781a
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140087812
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140087b18
mov rcx, rsi
call fcn.140099b9c
test dil, dil
mov rdi, qword [rbp + 0x60]
je 0x140087ba0
cmp qword [rdi + 0x280], 0xffffffffffffffff
je 0x140087b94
mov esi, 0x5c
lea rdx, [rdi + 0x2c]
mov rcx, qword [rdi + 0x280]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140087b1f
mov rdx, rdi
mov rcx, r12
call fcn.14008c410
mov rax, qword [rdi + 0x20]
mov qword [r12 + 0x20], rax
mov rcx, qword [r12 + 0x10]
test rcx, rcx
jne 0x140087900
mov r8, r13
nop dword [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x140087880
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor esi, esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rsi
lea rax, [rbx + r8*2]
cmp rbx, rax
jne 0x1400878bd
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 7
mov word [rsp + 0x20], si
jmp 0x1400878ca
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140082e60
or r15d, 0x180
mov qword [rsp + 0x40], rsi
mov edx, 2
lea rcx, [rsp + 0x20]
call fcn.140083860
nop
lea rdx, [rsp + 0x20]
mov rcx, r12
call fcn.140084980
nop
lea rcx, [rsp + 0x20]
call fcn.140058840
jmp 0x14008796e
mov rax, r12
mov rdx, qword [r12 + 0x18]
cmp rdx, 7
jbe 0x140087912
mov rax, qword [r12]
cmp word [rax + rcx*2 - 2], 0x5c
je 0x140087949
cmp rcx, rdx
jae 0x14008793e
lea rax, [rcx + 1]
mov qword [r12 + 0x10], rax
mov rax, r12
cmp rdx, 7
jbe 0x140087935
mov rax, qword [r12]
mov dword [rax + rcx*2], 0x5c
jmp 0x140087949
mov r9d, esi
mov rcx, r12
call fcn.14008d270
xor esi, esi
mov r8, r13
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x140087950
mov rdx, rbx
mov rcx, r12
call fcn.14008cc60
mov rcx, r12
call fcn.140083700
lea rdx, [rdi + 0x2d0]
mov rcx, rdi
call fcn.1400880c0
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rsi
mov r8, r13
nop
inc r8
cmp word [rbx + r8*2], 0
jne 0x140087990
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140082e60
nop
or r15d, 0x20
mov dword [rbp + 0x70], r15d
lea r8, [rbp - 0x28]
mov rsi, qword [rbp - 0x28]
mov r14, qword [rbp - 0x10]
cmp r14, 7
cmova r8, rsi
cmp qword [rbp - 0x18], 1
jne 0x140087a01
mov edx, 1
lea rax, [0x1400e6488]
mov rcx, rax
sub r8, rax
nop dword [rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140087a01
add rcx, 2
sub rdx, 1
jne 0x1400879e0
mov r10, qword [rbp - 0x58]
mov r9, qword [rbp - 0x70]
mov dil, 1
jmp 0x140087a7c
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov r8, r13
inc r8
cmp word [rbx + r8*2], ax
jne 0x140087a15
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.140082e60
or r15d, 0x40
lea r8, [rbp - 0x70]
mov r9, qword [rbp - 0x70]
mov r10, qword [rbp - 0x58]
cmp r10, 7
cmova r8, r9
cmp qword [rbp - 0x60], 2
jne 0x140087a79
mov edx, 2
lea rax, [0x1400e648c]
mov rcx, rax
sub r8, rax
nop dword [rax]
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x140087a79
add rcx, 2
sub rdx, 1
jne 0x140087a60
mov dil, 1
jmp 0x140087a7c
xor dil, dil
test r15b, 0x40
je 0x140087abe
and r15d, 0xffffffbf
cmp r10, 7
jbe 0x140087abe
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x140087ab5
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140087b11
mov rcx, r9
call fcn.140099b9c
nop
test r15b, 0x20
je 0x140087aff
and r15d, 0xffffffdf
cmp r14, 7
jbe 0x140087aff
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140087af7
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140087b18
mov rcx, rsi
call fcn.140099b9c
test dil, dil
mov rdi, qword [rbp + 0x60]
je 0x140087cda
jmp 0x140087835
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
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x140087b50
test eax, eax
jne 0x140087b34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rax, [0x1400f9178]
mov qword [rsp + 0x28], rax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi + 0x2d0], xmm0
mov rcx, qword [rdi + 0x280]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x280], r13
lea rcx, [rdi + 0x288]
cmp qword [rdi + 0x2a0], 7
jbe 0x140087b7c
mov rcx, qword [rdi + 0x288]
xor edx, edx
mov qword [rdi + 0x298], rdx
mov word [rcx], dx
mov qword [rdi + 0x2a8], rdx
jmp 0x140087cda
movups xmm0, xmmword [rdi + 0x2d0]
jmp 0x140087cd3
lea rdx, [rdi + 0x58]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
inc r13
cmp word [rdx + r13*2], 0
jne 0x140087bb5
mov r8, r13
lea rcx, [rsp + 0x20]
call fcn.140082e60
nop
movups xmm1, xmmword [rsp + 0x20]
movups xmmword [rsp + 0x48], xmm1
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x1400e6a60]
movdqu xmmword [rsp + 0x30], xmm1
xor edx, edx
mov word [rsp + 0x20], dx
mov qword [rsp + 0x68], rdx
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.140083860
nop
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.14008c530
mov rax, qword [rdi + 0x20]
mov qword [rbp - 0x30], rax
bts r15d, 9
mov dword [rbp + 0x70], r15d
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x50]
call fcn.140084980
lea rdx, [rbp - 0x50]
lea rcx, [rdi + 0x288]
call fcn.14008c490
mov rax, qword [rbp - 0x30]
mov qword [rdi + 0x2a8], rax
lea rcx, [rbp - 0x50]
call fcn.140058840
nop
lea rcx, [rsp + 0x48]
call fcn.140058840
nop
lea rdx, [rdi + 0x2d0]
mov rcx, rdi
call fcn.1400880c0
jmp 0x140087cda
call qword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x1400e6a60]
movdqu xmmword [rsp + 0x58], xmm1
mov word [rsp + 0x48], r14w
mov qword [rsp + 0x68], r14
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.14008c490
mov rax, qword [rsp + 0x68]
mov qword [rdi + 0x20], rax
lea rcx, [rsp + 0x48]
call fcn.140058840
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x28], r15
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rdi + 0x2d0], xmm0
mov rax, rdi
mov rbx, qword [rsp + 0x178]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret