Function at 0x140037ebc
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x458]
sub rsp, 0x540
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rdi, rcx
xor r12d, r12d
mov dword [rbp - 0x50], r12d
lea rax, [rbp + 0x230]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 0x1a]
xor ecx, ecx
call qword [0x14006df58]
lea ebx, [r12 + 7]
test eax, eax
js 0x140038207
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], r12
mov word [rsp + 0x30], r12w
cmp word [rbp + 0x230], r12w
jne 0x140037f3f
mov r8d, r12d
jmp 0x140037f54
lea rax, [rbp + 0x230]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r12w
jne 0x140037f4a
lea rdx, [rbp + 0x230]
lea rcx, [rsp + 0x30]
call fcn.140001b58
nop
lea r8, [0x140056050]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.1400064b0
mov rsi, rax
lea rax, [rsp + 0x30]
cmp rax, rsi
je 0x140037fb7
cmp qword [rsp + 0x48], 8
jb 0x140037f9a
mov rcx, qword [rsp + 0x30]
call fcn.14001e48c
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], r12
mov word [rsp + 0x30], r12w
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1400054f0
cmp qword [rbp - 0x58], 8
jb 0x140037fc7
mov rcx, qword [rbp - 0x70]
call fcn.14001e48c
lea r8, [0x140055c84]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.1400064b0
cmp qword [rax + 0x18], 8
jb 0x140037fe6
mov rax, qword [rax]
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r15, rax
cmp qword [rbp - 0x58], 8
jb 0x140038006
mov rcx, qword [rbp - 0x70]
call fcn.14001e48c
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x60], r12
mov word [rbp - 0x70], r12w
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], r12
mov word [rsp + 0x50], r12w
xor r8d, r8d
lea rdx, [0x140055dc4]
lea rcx, [rsp + 0x50]
call fcn.140001b58
nop
test byte [rbp - 0x20], 0x10
je 0x140038174
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x80], r12
mov word [rsp + 0x70], r12w
cmp word [rbp + 0xc], r12w
jne 0x14003805c
mov r8, r12
jmp 0x14003806e
lea rax, [rbp + 0xc]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r12w
jne 0x140038064
lea rdx, [rbp + 0xc]
lea rcx, [rsp + 0x70]
call fcn.140001b58
nop
mov rsi, qword [rbp - 0x78]
mov r14, qword [rsp + 0x70]
mov rax, qword [rbp - 0x80]
cmp rax, rbx
jb 0x140038127
lea r10, [rax - 6]
lea r11, [rsp + 0x70]
cmp rsi, 8
cmovae r11, r14
test r10, r10
je 0x1400380be
mov rax, r10
mov rdx, r11
cmp word [rdx], 0x72
je 0x1400380c1
add rdx, 2
dec rax
jne 0x1400380af
mov rdx, r12
test rdx, rdx
je 0x140038127
mov r9, rbx
lea rcx, str.release
mov r8, rdx
movzx eax, word [rcx]
cmp word [r8], ax
jne 0x1400380ee
add r8, 2
add rcx, 2
dec r9
jne 0x1400380d3
mov eax, r12d
jmp 0x1400380f5
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
je 0x140038112
mov rcx, rdx
sub rcx, r11
sar rcx, 1
or rax, 0xffffffffffffffff
sub rax, rcx
add r10, rax
lea r11, [rdx + 2]
jmp 0x1400380a4
lea rax, [rsp + 0x70]
cmp rsi, 8
cmovae rax, r14
sub rdx, rax
sar rdx, 1
jmp 0x14003812b
or rdx, 0xffffffffffffffff
cmp rdx, 0xffffffffffffffff
je 0x140038166
cmp word [rbp + 0xc], r12w
jne 0x14003813d
mov r8, r12
jmp 0x14003814f
lea rax, [rbp + 0xc]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r12w
jne 0x140038145
lea rdx, [rbp + 0xc]
lea rcx, [rsp + 0x50]
call fcn.140001b58
mov rsi, qword [rbp - 0x78]
mov r14, qword [rsp + 0x70]
cmp rsi, 8
jb 0x140038174
mov rcx, r14
call fcn.14001e48c
lea rdx, [rbp - 0x20]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140038038
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.140006874
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x10], r12
mov word [rdi], r12w
lea rdx, [rbp - 0x48]
mov rcx, rdi
call fcn.1400054f0
cmp qword [rbp - 0x30], 8
jb 0x1400381c4
mov rcx, qword [rbp - 0x48]
call fcn.14001e48c
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x38], r12
mov word [rbp - 0x48], r12w
cmp qword [rsp + 0x68], 8
jb 0x1400381e3
mov rcx, qword [rsp + 0x50]
call fcn.14001e48c
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], r12
mov word [rsp + 0x50], r12w
cmp qword [rsp + 0x48], 8
jb 0x140038225
mov rcx, qword [rsp + 0x30]
call fcn.14001e48c
jmp 0x140038225
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x10], r12
mov word [rdi], r12w
xor r8d, r8d
lea rdx, [0x140055ddc]
mov rcx, rdi
call fcn.140001b58
mov rax, rdi
lea r11, [rsp + 0x540]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret