Function at 0x5055166f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea esi, [edi + 0xe0]
mov ecx, esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
call fcn.50538eef
test eax, eax
je 0x505516ae
mov eax, dword [esi]
push dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov dword [esi], ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
jmp 0x505516c3
mov eax, dword [edi + 0x5c]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push eax
call dword [ecx + 0x78]
test eax, eax
jl 0x50551935
push ebx
push ebx
push 0x104
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0xc]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x60]
push eax
mov ecx, edi
call fcn.50551224
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x50551935
mov esi, 0x5055e210
mov ecx, esi
call fcn.505572be
cmp eax, 0x40
mov dword [ebp - 0x18], eax
jne 0x505517f2
lea eax, [ebp - 8]
push eax
mov ecx, esi
mov dword [ebp - 8], ebx
call fcn.505573f2
lea ecx, [ebp - 8]
call fcn.50538eef
test eax, eax
jne 0x5055174f
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x50551743
push dword [ebp + 0x10]
mov ecx, dword [eax]
push dword [ebp + 0xc]
push ebx
push 0x85b
push 0x50538bac
push eax
call dword [ecx + 0x10]
jmp 0x505517e1
mov dword [ebp - 4], 0x80004005
jmp 0x505517e4
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x476]
push eax
mov word [ebp - 0x478], 0x22
call dword [sym.imp.MSVCR70.dll_wcscpy]
lea eax, [ebp - 0x478]
push 0x50532c78
push eax
call dword [sym.imp.MSVCR70.dll_wcscat]
add esp, 0x10
push 0xe
xor eax, eax
pop ecx
lea edi, [ebp - 0x60]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x478]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x64], 0x3c
mov dword [ebp - 0x60], 0x400
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], 0x5053476c
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], 5
mov dword [ebp - 0x44], ebx
call dword [sym.imp.vsansi.dll_ShellExecuteExW]
test eax, eax
jne 0x505517e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x505517e1
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
push dword [ebp - 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x50551930
lea eax, [ebp + 0xc]
push eax
mov eax, 0x50536dd8
push eax
push eax
mov ecx, 0x5055df50
mov dword [ebp + 0xc], ebx
call fcn.50538f90
cmp eax, ebx
mov dword [ebp - 4], eax
jl 0x50551928
mov eax, dword [ebp + 0xc]
push ebx
lea edx, [ebp + 8]
push edx
lea edx, [ebp - 8]
push edx
lea edx, [ebp + 0x10]
push edx
push ebx
mov esi, 0x505313dc
push esi
lea edx, [ebp - 0x26c]
push edx
push ebx
push ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp + 8], ebx
mov dword [ebp - 8], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x505518ca
mov eax, dword [ebp + 8]
mov esi, 0x50538b5c
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x28]
push edx
push 0xfffff057
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
push 0x50532510
lea eax, [ebp - 0x28]
push eax
call fcn.5053eea4
test eax, eax
jne 0x50551903
lea ecx, [ebp + 8]
call fcn.5053aee5
lea ecx, [ebp + 0x10]
call fcn.5053aee5
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
lea edx, [ebp - 8]
push edx
lea edx, [ebp + 0x10]
push edx
lea edx, [ebp - 0x10]
push edx
push 0x505313dc
push ebx
lea edx, [ebp - 0x28]
push edx
push 3
lea edx, [ebp - 0x26c]
push edx
push eax
call dword [ecx + 0x34]
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x50551903
mov esi, 0x505313dc
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
lea edx, [ebp - 8]
push edx
lea edx, [ebp + 0x10]
push edx
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x26c]
push esi
jne 0x505518fb
push ebx
push 0x50532510
push 3
push edx
push eax
call dword [ecx + 0x34]
jmp 0x50551900
push edx
push eax
call dword [ecx + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x50551910
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
lea ecx, [ebp + 8]
call fcn.50556058
lea ecx, [ebp - 0x10]
call fcn.50556058
lea ecx, [ebp + 0x10]
call fcn.50556058
lea ecx, [ebp + 0xc]
call fcn.50556058
cmp dword [ebp - 4], ebx
jge 0x50551950
push ebx
push 1
push ebx
push ebx
push 0xffffffffffffffff
push 0x5ae
push 0x3f2
mov ecx, 0x5055df50
call fcn.5054feba
push dword [ebp - 0xc]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x14]
call fcn.50556058
pop edi
pop esi
pop ebx
leave
ret 0xc