Function at 0x140043790
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rbx
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1608]
mov eax, 0x1708
call fcn.140057580
sub rsp, rax
mov rax, qword [0x14009b020]
xor rax, rsp
mov qword [rbp + 0x15f0], rax
mov rax, qword gs:[0x58]
mov r14, rdx
mov ebx, 4
mov r12, rcx
add rbx, qword [rax]
mov eax, dword [rbx]
cmp dword [0x1400cacd0], eax
jle 0x14004381b
lea rcx, [0x1400cacd0]
call fcn.140057314
cmp dword [0x1400cacd0], 0xffffffff
jne 0x14004381b
lea rax, [0x1400810c8]
mov dword [0x1400cacc8], 1
lea rcx, [0x1400cacd0]
mov qword [0x1400cacc0], rax
call fcn.1400572b4
mov eax, dword [rbx]
cmp dword [0x1400cacac], eax
jle 0x14004385e
lea rcx, [0x1400cacac]
call fcn.140057314
cmp dword [0x1400cacac], 0xffffffff
jne 0x14004385e
lea rax, [0x1400810cc]
mov dword [0x1400cacb8], 2
lea rcx, [0x1400cacac]
mov qword [0x1400cacb0], rax
call fcn.1400572b4
mov rdx, qword [r12]
lea rcx, [rsp + 0x28]
mov eax, 0x5c
xor r13d, r13d
mov word [rsp + 0x28], ax
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x30], rax
mov dword [rbp + 0x3d0], r13d
call fcn.14000a9a0
mov rdx, qword [rax + 8]
mov ecx, dword [rdx + 0x200]
lea eax, [rcx + 1]
mov dword [rdx + 0x200], eax
mov eax, ecx
mov ecx, 0x2a
mov word [rdx + rax*2], cx
lea rdx, [rbp + 0x1d0]
mov ebx, dword [rbp + 0x3d0]
lea rcx, [rbp + 0x5f0]
lea r8d, [rbx + rbx]
call fcn.140058970
lea eax, [rbx + 1]
mov word [rbp + rbx*2 + 0x5f0], r13w
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x5f0]
mov word [rbp + rax*2 + 0x5f0], r13w
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x140043af3
mov qword [rsp + 0x1750], rsi
mov qword [rsp + 0x1700], rdi
nop word [rax + rax]
mov esi, dword [rbp - 0x80]
lea rax, [rbp - 0x54]
shr esi, 4
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x60], rax
and esi, 1
lea rax, [rbp - 0x54]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], r13w
jne 0x140043930
mov r11d, dword [0x1400cacc8]
mov dword [rsp + 0x68], ebx
cmp ebx, r11d
jne 0x14004399d
mov rdi, qword [0x1400cacc0]
lea r9, [rbp - 0x54]
mov eax, ebx
mov rdx, rdi
lea r9, [r9 + rax*2]
lea rax, [rbp - 0x54]
cmp rax, r9
je 0x140043990
lea r8, [rbp - 0x54]
sub r8, rdi
lea r10, [rdi + r11*2]
cmp rdx, r10
je 0x14004399d
movzx ecx, word [r8 + rdx]
movzx eax, word [rdx]
cmp ecx, eax
jne 0x14004399d
add rdx, 2
lea rax, [r8 + rdx]
cmp rax, r9
jne 0x140043972
lea rcx, [rdi + r11*2]
cmp rdx, rcx
je 0x140043ace
mov r11d, dword [0x1400cacb8]
cmp ebx, r11d
jne 0x1400439fc
mov rdi, qword [0x1400cacb0]
lea r9, [rbp - 0x54]
mov ecx, ebx
mov rax, rdi
lea r9, [r9 + rcx*2]
lea rcx, [rbp - 0x54]
cmp rcx, r9
je 0x1400439ef
lea r8, [rbp - 0x54]
sub r8, rdi
lea r10, [rdi + r11*2]
cmp rax, r10
je 0x1400439fc
movzx edx, word [r8 + rax]
movzx ecx, word [rax]
cmp edx, ecx
jne 0x1400439fc
add rax, 2
lea rcx, [r8 + rax]
cmp rcx, r9
jne 0x1400439d1
lea rdx, [rdi + r11*2]
cmp rax, rdx
jne 0x1400439fc
mov al, 1
jmp 0x1400439fe
xor al, al
test al, al
jne 0x140043ace
mov rdx, qword [r12]
lea rcx, [rsp + 0x28]
mov eax, 0x5c
mov qword [rsp + 0x38], r13
mov word [rsp + 0x28], ax
lea rax, [rbp + 0x3e0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x50], r13d
mov dword [rbp + 0x5e0], r13d
call fcn.14000a9a0
mov rdx, qword [rax + 8]
mov ecx, dword [rdx + 0x200]
lea eax, [rbx + rcx]
mov dword [rdx + 0x200], eax
lea r8, [rdx + rcx*2]
mov eax, ebx
lea rdx, [rbp - 0x54]
lea rcx, [rbp - 0x54]
lea rdx, [rdx + rax*2]
lea rax, [rbp - 0x54]
cmp rax, rdx
je 0x140043a94
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
add rcx, 2
mov word [r8], ax
lea r8, [r8 + 2]
cmp rcx, rdx
jne 0x140043a80
movups xmm0, xmmword [rsp + 0x60]
lea rax, [rbp + 0x3e0]
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x38]
mov eax, dword [rbp + 0x5e0]
mov rcx, r14
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x78], eax
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x48], xmm0
call qword [r14 + 0x28]
lea rdx, [rbp - 0x80]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140043910
mov rdi, qword [rsp + 0x1700]
mov rsi, qword [rsp + 0x1750]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x15f0]
xor rcx, rsp
call fcn.140056c70
add rsp, 0x1708
pop r15
pop r14
pop r13
pop r12
pop rbx
pop rbp
ret