Function at 0x140024a30
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x920]
sub rsp, 0xa20
mov rax, qword [0x1400cf070]
xor rax, rsp
mov qword [rbp + 0x910], rax
mov r15, rcx
mov qword [rsp + 0x40], rcx
mov rdx, rcx
lea rcx, [rsp + 0x68]
call fcn.1400024e0
nop
mov r8d, 1
lea rdx, [0x1400c1b20]
lea rcx, [rsp + 0x68]
call fcn.14000ac70
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0xd0]
call sub.VCRUNTIME140.dll_memset
lea r8, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae r8, qword [rsp + 0x68]
mov edx, 0x104
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, [rbp + 0x1e0]
lea rdx, str._homePagelock_
lea rcx, [0x1400c1b48]
call fcn.140023fc0
xor r12d, r12d
mov r14d, r12d
lea rdi, [rbp + 0x1e0]
lea rax, [rbp + 0xd0]
sub rdi, rax
nop word [rax + rax]
mov edx, 0x104
lea rcx, [rbp + 0xd0]
nop dword [rax]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140024b3f
movzx eax, byte [rdi + rcx]
test al, al
je 0x140024b3f
mov byte [rcx], al
inc rcx
sub rdx, 1
jne 0x140024b20
lea rax, [rcx - 1]
test rdx, rdx
cmovne rax, rcx
mov byte [rax], 0
mov ecx, 0x104
lea rax, [rbp + 0xd0]
nop dword [rax]
cmp byte [rax], 0
je 0x140024b6e
inc rax
sub rcx, 1
jne 0x140024b60
mov eax, 0x104
sub rax, rcx
test rcx, rcx
cmove rax, r12
je 0x140024bcf
mov edx, 0x104
sub rdx, rax
lea rcx, [rbp + 0xd0]
lea rcx, [rcx + rax]
je 0x140024bc1
mov eax, 0x7ffffffe
lea r9, [0x1400c1b40]
sub r9, rcx
test rax, rax
je 0x140024bc1
movzx r8d, byte [r9 + rcx]
test r8b, r8b
je 0x140024bc1
mov byte [rcx], r8b
inc rcx
dec rax
sub rdx, 1
jne 0x140024ba3
lea rax, [rcx - 1]
test rdx, rdx
cmovne rax, rcx
mov byte [rax], 0
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140024ec5
nop dword [rax]
movzx ecx, word [0x1400c0ab4]
mov word [rbp + 0x2f0], cx
movzx ecx, byte [0x1400c0ab6]
mov byte [rbp + 0x2f2], cl
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rbp + 0x2f3]
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1400c1778]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400843b8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140024e92
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x38]
lea rdx, [0x1400c1768]
call qword [rax]
test eax, eax
js 0x140024e87
mov edx, 0x104
lea rax, [rbp + 0xd0]
nop word [rax + rax]
lea rcx, [rdx + 0x7ffffefa]
test rcx, rcx
je 0x140024c9f
movzx ecx, byte [rdi + rax]
test cl, cl
je 0x140024c9f
mov byte [rax], cl
inc rax
sub rdx, 1
jne 0x140024c80
lea rcx, [rax - 1]
test rdx, rdx
cmovne rcx, rax
mov byte [rcx], 0
mov ecx, 0x104
lea rax, [rbp + 0xd0]
nop dword [rax]
cmp byte [rax], 0
je 0x140024cce
inc rax
sub rcx, 1
jne 0x140024cc0
mov eax, 0x104
sub rax, rcx
test rcx, rcx
cmove rax, r12
je 0x140024d2c
mov edx, 0x104
sub rdx, rax
lea rcx, [rbp + 0xd0]
lea rcx, [rcx + rax]
je 0x140024d1e
mov eax, 0x7ffffffe
lea r9, [rbp - 0x44]
sub r9, rcx
test rax, rax
je 0x140024d1e
movzx r8d, byte [r9 + rcx]
test r8b, r8b
je 0x140024d1e
mov byte [rcx], r8b
inc rcx
dec rax
sub rdx, 1
jne 0x140024d00
lea rax, [rcx - 1]
test rdx, rdx
cmovne rax, rcx
mov byte [rax], 0
mov dword [rsp + 0x28], 0x104
lea rax, [rbp + 0x700]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
lea r8, [rbp + 0xd0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
xor r8d, r8d
lea rdx, [rbp + 0x700]
call qword [rax + Ordinal_41]
mov ebx, eax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
lea rax, [rbp + 0xd0]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140024d94
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x48]
call fcn.140003160
nop
mov rax, qword [0x1400d42b0]
cmp rax, qword [0x1400d42b8]
je 0x140024dd7
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1400024e0
add qword [0x1400d42b0], 0x20
jmp 0x140024deb
lea r8, [rsp + 0x48]
mov rdx, rax
lea rcx, [0x1400d42a8]
call fcn.14000afc0
lea r8, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae r8, qword [rsp + 0x48]
lea rdx, str._homePagelock_
lea rcx, str._s_Find_Lnk:__s_n
call fcn.140023fc0
test ebx, ebx
js 0x140024e3e
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov r8d, 0x400
lea rdx, [rbp + 0x2f2]
call qword [rax + 0x30]
movzx ecx, byte [rbp + 0x2f0]
test eax, eax
cmovs ecx, r12d
mov byte [rbp + 0x2f0], cl
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140024e87
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024e82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140024f0c
call fcn.140073b54
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
lea rcx, [rbp - 0x44]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0xfffffffc
movsxd rcx, eax
mov byte [rbp + rcx - 0x44], 0
lea rdx, [rbp - 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140024bf0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
inc r14d
cmp r14d, 1
jl 0x140024b10
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x140024f18
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024f13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140024f13
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.140073b54
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x68], 0
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140024f60
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140024f5b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140024f9b
mov rcx, r8
call fcn.140073b54
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], reloc.WS2_32.dll_ntohs
mov byte [r15], 0
mov rcx, qword [rbp + 0x910]
xor rcx, rsp
call fcn.140073640
lea r11, [rsp + 0xa20]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3