joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4143c5
Capabilities:
Check if file exists

Disassembly:
push 0x25c
mov eax, 0x5e1ed5
call fcn.0059bbd7
mov esi, ecx
mov dword [ebp - 0x268], esi
mov eax, dword fs:[0x2c]
xor ebx, ebx
mov dword [ebp - 0x268], esi
mov edi, 0x6335fc
mov ecx, dword [eax]
mov eax, dword [0x6f17a0]
cmp eax, dword [ecx + 4]
jg 0x4145a8
push edi
mov ecx, 0x6f17a4
call fcn.00410858
test al, al
jne 0x414428
push 0x6f17a4
mov ecx, esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.0040b155
jmp 0x4145a0
push edi
lea ecx, [ebp - 0x234]
call fcn.0040b0d5
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 1
push eax
push str.InstallPath
mov edx, 0x628218
mov ecx, reloc.WS2_32.dll_accept
call fcn.004261ea
pop ecx
pop ecx
test eax, eax
jne 0x414469
push edi
mov ecx, esi
call fcn.0040b0d5
jmp 0x414595
push 0x208
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.005b24a0
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x234]
add esp, 0xc
cmp dword [ebp - 0x220], 8
cmovae eax, dword [ebp - 0x234]
push eax
lea eax, [ebp - 0x21c]
push eax
call edi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41450a
push 0x208
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.005b24a0
add esp, 0xc
lea ecx, [ebp - 0x24c]
call fcn.00425665
cmp dword [ebp - 0x238], 8
lea eax, [ebp - 0x24c]
cmovae eax, dword [ebp - 0x24c]
push eax
lea eax, [ebp - 0x21c]
push eax
call edi
push str.360huabao_
lea eax, [ebp - 0x21c]
push eax
call edi
lea ecx, [ebp - 0x24c]
call fcn.0040b67e
push 0x6335fc
lea ecx, [ebp - 0x264]
call fcn.0040b0d5
mov byte [ebp - 4], 2
cmp dword [ebp - 0x254], 0
je 0x41455b
push 0x633b6c
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x24c]
call fcn.00411559
pop ecx
cmp dword [eax + 0x14], 8
jb 0x414546
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x21c]
push eax
call edi
lea ecx, [ebp - 0x24c]
call fcn.0040b67e
lea eax, [ebp - 0x21c]
push eax
call fcn.005c2f90
pop ecx
push eax
lea eax, [ebp - 0x21c]
mov edi, 0x6f17a4
push eax
mov ecx, edi
call fcn.0040b566
push edi
mov ecx, esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.0040b155
lea ecx, [ebp - 0x264]
call fcn.0040b67e
lea ecx, [ebp - 0x234]
call fcn.0040b67e
mov eax, esi
call fcn.0059bb81
ret
push 0x6f17a0
call fcn.0059ae4e
cmp dword [0x6f17a0], 0xffffffff
pop ecx
jne 0x414402
push edi
mov ecx, 0x6f17a4
mov dword [ebp - 4], ebx
call fcn.0040b0d5
push 0x5fd0ec
call fcn.0059ac99
or dword [ebp - 4], 0xffffffff
mov dword [esp], 0x6f17a0
call fcn.0059ae04
pop ecx
jmp 0x414402
Function at 0x4145ee
Capabilities:
Check if file exists

