Function at 0x140002750
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 [0x140034180]
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 0x1400027cd
lea rcx, str.Invalid_file_n
call fcn.140014ac0
xor al, al
jmp 0x140003bd9
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 0x140002833
lea rcx, str.Invalid_platform_n
call fcn.140014ac0
xor al, al
jmp 0x140003bd9
lea rcx, str.File_ok_n
call fcn.140014ac0
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 0x140002893
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Target_process_memory_allocation_failed__ex__0x_X_n
call fcn.140014ac0
xor al, al
jmp 0x140003bd9
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]
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 0x140002937
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_write_file_header_0x_X_n
call fcn.140014ac0
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 0x140003bd9
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 0x140002971
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 0x140002a24
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x10], 0
je 0x140002a1f
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 0x140002a1f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_map_sections:_0x_x_n
call fcn.140014ac0
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 0x140003bd9
jmp 0x140002959
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 0x140002a4c
mov rax, qword [rsp + 0xb8]
test rax, rax
jbe 0x140002c42
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]
mov dword [rsp + 0x4c], 0
jmp 0x140002ad7
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x1d8]
cmp dword [rsp + 0x4c], eax
jae 0x140002c42
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]
lea rax, [rsp + 0x750]
mov rcx, qword [rsp + 0x888]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x140002ba6
inc rax
test dl, dl
jne 0x140002b93
xor eax, eax
jmp 0x140002bab
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140002c3d
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.140014ac0
jmp 0x140002c42
jmp 0x140002acd
mov qword [rsp + 0xf0], 0
cmp dword [rsp + 0x898], 0
jbe 0x140002cb9
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]
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 0x140002dbc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Target_process_mapping_allocation_failed__ex__0x_X_n
call fcn.140014ac0
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 0x140003bd9
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 0x140002e3d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_write_mapping_0x_X_n
call fcn.140014ac0
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 0x140003bd9
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 0x140002ec1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Memory_allocation_failed__ex__0x_X_n
call fcn.140014ac0
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 0x140003bd9
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
lea r8, [0x14000a120]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140002f5d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Cant_write_code_0x_X_n
call fcn.140014ac0
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 0x140003bd9
mov rdx, qword [rsp + 0x38]
lea rcx, str.Mapped_DLL_at__p_n
call fcn.140014ac0
mov rdx, qword [rsp + 0x60]
lea rcx, str.Mapping_info_at__p_n
call fcn.140014ac0
mov rdx, qword [rsp + 0x68]
lea rcx, str.Code_at__p_n
call fcn.140014ac0
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 0x140002fe3
xor al, al
jmp 0x140003bd9
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 0x140003035
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140003bd9
mov eax, dword [rsp + 0xdc]
cmp dword [rsp + 0x1f4], eax
jne 0x140003052
mov eax, dword [rsp + 0x1f0]
mov dword [rsp + 0x7c], eax
jmp 0x140003072
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 0x140003035
cmp dword [rsp + 0x7c], 0
jne 0x140003080
xor al, al
jmp 0x140003bd9
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 0x1400030a6
xor al, al
jmp 0x140003bd9
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1400030c8
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x140003bd9
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 0x14000311b
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 0x140003bd9
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 0x14000316f
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 0x140003bd9
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 0x140003597
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 0x140003bd9
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x1400035ea
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 0x140003bd9
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x14000362b
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 0x140003bd9
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.140014ac0
mov qword [rsp + 0xd0], 0
cmp qword [rsp + 0xd0], 0
jne 0x140003799
mov dword [rsp + 0x80], 0
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rsp + 0x80], 0x103
je 0x1400036aa
mov edx, dword [rsp + 0x80]
lea rcx, str.Process_crashed__exit_code:__d_n
call fcn.140014ac0
xor al, al
jmp 0x140003bd9
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 0x14000376f
lea rcx, str.Wrong_mapping_ptr_n
call fcn.140014ac0
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 0x140003bd9
cmp qword [rsp + 0xd0], 0x505050
jne 0x140003789
lea rcx, str.WARNING:_Exception_support_failed__n
call fcn.140014ac0
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140003653
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 0x1400037ca
lea rcx, str.Unable_to_allocate_memory_n
call fcn.140014ac0
xor al, al
jmp 0x140003bd9
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 0x140003821
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 0x140003821
lea rcx, str.WARNING_:_Cant_clear_HEADER_n
call fcn.140014ac0
movzx eax, byte [rsp + 0x8a8]
test eax, eax
je 0x1400039ef
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 0x140003874
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 0x1400039ef
mov rax, qword [rsp + 0x30]
cmp dword [rax + 8], 0
je 0x1400039ea
movzx eax, byte [rsp + 0x8b8]
test eax, eax
je 0x1400038b5
mov dword [rsp + 0xa0], 0
jmp 0x14000390b
mov rax, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
lea rcx, [0x14002a2e8]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x1400038dc
inc rax
test dl, dl
jne 0x1400038c9
xor eax, eax
jmp 0x1400038e1
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400038f2
mov dword [rsp + 0x9c], 1
jmp 0x1400038fd
mov dword [rsp + 0x9c], 0
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0xa0], eax
cmp dword [rsp + 0xa0], 0
jne 0x140003975
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 0x14000393c
inc rax
test dl, dl
jne 0x140003929
xor eax, eax
jmp 0x140003941
sbb eax, eax
or eax, 1
test eax, eax
je 0x140003975
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 0x14000396c
inc rax
test dl, dl
jne 0x140003959
xor eax, eax
jmp 0x140003971
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400039ea
mov rax, qword [rsp + 0x30]
mov rdx, rax
lea rcx, str.Processing__s_removal_n
call fcn.140014ac0
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 0x1400039ea
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.140014ac0
jmp 0x140003856
movzx eax, byte [rsp + 0x8b0]
test eax, eax
je 0x140003b75
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 0x140003a42
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 0x140003b2f
mov rax, qword [rsp + 0x30]
cmp dword [rax + 8], 0
je 0x140003b2a
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 0x140003a98
mov dword [rsp + 0x50], 4
jmp 0x140003ab1
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
and eax, 0x20000000
test eax, eax
jbe 0x140003ab1
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 0x140003b11
mov rax, qword [rsp + 0x30]
mov r8d, dword [rsp + 0x50]
mov rdx, rax
lea rcx, str.section__s_set_as__lX_n
call fcn.140014ac0
jmp 0x140003b2a
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.140014ac0
jmp 0x140003a24
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]
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.140025ba0
add rsp, 0x860
pop rdi
ret