Function at 0x47b220
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523bfb
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x579630]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x24]
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x28]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 0
mov byte [ebp - 0x9d], 0
test edi, edi
je 0x47b296
mov dword [edi], 0
test esi, esi
je 0x47b2a0
mov dword [esi], 0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0xa4], eax
test ebx, ebx
je 0x47b5a6
cmp word [ebx], 0
je 0x47b5a6
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x47b5a6
cmp word [eax], 0
je 0x47b5a6
mov ecx, ebx
mov dword [ebp - 0xb8], 7
xor eax, eax
mov dword [ebp - 0xbc], 0
mov word [ebp - 0xcc], ax
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47b300
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0xcc]
call fcn.00407750
lea eax, [ebp - 0xcc]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00479450
add esp, 8
cmp dword [ebp - 0xb8], 8
mov byte [ebp - 4], 2
jb 0x47b351
push dword [ebp - 0xcc]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0xb8], 7
lea ecx, [ebp - 0x60]
mov dword [ebp - 0xbc], 0
mov word [ebp - 0xcc], ax
call fcn.004710c0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
call fcn.0042ebd0
add esp, 4
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 4
call fcn.00471480
test al, al
je 0x47b444
cmp dword [ebp - 0x1c], 0
je 0x47b444
cmp dword [ebp - 0x34], 0
je 0x47b444
push 0x3c
lea eax, [ebp - 0x9c]
push 0
push eax
call fcn.004f9050
mov eax, dword [ebp + 0x1c]
add esp, 0xc
or eax, 0x100
mov dword [ebp - 0x9c], 0x3c
test edi, edi
jne 0x47b3db
test esi, esi
je 0x47b3de
or eax, 0x40
or eax, 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x98], eax
cmp byte [ebp + 0x2c], 0
mov byte [ebp - 4], 5
je 0x47b4a8
push 0
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 5
push eax
push 0
push ebx
call dword [sym.imp.SHELL32.dll_SHParseDisplayName]
test eax, eax
mov eax, dword [ebp - 0x14]
js 0x47b42e
test eax, eax
je 0x47b42e
or dword [ebp - 0x98], 0xc
mov dword [ebp - 0x78], eax
jmp 0x47b4b9
mov byte [ebp - 4], 4
test eax, eax
je 0x47b43d
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x18], 8
jb 0x47b455
push dword [ebp - 0x2c]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 2
call fcn.00471100
cmp dword [ebp - 0x30], 8
mov dword [ebp - 4], 0xffffffff
jb 0x47b48d
push dword [ebp - 0x44]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov bl, al
mov word [ebp - 0x44], ax
jmp 0x47b5ac
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xb0]
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne bl
test edi, edi
je 0x47b518
mov eax, dword [ebp - 0x7c]
mov dword [edi], eax
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x47b52e
test esi, esi
je 0x47b527
mov dword [esi], eax
jmp 0x47b52e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 4
test eax, eax
je 0x47b540
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x14], 0
jb 0x47b558
push dword [ebp - 0x2c]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 2
call fcn.00471100
cmp dword [ebp - 0x30], 8
mov dword [ebp - 4], 0xffffffff
jb 0x47b590
push dword [ebp - 0x44]
call fcn.004085be
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jmp 0x47b5ac
mov bl, byte [ebp - 0x9d]
cmp dword [ebp - 0xa4], 0
jl 0x47b5bb
call dword [sym.imp.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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401590
mov esp, ebp
pop ebp
ret