Function at 0x4a0ac0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a28fd
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x7adbc4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x18], ebx
push 0
lea ecx, [ebp - 0x24]
call fcn.004ecb30
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov eax, dword [ebx]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x60]
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movaps xmm0, xmmword [0x778710]
push eax
mov dword [ebp - 0x60], 0x3c
mov dword [ebp - 0x54], str.open
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
movups xmmword [ebp - 0x4c], xmm0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4a0d69
test edi, edi
je 0x4a0d69
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x14]
call fcn.004954b0
mov byte [ebp - 4], 1
call fcn.00516890
mov esi, eax
mov ecx, esi
call fcn.00516630
cmp byte [0x7b88d1], 0
jne 0x4a0bcb
mov ecx, 0xf0
call fcn.00516ef0
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x4a0bc0
sub esp, 8
xorps xmm0, xmm0
mov ecx, eax
movsd qword [esp], xmm0
push 0x7b88d1
sub esp, 0xc
push 0x183
push str.C:GitLab_Runner_buildsTzUW5DUw0windowswindows_agentRemoteInstallerInstallerUIMainDlg.cpp
push 0x20
call fcn.00516700
jmp 0x4a0bc2
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x7bae40], eax
mov ecx, esi
call fcn.00516640
mov ecx, dword [0x7bae40]
lea ecx, [ecx + 0xd0]
call fcn.00516630
mov eax, dword [0x7bae40]
mov esi, dword [ebp - 0x14]
mov eax, dword [eax]
mov ebx, dword [eax + 0x48]
call fcn.00493480
mov ecx, eax
test ecx, ecx
je 0x4a0d84
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004990b0
test al, al
jne 0x4a0c24
push esi
lea ecx, [ebp - 0x10]
call fcn.00498590
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x10]
push esi
push 0x771868
push dword [0x7bae40]
call ebx
add esp, 0xc
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 5
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a0c5a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, dword [0x7bae40]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x7bae40]
lea ecx, [ecx + 0xd0]
call fcn.00516640
push 0x70
lea ecx, [ebp - 0x24]
call fcn.0049a680
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
push 0x81
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
call fcn.0049a680
mov byte [ebp - 4], 7
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push ecx
mov ecx, edi
call fcn.004b81c0
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov byte [ebp - 4], 8
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a0cdd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov byte [ebp - 4], 9
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a0cfb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
push 0x81
mov dword [ebp - 0x24], eax
call fcn.0049a680
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push ecx
mov ecx, edi
call fcn.004b83f0
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xb
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4a0d49
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xc
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4a0d65
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor bl, bl
jmp 0x4a0d6b
mov bl, 1
call sub.ole32.dll_CoUninitialize
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00490960
int3