Function at 0x493120
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0877
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x520404]
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 [0x528084]
test eax, eax
jne 0x49318b
push 0x4e9488
push 0x2c
call fcn.004a7f94
add esp, 8
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x49317d
mov ecx, eax
call fcn.00484580
jmp 0x49317f
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x528084], eax
push str.uninstEmuLD
push str.App___SetupHelper
push eax
call fcn.00484be0
add esp, 0xc
call fcn.004782d0
mov ecx, eax
test ecx, ecx
je 0x4934a3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c], eax
push str.dnuninst.exe
push 0x4e59e4
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 1
push str._s_s
push eax
call fcn.00478110
mov edi, dword [ebp - 0x4c]
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.00479380
add esp, 0x18
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 2
jb 0x4931f7
mov esi, dword [ebp - 0x28]
call fcn.004782d0
mov ecx, eax
test ecx, ecx
je 0x4934ad
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x44], eax
push esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00477ee0
test al, al
jne 0x493249
test esi, esi
jne 0x49322a
xor ecx, ecx
jmp 0x49323f
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x493230
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x44]
call fcn.00478540
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 4
push eax
call fcn.0048c740
mov edx, dword [ebp - 0x44]
or esi, 0xffffffff
add esp, 4
mov byte [ebp - 4], 2
mov ebx, eax
add edx, 0xfffffff0
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x49327c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x493419
call fcn.004782d0
mov ecx, eax
test ecx, ecx
je 0x4934b7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push 0x4e59e4
push eax
mov dword [ebp - 0x44], 0
call fcn.00479380
add esp, 8
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 6
jb 0x4932c6
mov eax, dword [eax]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
jb 0x4932d2
mov ecx, dword [ebp - 0x28]
push eax
push ecx
lea eax, [ebp - 0x48]
push str.__s___silencedelete__path___s_
push eax
call fcn.00478110
add esp, 0x10
lea ecx, [ebp - 0x40]
call fcn.00407180
mov esi, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x9c], 0
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push esi
push 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0xa0], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4933f0
mov eax, dword [ebp - 0x5c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4933dc
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x5c]
call ebx
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x4933e6
push eax
call ebx
cmp dword [ebp - 0x44], 0
jne 0x4933f7
mov bl, 1
jmp 0x4933f9
mov dword [ebp - 0x44], 0x3e9
xor bl, bl
lea edx, [esi - 0x10]
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x49341b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x49341b
xor bl, bl
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x493455
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x49344b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4934c1
push edx
push ecx
call fcn.004a7d37
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
add edi, 0xfffffff0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x493485
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
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.004a7f4e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00477ec0
push 0x80004005
call fcn.00477ec0
push 0x80004005
call fcn.00477ec0
call fcn.004af45f
int3