Function at 0x527490
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b4348
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x63a404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0054ef00
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
push ecx
push 1
push 2
push 0
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x5277ca
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x5277c5
xor eax, eax
mov dword [ebp - 0x80], 0
mov word [ebp - 0x42], ax
xorps xmm0, xmm0
push 0
push dword [ebp - 0x14]
mov eax, 1
movlpd qword [ebp - 0x78], xmm0
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x18]
push eax
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x52], xmm0
movlpd qword [ebp - 0x4a], xmm0
mov dword [ebp - 0x84], 0x44
mov dword [ebp - 0x7c], str.WinSta0Default
mov dword [ebp - 0x58], 0x41
mov dword [ebp - 0x18], 0
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x527724
lea esi, [ebx + 4]
push esi
lea ecx, [ebp - 0x2c]
call fcn.005448d0
push 0x20
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.005454a0
push dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.00545810
lea ecx, [ebp - 0x2c]
mov dword [ebp + 8], 0
call fcn.00545f90
mov ecx, esi
mov dword [ebp - 0x20], eax
call fcn.00548420
mov esi, eax
test esi, esi
je 0x5275e2
mov ecx, esi
call fcn.00545f90
mov ecx, dword [esi]
mov dword [ebp + 8], eax
test ecx, ecx
je 0x5275d0
push 2
push ecx
call fcn.0056ea89
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.0056ea89
add esp, 8
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp + 8]
push dword [ebp - 0x18]
push 0x430
push 0
push 0
push 0
push dword [ebp - 0x20]
push 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x5276a7
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x38]
call edi
push 0xffffffffffffffff
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x3c]
call edi
cmp dword [ebx + 0x18], 0
jne 0x527702
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x14]
push 0
push 0x60142c
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
call fcn.00544840
push eax
lea ecx, [ebx + 0x14]
mov byte [ebp - 4], 1
call fcn.00545420
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.004ffe40
push str._temp_
lea ecx, [ebp - 0x24]
call fcn.005447b0
push eax
lea ecx, [ebx + 0x14]
mov byte [ebp - 4], 2
call fcn.00545810
lea ecx, [ebp - 0x24]
call fcn.004ffe40
jmp 0x527702
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.CreateProcessAsUser_Last_Error_Code:__d
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.005447b0
push esi
push eax
push 0xb7
push str.iWinDrm::glWorkerCommandFromService
push str.d:jenkinsworkspaceclient3.lib.drmlibdrmlib_srciwindrm.cpp
push 0
mov byte [ebp - 4], 3
call fcn.0054faa0
add esp, 0x18
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004ffe40
push 0
push 0
lea eax, [ebp + 8]
push eax
push 0x400
push esi
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x5277b6
push 2
push eax
call fcn.0056ea89
add esp, 8
jmp 0x5277b6
push 0x5c
mov dword [ebp - 0x24], 0
mov dword [ebp + 8], 0
mov dword [ebp - 0x20], 0x2d
call fcn.0056ea97
mov ecx, dword [ebp - 0x20]
add esp, 4
inc ecx
mov dword [ebp - 0x24], eax
push 0xffffffffffffffff
push str.Exe_Command_to_launch_as_user_is_invalid_null
push ecx
push eax
lea eax, [ebp + 8]
push eax
call fcn.00584f75
mov ecx, dword [ebp - 0x20]
xor edx, edx
add esp, 0x14
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x20], ecx
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 4
push eax
push 0xc0
push str.iWinDrm::glWorkerCommandFromService
push str.d:jenkinsworkspaceclient3.lib.drmlibdrmlib_srciwindrm.cpp
push edx
call fcn.0054faa0
mov dword [ebp - 4], 0xffffffff
add esp, 0x14
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x5277af
push 2
push eax
call fcn.0056ea89
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push dword [ebp - 0x18]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push dword [ebp - 0x14]
call edi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4