Function at 0x140015d64
Capabilities:
Read file on windows
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [0x1400680e8], r8
xor edx, edx
mov dword [rbp - 0x10], 0xd7
mov dword [rbp - 0x20], 0xa8
mov dword [rbp - 0x18], 0xd7
mov dword [rbp - 0x14], edx
lea ebx, [rdx + 0x10]
mov dword [rbp + 0x20], 0xdc
mov dword [rbp - 0xc], 0xa7
mov dword [rbp - 0x1c], 0xb0
mov dword [rbp - 8], 0xd5
mov ecx, dword [rbp - 0x1c]
mov eax, dword [rbp - 0xc]
add ecx, 0x2c
cmp eax, ecx
je 0x140015ee7
mov rax, qword [section..data]
lea ecx, [rdx + 1]
mov dword [0x140068010], edx
lea r9, [0x140068010]
mov dword [0x140068024], edx
mov dword [0x140068034], ecx
mov dword [0x140068038], ecx
mov dword [0x140068054], ecx
mov dword [0x14006805c], 0x61
mov dword [rax + 0x58], edx
mov rax, qword [section..data]
mov dword [0x140068074], 0x28
mov dword [0x14006807c], 3
mov dword [rax + 0xa0], ecx
mov rax, qword [section..data]
mov qword [0x1400680bc], rcx
mov ecx, dword [rbp - 8]
mov dword [0x1400680d4], 0x22
sub ecx, 0xd
mov dword [rax + 0xe8], edx
mov rax, qword [section..data]
mov dword [rax + 0xfc], edx
mov edx, dword [rbp - 0x1c]
mov r8d, dword [rbp - 0xc]
xor edx, 0x65
mov eax, dword [rbp - 0x20]
add r8d, 0x30
add eax, 0x18
mov dword [0x140068110], ebx
mov dword [rsp + 0x20], eax
call fcn.140011a1c
cmp dword [0x140068034], 0xde68
mov dword [rbp - 0x10], eax
jbe 0x140015e93
mov eax, dword [0x14006805c]
xor eax, 0x15d8771
sub dword [0x1400680a4], eax
add dword [rbp + 0x20], 9
lea r8, [0x140068010]
mov ecx, dword [rbp - 0x18]
mov edx, dword [rbp - 0x1c]
sub ecx, 0x11
mov r9d, dword [rbp - 0x20]
xor edx, 0x1a3
mov eax, dword [rbp - 0x20]
xor r9d, 0xf
add eax, 0x28
mov dword [rsp + 0x20], eax
call fcn.1400112fc
mov dword [rbp + 0x20], eax
mov eax, 0x15d8593
add dword [rbp - 0x20], 0x34
add dword [rbp - 0x1c], ebx
add dword [rbp + 0x20], 0x28
mov rcx, qword [section..data]
sub eax, dword [0x14006805c]
add dword [rcx + 0x5c], eax
mov ecx, dword [rbp - 0x1c]
mov eax, dword [rbp - 0x10]
add ecx, 6
cmp eax, ecx
jge 0x140016001
mov rdx, qword [section..data]
mov eax, dword [0x140068010]
cmp dword [rdx + 0x58], eax
jae 0x140015f1b
mov eax, dword [rdx + 0x6c]
add eax, dword [0x140068038]
or dword [0x140068024], eax
jmp 0x140015f37
mov ecx, dword [rdx + 0xc4]
mov eax, dword [0x14006806c]
sub ecx, dword [rdx + 0x6c]
add eax, 0x8567f884
add ecx, eax
mov dword [0x14006806c], ecx
xor dword [rbp - 0x20], 0x14
lea r8, [0x140068010]
mov ecx, dword [rbp + 0x20]
mov edx, dword [rbp - 0x20]
mov r9d, dword [rbp + 0x20]
sub edx, 0x11
mov eax, dword [rbp - 0x10]
add r9d, 0x15
add eax, 0x20
mov dword [rsp + 0x20], eax
call fcn.14000cb20
mov dword [rbp - 0x18], eax
lea rcx, [0x140068010]
add dword [rbp - 0xc], 0x6c
xor dword [rbp + 0x20], 0x78
xor dword [rbp - 0x20], 0x60
xor dword [rbp - 0x10], 0x74
mov edx, dword [rbp - 0xc]
mov r8d, dword [rbp - 0x14]
xor edx, 0x1cf
mov r9d, dword [rbp - 0x1c]
add r8d, 0xd7
mov r11d, dword [rbp - 8]
sub r9d, ebx
mov r10d, dword [rbp + 0x20]
add r11d, 7
mov eax, dword [rbp - 0x18]
add r10d, 0x11
xor eax, 0x70
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
call fcn.14000ed64
mov dword [rbp - 0x14], eax
xor dword [rbp - 0x18], 0x70
xor dword [rbp - 0x14], 0x39
add dword [rbp - 0x14], 0xfffffff7
mov rcx, qword [section..data]
cmp dword [rcx + 0x64], 0xec70
je 0x140015ff9
mov rdx, qword [0x1400680e8]
mov rcx, qword [rcx + 0xb8]
call qword [0x140068080]
mov dword [0x1400680a8], eax
add dword [rbp - 0x18], ebx
jmp 0x1400161b7
mov ecx, dword [rbp - 0xc]
mov rax, qword [section..data]
mov edx, dword [rbp - 0x10]
or ecx, dword [rax + 0x100]
mov eax, dword [rbp - 0x10]
imul edx, ecx
cmp eax, edx
jne 0x14001611e
mov r8d, dword [0x140068014]
jmp 0x14001606d
mov edx, dword [rbp - 8]
mov rax, qword [section..data]
mov ecx, dword [rax + 0x4c]
mov eax, dword [rbp - 0x10]
xor ecx, dword [0x140068074]
imul edx, ecx
imul eax, edx
mov dword [rbp - 8], eax
mov rax, qword [section..data]
mov ecx, dword [rax + 0xe0]
xor ecx, dword [0x140068050]
or ecx, dword [rax + 0xf0]
or dword [0x14006801c], ecx
add r8d, 4
mov ecx, dword [rbp + 0x20]
mov eax, dword [rbp - 0x14]
and ecx, eax
cmp r8d, ecx
jne 0x14001602b
mov eax, dword [rbp - 0x10]
sub eax, dword [0x1400680d4]
mov rcx, qword [section..data]
sub eax, dword [rcx + 0x2c]
mov dword [rbp - 0x10], eax
mov eax, dword [rbp - 0x1c]
mov ecx, dword [rbp + 0x20]
sub ecx, eax
mov eax, dword [rbp - 0xc]
imul eax, ecx
add dword [rbp - 0xc], eax
mov ecx, dword [rbp - 0xc]
mov eax, dword [rbp - 0x20]
mov r8d, dword [rbp - 0x18]
mov edx, dword [rbp - 0x14]
and eax, dword [0x140068100]
mov r11d, dword [0x1400680d8]
add r8d, eax
mov eax, dword [rbp - 0x20]
xor edx, eax
mov r10d, dword [0x1400680ac]
sub edx, 0xe5
mov eax, dword [0x140068068]
mov ebx, dword [0x140068068]
xor r10, rax
add ecx, dword [0x140068074]
xor r10, 0xd0
movsxd r9, edx
mov edx, r11d
xor rdx, rbx
mov qword [rsp + 0x20], r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rax, qword [section..data]
mov ecx, dword [rax + 0x64]
imul ecx, dword [0x1400680bc]
or rcx, 0xf5
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x20]
and eax, dword [0x1400680e0]
mov ecx, dword [rbp - 0x18]
xor ecx, eax
mov rax, qword [section..data]
cmp dword [rax + 0x6c], ecx
je 0x1400161b7
mov eax, dword [rbp - 0x14]
mov edx, dword [rbp - 8]
mov ecx, dword [0x140068028]
sub ecx, eax
mov eax, dword [rbp - 0x18]
add edx, ecx
add eax, edx
mov dword [rbp - 8], eax
movsxd rcx, dword [rbp - 8]
movsxd r10, dword [rbp - 0x18]
mov edx, dword [rbp - 0x20]
or r10, 0xb9
mov r8d, dword [rbp - 0x1c]
or rcx, r10
mov r9d, dword [rbp - 0x1c]
mov eax, dword [0x140068110]
imul edx, dword [0x140068034]
xor eax, 0xc8
add r8d, eax
mov eax, dword [rbp - 0x14]
and r9d, eax
mov eax, dword [0x14006807c]
or rax, 0xe5
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [rbp - 0x1c]
mov eax, dword [rbp - 0x1c]
or ecx, 0x9c
imul eax, ecx
movsxd rcx, eax
call qword [sym.imp.KERNEL32.dll_GetFileType]
mov rax, qword [section..data]
mov ecx, dword [rax + 0x98]
call qword [sym.imp.KERNEL32.dll_ExitProcess]