Function at 0x448170
Capabilities:
Check if file exists
Query or enumerate registry value
Query service status

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f188
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x639354]
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, dword [ebp + 8]
lea eax, [ebp - 0x60]
xor ebx, ebx
push eax
mov dword [ebp - 0x4c], ebx
call fcn.004463b0
add esp, 4
mov edi, dword [ebp - 0x60]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x50], 1
cmp edi, dword [ebp - 0x5c]
je 0x4481e5
mov eax, dword [esi]
test eax, eax
je 0x448797
push eax
push dword [edi]
call fcn.0056b422
add esp, 8
test eax, eax
je 0x44820d
add edi, 0x2c
cmp edi, dword [ebp - 0x5c]
jne 0x4481c4
xor esi, esi
lea ecx, [ebp - 0x60]
call fcn.00449970
mov eax, esi
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.0055c3a9
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 2
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x448797
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x30], esi
mov eax, dword [edi + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 3
test eax, eax
je 0x448250
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
push 0x20019
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x44]
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], 0
test eax, eax
je 0x448335
lea edx, [ebp - 0x3c]
push edx
push 0
lea edx, [ebp - 0x34]
push edx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x34]
cmp eax, 1
je 0x4482ab
cmp eax, 2
jne 0x448335
lea ecx, [ebp - 0x30]
call fcn.00429c20
mov edx, dword [ebp - 0x3c]
shr edx, 1
add edx, 1
js 0x4487ab
mov esi, dword [ebp - 0x30]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x4482e1
push edx
lea ecx, [ebp - 0x30]
call fcn.00429eb0
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x3c]
push eax
push esi
lea eax, [ebp - 0x34]
push eax
push 0
push dword [ebp - 0x40]
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x448335
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
test esi, esi
jne 0x44830f
xor eax, eax
jmp 0x448323
push dword [esi - 8]
push esi
call fcn.0056b163
add esp, 8
test eax, eax
js 0x4487ab
cmp eax, dword [esi - 8]
jg 0x4487ab
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], 0
jne 0x44849a
push str.UninstallString
push dword [edi + 0xc]
call fcn.0056b422
add esp, 8
test eax, eax
jne 0x448490
mov ebx, dword [edi + 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 5
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4487a1
mov eax, dword [ecx]
call dword [eax + 0xc]
mov byte [ebp - 4], 4
mov dword [ebp - 0x4c], 1
lea esi, [eax + 0x10]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x34], esi
push eax
push 0xf013f
push 0
push dword [edi + 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x448460
push 0xf
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x28]
push str.UninstallString
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0042e330
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
push dword [ebp - 0x3c]
lea eax, [ebp - 0x40]
push eax
call fcn.00448b40
add esp, 0xc
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.004297a0
mov edx, dword [ebp - 0x40]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x448402
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp edx, 8
jb 0x448440
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x448436
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4487b5
push edx
push ecx
call fcn.0055c524
add esp, 8
push dword [ebp - 0x3c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x34]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x30]
call fcn.004297a0
xor ebx, ebx
mov byte [ebp - 4], 3
mov dword [ebp - 0x4c], ebx
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44848d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x30]
cmp dword [esi - 0xc], 0
je 0x448731
push 4
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x30]
call fcn.00429f50
push str..exe
push dword [eax]
call fcn.0056b422
mov edx, dword [ebp - 0x48]
add esp, 8
test eax, eax
mov byte [ebp - 4], 3
sete byte [ebp - 0x35]
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4484dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x35], 0
je 0x448554
cmp dword [esi - 0xc], 0
je 0x448554
push 0x5c
push esi
call fcn.005614c9
add esp, 8
test eax, eax
je 0x448500
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x448518
push 0x2f
push esi
call fcn.005614c9
add esp, 8
test eax, eax
je 0x448554
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x448554
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x30]
call fcn.004487c0
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.004297a0
mov edx, dword [ebp - 0x48]
or eax, 0xffffffff
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x448551
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x30]
mov edx, dword [edi + 0x18]
mov ecx, edx
mov eax, dword [edi + 0x14]
sub ecx, eax
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x34], eax
cmp ecx, 4
jae 0x448579
mov dword [ebp - 0x50], 1
jmp 0x4486a9
cmp eax, edx
je 0x4486a9
mov ecx, dword [esi - 0x10]
test ecx, ecx
je 0x448591
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x44859d
call fcn.00429250
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x448797
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
push 1
push 0x5b9804
push dword [esi - 0xc]
add eax, 0x10
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x3c], eax
or ebx, 2
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x4c], ebx
push esi
push eax
call fcn.0042b6f0
add esp, 0x14
mov esi, dword [ebp - 0x3c]
mov ecx, dword [esi - 0x10]
lea eax, [esi - 0x10]
mov dword [ebp - 0x54], eax
test ecx, ecx
je 0x4485f0
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x4485fc
call fcn.00429250
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x448797
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x40], eax
or ebx, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], ebx
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
push dword [esi - 0xc]
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.0042b6f0
mov esi, dword [ebp - 0x40]
add esp, 0x14
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
sete byte [ebp - 0x35]
and ebx, 0xfffffffb
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x448663
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x54]
and ebx, 0xfffffffd
mov dword [ebp - 0x4c], ebx
or eax, 0xffffffff
mov byte [ebp - 4], 3
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x448685
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x35], 0
jne 0x4486a2
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
add eax, 4
mov dword [ebp - 0x34], eax
cmp eax, dword [edi + 0x18]
jne 0x448581
jmp 0x4486a9
mov dword [ebp - 0x50], 0
mov eax, dword [edi + 0x24]
mov esi, dword [edi + 0x20]
sub eax, esi
test eax, 0xfffffffc
jne 0x4486c2
mov esi, dword [ebp - 0x30]
mov ebx, 1
jmp 0x448733
cmp esi, dword [edi + 0x24]
je 0x44872e
push 4
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x448726
cmp ebx, 0xffffffff
je 0x448726
push 4
push dword [esi]
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x44871f
cmp eax, 0xffffffff
je 0x44871f
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x448716
mov eax, dword [ebp - 0x28]
cmp eax, 6
je 0x44877f
cmp eax, 4
je 0x44877f
cmp eax, 3
je 0x44877f
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
add esi, 4
cmp esi, dword [edi + 0x24]
jne 0x4486c7
mov esi, dword [ebp - 0x30]
xor ebx, ebx
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44874b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x448759
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x48], 0
je 0x4481e5
cmp dword [ebp - 0x50], 0
je 0x4481e5
test ebx, ebx
je 0x4481e5
mov esi, 1
jmp 0x4481e7
push dword [ebp - 0x34]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
mov esi, dword [ebp - 0x30]
mov ebx, 1
jmp 0x448733
push 0x80004005
call fcn.00429b60
push 0x80004005
call fcn.00429b60
push 0x80070057
call fcn.00429b60
call fcn.0056af64
int3