Function at 0x604cd0
Capabilities:
Create process on windows
Impersonate user

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x684189
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x78a6d4]
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 esi, ecx
mov dword [ebp - 0x7c], esi
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
je 0x6057e3
cmp dword [eax], 0
je 0x6057e3
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
mov byte [ebp - 4], 1
push 0x44
push eax
mov dword [ebp - 0x8c], eax
mov dword [edi + 0x38], eax
lea eax, [ebp - 0xf0]
push eax
call fcn.0058d130
mov cl, byte [edi + 1]
add esp, 0xc
mov dword [ebp - 0xf0], 0x44
mov dword [ebp - 0xc4], 1
test cl, cl
je 0x604d99
movzx eax, word [edi + 0x20]
test ax, ax
jne 0x604da0
xor eax, eax
test cl, cl
setne al
mov word [ebp - 0xc0], ax
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x604dbd
mov dword [ebp - 0xe8], str.WinSta0Default
cmp byte [edi + 0x19], al
je 0x604dc3
mov dword [ebp - 0xe8], eax
mov eax, dword [edi + 0x10]
mov ecx, 0x28
test eax, eax
cmove eax, ecx
cmp byte [esi + 0xc], 0
mov dword [ebp - 0x88], eax
jne 0x604de2
cmp byte [edi + 0x18], 0
je 0x604deb
or eax, 4
mov dword [ebp - 0x88], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x604eba
push eax
lea ecx, [ebp - 0x58]
call fcn.00447190
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x604e0e
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x40]
call int.0044e0d0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x604e56
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x604e4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x60580c
push edx
push ecx
call fcn.0058ab22
add esp, 8
push 0x70cbfc
lea ecx, [ebp - 0x58]
call fcn.00447190
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x604e72
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x40]
call int.0044e0d0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x604eba
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x604eb0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x605811
push edx
push ecx
call fcn.0058ab22
add esp, 8
mov eax, dword [ebx]
mov edx, dword [eax]
mov ecx, edx
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x604ee0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00447250
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x40]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call int.0044e0d0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x604f52
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x604f48
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x605816
push edx
push ecx
call fcn.0058ab22
add esp, 8
cmp byte [edi + 0x15], 0
je 0x604fca
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x80], eax
test eax, eax
jne 0x604f6f
mov esi, 0xfe2b0003
jmp 0x6056f0
push dword [edi + 0x3c]
mov eax, dword [eax]
push dword [edi + 0x28]
cmp dword [ebp - 0x2c], 8
push dword [edi + 0x34]
mov esi, dword [eax + 8]
lea eax, [ebp - 0x40]
push dword [edi + 0x30]
cmovae eax, dword [ebp - 0x40]
mov ecx, esi
push dword [edi + 0x24]
push eax
call dword [0x6926b4]
mov ecx, dword [ebp - 0x80]
call esi
mov esi, eax
test esi, esi
je 0x604fca
push 0
push 0
push esi
push str.VerifyFileSignature_IsValid
push 0x45
push 0x10b
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonIPCProcessAPI.cpp
push str.CProcessApi::Launch
call fcn.00612830
add esp, 0x20
jmp 0x6056f0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov ecx, 0x22
cmovae eax, dword [ebp - 0x40]
cmp cx, word [eax]
je 0x604fff
push 1
push 0x71721c
push 0
lea ecx, [ebp - 0x40]
call fcn.00455b90
push 1
push 0x71721c
lea ecx, [ebp - 0x40]
call int.0044e0d0
mov eax, dword [ebx + 4]
mov esi, 1
mov ecx, dword [ebx]
sub eax, ecx
sar eax, 2
cmp eax, esi
jbe 0x605149
mov edx, dword [ecx + esi*4]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x28], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea eax, [ecx + 2]
mov dword [ebp - 0x80], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x605040
sub ecx, dword [ebp - 0x80]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00447250
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x78]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call int.0044e0d0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x6050b3
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6050a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x60580c
push edx
push ecx
call fcn.0058ab22
add esp, 8
push 1
xor eax, eax
mov dword [ebp - 0x28], 0
push 0x70c3c4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00447250
mov byte [ebp - 4], 6
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x78]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call int.0044e0d0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x605136
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x60512c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x60580c
push edx
push ecx
call fcn.0058ab22
add esp, 8
mov eax, dword [ebx + 4]
inc esi
mov ecx, dword [ebx]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x605016
push 1
xor eax, eax
mov dword [ebp - 0x58], 0
push 0x70c3c4
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.00447250
mov byte [ebp - 4], 7
lea eax, [ebp - 0x78]
cmp dword [ebp - 0x64], 8
lea ecx, [ebp - 0x58]
push dword [ebp - 0x68]
cmovae eax, dword [ebp - 0x78]
push eax
call int.0044e0d0
mov esi, eax
mov dword [ebp - 0x28], 0
push 0x18
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
push esi
push eax
mov dword [ebp - 0x14], 0
call fcn.0058c9c0
xor eax, eax
mov dword [esi + 0x10], 0
add esp, 0xc
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x40]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call int.0044e0d0
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x605220
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x605216
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x60581b
push edx
push ecx
call fcn.0058ab22
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x605272
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x605268
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x60581b
push edx
push ecx
call fcn.0058ab22
add esp, 8
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
cmp byte [edi], 0
je 0x60560d
mov ebx, dword [edi + 0x1c]
test ebx, ebx
jne 0x605302
push 0xc
mov dword [ebp - 0x80], ebx
call fcn.0058a8a1
add esp, 4
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 9
push ecx
mov ecx, eax
call fcn.0060ab90
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x90], eax
test ecx, ecx
je 0x6052eb
push ebx
push ebx
push ecx
push str.CWinsecApiImpersonateLoggedInUser
push 0x45
push 0x144
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonIPCProcessAPI.cpp
push str.CProcessApi::Launch
call fcn.00612830
add esp, 0x20
mov esi, 0xfe2b0026
jmp 0x6056f0
mov ecx, eax
call fcn.0060aad0
mov ebx, eax
test ebx, ebx
jne 0x605302
mov esi, 0xfe2b0026
jmp 0x6056f0
push 0x20
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.0058d130
add esp, 0xc
cmp byte [edi + 0x14], 0
je 0x60548d
cmp dword [edi + 0x1c], 0
jne 0x605330
push ebx
call fcn.00604860
test al, al
jne 0x605408
lea edx, [ebp - 0x58]
mov dword [ebp - 0x60], 0x20
mov ecx, ebx
mov dword [ebp - 0x5c], 1
call fcn.0060ac00
lea eax, [ebp - 0x60]
push eax
push ebx
call dword [sym.imp.USERENV.dll_LoadUserProfileW]
test eax, eax
jne 0x605383
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.::LoadUserProfile
push 0x57
push 0x16c
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonIPCProcessAPI.cpp
push str.CProcessApi::Launch
call fcn.00612830
add esp, 0x20
jmp 0x605408
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x94], eax
test eax, eax
je 0x6053e4
push eax
call fcn.0059a3bd
inc eax
add esp, 4
cmp eax, 0x3fffffff
jle 0x6053a5
xor eax, eax
jmp 0x6053e9
add eax, eax
mov dword [ebp - 0x80], eax
call fcn.0058b710
mov eax, esp
mov dword [ebp - 0x84], eax
test eax, eax
je 0x6053a1
push 0
push 0
push dword [ebp - 0x80]
mov byte [eax], 0
push eax
push 0xffffffffffffffff
push dword [ebp - 0x94]
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x84]
jmp 0x6053e9
mov eax, str._no_user_name_
push eax
push str.User_profile_loaded_for_user__s
push 0x49
push 0x172
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonIPCProcessAPI.cpp
push str.CProcessApi::Launch
call fcn.006129f0
add esp, 0x18
push 0
push ebx
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x60552a
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.::CreateEnvironmentBlock
push 0x45
push 0x17c
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonIPCProcessAPI.cpp
push str.CProcessApi::Launch
call fcn.00612830
mov eax, dword [ebp - 0x8c]
add esp, 0x20
test eax, eax
je 0x605483
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test eax, eax
jne 0x605483
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x717294
push 0x45
push 0x187
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonIPCProcessAPI.cpp
push str.CProcessApi::Launch
call fcn.00612830
add esp, 0x20
mov dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x88]
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0xf0]
push ecx
push dword [edi + 8]
push dword [ebp - 0x8c]
push eax
movzx eax, byte [edi + 0x17]
push eax
push 0
push 0
push esi
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x60553a
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x7c]
mov dword [edi + 0x38], eax
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ecx + 4]
call fcn.0045e920
mov eax, dword [ebp - 0x44]
xor esi, esi
test eax, eax
je 0x6056f0
push eax
push ebx
call dword [sym.imp.USERENV.dll_UnloadUserProfile]
test eax, eax
jne 0x60551d
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.::UnloadUserProfile
push 0x45
push 0x1a8
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonIPCProcessAPI.cpp
push str.CProcessApi::Launch
call fcn.00612830
add esp, 0x20
mov ecx, dword [ebp - 0x58]
call fcn.0060ade0
jmp 0x6056f0
mov eax, dword [ebp - 0x88]
or eax, 0x400
jmp 0x605493
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [ebp - 0x80], edi
test esi, esi
je 0x60559e
push esi
call fcn.0059a3bd
inc eax
add esp, 4
cmp eax, 0x3fffffff
jle 0x60555e
xor eax, eax
jmp 0x6055a3
add eax, eax
mov dword [ebp - 0x84], eax
call fcn.0058b710
mov edi, esp
test edi, edi
je 0x605597
push 0
push 0
push dword [ebp - 0x84]
mov byte [edi], 0
push edi
push 0xffffffffffffffff
push esi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [ebp - 0x80]
jmp 0x6055a3
mov edi, dword [ebp - 0x80]
xor eax, eax
jmp 0x6055a3
mov eax, 0x70380b
push eax
push 0x70380b
push str.Unable_to_spawn_Application:__s__s
push 0
push edi
push str.CreateProcessAsUser
push 0x45
push 0x1b6
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonIPCProcessAPI.cpp
push str.CProcessApi::Launch
call fcn.00612830
add esp, 0x28
mov ecx, edi
call fcn.00604560
mov esi, eax
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x6056f0
push eax
push ebx
call dword [sym.imp.USERENV.dll_UnloadUserProfile]
test eax, eax
jne 0x60551d
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.::UnloadUserProfile
push 0x45
push 0x1bd
jmp 0x60550b
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xf0]
push eax
push dword [edi + 8]
mov eax, dword [ebp - 0x88]
push 0
push eax
movzx eax, byte [edi + 0x17]
push eax
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x60565f
mov eax, dword [ebp - 0x9c]
mov ebx, dword [ebp - 0x7c]
mov dword [edi + 0x38], eax
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebx + 4]
call fcn.0045e920
xor esi, esi
jmp 0x6056f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test esi, esi
je 0x6056b6
push esi
call fcn.0059a3bd
inc eax
add esp, 4
cmp eax, 0x3fffffff
jle 0x605680
xor eax, eax
jmp 0x6056bb
add eax, eax
mov dword [ebp - 0x84], eax
call fcn.0058b710
mov edi, esp
test edi, edi
je 0x60567c
push 0
push 0
push dword [ebp - 0x84]
mov byte [edi], 0
push edi
push 0xffffffffffffffff
push esi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, edi
jmp 0x6056bb
mov eax, 0x70380b
push eax
push 0x70380b
push str.Unable_to_spawn_Application:__s__s
push 0
push ebx
push str.CreateProcess
push 0x45
push 0x1ef
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonIPCProcessAPI.cpp
push str.CProcessApi::Launch
call fcn.00612830
add esp, 0x28
mov ecx, ebx
call fcn.00604560
mov esi, eax
mov ebx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x60572f
push eax
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test eax, eax
jne 0x60572f
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.::DestroyEnvironmentBlock
push 0x45
push 0x1f9
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonIPCProcessAPI.cpp
push str.CProcessApi::Launch
call fcn.00612830
add esp, 0x20
mov edi, dword [ebp - 0x90]
test edi, edi
je 0x60574b
mov ecx, edi
call fcn.0060aae0
push 0xc
push edi
call fcn.0058ab22
add esp, 8
lea ecx, [ebx + 0x14]
call fcn.006334c0
lea ecx, [ebx + 0x18]
call fcn.006334c0
mov edx, dword [ebp - 0x64]
cmp edx, 8
jb 0x605795
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x60578b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x605820
push edx
push ecx
call fcn.0058ab22
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
cmp edx, 8
jb 0x6057df
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x6057d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x605820
push edx
push ecx
call fcn.0058ab22
add esp, 8
mov eax, esi
jmp 0x6057e8
mov eax, 0xfe2b0002
lea esp, [ebp - 0x100]
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.0058a893
mov esp, ebp
pop ebp
ret 8
call fcn.005968cf
call fcn.005968cf
call fcn.005968cf
call fcn.005968cf
call fcn.005968cf
int3