Function at 0x439510
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58ca53
mov eax, dword fs:[0]
push eax
sub esp, 0x288
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 edi, dword [ebp + 8]
lea eax, [ebp - 0x294]
push 0x44
push 0
push eax
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x240], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x240]
xor bh, bh
push ecx
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x43964f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x5ee1a4], 0
mov esi, eax
je 0x439b3c
push ecx
mov ecx, 0x5ee1a0
call fcn.00424070
mov ecx, dword [0x5ee1a4]
cmp byte [ecx + 0x54], bh
je 0x439b3c
cmp dword [ecx + 0x58], 2
jb 0x439b3c
mov bl, byte [ecx + 0x5c]
lea ecx, [ebp - 0x230]
call fcn.00404580
mov dword [ebp - 4], 0
lea eax, [ebp - 0x230]
push esi
push str.Error:_OpenProcessToken_failed
push eax
call fcn.0044dae0
add esp, 0xc
push 0x111
push str.RC::RCBusinessProcessMgr::CreateProcessOnLoginOnDesktopWithUIAccess
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 0x439b2a
jmp 0x439b19
lea eax, [ebp - 0x23c]
push eax
push 1
push 2
push 0
push 0xf01ff
push dword [ebp - 0x240]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x4396df
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x5ee1a4], 0
mov esi, eax
je 0x439b3c
push ecx
mov ecx, 0x5ee1a0
call fcn.00424070
mov ecx, dword [0x5ee1a4]
cmp byte [ecx + 0x54], 0
je 0x439b3c
cmp dword [ecx + 0x58], 2
jb 0x439b3c
mov bl, byte [ecx + 0x5c]
lea ecx, [ebp - 0x230]
call fcn.00404580
mov dword [ebp - 4], 1
lea eax, [ebp - 0x230]
push esi
push str.Error:_DuplicateTokenEx_failed
push eax
call fcn.0044dae0
add esp, 0xc
push 0x119
jmp 0x439625
cmp dword [0x5ee1a4], 0
je 0x439781
push ecx
mov ecx, 0x5ee1a0
call fcn.00424070
mov eax, dword [0x5ee1a4]
cmp byte [eax + 0x54], 0
je 0x439781
cmp dword [eax + 0x58], 4
jb 0x439781
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x230]
call fcn.00404580
mov dword [ebp - 4], 2
mov ecx, str.DuplicateTokenEx_successfully.
call fcn.00404a30
push eax
push str.DuplicateTokenEx_successfully.
lea ecx, [ebp - 0x230]
call fcn.00404780
push 0x11e
push str.RC::RCBusinessProcessMgr::CreateProcessOnLoginOnDesktopWithUIAccess
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 0x43976f
lea eax, [ebp - 0x230]
mov ecx, 0x5ee1a0
push eax
call fcn.00424d70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00404570
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
cmp dword [0x5ee1a4], 0
mov dword [ebp - 0x234], eax
je 0x43983e
push ecx
mov ecx, 0x5ee1a0
call fcn.00424070
mov eax, dword [0x5ee1a4]
cmp byte [eax + 0x54], 0
je 0x43983e
cmp dword [eax + 0x58], 4
jb 0x43983e
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x230]
call fcn.00404580
mov dword [ebp - 4], 3
mov ecx, edi
call fcn.00404530
push dword [ebp - 0x234]
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 0x123
push str.RC::RCBusinessProcessMgr::CreateProcessOnLoginOnDesktopWithUIAccess
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_srcwallpapersdklibbusiness_src_businessprocessmgr_rcbusinessprocessmgr.cpp
push eax
push 4
call fcn.00424ac0
test bl, bl
je 0x43982c
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 [ebp - 0x23c]
test eax, eax
jne 0x4398b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [0x5ee1a4], 0
je 0x439b3c
push ecx
mov ecx, 0x5ee1a0
call fcn.00424070
mov eax, dword [0x5ee1a4]
cmp byte [eax + 0x54], 0
je 0x439b3c
cmp dword [eax + 0x58], 2
jb 0x439b3c
mov bl, byte [eax + 0x5c]
lea ecx, [ebp - 0x230]
call fcn.00404580
mov dword [ebp - 4], 4
mov ecx, str.Error:_newToken__NULL
call fcn.00404a30
push eax
push str.Error:_newToken__NULL
lea ecx, [ebp - 0x230]
call fcn.00404780
push 0x128
jmp 0x439625
mov esi, dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
lea ecx, [ebp - 0x234]
push 4
push ecx
push 0xc
push eax
call esi
test eax, eax
jne 0x439933
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
mov ecx, 0x5ee1a0
mov edi, eax
call fcn.00424a80
mov esi, eax
test esi, esi
je 0x439b3c
lea ecx, [ebp - 0x230]
call fcn.00404580
mov dword [ebp - 4], 5
lea eax, [ebp - 0x230]
push edi
push str.Error:_SetTokenInformation_failed__d
push eax
call fcn.0044dae0
add esp, 0xc
push 0x12f
push str.RC::RCBusinessProcessMgr::CreateProcessOnLoginOnDesktopWithUIAccess
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_srcwallpapersdklibbusiness_src_businessprocessmgr_rcbusinessprocessmgr.cpp
lea eax, [ebp - 0x230]
push eax
push 2
jmp 0x439b0a
push 4
lea eax, [ebp - 0x238]
mov dword [ebp - 0x238], 1
push eax
push 0x1a
push dword [ebp - 0x23c]
call esi
test eax, eax
jne 0x4399a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
mov ecx, 0x5ee1a0
mov edi, eax
call fcn.00424a80
mov esi, eax
test esi, esi
je 0x439b3c
lea ecx, [ebp - 0x230]
call fcn.00404580
mov dword [ebp - 4], 6
lea eax, [ebp - 0x230]
push edi
push str.SetTokenInformation_TokenUIAccess_err__d
push eax
call fcn.0044dae0
add esp, 0xc
push 0x137
jmp 0x43991b
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, edi
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 - 0x290], 0
lea eax, [ebp - 0x250]
mov dword [ebp - 0x294], 0x44
xorps xmm0, xmm0
mov dword [ebp - 0x28c], str.WinSta0Winlogon
movlpd qword [ebp - 0x288], xmm0
push eax
lea eax, [ebp - 0x294]
movlpd qword [ebp - 0x280], xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x218]
movlpd qword [ebp - 0x278], xmm0
push eax
push 0
push dword [ebp - 0x23c]
movlpd qword [ebp - 0x270], xmm0
movlpd qword [ebp - 0x268], xmm0
movlpd qword [ebp - 0x260], xmm0
movlpd qword [ebp - 0x258], xmm0
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x439ab1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
mov ecx, 0x5ee1a0
mov edi, eax
call fcn.00424a80
mov esi, eax
test esi, esi
je 0x439b3c
lea ecx, [ebp - 0x230]
call fcn.00404580
mov dword [ebp - 4], 7
lea eax, [ebp - 0x230]
push edi
push str.Error:_CreateProcessAsUser_failed__d.
push eax
call fcn.0044dae0
add esp, 0xc
push 0x145
jmp 0x43991b
push 4
mov ecx, 0x5ee1a0
mov bh, 1
call fcn.00424a80
mov esi, eax
test esi, esi
je 0x439b3c
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 0x14a
push str.RC::RCBusinessProcessMgr::CreateProcessOnLoginOnDesktopWithUIAccess
push str.d:jenkinsworkspacepc_2345softmgr_build_softmgrmain_srcwallpapersdklibbusiness_src_businessprocessmgr_rcbusinessprocessmgr.cpp
lea eax, [ebp - 0x230]
push eax
push 4
mov ecx, 0x5ee1a0
call fcn.00424ac0
cmp esi, 1
jbe 0x439b2a
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 [ebp - 0x240]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x439b59
push eax
call esi
mov dword [ebp - 0x240], 0
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x439b70
push eax
call esi
mov dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x439b87
push eax
call esi
mov dword [ebp - 0x24c], 0
mov ecx, dword [ebp - 0x250]
test ecx, ecx
je 0x439b94
push ecx
call esi
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