Function at 0x4c7670
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d9d0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
push esi
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x40
lea eax, [ebp - 0x84]
mov dword [ebp - 0x1c], 0
push 0
push eax
mov dword [ebp - 0x88], 0
call fcn.00525ee0
add esp, 0xc
lea eax, [ebp - 0x88]
mov ecx, 0x44
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x4c76c6
push dword [0x5d687c]
lea ecx, [ebp - 0x20]
call fcn.0045a3a0
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0051eb70
add esp, 8
mov edx, dword [ebp - 0x20]
or edi, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 2
mov eax, edi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4c7717
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x4c7856
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
test eax, eax
js 0x4c783d
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0x5944b8
push 4
push 0
push 0x5944f8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4c7824
mov dword [ebp - 0x10], 0
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x5944e8
push 0x5944d8
push eax
mov byte [ebp - 4], 4
call dword [ecx + 0xc]
test eax, eax
js 0x4c7813
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
push eax
movdqu xmmword [ebp - 0x34], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp + 8]
xor ecx, ecx
mov word [ebp - 0x44], cx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
push dword [eax]
call fcn.00461c30
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x34]
push edx
push edx
push edx
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 6
push edx
push eax
call dword [ecx + 0xd0]
mov eax, dword [ebp - 0x10]
push 0xffffffffffffffff
push eax
mov ecx, dword [eax]
call dword [ecx + 0xa4]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x24]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov esi, dword [ebp - 0x24]
push 3
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x1c], 1
call esi
lea eax, [ebp - 0x34]
push eax
call esi
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 3
test eax, eax
je 0x4c7824
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test eax, eax
je 0x4c7856
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4c7856
mov eax, dword [ebp + 8]
push 0xa
push 0
push dword [eax]
push dword [ebp - 0x18]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, dword [ebp - 0x18]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4c7877
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret