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

Disassembly:
jmp 0x1400161c0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x5b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x102
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x5d8]
mov rax, qword [0x14001e008]
xor rax, rbp
mov qword [rbp + 0x578], rax
lea rcx, [0x1400bd0ad]
call fcn.14001139d
mov qword [rbp + 8], 0
mov qword [rbp + 0x188], 0xffffffffffffffff
mov dword [rbp + 0x1a4], 0
lea rax, [rbp + 0x1d0]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
lea rax, [rbp + 0x2f0]
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov r9, qword [rbp + 0x5a8]
mov r8, qword [rbp + 0x5a0]
lea rdx, str._s_s
lea rcx, [rbp + 0x1d0]
call fcn.14001136b
lea rdx, [rbp + 0x1d0]
lea rcx, str.Searching_in__s__n
call fcn.1400111b3
movsxd rax, dword [0x14001e170]
imul rax, rax, 0x10124
lea rcx, [0x14001e174]
add rcx, rax
mov rax, rcx
mov rdx, qword [rbp + 0x5a8]
mov rcx, rax
call fcn.14001112c
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rbp + 0x188], rax
cmp qword [rbp + 0x188], 0xffffffffffffffff
jne 0x1400162dc
mov eax, dword [rbp + 0x1a4]
jmp 0x1400164fc
mov eax, dword [rbp + 0x30]
and eax, 0x10
test eax, eax
je 0x1400162f0
jmp 0x1400164a4
lea rax, [rbp + 0x5c]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x5a8]
mov r8, qword [rbp + 0x5a0]
lea rdx, str._s__s__s
lea rcx, [rbp + 0x2f0]
call fcn.14001136b
lea rdx, [rbp + 0x2f0]
lea rcx, str.Cert_filename__s__n
call fcn.1400111b3
lea rdx, [0x14001af84]
lea rcx, [rbp + 0x2f0]
call qword [sym.imp.ucrtbased.dll_fopen]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140016369
lea rdx, [rbp + 0x2f0]
lea rcx, str.Error_loading_file__s__n
call fcn.1400111b3
mov eax, 0xffffffff
jmp 0x1400164fc
movsxd rax, dword [0x14001e170]
imul rax, rax, 0x10124
lea rcx, [0x14001e174]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [0x14001e170]
imul rcx, rcx, 0x10124
lea rdx, [0x14001e174]
movsxd rcx, dword [rdx + rcx + 0x100]
imul rcx, rcx, 0x2004
lea rax, [rax + rcx + 0x104]
mov r9, qword [rbp + 8]
mov r8d, 0x2000
mov edx, 1
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_fread]
movsxd rcx, dword [0x14001e170]
imul rcx, rcx, 0x10124
lea rdx, [0x14001e174]
add rdx, rcx
mov rcx, rdx
movsxd rdx, dword [0x14001e170]
imul rdx, rdx, 0x10124
lea rdi, [0x14001e174]
movsxd rdx, dword [rdi + rdx + 0x100]
imul rdx, rdx, 0x2004
mov dword [rcx + rdx + 0x2104], eax
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_fclose]
movsxd rax, dword [0x14001e170]
imul rax, rax, 0x10124
lea rcx, [0x14001e174]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [0x14001e170]
imul rcx, rcx, 0x10124
lea rdx, [0x14001e174]
movsxd rcx, dword [rdx + rcx + 0x100]
imul rcx, rcx, 0x2004
mov edx, dword [rax + rcx + 0x2104]
lea rcx, str.Length__d__n
call fcn.1400111b3
movsxd rax, dword [0x14001e170]
imul rax, rax, 0x10124
lea rcx, [0x14001e174]
mov eax, dword [rcx + rax + 0x100]
inc eax
movsxd rcx, dword [0x14001e170]
imul rcx, rcx, 0x10124
lea rdx, [0x14001e174]
mov dword [rdx + rcx + 0x100], eax
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 0x188]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1400162dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x1a4], eax
mov rcx, qword [rbp + 0x188]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [0x14001e170]
inc eax
mov dword [0x14001e170], eax
mov eax, dword [rbp + 0x1a4]
jmp 0x1400164fc
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ada0]
call fcn.140011334
mov rax, rdi
mov rcx, qword [rbp + 0x578]
xor rcx, rbp
call fcn.1400111cc
lea rsp, [rbp + 0x588]
pop rdi
pop rbp
ret