Disassembly:
push 0x22c
mov eax, 0x5e1f14
call fcn.0059bbd7
mov esi, ecx
mov dword [ebp - 0x238], esi
mov eax, dword fs:[0x2c]
xor ebx, ebx
mov dword [ebp - 0x238], esi
mov edi, 0x6f17c0
mov ecx, dword [eax]
mov eax, dword [0x6f17bc]
cmp eax, dword [ecx + 4]
jg 0x41476b
push 0x6335fc
mov ecx, edi
call fcn.00410858
test al, al
jne 0x41464e
push edi
mov ecx, esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.0040b155
jmp 0x414763
mov edi, 0x6335fc
lea ecx, [ebp - 0x234]
push edi
call fcn.0040b0d5
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 1
push eax
push str.UninstallString
mov edx, 0x628300
mov ecx, reloc.WS2_32.dll_accept
call fcn.004261ea
pop ecx
pop ecx
test eax, eax
jne 0x414694
push edi
mov ecx, esi
call fcn.0040b0d5
jmp 0x414758
push 0x208
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.005b24a0
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x234]
add esp, 0xc
cmp dword [ebp - 0x220], 8
cmovae eax, dword [ebp - 0x234]
push eax
lea eax, [ebp - 0x21c]
push eax
call edi
push str.......
lea eax, [ebp - 0x21c]
push eax
call edi
push str.components_sesvc_
lea eax, [ebp - 0x21c]
push eax
call edi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414729
push 0x104
lea eax, [ebp - 0x21c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.....
lea eax, [ebp - 0x21c]
push eax
call edi
push str.sesvc_
lea eax, [ebp - 0x21c]
push eax
call edi
lea eax, [ebp - 0x21c]
push eax
call fcn.005c2f90
pop ecx
push eax
lea eax, [ebp - 0x21c]
mov edi, 0x6f17c0
push eax
mov ecx, edi
call fcn.0040b566
push edi
mov ecx, esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
call fcn.0040b155
lea ecx, [ebp - 0x234]
call fcn.0040b67e
mov eax, esi
call fcn.0059bb81
ret
push 0x6f17bc
call fcn.0059ae4e
cmp dword [0x6f17bc], 0xffffffff
pop ecx
jne 0x41462b
push 0x6335fc
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.0040b0d5
push 0x5fd0f6
call fcn.0059ac99
or dword [ebp - 4], 0xffffffff
mov dword [esp], 0x6f17bc
call fcn.0059ae04
pop ecx
jmp 0x41462b
Function at 0x4148fd
Capabilities:
Check if file exists

Disassembly:
push 0x3c
mov eax, 0x5e1fb5
call fcn.0059bbd7
xor ebx, ebx
mov edi, reloc.WS2_32.dll_accept
inc ebx
cmp byte [0x6f0e5b], 0
jne 0x414943
mov byte [0x6f0e5b], bl
call fcn.00414e08
test al, al
je 0x414943
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], ebx
push eax
push str.wscore
mov edx, str.Software360360huabaocoreusers
mov ecx, edi
call fcn.00426539
pop ecx
pop ecx
xor esi, esi
call fcn.00414e08
test al, al
jne 0x41496c
push 0xd3
push str.huabao_core::IsWeishiCoreModel
push str.__s__d___IsHb360SafeSeCoreModel_CheckSafeDesktopRestSupportedNew_return_false
call fcn.0040a649
add esp, 0xc
xor eax, eax
jmp 0x414a54
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], esi
push eax
push str.install_model
mov edx, str.Software360360huabao
mov ecx, edi
call fcn.004261bf
cmp dword [ebp - 0x48], 2
pop ecx
pop ecx
jne 0x414a52
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], esi
push eax
push str.wscore
mov edx, str.Software360360huabaocoreusers
mov ecx, edi
call fcn.004261bf
pop ecx
pop ecx
cmp dword [ebp - 0x44], ebx
jne 0x414a52
lea ecx, [ebp - 0x28]
call fcn.004143c5
mov dword [ebp - 4], esi
cmp dword [ebp - 0x18], 0
je 0x414a4a
mov edi, 0x63424c
push edi
call fcn.005c2f90
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040b220
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414a4a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004352fd
pop ecx
test eax, eax
je 0x414a4a
xor eax, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [ebp - 0x40]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.004272ec
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov edx, str.2.0.0.0
cmovae ecx, dword [ebp - 0x40]
call fcn.004275c6
test eax, eax
lea ecx, [ebp - 0x40]
cmovns esi, ebx
call fcn.0040b67e
lea ecx, [ebp - 0x28]
call fcn.0040b67e
mov eax, esi
call fcn.0059bb81
ret

