joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414270
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x454
mov eax, dword [0x4e97d0]
xor eax, esp
mov dword [esp + 0x44c], eax
mov eax, dword [esp + 0x458]
push ebx
push ebp
push esi
xor ebp, ebp
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x468]
push edi
mov dword [eax], ebp
mov dword [esp + 0x30], ecx
mov dword [ecx], ebp
lea ecx, [esp + 0x28]
push ecx
push 8
push ebp
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x4142d8
mov edi, dword [esp + 0x28]
xor eax, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], eax
jmp 0x4142e4
xor eax, eax
jmp 0x414406
mov edi, dword [esp + 0x38]
lea edx, [esp + 0x40]
push edx
push ebp
push ebp
push ebp
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x264]
push edx
push eax
mov esi, 0x104
push edi
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4143f2
lea eax, [esp + 0x20]
push eax
push 1
push ebp
lea ecx, [esp + 0x25c]
push ecx
push edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esp + 0x1c], ebp
cmp eax, ebp
jne 0x414385
mov ebx, dword [esp + 0x20]
push str.NetCfgInstanceId
lea edx, [esp + 0x1c]
mov dword [esp + 0x18], esi
push edx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x50]
mov dword [esp + 0x20], ebx
call fcn.004125f0
test eax, eax
jne 0x414372
mov eax, dword [esp + 0x34]
push eax
mov ecx, esi
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x41439b
cmp ebx, ebp
je 0x414381
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x24]
inc eax
cmp eax, 0x100
mov dword [esp + 0x24], eax
jl 0x4142e0
jmp 0x4143f2
push str.BusType
lea edx, [esp + 0x1c]
push edx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x50]
mov dword [esp + 0x1c], 0x104
call fcn.004125f0
test eax, eax
jne 0x4143e7
mov eax, esi
push eax
call fcn.0048aacf
add esp, 4
cmp eax, 5
jne 0x4143e7
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [ecx], 1
push edx
mov ecx, ebx
call fcn.00414140
add esp, 4
cmp ebx, ebp
je 0x4143f2
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x414401
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x45c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004841c7
add esp, 0x454
ret
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.004840d0
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.004841c7
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.004848a7
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.004841c7
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.004841c7
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.004840d0
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.004848fb
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.004840d0
lea eax, [ebp - 0x78]
push str.C:Temp
push eax
call fcn.004848fb
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.004841c7
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.004840d0
xor eax, eax
push esi
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push ebx
push eax
call fcn.004840d0
xor eax, eax
push esi
mov word [ebp - 0xc34], ax
lea eax, [ebp - 0xc32]
push ebx
push eax
call fcn.004840d0
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.004841c7
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.004841c7
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 0x41b63c
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.0041af66
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 0x41b67a
Capabilities:
Check if file exists

Disassembly:
push 0x10
mov eax, 0x4b3b47
call fcn.00484f9f
and dword [ebp - 0x14], 0
push str.entclientQhEntinfo.dll
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.0041af66
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 0x41b6d9
push str.deepscanQhEntinfo.dll
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.0041af66
add esp, 0xc
push 3
pop ebx
push dword [eax]
call esi
mov byte [ebp - 0xd], 0
test eax, eax
je 0x41b6dd
mov byte [ebp - 0xd], 1
test bl, 2
je 0x41b6f0
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
and ebx, 0xfffffffd
call fcn.0040dd20
test bl, 1
je 0x41b700
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040dd20
xor eax, eax
cmp byte [ebp - 0xd], al
setne al
call fcn.00485077
ret

Function at 0x41b805
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.004840d0
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 0x41b8aa
call fcn.00417b1d
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x41b8b0
push 0x800
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.004840d0
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 0x41b8aa
xor esi, esi
push esi
lea eax, [ebp - 0x78]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x41b8aa
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x7c], 0
jne 0x41b8b4
xor eax, eax
jmp 0x41b8c3
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.004841c7
add ebp, 0x78c
leave
ret
Function at 0x41d049
Capabilities:
Check if file exists
Set current directory

