Function at 0x402760
Capabilities:
Modify service
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4471cb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2a8
mov eax, dword [0x463074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xac], 8
lea esi, [edi + 0x98]
mov eax, esi
jb 0x4027b6
mov eax, dword [esi]
push eax
push 0x100
lea eax, [ebp - 0x278]
push eax
push 0x457f64
push str.down_dir
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x402804
lea ecx, [ebp - 0x278]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4027e5
sub ecx, edx
lea eax, [ebp - 0x278]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 4]
call fcn.004012b0
cmp dword [edi + 0x14], 0
jne 0x402935
push 5
xor eax, eax
mov dword [ebp - 0x280], 0
push str.down_
lea ecx, [ebp - 0x290]
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
call fcn.004012b0
lea edx, [ebp - 0x290]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2a8]
call fcn.004022c0
lea ecx, [edi + 4]
mov dword [ebp - 0x2b0], eax
cmp ecx, eax
je 0x402891
call fcn.00401100
mov eax, dword [ebp - 0x2b0]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [edi + 4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x14], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x294]
cmp edx, 8
jb 0x4028d1
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4028c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402dd1
push edx
push ecx
call fcn.004133f4
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x27c]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 7
mov word [ebp - 0x2a8], ax
cmp edx, 8
jb 0x402935
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40292b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402dd6
push edx
push ecx
call fcn.004133f4
add esp, 8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40293f
mov eax, dword [esi]
push eax
push 0x30
lea eax, [ebp - 0x78]
push eax
push 0x457e20
push str.last_openmainapp
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x78]
push eax
call fcn.0041ccda
mov dword [edi + 0x20], eax
add esp, 4
mov dword [edi + 0x24], edx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x402977
mov eax, dword [esi]
push eax
push 0x30
lea eax, [ebp - 0x78]
push eax
push 0x457e20
push str.last_deskpop
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x78]
push eax
call fcn.0041ccda
mov dword [edi + 0x28], eax
add esp, 4
mov dword [edi + 0x2c], edx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4029af
mov eax, dword [esi]
push eax
push 0x30
lea eax, [ebp - 0x78]
push eax
push 0x457e20
push str.last_scan
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x78]
push eax
call fcn.0041ccda
mov dword [edi + 0x30], eax
add esp, 4
mov dword [edi + 0x34], edx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4029e7
mov eax, dword [esi]
push eax
push 0x30
lea eax, [ebp - 0x78]
push eax
push 0x457e20
push str.last_msg
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x78]
push eax
call fcn.0041ccda
mov dword [edi + 0x40], eax
add esp, 4
mov dword [edi + 0x44], edx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x402a1f
mov eax, dword [esi]
push eax
push 0x30
lea eax, [ebp - 0x78]
push eax
push 0x457e20
push str.last_issuse
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x78]
push eax
call fcn.0041ccda
mov dword [edi + 0x38], eax
add esp, 4
mov dword [edi + 0x3c], edx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x402a57
mov eax, dword [esi]
push eax
push 0
push str.closed_tips
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
sete al
mov byte [edi + 0x4c], al
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x402a7d
mov eax, dword [esi]
push eax
push 0
push str.closed_issuetips
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x48], eax
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x402a9d
mov eax, dword [esi]
push eax
push 0
push str.auto_start
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
sete al
mov byte [edi + 0x1c], al
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x402ac3
mov eax, dword [esi]
push eax
push 0
push str.hide_tray
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
sete al
mov byte [edi + 0x1d], al
mov al, byte [edi + 0x1c]
test al, al
je 0x402aec
push eax
call fcn.00402de0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x402af6
mov eax, dword [esi]
push eax
push 0
push str.open_dllerror_checker
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
sete al
mov byte [edi + 0x4d], al
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x402b1c
mov eax, dword [esi]
push eax
push 0
push str.open_display_updater
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
sete al
mov byte [edi + 0x4e], al
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x402b42
mov eax, dword [esi]
push eax
push 1
push str.open_regular_scan
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
sete cl
mov byte [ebp - 0x2a9], cl
jne 0x402c1f
cmp byte [edi + 0x4f], cl
je 0x402c1f
push 0xf003f
push 0
push 0
mov byte [edi + 0x4f], cl
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x2b4], eax
test eax, eax
je 0x402be8
push 0xf01ff
push 0x458254
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ecx, eax
mov dword [ebp - 0x2b0], ecx
test ecx, ecx
je 0x402bdc
movzx eax, byte [ebp - 0x2a9]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
xor eax, 1
add eax, 2
push eax
push 0xffffffffffffffff
push ecx
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push dword [ebp - 0x2b0]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x2b4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
movzx eax, byte [edi + 0x4f]
push eax
push 0x457e24
lea eax, [ebp - 0x58]
push 0x20
push eax
call fcn.00401170
add esp, 0x10
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x402c0a
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x58]
push eax
push str.open_regular_scan
push str.config
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x402c29
mov eax, dword [esi]
push eax
push 0
push str.driver_problem
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor ecx, ecx
test eax, eax
cmovs eax, ecx
cmp dword [edi + 0x80], eax
je 0x402c84
push eax
push 0x457e24
mov dword [edi + 0x80], eax
lea eax, [ebp - 0x58]
push 0x20
push eax
call fcn.00401170
add esp, 0x10
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x402c6f
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x58]
push eax
push str.driver_problem
push str.config
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x402c8e
mov eax, dword [esi]
push eax
push 0
push str.runtime_problem
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x84], eax
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x402cb1
mov eax, dword [esi]
push eax
push 0
push str.directx_problem
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x88], eax
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x402cd4
mov eax, dword [esi]
push eax
push 0
push str.sysdll_problem
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x8c], eax
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x402cf7
mov eax, dword [esi]
push eax
push 0x30
lea eax, [ebp - 0x78]
push eax
push 0x457e20
push str.last_reg
push str.config
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x78]
push eax
call fcn.0041ccda
mov ecx, dword [edi + 0x80]
add esp, 4
mov dword [edi + 0x94], edx
xor edx, edx
test ecx, ecx
mov dword [edi + 0x90], eax
mov eax, ecx
cmovle eax, edx
test eax, eax
cmovns edx, eax
cmp ecx, edx
je 0x402d7a
push edx
push 0x457e24
lea eax, [ebp - 0x58]
mov dword [edi + 0x80], edx
push 0x20
push eax
call fcn.00401170
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x402d65
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x58]
push eax
push str.driver_problem
push str.config
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [edi + 0x84], 0
jge 0x402d8d
mov dword [edi + 0x84], 0
cmp dword [edi + 0x88], 0
jge 0x402da0
mov dword [edi + 0x88], 0
cmp dword [edi + 0x8c], 0
jge 0x402db3
mov dword [edi + 0x8c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004133e3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004186ec
call fcn.004186ec
int3