Function at 0x414a5a
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x6d35ac]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.005b24a0
add esp, 0xc
lea ecx, [ebp - 0x228]
call fcn.00425665
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmovae eax, dword [ebp - 0x228]
push eax
lea eax, [ebp - 0x210]
push eax
call esi
push str.360DesktopLiteDTFenceConfig.ini
lea eax, [ebp - 0x210]
push eax
call esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414ad7
xor esi, esi
inc esi
jmp 0x414af8
lea eax, [ebp - 0x210]
push eax
push 0
push str.EyeRest
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
neg esi
sbb esi, esi
neg esi
lea ecx, [ebp - 0x228]
call fcn.0040b67e
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0059a7a2
leave
ret
Function at 0x414b12
Capabilities:
Check if file exists

Disassembly:
push 0x64
mov eax, 0x5e1ff2
call fcn.0059bbd7
push 0x633d40
lea ecx, [ebp - 0x58]
call fcn.0040b0d5
xor esi, esi
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], esi
call fcn.00414238
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0040b67e
push str.360secore.exe
lea ecx, [ebp - 0x70]
call fcn.0040b0d5
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00414238
lea ecx, [ebp - 0x70]
call fcn.0040b67e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414b98
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x414b98
inc esi
lea ecx, [ebp - 0x28]
call fcn.0040b67e
lea ecx, [ebp - 0x40]
call fcn.0040b67e
mov eax, esi
call fcn.0059bb81
ret

Function at 0x414cb1
Capabilities:
Check if file exists

Disassembly:
push 0x22c
mov eax, 0x5e202d
call fcn.0059bbd7
mov edx, str.UtilsDesktopRestDesktopRest.exe
lea ecx, [ebp - 0x238]
call fcn.0043c53a
xor ebx, ebx
mov ecx, eax
push ebx
mov dword [ebp - 4], ebx
call fcn.00413c4d
push eax
lea ecx, [ebp - 0x234]
call fcn.0040b0d5
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 2
call fcn.0040a4ed
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
mov esi, str.huabao_core::CheckSafeDesktopRestSupported
cmovae eax, dword [ebp - 0x234]
push eax
push 0x140
push esi
push str.__s__d___HealthMgr::CheckSafeDesktopRestSupported_strPath___s
call fcn.0040a649
add esp, 0x10
lea eax, [ebp - 0x234]
cmp dword [ebp - 0x220], 8
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414de2
push 0x208
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.005b24a0
add esp, 0xc
lea ecx, [ebp - 0x234]
cmp dword [ebp - 0x220], 8
lea edx, [ebp - 0x21c]
cmovae ecx, dword [ebp - 0x234]
push 0x103
call fcn.0041e62a
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
pop ecx
cmovae eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x21c]
push ecx
push eax
push 0x145
push esi
push str.__s__d___HealthMgr::CheckSafeDesktopRestSupported_strPath_s__szVer_s
call fcn.0040a649
add esp, 0x14
lea ecx, [ebp - 0x21c]
mov edx, str.12.0.1000.0
call fcn.004275c6
test eax, eax
js 0x414de2
call fcn.004147fc
test eax, eax
jne 0x414de2
push 0x147
push esi
push str.__s__d___HealthMgr::CheckSafeDesktopRestSupported_return_true
call fcn.0040a649
mov bl, 1
jmp 0x414df2
push 0x14b
push esi
push str.__s__d___HealthMgr::CheckSafeDesktopRestSupported_return_false
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.0040b67e
mov al, bl
call fcn.0059bb81
ret
Function at 0x414e08
Capabilities:
Check if file exists

