Function at 0x4690dc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4c7474]
sub esp, 0x158
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str._cleanup
push dword [eax + 4]
call esi
test eax, eax
jne 0x469122
mov eax, dword [0x4c7474]
push dword [eax + 8]
call fcn.004257ac
mov edx, dword [0x4c7474]
pop ecx
mov ecx, eax
mov edx, dword [edx + 0xc]
call fcn.004693de
jmp 0x4693d5
call fcn.00469565
test eax, eax
je 0x4693d5
push ebx
push edi
xor edi, edi
xor ebx, ebx
inc edi
cmp dword [0x4c7470], edi
jl 0x469211
mov eax, dword [0x4c7474]
push str._path
push dword [eax + edi*4]
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
mov eax, dword [0x4c7474]
je 0x4691ab
push 0x4a607c
push dword [eax + edi*4]
call fcn.004278f4
push 0x4a607c
push ebx
call fcn.004278f4
mov ebx, dword [0x4ca9e8]
add esp, 0x10
mov edx, eax
add ebx, 0x8a5c
mov cl, byte [eax]
inc eax
mov byte [ebx], cl
inc ebx
test cl, cl
jne 0x469187
mov ecx, dword [0x4ca9e8]
add ecx, 0x91f5
mov al, byte [edx]
inc edx
mov byte [ecx], al
inc ecx
test al, al
jne 0x46919d
xor ebx, ebx
jmp 0x469204
push str._silent
push dword [eax + edi*4]
call esi
test eax, eax
jne 0x4691c2
mov byte [0x4ca9c5], 1
jmp 0x469204
mov eax, dword [0x4c7474]
push str._resume
push dword [eax + edi*4]
call esi
test eax, eax
jne 0x4691e5
mov byte [0x4ca9c5], 1
mov byte [0x4ca9c4], 1
jmp 0x469204
mov eax, dword [0x4c7474]
push str._noui
push dword [eax + edi*4]
call esi
test eax, eax
jne 0x469204
mov eax, dword [0x4ca9e8]
mov byte [eax + 0xb7c2], 1
inc edi
cmp edi, dword [0x4c7470]
jle 0x469142
push 0x103
lea eax, [ebp - 0x157]
mov byte [ebp - 0x158], bl
push ebx
push eax
call fcn.0042a910
add esp, 0xc
lea eax, [ebp - 0x158]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str.resume.exe
lea ecx, [ebp - 0x158]
call fcn.00469b14
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
je 0x46935b
push 0x4a7940
lea ecx, [ebp - 0x158]
call fcn.00469b14
push eax
call esi
test eax, eax
jne 0x469287
mov edx, dword [0x4ca9e8]
push ebx
push ebx
push 0x15
pop ecx
call fcn.0046f593
pop ecx
pop ecx
push 0x4a794c
lea ecx, [ebp - 0x158]
call fcn.00469b14
push eax
call esi
test eax, eax
jne 0x4692b0
mov edx, dword [0x4ca9e8]
push ebx
push ebx
push 0x16
pop ecx
call fcn.0046f593
pop ecx
pop ecx
push 0x4a7958
lea ecx, [ebp - 0x158]
call fcn.00469b14
push eax
call esi
test eax, eax
jne 0x4692d9
mov edx, dword [0x4ca9e8]
push ebx
push ebx
push 0x17
pop ecx
call fcn.0046f593
pop ecx
pop ecx
push 0x4a7964
lea ecx, [ebp - 0x158]
call fcn.00469b14
push eax
call esi
test eax, eax
jne 0x469302
mov edx, dword [0x4ca9e8]
push ebx
push ebx
push 0x18
pop ecx
call fcn.0046f593
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 1
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x44
pop edi
push edi
mov esi, eax
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.0042a910
add esp, 0xc
mov dword [ebp - 0x54], edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push str.install.exe__resume
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4693c3
mov eax, dword [0x4c7474]
push str._uninstall
push dword [eax + 4]
call esi
test eax, eax
jne 0x469378
mov ecx, dword [ebp + 8]
call fcn.00469829
jmp 0x4693c3
mov eax, dword [0x4c7474]
push str._cleanup
push dword [eax + 4]
call esi
test eax, eax
jne 0x4693ab
mov eax, dword [0x4c7474]
push dword [eax + 8]
call fcn.004257ac
mov edx, dword [0x4c7474]
pop ecx
mov ecx, eax
mov edx, dword [edx + 0xc]
call fcn.004693de
jmp 0x4693c3
mov eax, dword [0x4ca9e8]
movzx eax, byte [eax + 0xb7c2]
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.004695c5
pop ecx
pop ecx
push ebx
xor edx, edx
xor ecx, ecx
call fcn.00459e13
pop ecx
call fcn.0046954f
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10