Function at 0x140048230
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 0x140048280
lea rcx, [rsp + 0x510]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400482a1
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 0x1400482c0
lea rcx, [rsp + 0x300]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400482e1
mov eax, dword [0x14009a100]
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 0x14004831b
xor eax, eax
jmp 0x1400486f8
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 0x140048320
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 0x1400486f1
lea rcx, [rsp + 0xdc]
call fcn.14005e390
test eax, eax
je 0x14004838e
jmp 0x140048360
xor ecx, ecx
movzx eax, word [rcx + rbx]
mov word [rsp + rcx + 0x300], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140048390
lea rcx, [rsp + 0x300]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400483b1
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 0x1400483d0
test byte [rsp + 0xb0], 0x10
je 0x1400486ed
lea rdx, [0x14009c870]
lea rcx, [rsp + 0x28]
call fcn.14000c6f0
nop
lea rcx, [rsp + 0x40]
call fcn.1400627e0
nop
mov r8, rax
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
call fcn.14000ba30
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 0x14004844c
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 0x140048477
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 0x1400484b4
add rcx, 2
cmp rcx, 0x15
je 0x1400485fd
movzx eax, word [rdx + rcx*2]
cmp ax, word [rdi + rcx*2]
je 0x140048490
lea rdx, [rsp + 0x300]
xor ecx, ecx
nop
movzx eax, word [rdx + rcx*2]
cmp ax, word [rsi + rcx*2]
jne 0x1400484e5
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [rsi + rcx*2 + 2]
jne 0x1400484e5
add rcx, 2
cmp rcx, 0x16
jne 0x1400484c0
jmp 0x1400485fd
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 0x140048526
add rcx, 2
cmp rcx, 0x11
je 0x1400485fd
movzx eax, word [rdx + rcx*2]
cmp ax, word [r14 + rcx*2]
je 0x140048500
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 0x140048566
add rcx, 2
cmp rcx, 0x13
je 0x1400485fd
movzx eax, word [rdx + rcx*2]
cmp ax, word [r15 + rcx*2]
je 0x140048540
lea rdx, [rsp + 0x300]
xor eax, eax
movzx ecx, word [rdx + rax*2]
cmp cx, word [r12 + rax*2]
jne 0x140048594
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r12 + rax*2 + 2]
jne 0x140048594
add rax, 2
cmp rax, 0x10
jne 0x140048570
jmp 0x1400485fd
lea rcx, [rsp + 0x68]
call fcn.1400627e0
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.14000b890
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 0x1400485f4
add rax, 2
test ecx, ecx
jne 0x1400485e0
test edx, edx
mov byte [rsp + 0x20], 0
jne 0x140048602
mov byte [rsp + 0x20], 1
mov ecx, dword [rsp + 0x24]
test cl, 2
je 0x14004863c
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 0x14004863c
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 0x140048675
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 0x140048675
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
cmp byte [rsp + 0x20], 0
je 0x1400486ac
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 0x1400486a7
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140048360
lea rcx, [rsp + 0x300]
call fcn.14005e000
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 0x1400486f1
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1400486f1
xor eax, eax
jmp 0x1400486f8
jmp 0x140048360
mov rcx, qword [rsp + 0x720]
xor rcx, rsp
call fcn.1400691f0
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