Function at 0x47b660
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cfed2
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x52bdd0]
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 esi, ecx
lea eax, [esi + 0x2a9c]
test eax, eax
je 0x47b6bb
cmp dword [eax + 0x20], 0
je 0x47b6bb
test eax, eax
je 0x47b6a4
mov eax, dword [eax + 0x20]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x46c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x47b9b6
lea eax, [esi + 0x2c98]
test eax, eax
je 0x47b6cb
cmp dword [eax + 0x20], 0
jne 0x47b69d
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x47b6db
cmp dword [eax + 0x20], 0
jne 0x47b69d
mov eax, dword [esi + 0x90]
test eax, eax
je 0x47b6eb
cmp dword [eax + 0x20], 0
jne 0x47b69d
lea eax, [esi + 0x30e8]
test eax, eax
je 0x47b6fb
cmp dword [eax + 0x20], 0
jne 0x47b69d
mov eax, dword [esi + 0x88]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [sym.imp.Y747WINSYS.dll_YWSWinGet]
test eax, eax
je 0x47b71f
cmp eax, 2
je 0x47b71f
cmp eax, 4
jne 0x47b7b6
mov eax, dword [0x52ec00]
cmp byte [eax + 0x699780], 0
jne 0x47b7b6
push 3
lea edx, [ebp - 0x60]
mov dword [ebp - 0x60], 2
push edx
push eax
call ecx
mov eax, dword [ebp - 0x58]
add esp, 0xc
cmp eax, 0x24f
je 0x47b755
cmp eax, 0x39e
jne 0x47b7b0
push 3
lea eax, [ebp - 0x60]
mov dword [ebp - 0x50], 0
push eax
push dword [0x52ec00]
mov dword [ebp - 0x60], 8
call dword [sym.imp.Y747WINSYS.dll_YWSWinSet]
push 0
push str.M747Misc
call dword [sym.imp.Y747WINSYS.dll_YWSFindWindow]
add esp, 0x14
test eax, eax
je 0x47b7b0
mov ecx, dword [esi + 0x88]
cmp ecx, 2
jne 0x47b798
push 1
jmp 0x47b7a6
test ecx, ecx
jne 0x47b79f
push ecx
jmp 0x47b7a6
cmp ecx, 4
jne 0x47b7b0
push 7
push 0
push 0xb6f
push eax
call edi
mov ecx, dword [sym.imp.Y747WINSYS.dll_YWSWinGet]
cmp dword [esi + 0x88], 3
jne 0x47b996
mov eax, dword [0x52ec00]
cmp byte [eax + 0x699780], 0
jne 0x47b996
push 3
lea edx, [ebp - 0x60]
mov dword [ebp - 0x60], 2
push edx
push eax
call ecx
mov eax, dword [ebp - 0x58]
add esp, 0xc
cmp eax, 0x24f
je 0x47b7fd
cmp eax, 0x39e
jne 0x47b996
lea ebx, [esi + 0x2e04]
test ebx, ebx
je 0x47b996
cmp dword [ebx + 0x20], 0
je 0x47b996
lea eax, [ebp - 0x64]
mov ecx, ebx
push eax
call fcn.004c21a0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc120.dll_Ordinal_8028]
test al, al
jne 0x47b937
lea eax, [ebp - 0x68]
mov ecx, ebx
push eax
call fcn.004c21a0
push 0xff
push 0
mov ecx, eax
mov byte [ebp - 4], 1
call dword [sym.imp.mfc120.dll_Ordinal_5005]
push eax
mov eax, dword [0x52ec00]
add eax, 0x6eadc4
push eax
call dword [sym.imp.MSVCR120.dll_strncpy]
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
mov edx, dword [0x52ec00]
lea ecx, [edx + 0x6eadc4]
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47b887
sub ecx, ebx
je 0x47b937
push 3
lea eax, [ebp - 0x60]
mov dword [ebp - 0x50], 0
push eax
push edx
mov dword [ebp - 0x60], 8
call dword [sym.imp.Y747WINSYS.dll_YWSWinSet]
add esp, 0xc
mov ecx, esi
push 0
call fcn.0047cb90
push 0
push str.M747Misc
call dword [sym.imp.Y747WINSYS.dll_YWSFindWindow]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x47b937
push 0xeb
push dword [0x52ec00]
call dword [sym.imp.Y747CMNFNC.dll_YCFUcndchk]
add esp, 8
test eax, eax
je 0x47b92b
push 0
push 0
push str.stop
push str.instsvc.exe
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x47b92b
push 0
push 0
push 0
push 0
push 0
push 0
push 0x578
push dword [0x52ec00]
call dword [sym.imp.Y747CMNFNC.dll_YCFUalmset]
add esp, 0x20
push 6
push 0
push 0xb6f
push ebx
call edi
push 0
mov ecx, esi
call fcn.0047cb90
push 3
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0xc
push eax
push dword [0x52ec00]
call dword [sym.imp.Y747WINSYS.dll_YWSWinGet]
and dword [ebp - 0x54], 0xfffffeff
lea eax, [ebp - 0x60]
push 3
push eax
mov dword [esi + 0x88], 0
push dword [0x52ec00]
mov dword [ebp - 0x50], 0
call dword [sym.imp.Y747WINSYS.dll_YWSWinSet]
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc120.dll_Ordinal_1041]
lea ecx, [esi + 0x98]
call sub.mfc120.dll_Ordinal_4931
test eax, eax
je 0x47b9a8
mov eax, dword [eax + 0x20]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x46c
push eax
call edi
xor eax, eax
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.004c6016
mov esp, ebp
pop ebp
ret 8