Function at 0x1400028e0
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Enumerate threads
Hijack thread execution
Resolve function by parsing pe exports
Resume thread
Suspend thread

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x860
mov rax, qword [0x140036180]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x878]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14000295d
lea rcx, str.Invalid_file_n
call fcn.140016920
xor al, al
jmp 0x140003d77
mov rax, qword [rsp + 0x878]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x878]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
add rax, 0x18
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax]
cmp eax, 0x8664
je 0x1400029c3
lea rcx, str.Invalid_platform_n
call fcn.140016920
xor al, al
jmp 0x140003d77
lea rcx, str.File_ok_n
call fcn.140016920
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x140002a23
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Target_process_memory_allocation_failed__ex__0x_X_n
call fcn.140016920
xor al, al
jmp 0x140003d77
mov dword [rsp + 0xd8], 0
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x38]
lea rcx, [rsp + 0xd8]
mov qword [rsp + 0x20], rcx
mov r9d, 0x40
mov r8d, eax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
nop
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
mov r8, qword [rsp + 0x878]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140002ac8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_write_file_header_0x_X_n
call fcn.140016920
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140003d77
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x70], 0
jmp 0x140002b02
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x30]
add rax, 0x28
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax + 2]
cmp dword [rsp + 0x70], eax
je 0x140002bb5
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x10], 0
je 0x140002bb0
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x878]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x30]
mov edx, dword [rdx + 0xc]
mov r8, qword [rsp + 0x38]
add r8, rdx
mov rdx, r8
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, rcx
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140002bb0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_map_sections:_0x_x_n
call fcn.140016920
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140003d77
jmp 0x140002aea
mov qword [rsp + 0xf8], 0
mov rax, qword [rsp + 0x888]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0xb8], 0xffffffffffffffff
inc qword [rsp + 0xb8]
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xb8]
cmp byte [rax + rcx], 0
jne 0x140002bdd
mov rax, qword [rsp + 0xb8]
test rax, rax
jbe 0x140002dd6
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rcx + rax + 0x70]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], 0
mov r9d, 0x28
lea r8, [rsp + 0x1c0]
mov rdx, rax
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
nop
mov dword [rsp + 0x4c], 0
jmp 0x140002c69
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x1d8]
cmp dword [rsp + 0x4c], eax
jae 0x140002dd6
mov dword [rsp + 0x98], 0
mov eax, dword [rsp + 0x1e0]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x4c]
shl ecx, 2
mov ecx, ecx
add rax, rcx
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rsp + 0x98]
mov rdx, rax
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x98]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x100
lea r8, [rsp + 0x750]
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
nop
lea rax, [rsp + 0x750]
mov rcx, qword [rsp + 0x888]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x140002d39
inc rax
test dl, dl
jne 0x140002d26
xor eax, eax
jmp 0x140002d3e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140002dd1
mov dword [rsp + 0x74], 0
mov eax, dword [rsp + 0x1dc]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x4c]
shl ecx, 2
mov ecx, ecx
add rax, rcx
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rsp + 0x74]
mov rdx, rax
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xf8], rax
mov eax, dword [rsp + 0x74]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0x888]
lea rcx, str.Found__s_at__p_n
call fcn.140016920
nop
jmp 0x140002dd6
jmp 0x140002c5f
mov qword [rsp + 0xf0], 0
cmp dword [rsp + 0x898], 0
jbe 0x140002e4e
mov eax, dword [rsp + 0x898]
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0xf0], rax
mov eax, dword [rsp + 0x898]
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0x890]
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
lea rax, [rsp + 0x120]
mov rdi, rax
xor eax, eax
mov ecx, 0x50
rep stosb byte [rdi], al
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x120], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x128], rax
mov rax, qword [sym.imp.ntdll.dll_RtlAddFunctionTable]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x138], rax
mov eax, dword [rsp + 0x8c0]
mov dword [rsp + 0x148], eax
mov rax, qword [rsp + 0x8c8]
mov qword [rsp + 0x150], rax
movzx eax, byte [rsp + 0x8b8]
mov dword [rsp + 0x158], eax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x160], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x168], rax
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x50
xor edx, edx
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140002f51
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Target_process_mapping_allocation_failed__ex__0x_X_n
call fcn.140016920
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140003d77
mov qword [rsp + 0x20], 0
mov r9d, 0x50
lea r8, [rsp + 0x120]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140002fd2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_write_mapping_0x_X_n
call fcn.140016920
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140003d77
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x140003056
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Memory_allocation_failed__ex__0x_X_n
call fcn.140016920
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140003d77
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
lea r8, [0x14000add0]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400030f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_write_code_0x_X_n
call fcn.140016920
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140003d77
mov rdx, qword [rsp + 0x38]
lea rcx, str.Mapped_DLL_at__p_n
call fcn.140016920
mov rdx, qword [rsp + 0x60]
lea rcx, str.Mapping_info_at__p_n
call fcn.140016920
mov rdx, qword [rsp + 0x68]
lea rcx, str.Code_at__p_n
call fcn.140016920
lea rax, [rsp + 0x1e8]
mov rdi, rax
xor eax, eax
mov ecx, 0x1c
rep stosb byte [rdi], al
mov dword [rsp + 0x1e8], 0x1c
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov edx, eax
mov ecx, 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0xffffffffffffffff
jne 0x140003178
xor al, al
jmp 0x140003d77
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov dword [rsp + 0xdc], eax
mov dword [rsp + 0x7c], 0
lea rdx, [rsp + 0x1e8]
mov rcx, qword [rsp + 0xc8]
call sub.KERNEL32.dll_Thread32First
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
jne 0x1400031ca
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140003d77
mov eax, dword [rsp + 0xdc]
cmp dword [rsp + 0x1f4], eax
jne 0x1400031e7
mov eax, dword [rsp + 0x1f0]
mov dword [rsp + 0x7c], eax
jmp 0x140003207
lea rdx, [rsp + 0x1e8]
mov rcx, qword [rsp + 0xc8]
call sub.KERNEL32.dll_Thread32Next
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
jne 0x1400031ca
cmp dword [rsp + 0x7c], 0
jne 0x140003215
xor al, al
jmp 0x140003d77
mov r8d, dword [rsp + 0x7c]
xor edx, edx
mov ecx, 0x1a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14000323b
xor al, al
jmp 0x140003d77
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x14000325d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140003d77
lea rax, [rsp + 0x210]
mov rdi, rax
xor eax, eax
mov ecx, 0x4d0
rep stosb byte [rdi], al
mov dword [rsp + 0x240], 0x100001
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x1400032b0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140003d77
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x100
xor edx, edx
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x140003304
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140003d77
mov byte [rsp + 0x6e0], 0
mov byte [rsp + 0x6e1], 0
mov byte [rsp + 0x6e2], 0
mov byte [rsp + 0x6e3], 0
mov byte [rsp + 0x6e4], 0
mov byte [rsp + 0x6e5], 0
mov byte [rsp + 0x6e6], 0
mov byte [rsp + 0x6e7], 0
mov byte [rsp + 0x6e8], 0x48
mov byte [rsp + 0x6e9], 0x83
mov byte [rsp + 0x6ea], 0xec
mov byte [rsp + 0x6eb], 8
mov byte [rsp + 0x6ec], 0xc7
mov byte [rsp + 0x6ed], 4
mov byte [rsp + 0x6ee], 0x24
mov byte [rsp + 0x6ef], 0
mov byte [rsp + 0x6f0], 0
mov byte [rsp + 0x6f1], 0
mov byte [rsp + 0x6f2], 0
mov byte [rsp + 0x6f3], 0xc7
mov byte [rsp + 0x6f4], 0x44
mov byte [rsp + 0x6f5], 0x24
mov byte [rsp + 0x6f6], 4
mov byte [rsp + 0x6f7], 0
mov byte [rsp + 0x6f8], 0
mov byte [rsp + 0x6f9], 0
mov byte [rsp + 0x6fa], 0
mov byte [rsp + 0x6fb], 0x50
mov byte [rsp + 0x6fc], 0x51
mov byte [rsp + 0x6fd], 0x52
mov byte [rsp + 0x6fe], 0x41
mov byte [rsp + 0x6ff], 0x50
mov byte [rsp + 0x700], 0x41
mov byte [rsp + 0x701], 0x51
mov byte [rsp + 0x702], 0x41
mov byte [rsp + 0x703], 0x52
mov byte [rsp + 0x704], 0x41
mov byte [rsp + 0x705], 0x53
mov byte [rsp + 0x706], 0x9c
mov byte [rsp + 0x707], 0x48
mov byte [rsp + 0x708], 0xb8
mov byte [rsp + 0x709], 0
mov byte [rsp + 0x70a], 0
mov byte [rsp + 0x70b], 0
mov byte [rsp + 0x70c], 0
mov byte [rsp + 0x70d], 0
mov byte [rsp + 0x70e], 0
mov byte [rsp + 0x70f], 0
mov byte [rsp + 0x710], 0
mov byte [rsp + 0x711], 0x48
mov byte [rsp + 0x712], 0xb9
mov byte [rsp + 0x713], 0
mov byte [rsp + 0x714], 0
mov byte [rsp + 0x715], 0
mov byte [rsp + 0x716], 0
mov byte [rsp + 0x717], 0
mov byte [rsp + 0x718], 0
mov byte [rsp + 0x719], 0
mov byte [rsp + 0x71a], 0
mov byte [rsp + 0x71b], 0x48
mov byte [rsp + 0x71c], 0x83
mov byte [rsp + 0x71d], 0xec
mov byte [rsp + 0x71e], 0x20
mov byte [rsp + 0x71f], 0xff
mov byte [rsp + 0x720], 0xd0
mov byte [rsp + 0x721], 0x48
mov byte [rsp + 0x722], 0x83
mov byte [rsp + 0x723], 0xc4
mov byte [rsp + 0x724], 0x20
mov byte [rsp + 0x725], 0x48
mov byte [rsp + 0x726], 0x8d
mov byte [rsp + 0x727], 0xd
mov byte [rsp + 0x728], 0xb4
mov byte [rsp + 0x729], 0xff
mov byte [rsp + 0x72a], 0xff
mov byte [rsp + 0x72b], 0xff
mov byte [rsp + 0x72c], 0x48
mov byte [rsp + 0x72d], 0x89
mov byte [rsp + 0x72e], 1
mov byte [rsp + 0x72f], 0x9d
mov byte [rsp + 0x730], 0x41
mov byte [rsp + 0x731], 0x5b
mov byte [rsp + 0x732], 0x41
mov byte [rsp + 0x733], 0x5a
mov byte [rsp + 0x734], 0x41
mov byte [rsp + 0x735], 0x59
mov byte [rsp + 0x736], 0x41
mov byte [rsp + 0x737], 0x58
mov byte [rsp + 0x738], 0x5a
mov byte [rsp + 0x739], 0x59
mov byte [rsp + 0x73a], 0x58
mov byte [rsp + 0x73b], 0xc6
mov byte [rsp + 0x73c], 5
mov byte [rsp + 0x73d], 0xa9
mov byte [rsp + 0x73e], 0xff
mov byte [rsp + 0x73f], 0xff
mov byte [rsp + 0x740], 0xff
mov byte [rsp + 0x741], 0
mov byte [rsp + 0x742], 0xc3
mov dword [rsp + 0x48], 8
mov eax, dword [rsp + 0x48]
add eax, 3
mov dword [rsp + 0x100], eax
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x308]
and rcx, rax
mov rax, rcx
mov dword [rsp + 0xe8], eax
mov rax, qword [rsp + 0x308]
shr rax, 0x20
mov dword [rsp + 0xe4], eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0xe8]
mov dword [rsp + rax + 0x6e7], ecx
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0xe4]
mov dword [rsp + rax + 0x6ef], ecx
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + rax + 0x701], rcx
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + rax + 0x70b], rcx
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x308], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x63
lea r8, [rsp + 0x6e0]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14000372c
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140003d77
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x14000377f
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140003d77
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x1400037c0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140003d77
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x68]
lea rcx, str.Thread_created_at:__p__waiting_for_return..._n
call fcn.140016920
mov qword [rsp + 0xd0], 0
cmp qword [rsp + 0xd0], 0
jne 0x140003931
mov dword [rsp + 0x80], 0
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
nop
cmp dword [rsp + 0x80], 0x103
je 0x140003840
mov edx, dword [rsp + 0x80]
lea rcx, str.Process_crashed__exit_code:__d_n
call fcn.140016920
xor al, al
jmp 0x140003d77
lea rax, [rsp + 0x170]
mov rdi, rax
xor eax, eax
mov ecx, 0x50
rep stosb byte [rdi], al
mov qword [rsp + 0x20], 0
mov r9d, 0x50
lea r8, [rsp + 0x170]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0x404040
jne 0x140003905
lea rcx, str.Wrong_mapping_ptr_n
call fcn.140016920
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor al, al
jmp 0x140003d77
cmp qword [rsp + 0xd0], 0x505050
jne 0x140003920
lea rcx, str.WARNING:_Exception_support_failed__n
call fcn.140016920
nop
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x1400037e8
mov ecx, 0x1400000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0xb0], rax
cmp qword [rsp + 0xb0], 0
jne 0x140003962
lea rcx, str.Unable_to_allocate_memory_n
call fcn.140016920
xor al, al
jmp 0x140003d77
mov rdi, qword [rsp + 0xb0]
xor eax, eax
mov ecx, 0x1400000
rep stosb byte [rdi], al
movzx eax, byte [rsp + 0x8a0]
test eax, eax
je 0x1400039ba
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
mov r8, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400039ba
lea rcx, str.WARNING_:_Cant_clear_HEADER_n
call fcn.140016920
nop
movzx eax, byte [rsp + 0x8a8]
test eax, eax
je 0x140003b8a
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x84], 0
jmp 0x140003a0d
mov eax, dword [rsp + 0x84]
inc eax
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0x30]
add rax, 0x28
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax + 2]
cmp dword [rsp + 0x84], eax
je 0x140003b8a
mov rax, qword [rsp + 0x30]
cmp dword [rax + 8], 0
je 0x140003b85
movzx eax, byte [rsp + 0x8b8]
test eax, eax
je 0x140003a4e
mov dword [rsp + 0xa0], 0
jmp 0x140003aa4
mov rax, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
lea rcx, [0x14002c3e8]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x140003a75
inc rax
test dl, dl
jne 0x140003a62
xor eax, eax
jmp 0x140003a7a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140003a8b
mov dword [rsp + 0x9c], 1
jmp 0x140003a96
mov dword [rsp + 0x9c], 0
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 0
jne 0x140003b0e
mov rax, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
lea rcx, str..rsrc
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x140003ad5
inc rax
test dl, dl
jne 0x140003ac2
xor eax, eax
jmp 0x140003ada
sbb eax, eax
or eax, 1
test eax, eax
je 0x140003b0e
mov rax, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
lea rcx, str..reloc
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x140003b05
inc rax
test dl, dl
jne 0x140003af2
xor eax, eax
jmp 0x140003b0a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140003b85
mov rax, qword [rsp + 0x30]
mov rdx, rax
lea rcx, str.Processing__s_removal_n
call fcn.140016920
nop
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
mov qword [rsp + 0x20], 0
mov r9d, eax
mov r8, qword [rsp + 0xb0]
mov rdx, rcx
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140003b85
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x30]
mov r8d, eax
mov rdx, rcx
lea rcx, str.Cant_clear_section__s:_0x_x_n
call fcn.140016920
nop
jmp 0x1400039ef
movzx eax, byte [rsp + 0x8b0]
test eax, eax
je 0x140003d13
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x88], 0
jmp 0x140003bdd
mov eax, dword [rsp + 0x88]
inc eax
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x30]
add rax, 0x28
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xa8]
movzx eax, word [rax + 2]
cmp dword [rsp + 0x88], eax
je 0x140003ccc
mov rax, qword [rsp + 0x30]
cmp dword [rax + 8], 0
je 0x140003cc7
mov dword [rsp + 0xec], 0
mov dword [rsp + 0x50], 2
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
and eax, 0x80000000
test eax, eax
jbe 0x140003c33
mov dword [rsp + 0x50], 4
jmp 0x140003c4c
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
and eax, 0x20000000
test eax, eax
jbe 0x140003c4c
mov dword [rsp + 0x50], 0x20
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
lea rdx, [rsp + 0xec]
mov qword [rsp + 0x20], rdx
mov r9d, dword [rsp + 0x50]
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x140003cad
mov rax, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x50]
mov rdx, rax
lea rcx, str.section__s_set_as__lX_n
call fcn.140016920
nop
jmp 0x140003cc7
mov rax, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x50]
mov rdx, rax
lea rcx, str.FAIL:_section__s_not_set_as__lX_n
call fcn.140016920
nop
jmp 0x140003bbf
mov dword [rsp + 0xe0], 0
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax + 0x24]
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x20], rcx
mov r9d, 2
mov r8d, eax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
nop
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
mov r8, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov al, 1
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.140027740
add rsp, 0x860
pop rdi
ret