Function at 0x180026510
Capabilities:
Enumerate files on windows
Get file size

Disassembly:
push rbx
push rbp
push rsi
push r14
push r15
sub rsp, 0x3f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x3d0], rax
lea rax, [rsp + 0x48]
xor ebp, ebp
xor esi, esi
mov r15d, r8d
mov r14, rdx
mov ebx, ecx
test rax, rax
je 0x18002684b
lea rcx, [rsp + 0x48]
call fcn.180001a60
test eax, eax
je 0x18002684b
mov qword [rsp + 0x3e8], r12
mov r12, qword [rsp + 0x48]
xor r8d, r8d
mov rcx, r12
mov edx, ebx
call fcn.180002620
test eax, eax
je 0x1800267c6
lea rdx, [rsp + 0x60]
lea rcx, str..mbr
mov qword [rsp + 0x3e0], r13
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x1800267b6
mov qword [rsp + 0x438], rdi
nop
lea rcx, [rsp + 0x8c]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x1c
jb 0x180026830
lea ebx, [rax - 4]
mov eax, 0xaaaaaaab
mul ebx
mov eax, ebx
shr edx, 4
lea ecx, [rdx + rdx*2]
shl ecx, 3
sub eax, ecx
jne 0x180026830
lea r8d, [rax + 1]
test ebx, ebx
je 0x18002661e
lea rcx, [rsp + 0x8c]
mov edx, ebx
movzx eax, byte [rcx]
cmp al, 0x30
jl 0x180026601
cmp al, 0x39
jle 0x18002660c
cmp al, 0x61
jl 0x180026609
cmp al, 0x66
jle 0x18002660c
xor r8d, r8d
inc rcx
sub rdx, 1
jne 0x1800265f6
test r8d, r8d
je 0x180026830
xor r9d, r9d
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x8c]
lea r8d, [r9 + 1]
mov edx, 0x80000000
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x180026830
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, ebx
mov r11d, eax
shl rcx, 9
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 4
cmp rdx, r11
jne 0x180026827
mov ebp, 1
nop word [rax + rax]
lea rdx, [rsp + rsi + 0x8c]
lea rcx, [rsp + 0x1b0]
mov r8d, 0x11
call qword [sym.imp.KERNEL32.dll_lstrcpynA]
lea r8, [rsp + 0x50]
lea rdx, str._I64x
lea rcx, [rsp + 0x1b0]
call fcn.18002e1e4
add esi, 0x10
lea rcx, [rsp + 0x1a0]
lea rdx, [rsp + rsi + 0x8c]
mov r8d, 9
call qword [sym.imp.KERNEL32.dll_lstrcpynA]
lea r8, [rsp + 0x40]
lea rdx, [0x180042c7c]
lea rcx, [rsp + 0x1a0]
call fcn.18002e1e4
mov rdx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
lea r9, [rsp + 0x1d0]
mov r8d, 0x200
mov rcx, r12
mov qword [rsp + 0x20], rax
add esi, 8
call fcn.180002c60
test eax, eax
je 0x18002677b
xor ecx, ecx
lea rdx, [rsp + 0x1d1]
mov r8d, 0x80
nop dword [rax]
movzx eax, byte [rdx - 1]
add rdx, 4
add ecx, eax
movzx eax, byte [rdx - 4]
add ecx, eax
movzx eax, byte [rdx - 3]
add ecx, eax
movzx eax, byte [rdx - 2]
add ecx, eax
sub r8, rbp
jne 0x180026750
cmp dword [rsp + 0x40], ecx
jne 0x180026825
cmp esi, ebx
jb 0x1800266a0
test r14, r14
je 0x1800267a5
cmp r15d, 0x100
jb 0x1800267a5
lea rdx, [rsp + 0x8c]
mov r8d, r15d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrcpynA]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdi, qword [rsp + 0x438]
mov rcx, r12
call fcn.180001b80
mov r13, qword [rsp + 0x3e0]
test r12, r12
je 0x1800267fc
mov rcx, r12
call fcn.180001b80
mov rcx, qword [r12 + 0x77]
test rcx, rcx
je 0x1800267eb
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor edx, edx
mov r8d, 0x8000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r12, qword [rsp + 0x3e8]
mov eax, ebp
mov rcx, qword [rsp + 0x3d0]
xor rcx, rsp
call fcn.18002d590
add rsp, 0x3f0
pop r15
pop r14
pop rsi
pop rbp
pop rbx
ret
xor ebp, ebp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1800265b0
jmp 0x1800267a5
mov eax, ebp
jmp 0x180026806