Function at 0x4198a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456055
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x47f060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x440], ecx
mov eax, dword [ebp + 8]
test eax, eax
mov edx, str.none
cmovne edx, eax
xor eax, eax
mov dword [ebp - 0x444], 7
mov dword [ebp - 0x448], 0
mov word [ebp - 0x458], ax
cmp word [edx], ax
jne 0x419907
xor ecx, ecx
jmp 0x41991f
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x419910
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x458]
call fcn.00406c00
lea eax, [ebp - 0x458]
push eax
mov edx, 0x462ad8
lea ecx, [ebp - 0x43c]
mov dword [ebp - 4], 0
call fcn.00411770
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x444], 8
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x41996b
push dword [ebp - 0x458]
call edi
add esp, 4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x458], ax
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push eax
mov dword [ebp - 0x444], 7
mov dword [ebp - 0x448], 0
call sub.MSVCR110.dll_memset
mov eax, dword [0x48277c]
add esp, 0xc
test eax, eax
jne 0x4199d9
push 0xe4
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0x45c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4199d2
mov ecx, eax
call fcn.004122b0
jmp 0x4199d4
xor eax, eax
mov dword [0x48277c], eax
add eax, 0x90
cmp dword [eax + 0x14], 8
jb 0x4199e6
mov eax, dword [eax]
push 0x45f1b8
push eax
lea eax, [ebp - 0x424]
push str._s_s
push eax
call fcn.00405ac0
add esp, 0x10
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419a54
cmp dword [ebp - 0x428], 8
mov eax, dword [0x482720]
lea esi, [ebp - 0x43c]
cmovae esi, dword [ebp - 0x43c]
test al, 1
jne 0x419a43
or eax, 1
push 0x45aeb0
mov dword [0x482720], eax
call fcn.004521b7
add esp, 4
push 0
push 1
push esi
lea eax, [ebp - 0x424]
push eax
call fcn.00443c20
mov eax, dword [0x482720]
test al, 1
jne 0x419a72
or eax, 1
push 0x45aeb0
mov dword [0x482720], eax
call fcn.004521b7
add esp, 4
push 1
push 0
push 0
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x419b65
push 4
push str.iSafeService
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
je 0x419aa7
push eax
mov bl, 1
call edi
push esi
call edi
test bl, bl
je 0x419b5f
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x45f1b8
push dword [ebp - 0x440]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x419b5f
mov eax, dword [0x482720]
test al, 1
jne 0x419b17
or eax, 1
push 0x45aeb0
mov dword [0x482720], eax
call fcn.004521b7
add esp, 4
push 0
push 1
push str._stop__uninstall
lea eax, [ebp - 0x21c]
push eax
call fcn.00443c20
mov eax, dword [0x4831cc]
test al, 1
jne 0x419b55
or eax, 1
push ecx
mov dword [0x4831cc], eax
call fcn.0041a320
call fcn.0041a530
push 0x45afc0
call fcn.004521b7
add esp, 4
mov ecx, 0x483160
call fcn.0041b020
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
cmp dword [ebp - 0x428], 8
jb 0x419b79
push dword [ebp - 0x43c]
call edi
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00452076
mov esp, ebp
pop ebp
ret 4