Disassembly:
push 0x22c
mov eax, 0x5e202d
call fcn.0059bbd7
mov edx, str.UtilsDesktopRestDesktopRest.exe
lea ecx, [ebp - 0x238]
call fcn.0043c53a
xor ebx, ebx
mov ecx, eax
push ebx
mov dword [ebp - 4], ebx
call fcn.00413c4d
push eax
lea ecx, [ebp - 0x234]
call fcn.0040b0d5
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 2
call fcn.0040a4ed
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
mov esi, str.huabao_core::CheckSafeDesktopRestSupportedNew
cmovae eax, dword [ebp - 0x234]
push eax
push 0x151
push esi
push str.__s__d___HealthMgr::CheckSafeDesktopRestSupportedNew_strPath___s
call fcn.0040a649
add esp, 0x10
lea eax, [ebp - 0x234]
cmp dword [ebp - 0x220], 8
cmovae eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414f39
push 0x208
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.005b24a0
add esp, 0xc
lea ecx, [ebp - 0x234]
cmp dword [ebp - 0x220], 8
lea edx, [ebp - 0x21c]
cmovae ecx, dword [ebp - 0x234]
push 0x103
call fcn.0041e62a
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
pop ecx
cmovae eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x21c]
push ecx
push eax
push 0x156
push esi
push str.__s__d___HealthMgr::CheckSafeDesktopRestSupportedNew_strPath_s__szVer_s
call fcn.0040a649
add esp, 0x14
lea ecx, [ebp - 0x21c]
mov edx, str.13.0.1001.0
call fcn.004275c6
test eax, eax
js 0x414f39
call fcn.004147fc
test eax, eax
jne 0x414f39
push 0x158
push esi
push str.__s__d___HealthMgr::CheckSafeDesktopRestSupportedNew_return_true
call fcn.0040a649
mov bl, 1
jmp 0x414f49
push 0x15c
push esi
push str.__s__d___HealthMgr::CheckSafeDesktopRestSupportedNew_return_false
call fcn.0040a649
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.0040b67e
mov al, bl
call fcn.0059bb81
ret
Function at 0x414f5f
Capabilities:
Check if file exists

Disassembly:
push 0x5c
mov eax, 0x5e206d
call fcn.0059bbd7
lea eax, [ebp - 0x5c]
mov edi, reloc.WS2_32.dll_accept
push eax
xor esi, esi
mov edx, str.Software360360huabaocoreusers
push str.wscore
mov ecx, edi
mov dword [ebp - 0x5c], esi
call fcn.004261bf
xor ebx, ebx
pop ecx
inc ebx
cmp byte [0x6f0e5a], 0
pop ecx
jne 0x414fdd
mov byte [0x6f0e5a], bl
call fcn.00414cb1
test al, al
je 0x414fdd
cmp dword [ebp - 0x5c], ebx
je 0x414fdd
push 0x167
push str.huabao_core::IsHb360SafeSeCoreModel
push str.__s__d___IsHb360SafeSeCoreModel_CheckSafeDesktopRestSupported_write_user
call fcn.0040a649
add esp, 0xc
mov dword [ebp - 0x68], ebx
lea eax, [ebp - 0x68]
mov edx, str.Software360360huabaocoreusers
mov ecx, edi
push eax
push str.360safe
call fcn.00426539
pop ecx
pop ecx
call fcn.00414cb1
test al, al
je 0x415126
cmp dword [ebp - 0x5c], ebx
je 0x415126
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], esi
push eax
push str.install_model
mov edx, str.Software360360huabao
mov ecx, edi
call fcn.004261bf
cmp dword [ebp - 0x60], 2
pop ecx
pop ecx
jne 0x415122
push 0x6335fc
lea ecx, [ebp - 0x58]
call fcn.0040b0d5
lea eax, [ebp - 0x58]
mov dword [ebp - 4], esi
push eax
push 0x633704
mov edx, str.Software360360huabao
mov ecx, edi
call fcn.004261ea
pop ecx
pop ecx
test eax, eax
je 0x41511a
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], esi
push eax
push str.360safe
mov edx, str.Software360360huabaocoreusers
mov ecx, edi
call fcn.004261bf
pop ecx
pop ecx
push str.360safe
lea ecx, [ebp - 0x58]
call fcn.00410858
test al, al
jne 0x41507a
cmp dword [ebp - 0x64], ebx
jne 0x41511a
lea ecx, [ebp - 0x28]
call fcn.004143c5
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 0
je 0x415112
mov edi, 0x63424c
push edi
call fcn.005c2f90
pop ecx
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.0040b220
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x415112
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004352fd
pop ecx
test eax, eax
je 0x415112
xor eax, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004272ec
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov edx, str.2.0.0.0
cmovae ecx, dword [ebp - 0x40]
call fcn.004275c6
test eax, eax
lea ecx, [ebp - 0x40]
cmovns esi, ebx
call fcn.0040b67e
lea ecx, [ebp - 0x28]
call fcn.0040b67e
lea ecx, [ebp - 0x58]
call fcn.0040b67e
mov eax, esi
jmp 0x41513f
push 0x16e
push str.huabao_core::IsHb360SafeSeCoreModel
push str.__s__d___IsHb360SafeSeCoreModel_CheckSafeDesktopRestSupported_return_false
call fcn.0040a649
add esp, 0xc
xor eax, eax
call fcn.0059bb81
ret
Function at 0x415145
Capabilities:
Check if file exists

