Function at 0x140048420
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push r12
push r14
push r15
sub rsp, 0x730
mov qword [rax - 0x6a0], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400dc010]
xor rax, rsp
mov qword [rsp + 0x720], rax
mov dword [rsp + 0x24], 0
xor ecx, ecx
lea rbx, str.C:Users_
nop word [rax + rax]
movzx eax, word [rcx + rbx]
mov word [rsp + rcx + 0x510], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140048470
lea rcx, [rsp + 0x510]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x140048491
mov eax, dword [0x1400996c0]
mov dword [rcx], eax
movzx eax, word [0x1400996c4]
mov word [rcx + 4], ax
xor ecx, ecx
movzx eax, word [rcx + rbx]
mov word [rsp + rcx + 0x300], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400484b0
lea rcx, [rsp + 0x300]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400484d1
mov eax, dword [0x14009a110]
mov dword [rcx], eax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x510]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x38], rax
cmp rax, 0xffffffffffffffff
jne 0x14004850b
xor eax, eax
jmp 0x1400488e8
xor ecx, ecx
nop dword [rax]
movzx eax, word [rsp + rcx + 0x300]
mov word [rsp + rcx + 0x510], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140048510
lea rdi, str.C:UsersManageLocal
lea rsi, str.C:UsersDefault_User
lea r14, str.C:UsersDefault
lea r15, str.C:UsersAll_Users
lea r12, str.C:UsersPublic
nop dword [rax]
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1400488e1
lea rcx, [rsp + 0xdc]
call fcn.14005e580
test eax, eax
je 0x14004857e
jmp 0x140048550
xor ecx, ecx
movzx eax, word [rcx + rbx]
mov word [rsp + rcx + 0x300], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140048580
lea rcx, [rsp + 0x300]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400485a1
lea r8, [rsp + 0xdc]
xor edx, edx
nop word [rax + rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x1400485c0
test byte [rsp + 0xb0], 0x10
je 0x1400488dd
lea rdx, [0x140099db0]
lea rcx, [rsp + 0x28]
call fcn.14000c8e0
nop
lea rcx, [rsp + 0x40]
call fcn.1400629d0
nop
mov r8, rax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.14000bc20
nop
mov rcx, qword [rsp + 0x40]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x48], rcx
mov eax, 0xffffffff
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x14004863c
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x28]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x50], rcx
mov eax, 0xffffffff
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140048667
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rdx, [rsp + 0x300]
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [rdi + rcx*2 + 2]
jne 0x1400486a4
add rcx, 2
cmp rcx, 0x15
je 0x1400487ed
movzx eax, word [rdx + rcx*2]
cmp ax, word [rdi + rcx*2]
je 0x140048680
lea rdx, [rsp + 0x300]
xor ecx, ecx
nop
movzx eax, word [rdx + rcx*2]
cmp ax, word [rsi + rcx*2]
jne 0x1400486d5
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [rsi + rcx*2 + 2]
jne 0x1400486d5
add rcx, 2
cmp rcx, 0x16
jne 0x1400486b0
jmp 0x1400487ed
lea rdx, [rsp + 0x300]
mov rcx, 0xffffffffffffffff
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r14 + rcx*2 + 2]
jne 0x140048716
add rcx, 2
cmp rcx, 0x11
je 0x1400487ed
movzx eax, word [rdx + rcx*2]
cmp ax, word [r14 + rcx*2]
je 0x1400486f0
lea rdx, [rsp + 0x300]
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r15 + rcx*2 + 2]
jne 0x140048756
add rcx, 2
cmp rcx, 0x13
je 0x1400487ed
movzx eax, word [rdx + rcx*2]
cmp ax, word [r15 + rcx*2]
je 0x140048730
lea rdx, [rsp + 0x300]
xor eax, eax
movzx ecx, word [rdx + rax*2]
cmp cx, word [r12 + rax*2]
jne 0x140048784
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r12 + rax*2 + 2]
jne 0x140048784
add rax, 2
cmp rax, 0x10
jne 0x140048760
jmp 0x1400487ed
lea rcx, [rsp + 0x68]
call fcn.1400629d0
nop
mov ecx, dword [rsp + 0x24]
or ecx, 1
mov dword [rsp + 0x24], ecx
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.14000ba80
mov qword [rsp + 0x98], rax
or dword [rsp + 0x24], 2
mov r8, qword [rax]
mov qword [rsp + 0xa0], r8
lea rax, [rsp + 0x300]
sub r8, rax
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400487e4
add rax, 2
test ecx, ecx
jne 0x1400487d0
test edx, edx
mov byte [rsp + 0x20], 0
jne 0x1400487f2
mov byte [rsp + 0x20], 1
mov ecx, dword [rsp + 0x24]
test cl, 2
je 0x14004882c
and dword [rsp + 0x24], 0xfffffffd
mov rcx, qword [rsp + 0x58]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x60], rcx
mov eax, 0xffffffff
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x14004882c
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov ecx, dword [rsp + 0x24]
test cl, 1
je 0x140048865
and dword [rsp + 0x24], 0xfffffffe
mov rcx, qword [rsp + 0x68]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x70], rcx
mov eax, 0xffffffff
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140048865
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
cmp byte [rsp + 0x20], 0
je 0x14004889c
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x78], rcx
mov eax, 0xffffffff
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x140048897
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140048550
lea rcx, [rsp + 0x300]
call fcn.14005e1f0
nop
mov rcx, qword [rsp + 0x30]
add rcx, 0xffffffffffffffe8
mov qword [rsp + 0x80], rcx
mov eax, 0xffffffff
lock xadd dword [rcx + 0x10], eax
sub eax, 1
jg 0x1400488e1
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1400488e1
xor eax, eax
jmp 0x1400488e8
jmp 0x140048550
mov rcx, qword [rsp + 0x720]
xor rcx, rsp
call fcn.1400693e0
lea r11, [rsp + 0x730]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
ret