Function at 0x180026150
Capabilities:
Enumerate files on windows
Read file on windows

Disassembly:
push rbx
push r14
sub rsp, 0x208
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
lea rax, [rsp + 0x40]
xor r14d, r14d
mov dword [rsp + 0x50], r8d
mov qword [rsp + 0x80], rdx
mov ebx, ecx
test rax, rax
je 0x1800264fe
lea rcx, [rsp + 0x40]
call fcn.180001a60
test eax, eax
je 0x1800264fe
mov qword [rsp + 0x1e0], r15
mov r15, qword [rsp + 0x40]
xor r8d, r8d
mov rcx, r15
mov edx, ebx
call fcn.180002620
test eax, eax
je 0x1800264a3
test r15, r15
je 0x18002649b
lea rax, [rsp + 0x48]
test rax, rax
je 0x18002649b
lea rdx, [rsp + 0x90]
lea rcx, str..gpt
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
je 0x18002649b
mov qword [rsp + 0x238], rbp
mov qword [rsp + 0x200], rsi
mov qword [rsp + 0x1f8], rdi
mov qword [rsp + 0x1f0], r12
mov qword [rsp + 0x1e8], r13
nop word [rax + rax]
lea rcx, [rsp + 0xbc]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x2c
jne 0x180026421
xor eax, eax
mov r13d, r14d
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x5c], r14d
mov dword [rsp + 0x60], r14d
mov dword [rsp + 0x64], r14d
mov dword [rsp + 0x68], eax
mov edx, r14d
lea r9, [rsp + 0x58]
lea r11, [rsp + 0xbc]
test r13d, r13d
jne 0x180026421
lea r10d, [rdx + 8]
cmp edx, r10d
jae 0x1800262cc
mov r8, r11
nop dword [rax]
movzx eax, byte [r8]
sub al, 0x30
cmp al, 0xa
jbe 0x1800262a4
cmp al, 0x27
jb 0x1800262c6
add al, 0xd9
cmp al, 0x10
jae 0x1800262be
mov ecx, dword [r9]
movzx eax, al
inc edx
shl ecx, 4
inc r8
add ecx, eax
mov dword [r9], ecx
cmp edx, r10d
jb 0x180026290
jmp 0x1800262cc
mov r13d, 1
jmp 0x1800262cc
mov r13d, 1
add r11, 8
add r9, 4
mov edx, r10d
cmp r10d, 0x28
jb 0x180026274
test r13d, r13d
jne 0x180026421
mov qword [rsp + 0x30], r14
lea r8d, [r13 + 1]
lea rcx, [rsp + 0xbc]
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x180026421
mov esi, r14d
lea rbp, [rsp + 0x58]
cmp esi, 5
jae 0x180026408
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x70]
mov r8d, 0xc
mov rcx, r12
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180026408
cmp dword [rsp + 0x40], 0xc
jne 0x180026408
mov edi, dword [r15 + 0x7f]
mov eax, dword [rsp + 0x78]
mov r8d, 0x1000
cmp eax, edi
cmova edi, eax
xor ecx, ecx
lea r9d, [rcx + 4]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x1800263c0
mov rdx, qword [rsp + 0x70]
lea rax, [rsp + 0x40]
mov r9, rbx
mov r8d, edi
mov rcx, r15
mov qword [rsp + 0x20], rax
call fcn.180002c60
test eax, eax
je 0x1800263c0
mov edx, dword [rsp + 0x40]
cmp edx, edi
jne 0x1800263c0
mov rcx, rbx
call fcn.18001d8f0
cmp eax, dword [rbp]
je 0x1800263c6
mov r13d, 1
test rbx, rbx
je 0x1800263dc
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x78]
mov r9d, 1
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
inc esi
add rbp, 4
test r13d, r13d
jne 0x18002640e
cmp esi, 5
jb 0x180026327
jmp 0x18002640e
mov r13d, 1
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r13d, r13d
je 0x18002643c
mov rbx, qword [rsp + 0x48]
lea rdx, [rsp + 0x90]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x180026230
jmp 0x18002646a
mov rax, qword [rsp + 0x80]
test rax, rax
je 0x18002645f
mov r8d, dword [rsp + 0x50]
lea rdx, [rsp + 0xbc]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpynA]
mov rbx, qword [rsp + 0x48]
mov r14d, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r13, qword [rsp + 0x1e8]
mov r12, qword [rsp + 0x1f0]
mov rdi, qword [rsp + 0x1f8]
mov rsi, qword [rsp + 0x200]
mov rbp, qword [rsp + 0x238]
mov rcx, r15
call fcn.180001b80
test r15, r15
je 0x1800264d8
mov rcx, r15
call fcn.180001b80
mov rcx, qword [r15 + 0x77]
test rcx, rcx
je 0x1800264c7
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor edx, edx
mov r8d, 0x8000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r15, qword [rsp + 0x1e0]
mov eax, r14d
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.18002d590
add rsp, 0x208
pop r14
pop rbx
ret
mov eax, r14d
jmp 0x1800264e3