Function at 0x140011406
Capabilities:
Get file size
Read file on windows
Terminate process

Disassembly:
jmp 0x14003b2b0
push rbp
push rsi
push rdi
sub rsp, 0x450
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0xa4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001cf80]
xor rax, rbp
mov qword [rbp + 0x400], rax
lea rcx, [0x14004b1bc]
call fcn.140011541
lea rax, [rbp + 0x10]
lea rcx, [0x14001f420]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x41
rep movsb byte [rdi], byte [rsi]
lea rax, [rbp + 0x78]
lea rcx, [0x14001f470]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x11
rep movsb byte [rdi], byte [rsi]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0x104
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0xa8], rax
mov r8d, 0x104
mov rdx, qword [rbp + 0xa8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 1
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0xc8], 0xffffffffffffffff
jne 0x14003b3a1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rdx, [rbp + 0xe8]
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x14003b3c1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [rbp + 0xe8]
mov dword [rbp + 0x104], eax
mov eax, dword [rbp + 0x104]
mov qword [rbp + 0x3f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rbp + 0x3f8]
mov r8, rcx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0x128], rax
cmp qword [rbp + 0x128], 0
jne 0x14003b411
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [rbp + 0x144], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x144]
mov r8d, dword [rbp + 0x104]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14003b458
mov eax, dword [rbp + 0x104]
cmp dword [rbp + 0x144], eax
je 0x14003b478
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp + 0x128]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x78]
call fcn.140011249
mov dword [rsp + 0x20], 1
mov r9d, eax
lea r8, [rbp + 0x78]
mov edx, dword [rbp + 0x104]
mov rcx, qword [rbp + 0x128]
call fcn.1400111ae
mov eax, eax
mov qword [rbp + 0x3f8], rax
lea rcx, [rbp + 0x78]
call fcn.140011249
mov rcx, qword [rbp + 0x3f8]
add rcx, rax
mov rax, rcx
mov dword [rbp + 0x164], eax
mov eax, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x104]
sub ecx, eax
mov eax, ecx
mov dword [rbp + 0x184], eax
mov eax, dword [rbp + 0x184]
mov qword [rbp + 0x3f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rbp + 0x3f8]
mov r8, rcx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0x1a8], rax
mov eax, dword [rbp + 0x164]
mov dword [rbp + 0x1c4], eax
jmp 0x14003b538
mov eax, dword [rbp + 0x1c4]
inc eax
mov dword [rbp + 0x1c4], eax
mov eax, dword [rbp + 0x104]
cmp dword [rbp + 0x1c4], eax
jae 0x14003b576
movsxd rax, dword [rbp + 0x1c4]
mov ecx, dword [rbp + 0x164]
mov edx, dword [rbp + 0x1c4]
sub edx, ecx
mov ecx, edx
mov ecx, ecx
mov rdx, qword [rbp + 0x1a8]
mov rdi, qword [rbp + 0x128]
movzx eax, byte [rdi + rax]
mov byte [rdx + rcx], al
jmp 0x14003b52a
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp + 0x128]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, [rbp + 0x10]
call fcn.140011249
mov r9d, eax
lea r8, [rbp + 0x10]
mov edx, dword [rbp + 0x184]
mov rcx, qword [rbp + 0x1a8]
call fcn.1400113bb
mov rcx, qword [rbp + 0x1a8]
call fcn.1400110f5
mov dword [rbp + 0x1e4], eax
movsxd rax, dword [rbp + 0x1e4]
mov qword [rbp + 0x3f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rbp + 0x3f8]
mov r8, rcx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0x208], rax
mov rax, qword [rbp + 0x1a8]
add rax, 4
mov qword [rbp + 0x228], rax
movsxd rax, dword [rbp + 0x184]
sub rax, 4
mov r9d, dword [rbp + 0x1e4]
mov r8d, eax
mov rdx, qword [rbp + 0x208]
mov rcx, qword [rbp + 0x228]
call fcn.1400111cc
mov dword [rbp + 0x244], eax
mov eax, dword [rbp + 0x1e4]
cmp dword [rbp + 0x244], eax
je 0x14003b64b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp + 0x1a8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rbp + 0x208]
mov qword [rbp + 0x1a8], rax
mov qword [rbp + 0x268], 0xffffffffffffffff
lea r8, [rbp + 0x268]
mov rdx, qword [rbp + 0x1a8]
mov rcx, qword [rbp + 0xa8]
call fcn.140011082
test eax, eax
jne 0x14003b6a2
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp + 0xa8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp + 0x1a8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]