Function at 0x438d70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58c9c3
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x5ee034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0x44
mov dword [ebp - 0x29c], eax
lea eax, [ebp - 0x27c]
push 0
push eax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor edi, edi
mov dword [ebp - 0x280], edi
xor bh, bh
mov dword [ebp - 0x288], edi
mov dword [ebp - 0x284], edi
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov esi, eax
lea eax, [ebp - 0x280]
push eax
push esi
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
jne 0x438ec1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [0x5ee1a4], edi
je 0x43948c
push ecx
mov ecx, 0x5ee1a0
call fcn.00424070
mov eax, dword [0x5ee1a4]
cmp byte [eax + 0x54], bh
je 0x43948c
cmp dword [eax + 0x58], 2
jb 0x43948c
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x230]
call fcn.00404580
mov dword [ebp - 4], edi
lea eax, [ebp - 0x230]
push esi
push str.Error:_WTSQueryUserToken_failed__d
push eax
call fcn.0044dae0
add esp, 0xc
push 0x9f
push str.RC::RCBusinessProcessMgr::CreateProcessOnDefaultDesktopWithUIAccess
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_srcwallpapersdklibbusiness_src_businessprocessmgr_rcbusinessprocessmgr.cpp
lea eax, [ebp - 0x230]
mov ecx, 0x5ee1a0
push eax
push 2
call fcn.00424ac0
test bl, bl
je 0x438eaa
lea eax, [ebp - 0x230]
mov ecx, 0x5ee1a0
push eax
call fcn.00424d70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00404570
jmp 0x43948c
lea eax, [ebp - 0x238]
mov dword [ebp - 0x238], edi
push eax
push 4
lea eax, [ebp - 0x288]
push eax
push 0x13
push dword [ebp - 0x280]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x43932f
mov eax, dword [0x5ee1a4]
mov edi, dword [ebp - 0x288]
test eax, eax
je 0x43904e
push ecx
mov ecx, 0x5ee1a0
call fcn.00424070
mov eax, dword [0x5ee1a4]
cmp byte [eax + 0x54], 0
je 0x438f9e
cmp dword [eax + 0x58], 4
jb 0x438f9e
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x230]
call fcn.00404580
mov dword [ebp - 4], 1
mov ecx, str.GetTokenInformation_successfully.
call fcn.00404a30
push eax
push str.GetTokenInformation_successfully.
lea ecx, [ebp - 0x230]
call fcn.00404780
push 0xa8
push str.RC::RCBusinessProcessMgr::CreateProcessOnDefaultDesktopWithUIAccess
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_srcwallpapersdklibbusiness_src_businessprocessmgr_rcbusinessprocessmgr.cpp
lea eax, [ebp - 0x230]
mov ecx, 0x5ee1a0
push eax
push 4
call fcn.00424ac0
test bl, bl
je 0x438f87
lea eax, [ebp - 0x230]
mov ecx, 0x5ee1a0
push eax
call fcn.00424d70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00404570
mov eax, dword [0x5ee1a4]
test eax, eax
je 0x43904e
push ecx
mov ecx, 0x5ee1a0
call fcn.00424070
mov eax, dword [0x5ee1a4]
cmp byte [eax + 0x54], 0
je 0x43904e
cmp dword [eax + 0x58], 4
jb 0x43904e
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x230]
call fcn.00404580
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x29c]
call fcn.00404530
push esi
push eax
lea eax, [ebp - 0x230]
push str.Running__s_in_session__d
push eax
call fcn.0044dae0
add esp, 0x10
lea eax, [ebp - 0x230]
mov ecx, 0x5ee1a0
push 0xba
push str.RC::RCBusinessProcessMgr::CreateProcessOnDefaultDesktopWithUIAccess
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_srcwallpapersdklibbusiness_src_businessprocessmgr_rcbusinessprocessmgr.cpp
push eax
push 4
call fcn.00424ac0
test bl, bl
je 0x439037
lea eax, [ebp - 0x230]
mov ecx, 0x5ee1a0
push eax
call fcn.00424d70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00404570
mov eax, dword [0x5ee1a4]
test edi, edi
jne 0x4390b8
test eax, eax
je 0x43948c
push ecx
mov ecx, 0x5ee1a0
call fcn.00424070
mov eax, dword [0x5ee1a4]
cmp byte [eax + 0x54], 0
je 0x43948c
cmp dword [eax + 0x58], 2
jb 0x43948c
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x230]
call fcn.00404580
mov dword [ebp - 4], 5
mov ecx, str.Error:_newToken__NULL
call fcn.00404a30
push eax
push str.Error:_newToken__NULL
lea ecx, [ebp - 0x230]
call fcn.00404780
push 0xbe
jmp 0x438e78
push 4
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], 1
push eax
push 0x1a
push edi
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
jne 0x439156
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
mov ecx, 0x5ee1a0
mov dword [ebp - 0x29c], eax
call fcn.00424a80
mov esi, eax
test esi, esi
je 0x43948c
lea ecx, [ebp - 0x230]
call fcn.00404580
mov dword [ebp - 4], 6
lea eax, [ebp - 0x230]
push dword [ebp - 0x29c]
push str.SetTokenInformation_TokenUIAccess__d
push eax
call fcn.0044dae0
add esp, 0xc
push 0xc6
push str.RC::RCBusinessProcessMgr::CreateProcessOnDefaultDesktopWithUIAccess
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_srcwallpapersdklibbusiness_src_businessprocessmgr_rcbusinessprocessmgr.cpp
lea eax, [ebp - 0x230]
mov ecx, 0x5ee1a0
push eax
push 2
call fcn.00424ac0
cmp esi, 1
jbe 0x438eaa
jmp 0x438e99
push 1
push edi
lea eax, [ebp - 0x284]
mov esi, 0x2000000
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
mov ecx, 0x2000400
push 0x208
lea eax, [ebp - 0x218]
cmovne esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x29c]
add esp, 0xc
call fcn.00404530
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
mov dword [ebp - 0x27c], 0x44
xor eax, eax
mov dword [ebp - 0x250], 0x81
mov word [ebp - 0x23a], ax
xorps xmm0, xmm0
mov eax, 5
movlpd qword [ebp - 0x278], xmm0
mov word [ebp - 0x24c], ax
lea eax, [ebp - 0x298]
push eax
lea eax, [ebp - 0x27c]
movlpd qword [ebp - 0x270], xmm0
push eax
push 0
push dword [ebp - 0x284]
lea eax, [ebp - 0x218]
movlpd qword [ebp - 0x268], xmm0
push esi
push 0
push 0
push 0
push eax
push 0
push edi
movlpd qword [ebp - 0x260], xmm0
movlpd qword [ebp - 0x258], xmm0
movlpd qword [ebp - 0x24a], xmm0
movlpd qword [ebp - 0x242], xmm0
mov dword [ebp - 0x234], esi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x43929f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
mov ecx, 0x5ee1a0
mov dword [ebp - 0x29c], eax
call fcn.00424a80
mov esi, eax
test esi, esi
je 0x43948c
lea ecx, [ebp - 0x230]
call fcn.00404580
mov dword [ebp - 4], 7
lea eax, [ebp - 0x230]
push dword [ebp - 0x29c]
push str.Error:_CreateProcessAsUser_failed__d
push eax
call fcn.0044dae0
add esp, 0xc
push 0xdd
jmp 0x43912b
push 4
mov ecx, 0x5ee1a0
call fcn.00424a80
mov esi, eax
test esi, esi
je 0x439328
lea ecx, [ebp - 0x230]
call fcn.00404580
mov dword [ebp - 4], 8
mov ecx, str.Success:_CreateProcessAsUser_successfully.
call fcn.00404a30
push eax
push str.Success:_CreateProcessAsUser_successfully.
lea ecx, [ebp - 0x230]
call fcn.00404780
push 0xe1
push str.RC::RCBusinessProcessMgr::CreateProcessOnDefaultDesktopWithUIAccess
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_srcwallpapersdklibbusiness_src_businessprocessmgr_rcbusinessprocessmgr.cpp
lea eax, [ebp - 0x230]
mov ecx, 0x5ee1a0
push eax
push 4
call fcn.00424ac0
cmp esi, 1
jbe 0x439316
lea eax, [ebp - 0x230]
mov ecx, 0x5ee1a0
push eax
call fcn.00424d70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00404570
mov bh, 1
jmp 0x43948c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [0x5ee1a4]
test eax, eax
je 0x4393d8
push ecx
mov ecx, 0x5ee1a0
call fcn.00424070
mov eax, dword [0x5ee1a4]
cmp byte [eax + 0x54], 0
je 0x4393d8
cmp dword [eax + 0x58], 2
jb 0x4393d8
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x230]
call fcn.00404580
mov dword [ebp - 4], 2
lea eax, [ebp - 0x230]
push esi
push str.Fatal_error:_GetTokenInformation_failed__d.
push eax
call fcn.0044dae0
add esp, 0xc
lea eax, [ebp - 0x230]
mov ecx, 0x5ee1a0
push 0xaf
push str.RC::RCBusinessProcessMgr::CreateProcessOnDefaultDesktopWithUIAccess
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_srcwallpapersdklibbusiness_src_businessprocessmgr_rcbusinessprocessmgr.cpp
push eax
push 2
call fcn.00424ac0
test bl, bl
je 0x4393c1
lea eax, [ebp - 0x230]
mov ecx, 0x5ee1a0
push eax
call fcn.00424d70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00404570
mov eax, dword [0x5ee1a4]
cmp esi, 0x520
jne 0x43948c
test eax, eax
je 0x439481
push ecx
mov ecx, 0x5ee1a0
call fcn.00424070
mov eax, dword [0x5ee1a4]
cmp byte [eax + 0x54], 0
je 0x439481
cmp dword [eax + 0x58], 4
jb 0x439481
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x230]
call fcn.00404580
mov dword [ebp - 4], 3
mov ecx, str.Create_process_on_LoginOnDesktop.
call fcn.00404a30
push eax
push str.Create_process_on_LoginOnDesktop.
lea ecx, [ebp - 0x230]
call fcn.00404780
push 0xb4
push str.RC::RCBusinessProcessMgr::CreateProcessOnDefaultDesktopWithUIAccess
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_srcwallpapersdklibbusiness_src_businessprocessmgr_rcbusinessprocessmgr.cpp
lea eax, [ebp - 0x230]
mov ecx, 0x5ee1a0
push eax
push 4
call fcn.00424ac0
test bl, bl
je 0x43946f
lea eax, [ebp - 0x230]
mov ecx, 0x5ee1a0
push eax
call fcn.00424d70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00404570
push dword [ebp - 0x29c]
call fcn.00439510
mov eax, dword [ebp - 0x280]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4394a9
push eax
call esi
mov dword [ebp - 0x280], 0
test edi, edi
je 0x4394b0
push edi
call esi
mov eax, dword [ebp - 0x294]
test eax, eax
je 0x4394c7
push eax
call esi
mov dword [ebp - 0x294], 0
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x4394de
push eax
call esi
mov dword [ebp - 0x298], 0
mov ecx, dword [ebp - 0x284]
test ecx, ecx
je 0x4394ef
push ecx
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov al, bh
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057d0c6
mov esp, ebp
pop ebp
ret 4