joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417402
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.00484550
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x7c], 5
jne 0x417452
cmp dword [ebp - 0x78], 0
jne 0x417452
xor eax, eax
inc eax
jmp 0x417454
xor eax, eax
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.00484647
add ebp, 0x98
leave
ret

Function at 0x417941
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push edi
mov dword [ebp - 0x20], eax
mov edi, ecx
cmp eax, ebx
je 0x417a09
cmp edi, ebx
je 0x417a09
cmp word [eax], bx
je 0x417a09
cmp word [edi], bx
je 0x417a09
push esi
lea eax, [ebp - 0x28]
push eax
push 0xf003f
push ebx
mov esi, 0x4be8d0
push esi
push SysReAllocString
mov dword [ebp - 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
je 0x417a04
push edi
call fcn.00484d27
pop ecx
lea eax, [eax + eax + 2]
push eax
push edi
push 2
push ebx
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
je 0x4179fb
and dword [ebp - 0x20], 0
push 6
pop ecx
lea eax, [ebp - 0x20]
push eax
push 0xbb8
push 1
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x1a
lea edi, [ebp - 0x1c]
push 0xffff
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop esi
jmp 0x417a0b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00484647
leave
ret

Function at 0x417a19
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x2a0]
sub esp, 0x320
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x29c], eax
push esi
mov esi, str.ntdll.dll
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x417a76
push 0x104
lea eax, [ebp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push esi
lea eax, [ebp + 0x94]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x417aa6
push str.RtlGetVersion
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x417aa6
lea ecx, [ebp - 0x80]
push ecx
call eax
test eax, eax
jl 0x417aa6
mov eax, dword [ebp - 0x7c]
mov dword [edi], eax
mov eax, dword [ebp - 0x78]
mov dword [ebx], eax
xor eax, eax
inc eax
jmp 0x417aa8
xor eax, eax
mov ecx, dword [ebp + 0x29c]
xor ecx, ebp
pop esi
call fcn.00484647
add ebp, 0x2a0
leave
ret
Function at 0x417b1d
Capabilities:
Get common file path
Set environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x190], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x78], ax
xor esi, esi
lea eax, [ebp - 0x76]
push esi
push eax
call fcn.00484550
add esp, 0xc
lea ebx, [ebp - 0x7c]
lea edi, [ebp - 0x80]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], esi
call fcn.00417a19
test eax, eax
je 0x417bd3
cmp dword [ebp - 0x80], 5
jne 0x417b9e
cmp dword [ebp - 0x7c], 1
jne 0x417bd3
push esi
push 0x28
lea eax, [ebp - 0x78]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x417c13
push str.Local_SettingsTemp
lea eax, [ebp - 0x78]
push eax
call fcn.00484d7b
pop ecx
pop ecx
jmp 0x417bf3
cmp dword [ebp - 0x80], 6
jne 0x417bd3
mov eax, dword [ebp - 0x7c]
cmp eax, esi
je 0x417bba
cmp eax, 1
je 0x417bba
cmp eax, 2
je 0x417bba
cmp eax, 3
jne 0x417bd3
push esi
push 0x1a
lea eax, [ebp - 0x78]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x417c13
push str.LocalTemp
jmp 0x417b91
push 0x208
lea eax, [ebp - 0x78]
push esi
push eax
call fcn.00484550
lea eax, [ebp - 0x78]
push str.C:Temp
push eax
call fcn.00484d7b
add esp, 0x14
lea eax, [ebp - 0x78]
push eax
mov esi, 0x4be8fc
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
je 0x417c13
push esi
lea ecx, [ebp - 0x78]
call fcn.00417941
pop ecx
jmp 0x417c15
xor eax, eax
mov ecx, dword [ebp + 0x190]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00484647
add ebp, 0x194
leave
ret
Function at 0x418509
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc34
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, 0x40e
push esi
mov word [ebp - 0x414], ax
xor ebx, ebx
lea eax, [ebp - 0x412]
push ebx
push eax
call fcn.00484550
xor eax, eax
push esi
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push ebx
push eax
call fcn.00484550
xor eax, eax
push esi
mov word [ebp - 0xc34], ax
lea eax, [ebp - 0xc32]
push ebx
push eax
call fcn.00484550
mov eax, dword [edi]
add esp, 0x24
push dword [eax - 0xc]
push eax
push 0x207
lea eax, [ebp - 0x414]
push eax
call fcn.0041820d
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x414]
push eax
call esi
test eax, eax
je 0x418664
lea eax, [ebp - 0x414]
push eax
mov ebx, 0x208
push ebx
lea eax, [ebp - 0x824]
push eax
call fcn.0040e610
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.360leakfixer.exe
lea eax, [ebp - 0x824]
push eax
call edi
lea eax, [ebp - 0x824]
push eax
call esi
test eax, eax
je 0x4185ed
lea eax, [ebp - 0x824]
push 0
push eax
call fcn.0040e370
pop ecx
pop ecx
test eax, eax
jne 0x418664
lea eax, [ebp - 0x414]
push eax
push ebx
lea eax, [ebp - 0xc34]
push eax
call fcn.0040e610
push str.hipsver.dll
lea eax, [ebp - 0xc34]
push eax
call edi
lea eax, [ebp - 0xc34]
push eax
call esi
test eax, eax
je 0x418664
lea eax, [ebp - 0xc34]
push 0
push eax
call fcn.0040e370
pop ecx
pop ecx
test eax, eax
je 0x418664
push str.safemon360cactus.tpi
lea eax, [ebp - 0x414]
push eax
call edi
lea eax, [ebp - 0x414]
push eax
call esi
test eax, eax
je 0x418664
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0040e370
pop ecx
pop ecx
test eax, eax
je 0x418664
xor eax, eax
inc eax
jmp 0x418666
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00484647
leave
ret

