Function at 0x47c630
Capabilities:
Create process on windows
Create process suspended
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x487cb1
mov eax, dword fs:[0]
push eax
sub esp, 0x348
mov eax, dword [0x4a7740]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34c], ecx
push str.server
push 0x4ab400
call fcn.00474de0
add esp, 8
call fcn.00473230
test eax, eax
jne 0x47c694
mov eax, dword [ebp - 0x34c]
mov ecx, dword [eax + 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x47c90e
mov ecx, dword [ebp - 0x34c]
call fcn.0047b440
cmp eax, 1
jne 0x47c6ba
push 1
push 0
push 1
mov ecx, dword [ebp - 0x34c]
call fcn.0047c200
jmp 0x47c90e
lea ecx, [ebp - 0x3c]
call fcn.00406f70
mov dword [ebp - 4], 0
lea edx, [ebp - 0x3c]
push edx
call fcn.00473490
add esp, 4
push 0x493808
lea ecx, [ebp - 0x58]
call fcn.00403700
mov byte [ebp - 4], 1
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x58]
call fcn.004085d0
push 0x49380c
lea ecx, [ebp - 0x58]
call fcn.004085f0
push 0x44
push 0
lea ecx, [ebp - 0xa4]
push ecx
call fcn.00453b10
add esp, 0xc
mov dword [ebp - 0xa4], 0x44
push 0x10
push 0
lea edx, [ebp - 0x1c]
push edx
call fcn.00453b10
add esp, 0xc
lea ecx, [ebp - 0x58]
call fcn.00403760
push eax
lea ecx, [ebp - 0x348]
call fcn.00403530
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x350]
mov dword [ebp - 0x354], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x354]
call fcn.0041e8b0
push eax
push 0x493838
push 0x4ab400
call fcn.00474de0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x348]
call fcn.00403560
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0xa4]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x58]
call fcn.00403760
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x47c7e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed___d_._n
push 0x4ab400
call fcn.00474de0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00403740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00403740
jmp 0x47c90e
push 0xffffffffffffffff
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00473230
mov dword [ebp - 0xa8], eax
push 0x493864
push 0x4ab400
call fcn.00474de0
add esp, 8
push 1
push 0
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0x34c]
call fcn.0047c200
mov word [ebp - 0x2b4], 0
push 0x206
push 0
lea ecx, [ebp - 0x2b2]
push ecx
call fcn.00453b10
add esp, 0xc
lea edx, [ebp - 0x2b4]
push edx
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x49387c
lea eax, [ebp - 0x2b4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x2c4]
push ecx
call fcn.0047aeb0
add esp, 4
lea ecx, [ebp - 0x2b8]
call fcn.00401d50
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2c0]
push edx
mov eax, dword [ebp - 0x2c4]
push eax
push 0x4938b0
lea ecx, [ebp - 0x2b8]
push ecx
call fcn.00410190
add esp, 0x10
lea edx, [ebp - 0x2b4]
push edx
lea ecx, [ebp - 0x2b8]
call fcn.0041e8b0
push eax
push str.Uninstall
push 0x4938cc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2b8]
call fcn.00403340
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00403740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00403740
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00450ba2
mov esp, ebp
pop ebp
ret 4