Disassembly:
push 0x5c
mov eax, 0x5e206d
call fcn.0059bbd7
mov esi, ecx
lea eax, [ebp - 0x5c]
xor edi, edi
push eax
push str.wscore
mov edx, str.Software360360huabaocoreusers
mov dword [ebp - 0x5c], edi
mov ecx, reloc.WS2_32.dll_accept
call fcn.004261bf
xor ebx, ebx
pop ecx
inc ebx
cmp byte [0x6f0e59], 0
pop ecx
jne 0x4151c6
mov byte [0x6f0e59], bl
call fcn.00414cb1
test al, al
je 0x4151c6
cmp dword [ebp - 0x5c], ebx
je 0x4151c6
push 0x197
push str.huabao_core::IsHb360SafeSeCoreModelEx
push str.__s__d___IsHb360SafeSeCoreModel_CheckSafeDesktopRestSupported_write_user
call fcn.0040a649
add esp, 0xc
mov dword [ebp - 0x68], ebx
lea eax, [ebp - 0x68]
mov edx, str.Software360360huabaocoreusers
mov ecx, reloc.WS2_32.dll_accept
push eax
push str.360safe
call fcn.00426539
pop ecx
pop ecx
call fcn.00414cb1
test al, al
je 0x41533e
cmp dword [ebp - 0x5c], ebx
je 0x41533e
lea eax, [ebp - 0x60]
mov dword [esi], 3
push eax
push str.install_model
mov edx, str.Software360360huabao
mov dword [ebp - 0x60], edi
mov ecx, reloc.WS2_32.dll_accept
call fcn.004261bf
cmp dword [ebp - 0x60], 2
pop ecx
pop ecx
jne 0x41533a
push 0x6335fc
lea ecx, [ebp - 0x58]
mov dword [esi], 4
call fcn.0040b0d5
lea eax, [ebp - 0x58]
mov dword [ebp - 4], edi
push eax
push 0x633704
mov edx, str.Software360360huabao
mov ecx, reloc.WS2_32.dll_accept
call fcn.004261ea
pop ecx
pop ecx
test eax, eax
je 0x415332
lea eax, [ebp - 0x64]
mov dword [esi], 5
push eax
push str.360safe
mov edx, str.Software360360huabaocoreusers
mov dword [ebp - 0x64], edi
mov ecx, reloc.WS2_32.dll_accept
call fcn.004261bf
pop ecx
pop ecx
push str.360safe
lea ecx, [ebp - 0x58]
call fcn.00410858
test al, al
jne 0x41527e
cmp dword [ebp - 0x64], ebx
jne 0x415332
lea ecx, [ebp - 0x28]
mov dword [esi], 6
call fcn.004143c5
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], 0
je 0x41532a
mov ebx, 0x63424c
mov dword [esi], 7
push ebx
call fcn.005c2f90
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040b220
push 8
pop ebx
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41532a
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004352fd
pop ecx
test eax, eax
je 0x41532a
xor eax, eax
mov dword [esi], ebx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004272ec
cmp dword [ebp - 0x2c], ebx
lea ecx, [ebp - 0x40]
mov edx, str.2.0.0.0
cmovae ecx, dword [ebp - 0x40]
call fcn.004275c6
test eax, eax
js 0x415322
xor eax, eax
inc eax
mov edi, eax
mov dword [esi], eax
lea ecx, [ebp - 0x40]
call fcn.0040b67e
lea ecx, [ebp - 0x28]
call fcn.0040b67e
lea ecx, [ebp - 0x58]
call fcn.0040b67e
mov eax, edi
jmp 0x41535d
push 0x19e
push str.huabao_core::IsHb360SafeSeCoreModelEx
push str.__s__d___IsHb360SafeSeCoreModel_CheckSafeDesktopRestSupported_return_false
call fcn.0040a649
add esp, 0xc
mov dword [esi], 2
xor eax, eax
call fcn.0059bb81
ret
Function at 0x415363
Capabilities:
Check if file exists

