Function at 0x4023d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x434674]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
lea edx, [ebp - 0x64]
xor ebx, ebx
push edx
push 0xf01ff
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
lea edi, [ebx + 1]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x402678
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x60]
push eax
push edi
push edi
push ebx
push 0xf01ff
push ecx
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x402678
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea edx, [ebp - 0x6c]
push edx
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
push edi
push ebx
push ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.WTSAPI32.dll_WTSEnumerateSessionsW]
mov edx, dword [ebp - 0x6c]
xor eax, eax
push 0xa
lea ecx, [ebp - 0x1c]
push ecx
push edx
mov byte [ebp - 0x1c], bl
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov word [ebp - 0xb], ax
mov byte [ebp - 9], al
call fcn.0042a471
push 0x42ff60
push str.C:ProgramDatawondershareModuleUpgradeInstallService.log
call fcn.00413c6a
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x402516
push esi
call fcn.0041aa34
push eax
call fcn.0042a498
add esp, 8
cmp eax, 0x300000
jle 0x4024ce
push esi
call fcn.00413813
push 0x42ffa0
push str.C:ProgramDatawondershareModuleUpgradeInstallService.log
call fcn.00413c6a
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00414b18
lea ecx, [ebp - 0x7c]
push ecx
call fcn.00414af1
push eax
push str._Y__m__d__H:_M:_S
lea edx, [ebp - 0x5c]
push 0x40
push edx
call fcn.004147f8
push str.WTSEnumerateSessions
push str.PackageInstall
lea eax, [ebp - 0x5c]
push eax
push str._s:__s__s_n
push esi
mov byte [ebp - 0x48], bl
call fcn.00413cb3
push esi
call fcn.00413813
add esp, 0x30
push 0x42ff60
push str.C:ProgramDatawondershareModuleUpgradeInstallService.log
call fcn.00413c6a
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4025a5
push esi
call fcn.0041aa34
push eax
call fcn.0042a498
add esp, 8
cmp eax, 0x300000
jle 0x40255e
push esi
call fcn.00413813
push 0x42ffa0
push str.C:ProgramDatawondershareModuleUpgradeInstallService.log
call fcn.00413c6a
add esp, 0xc
mov esi, eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.00414b18
lea edx, [ebp - 0x7c]
push edx
call fcn.00414af1
push eax
push str._Y__m__d__H:_M:_S
lea eax, [ebp - 0x5c]
push 0x40
push eax
call fcn.004147f8
lea ecx, [ebp - 0x1c]
push ecx
push str.PackageInstall
lea edx, [ebp - 0x5c]
push edx
push str._s:__s__s_n
push esi
mov byte [ebp - 0x48], bl
call fcn.00413cb3
push esi
call fcn.00413813
add esp, 0x30
mov ecx, dword [ebp - 0x60]
push 4
lea eax, [ebp - 0x88]
push eax
push 0xc
push ecx
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x402678
push 0x44
lea edx, [ebp - 0xe4]
push ebx
push edx
call fcn.0041d880
mov ecx, dword [ebp - 0x60]
add esp, 0xc
xor eax, eax
push ebx
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
push ecx
lea edx, [ebp - 0x68]
mov eax, 5
push edx
mov dword [ebp - 0xe4], 0x44
mov dword [ebp - 0xdc], str.WinSta0Default
mov word [ebp - 0xb4], ax
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0x68], ebx
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x402678
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x98]
push eax
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0xe4]
push ecx
mov ecx, dword [eax + 4]
push ebx
push edx
mov edx, dword [eax]
mov eax, dword [ebp - 0x60]
push 0x430
push ebx
push ebx
push ebx
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x402678
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x80]
mov dword [edx], ecx
cmp eax, ebx
je 0x40267a
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
jmp 0x40267a
xor edi, edi
mov eax, dword [ebp - 0x60]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x40268f
cmp eax, 0xffffffff
je 0x40268f
push eax
call esi
mov eax, dword [ebp - 0x64]
cmp eax, ebx
je 0x40269e
cmp eax, 0xffffffff
je 0x40269e
push eax
call esi
mov ecx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00411d2c
mov esp, ebp
pop ebp
ret 4