Function at 0x45a880
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e61d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x5ba11c]
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.004a6900
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 [0x5884c0]
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 0x45ab29
test edi, edi
je 0x45ab29
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x14]
call fcn.0044f250
mov byte [ebp - 4], 1
call fcn.004d03a0
mov esi, eax
mov ecx, esi
call fcn.004d0140
cmp byte [0x5c205c], 0
jne 0x45a98b
mov ecx, 0xf0
call fcn.004d0a00
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x45a980
sub esp, 8
xorps xmm0, xmm0
mov ecx, eax
movsd qword [esp], xmm0
push 0x5c205c
sub esp, 0xc
push 0x183
push str.C:BuildAgentwork4d643bb3f4c71f96RemoteInstallerInstallerUIMainDlg.cpp
push 0x20
call fcn.004d0210
jmp 0x45a982
xor eax, eax
mov byte [ebp - 4], 1
mov dword [0x5c4544], eax
mov ecx, esi
call fcn.004d0150
mov ecx, dword [0x5c4544]
lea ecx, [ecx + 0xd0]
call fcn.004d0140
mov eax, dword [0x5c4544]
mov esi, dword [ebp - 0x14]
mov eax, dword [eax]
mov ebx, dword [eax + 0x48]
call fcn.0044d220
mov ecx, eax
test ecx, ecx
je 0x45ab44
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.00452e50
test al, al
jne 0x45a9e4
push esi
lea ecx, [ebp - 0x10]
call fcn.00452330
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x10]
push esi
push 0x5817d0
push dword [0x5c4544]
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 0x45aa1a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, dword [0x5c4544]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [0x5c4544]
lea ecx, [ecx + 0xd0]
call fcn.004d0150
push 0x70
lea ecx, [ebp - 0x24]
call fcn.00454430
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.00454430
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.00471f80
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 0x45aa9d
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 0x45aabb
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.00454430
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.004721b0
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 0x45ab09
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 0x45ab25
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor bl, bl
jmp 0x45ab2b
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.0044a700
int3