Disassembly:
push 0x3c
mov eax, 0x5e20a2
call fcn.0059bbd7
lea eax, [ebp - 0x48]
xor esi, esi
push eax
push str.install_model
mov edx, str.Software360360huabao
mov dword [ebp - 0x48], esi
mov ecx, reloc.WS2_32.dll_accept
call fcn.004261bf
cmp dword [ebp - 0x48], 2
pop ecx
pop ecx
jne 0x415439
lea ecx, [ebp - 0x2c]
call fcn.004143c5
mov dword [ebp - 4], esi
cmp dword [ebp - 0x1c], esi
je 0x415431
mov edi, 0x63424c
push edi
call fcn.005c2f90
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.0040b220
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x415431
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.004352fd
pop ecx
test eax, eax
je 0x415431
xor eax, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
xor ebx, ebx
lea edx, [ebp - 0x44]
inc ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.004272ec
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
mov edx, str.2.0.0.0
cmovae ecx, dword [ebp - 0x44]
call fcn.004275c6
test eax, eax
lea ecx, [ebp - 0x44]
cmovns esi, ebx
call fcn.0040b67e
lea ecx, [ebp - 0x2c]
call fcn.0040b67e
mov eax, esi
call fcn.0059bb81
ret

Function at 0x4163fe
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov eax, dword [0x6d35ac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
xor edx, edx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0xf8], ebx
movzx ecx, byte [edx + str.80_]
mov eax, ecx
and ecx, 7
shr eax, 3
mov al, byte [eax + esi]
test byte [ecx*2 + 0x628b90], al
setne al
mov byte [ebp + edx - 0x3c], al
inc edx
cmp edx, 0x38
jl 0x416428
push 0x1e
xor edi, edi
pop esi
cmp ebx, 1
lea eax, [edi + edi]
mov edx, esi
cmovne edx, eax
movzx eax, byte [edi + 0x628630]
and dword [ebp + edx*4 - 0xf0], 0
and dword [ebp + edx*4 - 0xf4], 0
xor ecx, ecx
cmp eax, 0x1c
jge 0x416482
mov bl, byte [ebp + eax - 0x3c]
jmp 0x416486
mov bl, byte [ebp + eax - 0x58]
mov byte [ebp + ecx - 0x74], bl
inc ecx
inc eax
cmp ecx, 0x1c
jl 0x416477
movzx eax, byte [edi + 0x628630]
push 0x1c
pop ecx
add eax, ecx
cmp eax, 0x38
jge 0x4164a8
mov bl, byte [ebp + eax - 0x3c]
jmp 0x4164ac
mov bl, byte [ebp + eax - 0x58]
mov byte [ebp + ecx - 0x74], bl
inc ecx
inc eax
cmp ecx, 0x38
jl 0x41649d
xor ecx, ecx
movzx eax, byte [ecx + 0x6283a0]
cmp byte [ebp + eax - 0x74], 0
je 0x4164d5
mov eax, dword [ecx*4 + 0x6285d0]
or dword [ebp + edx*4 - 0xf4], eax
movzx eax, byte [ecx + 0x6283b8]
cmp byte [ebp + eax - 0x74], 0
je 0x4164f1
mov eax, dword [ecx*4 + 0x6285d0]
or dword [ebp + edx*4 - 0xf0], eax
inc ecx
cmp ecx, 0x18
jl 0x4164b9
mov ebx, dword [ebp - 0xf8]
sub esi, 2
inc edi
cmp esi, 0xfffffffe
jg 0x416453
mov ecx, dword [ebp - 0xfc]
lea eax, [ebp - 0xf4]
push eax
call fcn.0041652d
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059a7a2
leave
ret 8
Function at 0x4166c4
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, edx
shr eax, 4
xor eax, ecx
mov dword [ebp - 4], 8
and eax, 0xf0f0f0f
xor ecx, eax
shl eax, 4
xor edx, eax
mov eax, edx
shr eax, 0x10
xor eax, ecx
movzx eax, ax
xor ecx, eax
shl eax, 0x10
xor edx, eax
mov eax, ecx
shr eax, 2
xor eax, edx
and eax, 0x33333333
xor edx, eax
shl eax, 2
xor ecx, eax
mov edi, ecx
shr edi, 8
xor edi, edx
and edi, 0xff00ff
xor edx, edi
shl edi, 8
xor edi, ecx
rol edi, 1
mov ebx, edi
xor ebx, edx
and ebx, 0xaaaaaaaa
xor edi, ebx
xor ebx, edx
rol ebx, 1
mov eax, dword [ebp + 0xc]
mov edx, edi
ror edx, 4
xor edx, dword [eax]
add eax, 4
mov dword [ebp + 0xc], eax
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov esi, dword [ecx*4 + 0x628640]
or esi, dword [eax*4 + 0x628790]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or esi, dword [eax*4 + 0x6284d0]
or esi, dword [edx*4 + 0x628a90]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
add eax, 4
mov dword [ebp + 0xc], eax
xor edx, edi
mov ecx, edx
mov eax, edx
shr eax, 0x10
shr ecx, 0x18
and eax, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x628890]
or ecx, dword [eax*4 + 0x628ba0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or ecx, dword [eax*4 + 0x6283d0]
or ecx, dword [edx*4 + 0x628990]
mov eax, dword [ebp + 0xc]
or ecx, esi
xor ebx, ecx
mov edx, ebx
ror edx, 4
xor edx, dword [eax]
add eax, 4
mov dword [ebp + 0xc], eax
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov esi, dword [ecx*4 + 0x628640]
or esi, dword [eax*4 + 0x628790]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or esi, dword [eax*4 + 0x6284d0]
mov eax, dword [ebp + 0xc]
or esi, dword [edx*4 + 0x628a90]
mov edx, dword [eax]
add eax, 4
xor edx, ebx
mov dword [ebp + 0xc], eax
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x628890]
or ecx, dword [eax*4 + 0x628ba0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or ecx, dword [eax*4 + 0x6283d0]
or ecx, dword [edx*4 + 0x628990]
or ecx, esi
xor edi, ecx
sub dword [ebp - 4], 1
jne 0x416737
ror edi, 1
mov edx, edi
mov esi, dword [ebp + 8]
xor edx, ebx
and edx, 0xaaaaaaaa
xor edi, edx
xor edx, ebx
ror edx, 1
mov eax, edx
shr eax, 8
xor eax, edi
and eax, 0xff00ff
xor edi, eax
shl eax, 8
xor edx, eax
mov eax, edx
shr eax, 2
xor eax, edi
and eax, 0x33333333
xor edi, eax
shl eax, 2
xor edx, eax
mov eax, edi
shr eax, 0x10
xor eax, edx
movzx eax, ax
xor edx, eax
shl eax, 0x10
xor edi, eax
mov ecx, edi
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
mov eax, ecx
shl eax, 4
xor eax, edi
xor ecx, edx
pop edi
mov dword [esi], eax
mov dword [esi + 4], ecx
pop esi
pop ebx
leave
ret 8