Disassembly:
push 0x18
mov eax, 0x4b3e4c
call fcn.00484fd2
mov esi, ecx
push str.themes
lea eax, [ebp - 0x1c]
push eax
call fcn.0041ce19
and dword [ebp - 4], 0
lea ebx, [esi + 8]
push eax
mov ecx, ebx
call fcn.0041cb3f
mov ecx, dword [ebp - 0x1c]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0040dd20
push 0x4ccb98
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.0041cf95
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.0041d014
push eax
mov ecx, esi
call fcn.0041c206
push 0
lea edi, [esi + 4]
push edi
push 0x4bf1f0
mov ecx, esi
call fcn.0041c8d6
xor esi, esi
cmp dword [edi], esi
sete al
test al, al
jne 0x41d187
call fcn.00464a94
mov ecx, dword [eax]
push eax
call dword [ecx]
mov edi, dword [edi]
mov dword [ebp - 4], 1
cmp edi, esi
jne 0x41d0f7
push 0x80004003
call fcn.0047fda0
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.0041c7b3
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0041c8fb
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
cmp eax, esi
je 0x41d120
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.NewInstallAirNewInstallAir.ui
lea eax, [ebp - 0x20]
push ebx
push eax
call fcn.0041af66
add esp, 0xc
push dword [eax]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0041c56e
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 0x41d15a
mov eax, dword [eax]
jmp 0x41d15c
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41d18f
mov ecx, dword [ebp - 0x14]
cmp ecx, esi
je 0x41d176
call fcn.0041c766
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp eax, esi
je 0x41d187
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
call fcn.00485077
ret
push str._theme_NewInstallAir.xml
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.0041af66
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.0041c56e
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 9
cmp ecx, esi
je 0x41d0ed
mov byte [ebp - 4], 8
call fcn.0041ca34
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.0041c747
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0xa
cmp ecx, esi
je 0x41d0ed
mov byte [ebp - 4], 7
call fcn.0041ca70
mov ecx, dword [ebp - 0x14]
cmp ecx, esi
je 0x41d20c
call fcn.0041c766
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 1
cmp eax, esi
je 0x41d21d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
jmp 0x41d189
Function at 0x41d4bf
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 0x41d50f
push str.UtilsAdvToolsEx.dll
lea eax, [ebp - 4]
push 0x4ec63c
push eax
call fcn.0041af66
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d504
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 0x41d5cb
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, 0x4b3ebb
call fcn.00484f9f
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.004840d0
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 0x41d686
cmp ax, word [ebp]
je 0x41d686
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.004841c7
add ebp, 0x20c
leave
ret
Function at 0x41d6b9
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, 0x4b3ef3
call fcn.00484f9f
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.0041d5cb
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [eax - 0xc], edi
je 0x41d7e8
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
je 0x41d7e5
push edi
push 1
push 1
push dword [ebp - 0x10]
call fcn.0040e410
test eax, eax
je 0x41d7e5
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.0041d5cb
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], edi
je 0x41d7c9
push eax
call esi
test eax, eax
je 0x41d7c9
push edi
push 1
push 1
push dword [ebp - 0x14]
call fcn.0040e410
test eax, eax
je 0x41d7c9
push 0x208
lea eax, [ebp]
push edi
push eax
call fcn.004840d0
push 0x104
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call fcn.00468b6b
add esp, 0x18
test eax, eax
je 0x41d7b6
cmp word [ebp], di
je 0x41d7b6
lea eax, [ebp]
push str.10.0.2442.0
push eax
call fcn.00469596
pop ecx
pop ecx
xor ecx, ecx
test eax, eax
setge cl
mov esi, ecx
jmp 0x41d7cb
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040dd20
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
jmp 0x41d7eb
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 0x41d7f2
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.004841c7
add ebp, 0x20c
leave
ret
Function at 0x41d815
Capabilities:
Check if file exists
Create process on windows
Create process suspended

Disassembly:
push 0x60
mov eax, 0x4b3f33
call fcn.00484f9f
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.0041d5cb
pop ecx
pop ecx
push dword [ebp - 0x14]
mov dword [ebp - 4], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41d91e
push esi
push 1
push 1
push dword [ebp - 0x14]
call fcn.0040e410
test eax, eax
je 0x41d91e
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.0041cbb1
push 0x40
lea eax, [ebp - 0x68]
push esi
push eax
call fcn.004840d0
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.0041d302
cmp edi, esi
je 0x41d908
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.00485077
ret

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

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

Function at 0x41df2d
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 0x41df67
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41dfa5
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 0x41dfa2
push 1
push edi
push edi
push dword [ebp - 4]
call fcn.00487820
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