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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ad28
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x63434c]
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.00446850
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 0x448685
mov eax, dword [esi]
test eax, eax
je 0x448c37
push eax
push dword [edi]
call fcn.00566ed2
add esp, 8
test eax, eax
je 0x4486ad
add edi, 0x2c
cmp edi, dword [ebp - 0x5c]
jne 0x448664
xor esi, esi
lea ecx, [ebp - 0x60]
call fcn.00449ce0
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.00557e89
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 2
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x448c37
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 0x4486f0
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 0x4487d5
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 0x44874b
cmp eax, 2
jne 0x4487d5
lea ecx, [ebp - 0x30]
call fcn.00429bc0
mov edx, dword [ebp - 0x3c]
shr edx, 1
add edx, 1
js 0x448c4b
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 0x448781
push edx
lea ecx, [ebp - 0x30]
call fcn.00429e50
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 0x4487d5
mov eax, dword [ebp - 0x3c]
xor ecx, ecx
shr eax, 1
mov word [esi + eax*2], cx
test esi, esi
jne 0x4487af
xor eax, eax
jmp 0x4487c3
push dword [esi - 8]
push esi
call fcn.00566c13
add esp, 8
test eax, eax
js 0x448c4b
cmp eax, dword [esi - 8]
jg 0x448c4b
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], 0
jne 0x44893a
push str.UninstallString
push dword [edi + 0xc]
call fcn.00566ed2
add esp, 8
test eax, eax
jne 0x448930
mov ebx, dword [edi + 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 5
call fcn.004291f0
mov ecx, eax
test ecx, ecx
je 0x448c41
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 0x448900
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.0042e2d0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
push dword [ebp - 0x3c]
lea eax, [ebp - 0x40]
push eax
call fcn.00448fe0
add esp, 0xc
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.00429740
mov edx, dword [ebp - 0x40]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4488a2
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 0x4488e0
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4488d6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x448c55
push edx
push ecx
call fcn.00558004
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.00429740
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 0x44892d
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 0x448bd1
push 4
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x30]
call fcn.00429ef0
push str..exe
push dword [eax]
call fcn.00566ed2
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 0x44897c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x35], 0
je 0x4489f4
cmp dword [esi - 0xc], 0
je 0x4489f4
push 0x5c
push esi
call fcn.0055cf79
add esp, 8
test eax, eax
je 0x4489a0
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x4489b8
push 0x2f
push esi
call fcn.0055cf79
add esp, 8
test eax, eax
je 0x4489f4
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4489f4
push eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x30]
call fcn.00448c60
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 9
call fcn.00429740
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 0x4489f1
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 0x448a19
mov dword [ebp - 0x50], 1
jmp 0x448b49
cmp eax, edx
je 0x448b49
mov ecx, dword [esi - 0x10]
test ecx, ecx
je 0x448a31
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x448a3d
call fcn.004291f0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x448c37
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
push 1
push 0x5b4804
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.0042b690
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 0x448a90
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x448a9c
call fcn.004291f0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov byte [ebp - 4], 0xd
test eax, eax
je 0x448c37
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.0042b690
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 0x448b03
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 0x448b25
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x35], 0
jne 0x448b42
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x30]
add eax, 4
mov dword [ebp - 0x34], eax
cmp eax, dword [edi + 0x18]
jne 0x448a21
jmp 0x448b49
mov dword [ebp - 0x50], 0
mov eax, dword [edi + 0x24]
mov esi, dword [edi + 0x20]
sub eax, esi
test eax, 0xfffffffc
jne 0x448b62
mov esi, dword [ebp - 0x30]
mov ebx, 1
jmp 0x448bd3
cmp esi, dword [edi + 0x24]
je 0x448bce
push 4
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x448bc6
cmp ebx, 0xffffffff
je 0x448bc6
push 4
push dword [esi]
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x448bbf
cmp eax, 0xffffffff
je 0x448bbf
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x448bb6
mov eax, dword [ebp - 0x28]
cmp eax, 6
je 0x448c1f
cmp eax, 4
je 0x448c1f
cmp eax, 3
je 0x448c1f
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 0x448b67
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 0x448beb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x448bf9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x48], 0
je 0x448685
cmp dword [ebp - 0x50], 0
je 0x448685
test ebx, ebx
je 0x448685
mov esi, 1
jmp 0x448687
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 0x448bd3
push 0x80004005
call fcn.00429b00
push 0x80004005
call fcn.00429b00
push 0x80070057
call fcn.00429b00
call fcn.00566a14
int3