Function at 0x4a35c0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
cmp dword [ebp + 0xc], 0
jne 0x4a35d6
xor eax, eax
jmp 0x4a406d
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x18]
call fcn.004a4890
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0041f570
push 0x50ebe4
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0041f5c0
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x24
call fcn.00418390
lea ecx, [ebp - 0x68]
call fcn.004335b0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.0040eed0
add esp, 4
and eax, 0x20
je 0x4a366b
push str.ruanjianguanjia_adv
mov eax, dword [ebp + 8]
add eax, 0x24
push eax
call fcn.00416ec0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4a366b
push 0
push str.HideSoftMgr
push str.SOFTWARE360Safe360EntSecurity_softmgr
call fcn.0049cdd0
add esp, 0xc
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jne 0x4a366b
mov edx, dword [ebp + 8]
mov dword [edx + 0x34], 0
push str.Visible
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f5c0
push str.FALSE
lea ecx, [ebp - 0x10]
call fcn.0041d430
test eax, eax
jne 0x4a3697
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x34], 0
lea ecx, [ebp - 8]
call fcn.0044c430
lea ecx, [ebp - 0x18]
call fcn.0044ea20
mov dword [ebp - 0xe8], eax
lea ecx, [ebp - 8]
call fcn.004bfaf0
push eax
push 0x518764
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
call edx
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 8]
call fcn.0044ea20
test eax, eax
je 0x4a37ac
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x48]
call fcn.0041f570
push str.Path
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.0041f5c0
push 0x51875c
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x48]
call fcn.0041f5c0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x3c], 4
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x44]
call fcn.0044ea20
push eax
lea ecx, [ebp - 0x4c]
call fcn.0044ea20
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push str.Value
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x48]
call fcn.0041f5c0
mov ecx, eax
call fcn.0044ea20
push eax
call fcn.004f0085
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x50], eax
sete cl
mov byte [ebp - 0x69], cl
lea ecx, [ebp - 0x70]
call fcn.004335b0
movzx edx, byte [ebp - 0x69]
test edx, edx
je 0x4a3794
mov eax, dword [ebp + 8]
mov dword [eax + 0x34], 0
lea ecx, [ebp - 0x44]
call fcn.004335b0
lea ecx, [ebp - 0x4c]
call fcn.004335b0
lea ecx, [ebp - 0x48]
call fcn.0049a2b0
lea ecx, [ebp - 0x20]
call fcn.0044c430
lea ecx, [ebp - 0x18]
call fcn.0044ea20
mov dword [ebp - 0xec], eax
lea ecx, [ebp - 0x20]
call fcn.004bfaf0
push eax
push str.File
mov ecx, dword [ebp - 0xec]
push ecx
mov edx, dword [ebp - 0xec]
mov eax, dword [edx]
mov ecx, dword [eax + 0x38]
call ecx
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x20]
call fcn.0044ea20
test eax, eax
je 0x4a3a4f
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x58]
call fcn.0041f570
push str.Path
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x58]
call fcn.0041f5c0
push str.Version
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x58]
call fcn.0041f5c0
lea ecx, [ebp - 0x5c]
call fcn.0044ea20
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x4a3887
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0x54]
call fcn.004335b0
lea ecx, [ebp - 0x5c]
call fcn.004335b0
lea ecx, [ebp - 0x58]
call fcn.0049a2b0
lea ecx, [ebp - 0x20]
call fcn.0049a2d0
lea ecx, [ebp - 8]
call fcn.0049a2d0
lea ecx, [ebp - 0x10]
call fcn.004335b0
lea ecx, [ebp - 0x2c]
call fcn.0049a2b0
lea ecx, [ebp - 0x18]
call fcn.0049a2d0
mov eax, dword [ebp - 0x74]
jmp 0x4a406d
push 0
push 0x51872c
lea ecx, [ebp - 0x5c]
call fcn.0040f570
test eax, eax
jl 0x4a38fc
push 0
push 0x50ee5c
lea ecx, [ebp - 0x5c]
call fcn.0040f570
test eax, eax
jl 0x4a38fc
mov dword [ebp - 0x78], 0
lea ecx, [ebp - 0x54]
call fcn.004335b0
lea ecx, [ebp - 0x5c]
call fcn.004335b0
lea ecx, [ebp - 0x58]
call fcn.0049a2b0
lea ecx, [ebp - 0x20]
call fcn.0049a2d0
lea ecx, [ebp - 8]
call fcn.0049a2d0
lea ecx, [ebp - 0x10]
call fcn.004335b0
lea ecx, [ebp - 0x2c]
call fcn.0049a2b0
lea ecx, [ebp - 0x18]
call fcn.0049a2d0
mov eax, dword [ebp - 0x78]
jmp 0x4a406d
lea edx, [ebp - 0x5c]
push edx
push 0x50d6f8
lea eax, [ebp - 0x7c]
push eax
call fcn.00493b60
mov ecx, eax
call fcn.00493be0
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.004185a0
add esp, 0xc
push eax
lea edx, [ebp - 0x84]
push edx
call fcn.0041f890
add esp, 0xc
push eax
lea ecx, [ebp - 0x5c]
call fcn.00418390
lea ecx, [ebp - 0x84]
call fcn.004335b0
lea ecx, [ebp - 0x80]
call fcn.004335b0
lea ecx, [ebp - 0x7c]
call fcn.004335b0
lea ecx, [ebp - 0x5c]
call fcn.0044ea20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a39be
mov dword [ebp - 0x88], 0
lea ecx, [ebp - 0x54]
call fcn.004335b0
lea ecx, [ebp - 0x5c]
call fcn.004335b0
lea ecx, [ebp - 0x58]
call fcn.0049a2b0
lea ecx, [ebp - 0x20]
call fcn.0049a2d0
lea ecx, [ebp - 8]
call fcn.0049a2d0
lea ecx, [ebp - 0x10]
call fcn.004335b0
lea ecx, [ebp - 0x2c]
call fcn.0049a2b0
lea ecx, [ebp - 0x18]
call fcn.0049a2d0
mov eax, dword [ebp - 0x88]
jmp 0x4a406d
push ecx
mov ecx, esp
lea eax, [ebp - 0x54]
push eax
call fcn.00418370
push ecx
mov ecx, esp
lea edx, [ebp - 0x5c]
push edx
call fcn.00418370
call fcn.0049bd20
add esp, 8
test eax, eax
jne 0x4a3a37
mov dword [ebp - 0x94], 0
lea ecx, [ebp - 0x54]
call fcn.004335b0
lea ecx, [ebp - 0x5c]
call fcn.004335b0
lea ecx, [ebp - 0x58]
call fcn.0049a2b0
lea ecx, [ebp - 0x20]
call fcn.0049a2d0
lea ecx, [ebp - 8]
call fcn.0049a2d0
lea ecx, [ebp - 0x10]
call fcn.004335b0
lea ecx, [ebp - 0x2c]
call fcn.0049a2b0
lea ecx, [ebp - 0x18]
call fcn.0049a2d0
mov eax, dword [ebp - 0x94]
jmp 0x4a406d
lea ecx, [ebp - 0x54]
call fcn.004335b0
lea ecx, [ebp - 0x5c]
call fcn.004335b0
lea ecx, [ebp - 0x58]
call fcn.0049a2b0
lea ecx, [ebp - 0xc]
call fcn.0044c430
lea ecx, [ebp - 0x18]
call fcn.0044ea20
mov dword [ebp - 0xf0], eax
lea ecx, [ebp - 0xc]
call fcn.004bfaf0
push eax
push 0x518724
mov eax, dword [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0xf0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x38]
call eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x4a3aa1
push 0
lea ecx, [ebp - 0xc]
call fcn.0041fab0
movzx ecx, al
test ecx, ecx
je 0x4a3ae6
mov dword [ebp - 0x98], 0
lea ecx, [ebp - 0xc]
call fcn.0049a2d0
lea ecx, [ebp - 0x20]
call fcn.0049a2d0
lea ecx, [ebp - 8]
call fcn.0049a2d0
lea ecx, [ebp - 0x10]
call fcn.004335b0
lea ecx, [ebp - 0x2c]
call fcn.0049a2b0
lea ecx, [ebp - 0x18]
call fcn.0049a2d0
mov eax, dword [ebp - 0x98]
jmp 0x4a406d
lea edx, [ebp - 0xc]
push edx
lea ecx, [ebp - 0x1c]
call fcn.0041f570
push str.Path
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041f5c0
push str.Param
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0041f5c0
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x74
call fcn.00418390
lea ecx, [ebp - 0x9c]
call fcn.004335b0
lea ecx, [ebp - 0x30]
call fcn.0044ea20
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x4a3b96
mov dword [ebp - 0xa0], 0
lea ecx, [ebp - 0x30]
call fcn.004335b0
lea ecx, [ebp - 0x1c]
call fcn.0049a2b0
lea ecx, [ebp - 0xc]
call fcn.0049a2d0
lea ecx, [ebp - 0x20]
call fcn.0049a2d0
lea ecx, [ebp - 8]
call fcn.0049a2d0
lea ecx, [ebp - 0x10]
call fcn.004335b0
lea ecx, [ebp - 0x2c]
call fcn.0049a2b0
lea ecx, [ebp - 0x18]
call fcn.0049a2d0
mov eax, dword [ebp - 0xa0]
jmp 0x4a406d
push 0
push 0x51872c
lea ecx, [ebp - 0x30]
call fcn.0040f570
test eax, eax
jl 0x4a3c11
push 0
push 0x50ee5c
lea ecx, [ebp - 0x30]
call fcn.0040f570
test eax, eax
jl 0x4a3c11
mov dword [ebp - 0xa4], 0
lea ecx, [ebp - 0x30]
call fcn.004335b0
lea ecx, [ebp - 0x1c]
call fcn.0049a2b0
lea ecx, [ebp - 0xc]
call fcn.0049a2d0
lea ecx, [ebp - 0x20]
call fcn.0049a2d0
lea ecx, [ebp - 8]
call fcn.0049a2d0
lea ecx, [ebp - 0x10]
call fcn.004335b0
lea ecx, [ebp - 0x2c]
call fcn.0049a2b0
lea ecx, [ebp - 0x18]
call fcn.0049a2d0
mov eax, dword [ebp - 0xa4]
jmp 0x4a406d
lea edx, [ebp - 0x30]
push edx
push 0x50d6f8
lea eax, [ebp - 0xa8]
push eax
call fcn.00493b60
mov ecx, eax
call fcn.00493be0
push eax
lea ecx, [ebp - 0xac]
push ecx
call fcn.004185a0
add esp, 0xc
push eax
lea edx, [ebp - 0xb0]
push edx
call fcn.0041f890
add esp, 0xc
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x70
call fcn.00418390
lea ecx, [ebp - 0xb0]
call fcn.004335b0
lea ecx, [ebp - 0xac]
call fcn.004335b0
lea ecx, [ebp - 0xa8]
call fcn.004335b0
lea ecx, [ebp - 0x34]
call fcn.0044c430
lea ecx, [ebp - 0x18]
call fcn.0044ea20
mov dword [ebp - 0xf4], eax
lea ecx, [ebp - 0x34]
call fcn.004bfaf0
push eax
push str.Advtools
mov eax, dword [ebp - 0xf4]
push eax
mov ecx, dword [ebp - 0xf4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x38]
call eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x4a3d06
lea ecx, [ebp - 0x34]
call fcn.0044ea20
test eax, eax
je 0x4a3d06
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x60]
call fcn.0041f570
push str.Param
lea edx, [ebp - 0xb4]
push edx
lea ecx, [ebp - 0x60]
call fcn.0041f5c0
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x78
call fcn.00418390
lea ecx, [ebp - 0xb4]
call fcn.004335b0
lea ecx, [ebp - 0x60]
call fcn.0049a2b0
lea ecx, [ebp - 4]
call fcn.0044c430
lea ecx, [ebp - 0x18]
call fcn.0044ea20
mov dword [ebp - 0xf8], eax
lea ecx, [ebp - 4]
call fcn.004bfaf0
push eax
push str.ModuleUpdate
mov eax, dword [ebp - 0xf8]
push eax
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x38]
call eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x4a3edc
lea ecx, [ebp - 4]
call fcn.0044ea20
test eax, eax
je 0x4a3edc
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x64]
call fcn.0041f570
push str.UpdateID
lea edx, [ebp - 0xb8]
push edx
lea ecx, [ebp - 0x64]
call fcn.0041f5c0
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x7c
call fcn.00418390
lea ecx, [ebp - 0xb8]
call fcn.004335b0
push str.SectionID
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x64]
call fcn.0041f5c0
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x80
call fcn.00418390
lea ecx, [ebp - 0xbc]
call fcn.004335b0
push str.UpdateType
lea ecx, [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0x64]
call fcn.0041f5c0
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x84
call fcn.00418390
lea ecx, [ebp - 0xc0]
call fcn.004335b0
push str.Name
lea edx, [ebp - 0xc4]
push edx
lea ecx, [ebp - 0x64]
call fcn.0041f5c0
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x88
call fcn.00418390
lea ecx, [ebp - 0xc4]
call fcn.004335b0
push str.CheckPE
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x64]
call fcn.0041f5c0
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x8c
call fcn.00418390
lea ecx, [ebp - 0xc8]
call fcn.004335b0
push str.CheckConfig
lea ecx, [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0x64]
call fcn.0041f5c0
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x90
call fcn.00418390
lea ecx, [ebp - 0xcc]
call fcn.004335b0
push 0x518684
lea edx, [ebp - 0xd0]
push edx
lea ecx, [ebp - 0x64]
call fcn.0041f5c0
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x94
call fcn.00418390
lea ecx, [ebp - 0xd0]
call fcn.004335b0
push str.NOTIFYWINDOW
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x64]
call fcn.0041f5c0
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x98
call fcn.00418390
lea ecx, [ebp - 0xd4]
call fcn.004335b0
lea ecx, [ebp - 0x64]
call fcn.0049a2b0
lea ecx, [ebp - 0x24]
call fcn.0044c430
lea ecx, [ebp - 0x18]
call fcn.0044ea20
mov dword [ebp - 0xfc], eax
lea ecx, [ebp - 0x24]
call fcn.004bfaf0
push eax
push 0x518660
mov ecx, dword [ebp - 0xfc]
push ecx
mov edx, dword [ebp - 0xfc]
mov eax, dword [edx]
mov ecx, dword [eax + 0x38]
call ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x4a3f2e
push 0
lea ecx, [ebp - 0x24]
call fcn.0041fab0
movzx edx, al
test edx, edx
je 0x4a3f9b
mov dword [ebp - 0xd8], 0
lea ecx, [ebp - 0x24]
call fcn.0049a2d0
lea ecx, [ebp - 4]
call fcn.0049a2d0
lea ecx, [ebp - 0x34]
call fcn.0049a2d0
lea ecx, [ebp - 0x30]
call fcn.004335b0
lea ecx, [ebp - 0x1c]
call fcn.0049a2b0
lea ecx, [ebp - 0xc]
call fcn.0049a2d0
lea ecx, [ebp - 0x20]
call fcn.0049a2d0
lea ecx, [ebp - 8]
call fcn.0049a2d0
lea ecx, [ebp - 0x10]
call fcn.004335b0
lea ecx, [ebp - 0x2c]
call fcn.0049a2b0
lea ecx, [ebp - 0x18]
call fcn.0049a2d0
mov eax, dword [ebp - 0xd8]
jmp 0x4a406d
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041f570
push str.Name
lea ecx, [ebp - 0xdc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0041f5c0
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x28
call fcn.00418390
lea ecx, [ebp - 0xdc]
call fcn.004335b0
push str.Icon
lea edx, [ebp - 0xe0]
push edx
lea ecx, [ebp - 0x14]
call fcn.0041f5c0
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x2c
call fcn.00418390
lea ecx, [ebp - 0xe0]
call fcn.004335b0
mov dword [ebp - 0xe4], 1
lea ecx, [ebp - 0x14]
call fcn.0049a2b0
lea ecx, [ebp - 0x24]
call fcn.0049a2d0
lea ecx, [ebp - 4]
call fcn.0049a2d0
lea ecx, [ebp - 0x34]
call fcn.0049a2d0
lea ecx, [ebp - 0x30]
call fcn.004335b0
lea ecx, [ebp - 0x1c]
call fcn.0049a2b0
lea ecx, [ebp - 0xc]
call fcn.0049a2d0
lea ecx, [ebp - 0x20]
call fcn.0049a2d0
lea ecx, [ebp - 8]
call fcn.0049a2d0
lea ecx, [ebp - 0x10]
call fcn.004335b0
lea ecx, [ebp - 0x2c]
call fcn.0049a2b0
lea ecx, [ebp - 0x18]
call fcn.0049a2d0
mov eax, dword [ebp - 0xe4]
mov esp, ebp
pop ebp
ret 8