Function at 0x4189c3
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x418a14
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x418a25
push 0xd
pop eax
jmp 0x418a52
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x418a28
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8
Function at 0x4190c5
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
push edi
or ecx, 0x2001f
push ecx
push eax
push dword [esi]
xor edi, edi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
call fcn.0041898e
mov ebx, eax
cmp ebx, edi
je 0x419135
lea ecx, [ebp - 0x70]
call fcn.004126c0
mov eax, ebx
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00484647
add ebp, 0x19c
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x41914d
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.004190c5
cmp eax, edi
jne 0x419180
lea eax, [ebp - 0x80]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push edi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x41913d
lea ecx, [ebp - 0x70]
call fcn.004126c0
push dword [ebp - 0x78]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.004126c0
mov eax, esi
jmp 0x41911b
Function at 0x41b68e
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push str.360Entclient.exe
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.0041afb8
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
mov ebx, eax
neg ebx
sbb bl, bl
add ecx, 0xfffffff0
inc bl
call fcn.0040dd20
xor eax, eax
test bl, bl
sete al
pop ebx
leave
ret

Function at 0x41b6cc
Capabilities:
Check if file exists

Disassembly:
push 0x10
mov eax, 0x4b3fd7
call fcn.00485421
and dword [ebp - 0x14], 0
push str.entclientQhEntinfo.dll
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.0041afb8
add esp, 0xc
push dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
and dword [ebp - 4], 0
xor ebx, ebx
inc ebx
mov dword [ebp - 0x14], ebx
call esi
test eax, eax
jne 0x41b72b
push str.deepscanQhEntinfo.dll
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.0041afb8
add esp, 0xc
push 3
pop ebx
push dword [eax]
call esi
mov byte [ebp - 0xd], 0
test eax, eax
je 0x41b72f
mov byte [ebp - 0xd], 1
test bl, 2
je 0x41b742
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
and ebx, 0xfffffffd
call fcn.0040dd20
test bl, 1
je 0x41b752
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040dd20
xor eax, eax
cmp byte [ebp - 0xd], al
setne al
call fcn.004854f9
ret

Function at 0x41b857
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x78c]
sub esp, 0x80c
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x788], eax
mov eax, dword [ebp + 0x794]
push ebx
push esi
push edi
push 0x800
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00484550
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
mov ebx, 0x400
push ebx
call esi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x78]
push eax
call edi
mov dword [ebp - 0x7c], eax
cmp eax, 1
je 0x41b8fc
call fcn.00417b1d
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x41b902
push 0x800
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00484550
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push ebx
call esi
lea eax, [ebp - 0x78]
push eax
call edi
test eax, eax
jne 0x41b8fc
xor esi, esi
push esi
lea eax, [ebp - 0x78]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x41b8fc
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x7c], 0
jne 0x41b906
xor eax, eax
jmp 0x41b915
mov ecx, dword [ebp - 0x80]
lea eax, [ebp - 0x78]
push eax
call fcn.0040c8e0
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x788]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00484647
add ebp, 0x78c
leave
ret
Function at 0x41d09b
Capabilities:
Check if file exists
Set current directory

Disassembly:
push 0x18
mov eax, 0x4b42dc
call fcn.00485454
mov esi, ecx
push str.themes
lea eax, [ebp - 0x1c]
push eax
call fcn.0041ce6b
and dword [ebp - 4], 0
lea ebx, [esi + 8]
push eax
mov ecx, ebx
call fcn.0041cb91
mov ecx, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0040dd20
push 0x4ccc68
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.0041cfe7
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040dd20
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, esi
call fcn.0041d066
push eax
mov ecx, esi
call fcn.0041c258
push 0
lea edi, [esi + 4]
push edi
push 0x4bf258
mov ecx, esi
call fcn.0041c928
xor esi, esi
cmp dword [edi], esi
sete al
test al, al
jne 0x41d1d9
call fcn.00464c7d
mov ecx, dword [eax]
push eax
call dword [ecx]
mov edi, dword [edi]
mov dword [ebp - 4], 1
cmp edi, esi
jne 0x41d149
push 0x80004003
call fcn.00480230
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.0041c805
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0041c94d
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
cmp eax, esi
je 0x41d172
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.NewInstallAirNewInstallAir.ui
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.0041afb8
add esp, 0xc
push dword [eax]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0041c5c0
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.0040dd20
mov eax, dword [ebp - 0x14]
cmp eax, esi
je 0x41d1ac
mov eax, dword [eax]
jmp 0x41d1ae
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41d1e1
mov ecx, dword [ebp - 0x14]
cmp ecx, esi
je 0x41d1c8
call fcn.0041c7b8
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp eax, esi
je 0x41d1d9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
call fcn.004854f9
ret
push str._theme_NewInstallAir.xml
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.0041afb8
add esp, 0xc
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 8
call fcn.0041c5c0
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 9
cmp ecx, esi
je 0x41d13f
mov byte [ebp - 4], 8
call fcn.0041ca86
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040dd20
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.0041c799
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0xa
cmp ecx, esi
je 0x41d13f
mov byte [ebp - 4], 7
call fcn.0041cac2
mov ecx, dword [ebp - 0x14]
cmp ecx, esi
je 0x41d25e
call fcn.0041c7b8
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp eax, esi
je 0x41d26f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
jmp 0x41d1db
Function at 0x41d511
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push str.AdvToolsEx.dll
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esi], eax
test eax, eax
jne 0x41d561
push str.UtilsAdvToolsEx.dll
lea eax, [ebp - 4]
push 0x4ec63c
push eax
call fcn.0041afb8
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d556
push dword [ebp - 4]
call fcn.0040e4f0
mov dword [esi], eax
mov ecx, dword [ebp - 4]
add ecx, 0xfffffff0
call fcn.0040dd20
xor eax, eax
cmp dword [esi], eax
pop esi
setne al
leave
ret

Function at 0x41d61d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x4b434b
call fcn.00485421
mov edi, dword [ebp + 0x214]
and dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], edi
xor esi, esi
inc esi
push 0x4ecda4
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.0040ba90
xor eax, eax
push 0x206
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
push eax
mov dword [ebp - 0x18], esi
call fcn.00484550
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x10]
push eax
push str.UninstallString
push str.Software360360se6UpdateClientState02E720BD_2B50_4404_947C_65DBE64F6970
push SysReAllocString
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], 0x103
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41d6d8
cmp ax, word [ebp]
je 0x41d6d8
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.....
lea eax, [ebp]
push eax
call esi
push dword [ebp + 0x218]
lea eax, [ebp]
push eax
call esi
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.0040c8e0
mov ecx, dword [ebp + 0x218]
add ecx, 0xfffffff0
call fcn.0040dd20
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00484647
add ebp, 0x20c
leave
ret
Function at 0x41d70b
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x4b4383
call fcn.00485421
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.chrome.dll
call fcn.0040b680
lea eax, [ebp - 0x10]
push eax
call fcn.0041d61d
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [eax - 0xc], edi
je 0x41d83a
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
je 0x41d837
push edi
push 1
push 1
push dword [ebp - 0x10]
call fcn.0040e410
test eax, eax
je 0x41d837
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str....360secore.exe
call fcn.0040b680
lea eax, [ebp - 0x14]
push eax
call fcn.0041d61d
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], edi
je 0x41d81b
push eax
call esi
test eax, eax
je 0x41d81b
push edi
push 1
push 1
push dword [ebp - 0x14]
call fcn.0040e410
test eax, eax
je 0x41d81b
push 0x208
lea eax, [ebp]
push edi
push eax
call fcn.00484550
push 0x104
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call fcn.00468d7e
add esp, 0x18
test eax, eax
je 0x41d808
cmp word [ebp], di
je 0x41d808
lea eax, [ebp]
push str.10.0.2442.0
push eax
call fcn.004697b5
pop ecx
pop ecx
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
jmp 0x41d81d
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040dd20
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
jmp 0x41d83d
xor esi, esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040dd20
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
mov eax, esi
jmp 0x41d844
mov eax, dword [ebp - 0x10]
lea ecx, [eax - 0x10]
call fcn.0040dd20
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.00484647
add ebp, 0x20c
leave
ret
Function at 0x41d867
Capabilities:
Check if file exists
Create process on windows
Create process suspended

Disassembly:
push 0x60
mov eax, 0x4b43c3
call fcn.00485421
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.installer_setup.exe
xor esi, esi
xor edi, edi
call fcn.0040b680
lea eax, [ebp - 0x14]
push eax
call fcn.0041d61d
pop ecx
pop ecx
push dword [ebp - 0x14]
mov dword [ebp - 4], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d970
push esi
push 1
push 1
push dword [ebp - 0x14]
call fcn.0040e410
test eax, eax
je 0x41d970
push str.__secore_restore___360se_pid8000041___silent_install___not_create_mplnk
lea ecx, [ebp - 0x18]
call fcn.0040b680
push 0x4ecda4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040ba90
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
mov byte [ebp - 4], 2
push str.__s___s
push eax
call fcn.0041cc03
push 0x40
lea eax, [ebp - 0x68]
push esi
push eax
call fcn.00484550
xor eax, eax
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x28], esi
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10]
add esp, 0x1c
mov dword [ebp - 0x6c], 0x44
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.0040cf00
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0041d354
cmp edi, esi
je 0x41d95a
push dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x28]
call esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040dd20
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040dd20
mov eax, edi
call fcn.004854f9
ret

Function at 0x41deb6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41dec8
xor eax, eax
ret
and al, 0x10
xor cl, cl
cmp cl, al
sbb eax, eax
neg eax
ret

Function at 0x41df7f
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 3
push SysReAllocString
push dword [ebp + 8]
mov dword [esi], edi
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x41dfb9
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41dff7
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0xc], edi
jne 0x41dff4
push 1
push edi
push edi
push dword [ebp - 4]
call fcn.00487ca0
xor ecx, ecx
add eax, dword [ebp - 8]
adc edx, ecx
mov dword [esi], eax
mov dword [esi + 4], edx
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41e0db
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
call fcn.0041e0c7
add esi, 0x1460
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov word [esi], ax
pop esi
ret