Function at 0x406fd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ab2a
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x426008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x40766f
push 0x5e
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x34], 0x2e
call fcn.00409fe4
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x38], ecx
push 0xffffffffffffffff
push str.Launching_Executable:__s__visible:_d_admin:_d_
push eax
push ecx
lea eax, [ebp - 0x24]
push eax
call fcn.0040f0b2
mov ecx, dword [ebp - 0x34]
xor edx, edx
add esp, 0x14
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x34], ecx
push 1
push 1
push esi
lea eax, [ebp - 0x38]
mov dword [ebp - 4], edx
push eax
push 0x83
push str.OProcess::executeCommand
push str.d:jenkinsworkspaceclient3.lib.platformlibplatformlib_srcoprocess.cpp
push edx
call fcn.00408070
mov dword [ebp - 4], 0xffffffff
add esp, 0x20
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x407089
push 2
push eax
call fcn.00409c3a
add esp, 8
push 0xa0
call fcn.00409e93
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00406f00
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x30], edi
test edi, edi
je 0x40765b
push esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
call fcn.00405ad0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 2
call fcn.00406d60
mov esi, 1
mov dword [ebp - 0x24], 0
push 4
mov dword [ebp - 0x3c], esi
call fcn.00409fe4
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x40], ebx
push 0xffffffffffffffff
push 0x423268
push 2
push ebx
push eax
call fcn.0040f0b2
add esp, 0x14
test eax, eax
je 0x407122
xor esi, esi
xor eax, eax
mov dword [ebp - 0x3c], esi
jmp 0x407124
mov eax, esi
mov byte [ebp - 4], 3
mov byte [ebp - 0x11], 0
cmp dword [ebp - 0x34], eax
jl 0x40719a
push esi
push 0
lea ecx, [ebp - 0x38]
call fcn.004068d0
mov ecx, eax
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x40719a
mov eax, dword [ecx]
mov byte [ebp - 0x11], 0
test eax, eax
je 0x407194
cmp dword [ecx + 4], 0
jbe 0x407194
test ebx, ebx
je 0x407194
test esi, esi
je 0x407194
mov ecx, ebx
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x407186
test dx, dx
je 0x407182
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x407186
add eax, 4
add ecx, 4
test dx, dx
jne 0x407160
xor eax, eax
jmp 0x40718b
sbb eax, eax
or eax, 1
mov ecx, dword [ebp - 0x24]
test eax, eax
sete byte [ebp - 0x11]
push ecx
call fcn.004058d0
mov byte [ebp - 4], 2
test ebx, ebx
je 0x4071ad
push 2
push ebx
call fcn.00409c3a
add esp, 8
cmp byte [ebp - 0x11], 0
mov dword [ebp - 0x24], 0
je 0x40724c
push 4
call fcn.00409fe4
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, 1
push 0xffffffffffffffff
push 0x423268
push 2
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040f0b2
xor ecx, ecx
add esp, 0x14
test eax, eax
cmovne ebx, ecx
or esi, 0xffffffff
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40722a
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x40722a
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x40722a
cmp dword [ebp - 0x24], 0
jbe 0x40722a
cmp eax, 1
jbe 0x40722a
lea eax, [ebx + 2]
push ecx
push eax
call fcn.0040aac4
add esp, 8
test eax, eax
je 0x40722a
mov esi, eax
sub esi, ebx
sar esi, 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40723c
push 2
push eax
call fcn.00409c3a
add esp, 8
push esi
push 1
lea ecx, [ebp - 0x38]
call fcn.004068d0
jmp 0x4073c2
push 0xa
call fcn.00409fe4
add esp, 4
mov dword [ebp - 0x18], eax
mov ebx, 4
push 0xffffffffffffffff
push str..exe
push 5
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040f0b2
xor ecx, ecx
add esp, 0x14
test eax, eax
cmovne ebx, ecx
or esi, 0xffffffff
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4072b4
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4072b4
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4072b4
cmp dword [ebp - 0x24], 0
jbe 0x4072b4
test eax, eax
je 0x4072b4
push ecx
push ebx
call fcn.0040aac4
add esp, 8
test eax, eax
je 0x4072b4
mov esi, eax
sub esi, ebx
sar esi, 1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4072c6
push 2
push eax
call fcn.00409c3a
add esp, 8
test esi, esi
js 0x4072dd
add esi, 4
lea ecx, [ebp - 0x38]
push esi
push 0
call fcn.004068d0
jmp 0x4073c2
push 0xa
mov dword [ebp - 0x24], 0
call fcn.00409fe4
add esp, 4
mov dword [ebp - 0x18], eax
push 0xffffffffffffffff
push str..com
push 5
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040f0b2
xor ecx, ecx
add esp, 0x14
test eax, eax
mov edx, 4
cmovne edx, ecx
test ebx, ebx
je 0x407337
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x407337
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x407349
test edx, edx
je 0x407337
test eax, eax
je 0x407337
push ecx
push ebx
call fcn.0040aac4
add esp, 8
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x407349
push 2
push eax
call fcn.00409c3a
add esp, 8
push 0xa
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x3c], 4
call fcn.00409fe4
add esp, 4
mov dword [ebp - 0x40], eax
push 0xffffffffffffffff
push str..ifn
push 5
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040f0b2
add esp, 0x14
test eax, eax
je 0x407389
mov dword [ebp - 0x3c], 0
xor edx, edx
jmp 0x40738e
mov edx, 4
test ebx, ebx
je 0x4073b2
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4073b2
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x4073b2
test edx, edx
je 0x4073b2
test eax, eax
je 0x4073b2
push ecx
push ebx
call fcn.0040aac4
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.00405b50
lea ecx, [ebp - 0x38]
call fcn.00405df0
mov dword [ebp - 0x18], eax
test eax, eax
je 0x407476
push 0xa
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 4
call fcn.00409fe4
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x2c], ecx
push 0xffffffffffffffff
push str.__s_
push eax
push ecx
lea eax, [ebp - 0x24]
push eax
call fcn.0040f0b2
mov ecx, dword [ebp - 0x28]
xor edx, edx
add esp, 0x14
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
push dword [ebp - 0x18]
push eax
call fcn.00405e70
mov byte [ebp - 4], 2
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
test ecx, ecx
je 0x40744d
push 2
push ecx
call fcn.00409c3a
mov eax, dword [ebp - 0x24]
add esp, 8
mov dword [ebp - 0x2c], 0
mov ecx, eax
mov dword [ebp - 0x28], 0
call fcn.00406990
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40746d
push ecx
mov ecx, eax
call fcn.004058d0
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.004058d0
test esi, esi
jle 0x4074a0
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x38]
call fcn.004068d0
mov esi, eax
test esi, esi
je 0x4074a0
mov ecx, esi
call fcn.00406d60
mov ecx, esi
call fcn.00406990
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x4074a2
xor esi, esi
mov eax, dword [ebp - 0x20]
push edi
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 5
mov dword [edi + 0xc], str.runas
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40762b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
mov edi, eax
lea eax, [ebp - 0x28]
push eax
push 0x400
push edi
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push 0xe
mov dword [ebp - 0x24], 0
mov esi, 6
call fcn.00409fe4
add esp, 4
mov dword [ebp - 0x40], eax
push 0xffffffffffffffff
push str.Error
push 7
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040f0b2
xor ecx, ecx
add esp, 0x14
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x3c], esi
push ecx
push edi
mov byte [ebp - 4], 5
call fcn.00405d60
mov esi, eax
add esp, 8
test esi, esi
je 0x407571
push esi
lea ecx, [ebp - 0x40]
call fcn.00406660
mov eax, dword [esi]
test eax, eax
je 0x40755f
push 2
push eax
call fcn.00409c3a
add esp, 8
mov dword [esi], 0
push 8
push esi
mov dword [esi + 4], 0
call fcn.00409c3a
add esp, 8
push 4
mov dword [ebp - 0x18], 0
mov esi, 1
call fcn.00409fe4
add esp, 4
mov edi, eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x48], edi
push 0xffffffffffffffff
push 0x4231a4
push 2
push edi
push eax
call fcn.0040f0b2
xor ecx, ecx
add esp, 0x14
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x40]
call fcn.00406660
mov byte [ebp - 4], 5
test edi, edi
je 0x4075cf
push 2
push edi
call fcn.00409c3a
add esp, 8
push dword [ebp - 0x28]
lea ecx, [ebp - 0x48]
call fcn.00405a40
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x40]
call fcn.00406660
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x407600
push 2
push eax
call fcn.00409c3a
add esp, 8
mov edi, dword [ebp - 0x30]
lea eax, [ebp - 0x40]
push eax
lea ecx, [edi + 0x3c]
call fcn.00406450
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x38], 0
test eax, eax
je 0x407628
push 2
push eax
call fcn.00409c3a
add esp, 8
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x40763d
push 2
push eax
call fcn.00409c3a
add esp, 8
test esi, esi
je 0x40764c
push 2
push esi
call fcn.00409c3a
add esp, 8
test ebx, ebx
je 0x40765b
push 2
push ebx
call fcn.00409c3a
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret