Function at 0x180003c44
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x11e8]
mov eax, 0x12b0
call sub.ntdll.dll___chkstk
sub rsp, rax
movzx r10d, word [rdx]
xor r11d, r11d
mov word [rbp + 0x1b0], r10w
test r10w, r10w
je 0x180003cad
lea rax, [rbp + 0x1b0]
mov r9, rdx
lea r8, [rbp + 0x1b0]
sub r9, rax
lea r8, [r8 + 2]
movzx eax, word [r9 + r8]
mov word [r8], ax
test ax, ax
jne 0x180003c9b
mov eax, r11d
test r10w, r10w
je 0x180003cc2
lea rdx, [rdx + 2]
inc eax
cmp word [rdx], r11w
jne 0x180003cb6
add rax, rax
mov ecx, 0x2a
lea rdx, [rbp + 0x1b0]
mov word [rbp + rax + 0x1b0], cx
lea rcx, [0x1800104a0]
mov qword [rbp + 0x11f8], rax
mov rbx, r11
sub rax, rcx
mov r14, r11
mov qword [rsp + 0x48], r11
mov rdi, r11
mov qword [rsp + 0x50], r11
add rdx, rax
mov r12d, r11d
mov dword [rsp + 0x58], r11d
mov qword [rsp + 0x30], rbx
mov rsi, r11
mov qword [rsp + 0x38], r11
mov r13d, r11d
mov dword [rsp + 0x40], r11d
lea rcx, [rcx + 2]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
test ax, ax
jne 0x180003d1d
lea rcx, [rsp + 0x64]
xor edx, edx
mov r8d, 0x24c
mov dword [rsp + 0x60], r11d
call sub.ntdll.dll_memset
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x180003e5f
cmp word [rbp - 0x74], 0x2e
jne 0x180003d87
movzx ecx, word [rbp - 0x72]
test cx, cx
je 0x180003e27
cmp cx, 0x2e
jne 0x180003d87
cmp word [rbp - 0x70], bx
je 0x180003e27
mov rcx, qword [0x180013580]
xor edx, edx
lea r8d, [rdx + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor edx, edx
mov rbx, rax
test rax, rax
je 0x180003dbf
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
lea rax, [0x1800107c0]
mov qword [rbx + 0x18], rdx
mov dword [rbx + 0x20], edx
mov qword [rbx], rax
jmp 0x180003dc2
mov rbx, rdx
lea rcx, [rbx + 0x18]
lea rax, [rbp - 0x74]
cmp qword [rcx], rax
je 0x180003dda
lea rdx, [rbp - 0x74]
call fcn.18000cd90
xor edx, edx
test byte [rsp + 0x60], 0x10
je 0x180003e07
mov dword [rbx + 0x20], 1
test rdi, rdi
je 0x180003df3
mov qword [rdi + 0x10], rbx
jmp 0x180003dfb
mov r14, rbx
mov qword [rsp + 0x48], rbx
mov qword [rbx + 8], rdi
inc r12d
mov rdi, rbx
jmp 0x180003e21
test rsi, rsi
je 0x180003e12
mov qword [rsi + 0x10], rbx
jmp 0x180003e17
mov qword [rsp + 0x30], rbx
mov qword [rbx + 8], rsi
inc r13d
mov rsi, rbx
mov qword [rbx + 0x10], rdx
xor ebx, ebx
lea rdx, [rsp + 0x60]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x180003d63
mov rcx, r15
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x40], r13d
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rbp + 0x1218]
mov rsi, qword [rbp + 0x11f8]
xor r15d, r15d
test r14, r14
je 0x180003fca
mov rcx, qword [r14 + 0x18]
movzx eax, word [rcx]
mov word [rbp + 0x9b0], ax
test ax, ax
je 0x180003ead
lea rax, [rbp + 0x9b0]
lea rdx, [rbp + 0x9b0]
sub rcx, rax
lea rdx, [rdx + 2]
movzx eax, word [rcx + rdx]
mov word [rdx], ax
test ax, ax
jne 0x180003e9d
lea rdx, [0x1800104a8]
lea rcx, [rbp + 0x9b0]
call fcn.18000cad0
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x180003eeb
mov rcx, qword [rbx + 0x18]
lea rdx, [rbp + 0x9b0]
call fcn.18000cb24
test eax, eax
je 0x180003fbc
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x180003eca
cmp dword [rdi + 0x10], 0x3e8
je 0x180003fca
movzx eax, word [rbp + 0x9b0]
mov word [rbp + rsi + 0x1b0], ax
test ax, ax
je 0x180003f3a
lea rdx, [rbp + 0x9b0]
mov rax, rsi
lea rcx, [rbp + 0x9b0]
sub rax, rdx
lea rdx, [rbp + 0x1b0]
add rdx, rax
lea rcx, [rcx + 2]
movzx eax, word [rcx]
mov word [rcx + rdx], ax
test ax, ax
jne 0x180003f2a
mov rcx, qword [0x180013580]
xor edx, edx
lea r8d, [rdx + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x180003f71
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
lea rax, [0x1800107c0]
mov qword [rbx + 0x18], r15
mov dword [rbx + 0x20], r15d
mov qword [rbx], rax
jmp 0x180003f74
mov rbx, r15
lea rcx, [rbx + 0x18]
lea rax, [rbp + 0x1b0]
cmp qword [rcx], rax
je 0x180003f90
lea rdx, [rbp + 0x1b0]
call fcn.18000cd90
mov dword [rbx + 0x20], 1
mov rax, qword [rdi + 8]
test rax, rax
je 0x180003fa6
mov qword [rax + 0x10], rbx
jmp 0x180003fa9
mov qword [rdi], rbx
mov rax, qword [rdi + 8]
mov qword [rbx + 0x10], r15
mov qword [rbx + 8], rax
inc dword [rdi + 0x10]
mov qword [rdi + 8], rbx
mov r14, qword [r14 + 0x10]
mov rbx, qword [rsp + 0x30]
jmp 0x180003e70
lea rcx, [rsp + 0x30]
mov word [rbp + rsi + 0x1b0], r15w
call fcn.18000cc74
lea rcx, [rsp + 0x48]
call fcn.18000cc74
mov r9d, dword [rbp + 0x1210]
mov r8, qword [rbp + 0x1208]
mov rcx, qword [rbp + 0x11f0]
lea rdx, [rbp + 0x1b0]
mov qword [rsp + 0x20], rdi
call fcn.180004028
mov rbx, qword [rsp + 0x1300]
add rsp, 0x12b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret