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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x338
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x290]
mov ecx, 0x20
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
lea edi, [ebp - 0x88]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004c05c0
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x2a0]
add esp, 0xc
mov dword [ebp - 0x2a4], 1
mov dword [ebp - 0x2a0], 0x208
push eax
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x2a4]
push eax
push str.Path
lea eax, [ebp - 0x88]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x418915
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x290]
push eax
call esi
test eax, eax
je 0x418915
push 0xc
xor eax, eax
mov dword [ebp - 0x324], 0
push str.hipsver.dll
lea ecx, [ebp - 0x334]
mov dword [ebp - 0x320], 7
mov word [ebp - 0x334], ax
call fcn.00403e30
lea eax, [ebp - 0x334]
push eax
lea edx, [ebp - 0x290]
lea ecx, [ebp - 0x2ec]
call fcn.004046f0
mov edx, dword [ebp - 0x320]
add esp, 4
cmp edx, 8
jb 0x418508
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4184fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418927
push edx
push ecx
call fcn.004bdd39
add esp, 8
push 0x11
xor eax, eax
mov dword [ebp - 0x324], 0
push str.360leakfixer.exe
lea ecx, [ebp - 0x334]
mov dword [ebp - 0x320], 7
mov word [ebp - 0x334], ax
call fcn.00403e30
lea eax, [ebp - 0x334]
push eax
lea edx, [ebp - 0x290]
lea ecx, [ebp - 0x2d4]
call fcn.004046f0
mov edx, dword [ebp - 0x320]
add esp, 4
cmp edx, 8
jb 0x418592
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418588
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41892c
push edx
push ecx
call fcn.004bdd39
add esp, 8
push 0x16
xor eax, eax
mov dword [ebp - 0x324], 0
push str._safemon360Cactus.tpi
lea ecx, [ebp - 0x334]
mov dword [ebp - 0x320], 7
mov word [ebp - 0x334], ax
call fcn.00403e30
lea eax, [ebp - 0x334]
push eax
lea edx, [ebp - 0x290]
lea ecx, [ebp - 0x2bc]
call fcn.004046f0
mov edx, dword [ebp - 0x320]
add esp, 4
cmp edx, 8
jb 0x41861c
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418612
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418931
push edx
push ecx
call fcn.004bdd39
add esp, 8
push 0x15
xor eax, eax
mov dword [ebp - 0x324], 0
push str._safemonFreeSaaS.tpi
lea ecx, [ebp - 0x334]
mov dword [ebp - 0x320], 7
mov word [ebp - 0x334], ax
call fcn.00403e30
lea eax, [ebp - 0x334]
push eax
lea edx, [ebp - 0x290]
lea ecx, [ebp - 0x31c]
call fcn.004046f0
mov edx, dword [ebp - 0x320]
add esp, 4
cmp edx, 8
jb 0x4186a6
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41869c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418936
push edx
push ecx
call fcn.004bdd39
add esp, 8
push 0x14
xor eax, eax
mov dword [ebp - 0x324], 0
push str._safemon_saasver.dll
lea ecx, [ebp - 0x334]
mov dword [ebp - 0x320], 7
mov word [ebp - 0x334], ax
call fcn.00403e30
lea eax, [ebp - 0x334]
push eax
lea edx, [ebp - 0x290]
lea ecx, [ebp - 0x304]
call fcn.004046f0
mov edx, dword [ebp - 0x320]
add esp, 4
cmp edx, 8
jb 0x418730
mov ecx, dword [ebp - 0x334]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418726
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41893b
push edx
push ecx
call fcn.004bdd39
add esp, 8
cmp dword [ebp - 0x2c0], 8
lea eax, [ebp - 0x2d4]
cmovae eax, dword [ebp - 0x2d4]
push eax
call esi
test eax, eax
jne 0x41878b
cmp dword [ebp - 0x2d8], 8
lea eax, [ebp - 0x2ec]
cmovae eax, dword [ebp - 0x2ec]
push eax
call esi
test eax, eax
je 0x41878b
cmp dword [ebp - 0x2a8], 8
lea eax, [ebp - 0x2bc]
cmovae eax, dword [ebp - 0x2bc]
push eax
call esi
test eax, eax
je 0x41878b
mov esi, 2
jmp 0x4188cc
cmp dword [ebp - 0x2c0], 8
lea eax, [ebp - 0x2d4]
cmovae eax, dword [ebp - 0x2d4]
push eax
call esi
test eax, eax
jne 0x4187e4
cmp dword [ebp - 0x2d8], 8
lea eax, [ebp - 0x2ec]
cmovae eax, dword [ebp - 0x2ec]
push eax
call esi
test eax, eax
je 0x4187e4
cmp dword [ebp - 0x2a8], 8
lea eax, [ebp - 0x2bc]
cmovae eax, dword [ebp - 0x2bc]
push eax
call esi
test eax, eax
jne 0x4187e4
lea esi, [eax + 3]
jmp 0x4188cc
cmp dword [ebp - 0x308], 8
lea eax, [ebp - 0x31c]
cmovae eax, dword [ebp - 0x31c]
push eax
call esi
test eax, eax
je 0x418875
cmp dword [ebp - 0x2f0], 8
lea eax, [ebp - 0x304]
cmovae eax, dword [ebp - 0x304]
push eax
call esi
test eax, eax
je 0x418875
lea eax, [ebp - 0x298]
mov dword [ebp - 0x294], 0
push eax
lea eax, [ebp - 0x294]
mov dword [ebp - 0x29c], 4
push eax
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x298], 4
push eax
push str.flag_tm
push str.SOFTWARE360Safe360EntSecurity360EntDT
push reloc.OLEAUT32.dll_SysReAllocString
call edi
cmp dword [ebp - 0x294], 0
jne 0x41886e
mov esi, 4
jmp 0x4188cc
mov esi, 5
jmp 0x4188cc
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x294], 0
push eax
lea eax, [ebp - 0x294]
mov dword [ebp - 0x298], 4
push eax
lea eax, [ebp - 0x298]
mov dword [ebp - 0x29c], 4
push eax
push str.safe_jisu
push str.SOFTWARE360Safe
push SysReAllocString
call edi
cmp dword [ebp - 0x294], 1
mov esi, 6
je 0x4188cc
mov esi, 1
lea ecx, [ebp - 0x304]
call fcn.00402e70
lea ecx, [ebp - 0x31c]
call fcn.00402e70
lea ecx, [ebp - 0x2bc]
call fcn.00402e70
lea ecx, [ebp - 0x2d4]
call fcn.00402e70
lea ecx, [ebp - 0x2ec]
call fcn.00402e70
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret
call fcn.004c8da3
call fcn.004c8da3
call fcn.004c8da3
call fcn.004c8da3
call fcn.004c8da3
int3