Function at 0x18004a010
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x1800dc080]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x48], rax
xor edi, edi
mov dword [rsp + 0x44], edi
lea rsi, [0x1800dce50]
mov qword [rsp + 0x48], rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rdi
lea r8d, [rdi + 9]
lea rdx, str.C:DRcfg
lea rcx, [rsp + 0x70]
call fcn.1800415d0
nop
xorps xmm0, xmm0
movdqu xmmword [0x1800dce50], xmm0
mov qword [0x1800dce60], rdi
mov dword [rsp + 0x44], 1
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp - 0x80]
sub rax, rcx
cmp rax, 4
jb 0x18004a2c3
lea r9, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae r9, qword [rsp + 0x70]
mov qword [rsp + 0x30], 4
lea rax, str._.
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x70]
movzx edx, byte [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.18004bd60
mov dword [rsp + 0x44], 3
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rcx, qword [rbp - 0x70]
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18004a203
test byte [rbp - 0x50], 0x10
jne 0x18004a1e4
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
lea rax, [rbp - 0x24]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18004a150
lea rdx, [rbp - 0x24]
lea rcx, [rsp + 0x50]
call fcn.1800415d0
nop
mov rdx, qword [0x1800dce58]
cmp rdx, qword [0x1800dce60]
je 0x18004a19e
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x10], xmm1
mov edx, reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
add qword [0x1800dce58], 0x20
jmp 0x18004a1b0
lea r8, [rsp + 0x50]
mov rcx, rsi
call fcn.18004c030
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x18004a1e4
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004a1df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004a23c
call fcn.180099c20
lea rdx, [rbp - 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x18004a121
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x18004a248
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004a243
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004a243
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.180099c20
movdqa xmm0, xmmword [0x1800ceaa0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x18004a298
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004a293
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004a293
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180099c20
mov rax, rsi
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1800997e0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.18002fd80
int3