Function at 0x13b405a70
Capabilities:
Read file on windows

Disassembly:
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x28]
mov eax, eax
mov edx, eax
mov rcx, qword [rsp + 0x78]
call fcn.13b40593e
mov r8d, 0x104
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x6c]
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x13b405acf
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
jmp 0x13b405ab2
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x78]
movzx eax, word [rcx + rax*2]
cmp eax, 0x5c
je 0x13b405b08
mov eax, dword [rsp + 0x48]
xor ecx, ecx
mov rdx, qword [rsp + 0x78]
mov word [rdx + rax*2], cx
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x48], eax
jmp 0x13b405ad7
mov dword [rsp + 0x64], 0
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0xc8]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x13b405b58
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0xc8]
movsx ax, byte [rcx + rax]
mov ecx, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x78]
mov word [rdx + rcx*2], ax
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
jmp 0x13b405b10
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 1
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0xffffffffffffffff
jne 0x13b405ba2
jmp 0x13b405fde
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x5c]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xf0], rax
xor edx, edx
mov rcx, qword [rsp + 0xa8]
call qword [rsp + 0xf0]
mov dword [rsp + 0x98], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x34]
mov eax, eax
mov qword [rsp + 0xf8], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0xf8]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x34]
mov eax, eax
mov edx, eax
mov rcx, qword [rsp + 0x40]
call fcn.13b40593e
mov dword [rsp + 0x80], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x80]
mov r8d, dword [rsp + 0x98]
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x13b405c62
jmp 0x13b405fde
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x14]
mov eax, eax
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov dword [rsp + 0x9c], eax
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x6c], 0
jmp 0x13b405cfa
mov eax, dword [rsp + 0x6c]
inc eax
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x9c]
cmp dword [rsp + 0x6c], eax
jae 0x13b405d1e
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
add eax, dword [rsp + 0xa0]
and al, 0xa0
add byte [rax], al
add byte [rax - 0x75], cl
and al, 0x58
mov dword [rcx], eax
jmp 0x13b405ce2
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x68]
mov eax, eax
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
inc rax
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0
jne 0x13b405d69
jmp 0x13b405fde
mov rax, qword [rsp + 0x40]
movsx rax, byte [rax]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
inc rax
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xb8], rax
cmp qword [rsp + 0xb8], 0
jne 0x13b405db3
jmp 0x13b405fde
mov rax, qword [rsp + 0x40]
movsx rax, byte [rax]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
inc rax
mov rcx, rax
call qword [rsp + 0xd0]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
jne 0x13b405df6
jmp 0x13b405fde
mov rax, qword [rsp + 0x40]
movsx rax, byte [rax]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x10]
mov eax, eax
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 4]
mov dword [rsp + 0xa4], eax
mov rax, qword [rsp + 0xd8]
mov eax, dword [rax + 8]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0xe0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x88]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov eax, dword [rax + 0x2c]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x70], 0
mov eax, dword [rsp + 0x68]
lea r9, [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
mov r8d, dword [rcx + 0x64]
mov edx, eax
mov rcx, qword [rsp + 0x90]
call qword [rsp + 0xb8]
mov r8d, dword [rsp + 0x68]
mov rdx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x90]
call fcn.13b40599e
mov eax, dword [rsp + 0x68]
lea r9, [rsp + 0x70]
mov r8d, dword [rsp + 0x70]
mov edx, eax
mov rcx, qword [rsp + 0x90]
call qword [rsp + 0xb8]
mov eax, dword [rsp + 0xa4]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x110], rax
mov dword [rsp + 0x4c], 0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
movsxd rcx, dword [rsp + 0x4c]
movsx eax, byte [rax + rcx]
test eax, eax
je 0x13b405f84
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
movsxd rcx, dword [rsp + 0x4c]
movsx ax, byte [rax + rcx]
movsxd rcx, dword [rsp + 0x4c]
mov rdx, qword [rsp + 0xc0]
mov word [rdx + rcx*2], ax
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
jmp 0x13b405f40
movsxd rax, dword [rsp + 0x4c]
xor ecx, ecx
mov rdx, qword [rsp + 0xc0]
mov word [rdx + rax*2], cx
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x120], rax
mov byte [rsp + 0x130], 1
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0x120]
call qword [rsp + 0x118]
add rsp, 0x148
ret