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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [0x1400680e8], r8
xor edx, edx
mov dword [rbp - 0x10], 0xc0
mov eax, 0x9c
mov dword [rbp - 0x20], edx
mov edi, 0xc8
mov dword [rbp - 0x18], eax
mov dword [rbp - 0x14], edx
lea ebx, [rdx + 1]
mov dword [rbp + 0x20], eax
mov dword [rbp - 0xc], edx
mov dword [rbp - 0x1c], edx
mov dword [rbp - 8], 0xdc
mov ecx, dword [rbp - 0x1c]
mov eax, dword [rbp - 0xc]
add ecx, 0xb7
cmp eax, ecx
je 0x140015f19
mov rax, qword [section..data]
lea r9, [0x140068010]
mov ecx, dword [rbp - 8]
mov dword [0x140068010], edx
sub ecx, 7
mov dword [0x140068024], edx
mov dword [0x140068034], ebx
mov dword [0x140068038], ebx
mov dword [0x140068054], ebx
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], ebx
mov rax, qword [section..data]
mov qword [0x1400680bc], rbx
mov dword [0x1400680d4], 0x22
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, 0xa8
mov eax, dword [rbp - 0x20]
add r8d, 0xa7
add eax, edi
mov dword [0x140068110], 0x10
mov dword [rsp + 0x20], eax
call fcn.140011a34
cmp dword [0x140068034], 0xde68
mov dword [rbp - 0x10], eax
jbe 0x140015ebf
mov eax, dword [0x14006805c]
xor eax, 0x15d8771
sub dword [0x1400680a4], eax
add dword [rbp + 0x20], 0x59
lea r8, [0x140068010]
mov ecx, dword [rbp - 0x18]
mov edx, dword [rbp - 0x1c]
add ecx, 0x77
mov r9d, dword [rbp - 0x20]
xor edx, edi
mov eax, dword [rbp - 0x20]
xor r9d, edi
add eax, 0xd0
mov dword [rsp + 0x20], eax
call fcn.140011324
mov dword [rbp + 0x20], eax
add dword [rbp - 0x20], 0xd5
add dword [rbp - 0x1c], 0xe5
mov eax, dword [rbp + 0x20]
mov rcx, qword [section..data]
mov dword [rbp + 0x20], eax
mov eax, 0x15d8593
sub eax, dword [0x14006805c]
add dword [rcx + 0x5c], eax
mov ecx, dword [rbp - 0x1c]
mov eax, dword [rbp - 0x10]
add ecx, 0xfffffff2
cmp eax, ecx
jge 0x14001603b
mov rdx, qword [section..data]
mov eax, dword [0x140068010]
cmp dword [rdx + 0x58], eax
jae 0x140015f4d
mov eax, dword [rdx + 0x6c]
add eax, dword [0x140068038]
or dword [0x140068024], eax
jmp 0x140015f69
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], 0x13
lea r8, [0x140068010]
mov ecx, dword [rbp + 0x20]
mov edx, dword [rbp - 0x20]
sub ecx, 8
mov r9d, dword [rbp + 0x20]
sub edx, 0xf
mov eax, dword [rbp - 0x10]
add r9d, 0x25
add eax, 8
mov dword [rsp + 0x20], eax
call fcn.14000cb40
mov dword [rbp - 0x18], eax
lea rcx, [0x140068010]
add dword [rbp - 0xc], 0x113
mov ebx, 0x1db
xor dword [rbp + 0x20], 0x18
xor dword [rbp - 0x20], 0x6e
xor dword [rbp - 0x10], 0x1c
mov edx, dword [rbp - 0xc]
mov r8d, dword [rbp - 0x14]
xor edx, ebx
mov r9d, dword [rbp - 0x1c]
add r8d, 0xd5
mov r11d, dword [rbp - 8]
sub r9d, 0x2c
mov r10d, dword [rbp + 0x20]
sub r11d, 7
mov eax, dword [rbp - 0x18]
sub r10d, 0x11
xor eax, 0x2d
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
call fcn.14000ed68
mov dword [rbp - 0x14], eax
xor dword [rbp - 0x18], 0x35
xor dword [rbp - 0x14], ebx
add dword [rbp - 0x14], 0xffffffdf
mov rcx, qword [section..data]
cmp dword [rcx + 0x64], 0xec70
je 0x140016032
mov rdx, qword [0x1400680e8]
mov rcx, qword [rcx + 0xb8]
call qword [0x140068080]
mov dword [0x1400680a8], eax
add dword [rbp - 0x18], 0x15
jmp 0x1400161ec
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 0x140016153
mov r8d, dword [0x140068014]
jmp 0x1400160a6
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, ebx
mov ecx, dword [rbp + 0x20]
mov eax, dword [rbp - 0x14]
and ecx, eax
cmp r8d, ecx
jne 0x140016065
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, 0xb0
mov eax, dword [0x140068068]
mov ebx, dword [0x140068068]
xor r10, rax
add ecx, dword [0x140068074]
xor r10, rdi
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, 0xa8
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 0x1400161ec
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, 0xd7
mov r8d, dword [rbp - 0x1c]
or rcx, r10
mov r9d, dword [rbp - 0x1c]
mov eax, dword [0x140068110]
imul edx, dword [0x140068034]
xor eax, 0xc0
add r8d, eax
mov eax, dword [rbp - 0x14]
and r9d, eax
mov eax, dword [0x14006807c]
or rax, 0xdc
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [rbp - 0x1c]
mov eax, dword [rbp - 0x1c]
or ecx, 0xe5
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]