joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402217
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x100c
call fcn.00467130
mov eax, dword [0x4be8a0]
xor eax, esp
mov dword [esp + 0x1008], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x1000
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004670a0
add esp, 0xc
mov esi, 0x800
push esi
lea eax, [esp + 0x14]
push 0x4a0ae0
push eax
call fcn.00467050
add esp, 0xc
push esi
lea eax, [esp + 0x14]
push edi
push eax
call fcn.004686e1
add esp, 0xc
push esi
lea eax, [esp + 0x14]
push 0x4a0ae8
push eax
call fcn.004686e1
add esp, 0xc
push esi
lea eax, [esp + 0x14]
push edi
push eax
call fcn.004686e1
add esp, 0xc
push esi
lea eax, [esp + 0x14]
push str.vL
push eax
call fcn.004686e1
add esp, 0xc
push esi
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.004686e1
add esp, 0xc
push esi
lea eax, [esp + 0x14]
push 0x4a0b38
push eax
call fcn.004686e1
add esp, 0xc
push 0x14
push edi
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, eax
cmp esi, 6
jne 0x402322
call fcn.00401e1f
test eax, eax
je 0x40230b
call fcn.00402132
test eax, eax
je 0x40230b
push 5
xor eax, eax
push eax
push eax
push str.http:__down.360safe.com_setupbeta.exe
jmp 0x402316
push 5
xor eax, eax
push eax
push eax
push str.http:__down.360safe.com_setup.exe
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [ebp + 0x10], 0
je 0x40232f
push 0
call fcn.00468649
mov ecx, dword [esp + 0x1014]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0046711a
mov esp, ebp
pop ebp
ret

Function at 0x402346
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.00401e3c
test eax, eax
je 0x402358
xor eax, eax
inc eax
leave
ret
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x402394
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402398
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push esi
call fcn.00402032
pop ecx
pop ecx
test eax, eax
jne 0x402398
cmp dword [ebp - 4], eax
jne 0x402394
push 1
push 0x4c1580
push esi
call fcn.00402217
add esp, 0xc
xor eax, eax
jmp 0x40239b
xor eax, eax
inc eax
pop esi
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
xor eax, eax
push esi
mov esi, 0x4c6a28
cmp ax, word [0x4c6a28]
jne 0x4029ea
push 1
push 0x23
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x4029c7
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 9
push 0x4a0ce8
push esi
call fcn.004686e1
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4029ea
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp + 8]
push esi
call fcn.004029f9
mov eax, dword [ebp + 8]
pop esi
leave
ret
Function at 0x402bfa
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
test ebx, ebx
je 0x402c65
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402c65
push ebx
call fcn.00402346
pop ecx
test eax, eax
je 0x402c65
mov esi, dword [esp + 0x10]
lea edi, [esi + 8]
push ebx
mov ecx, edi
call fcn.004025eb
push dword [edi]
call fcn.00401e0c
mov dword [esi + 0x10], eax
test eax, eax
je 0x402c65
push str.GetMiniUI4
mov dword [0x4c6518], eax
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402c65
call eax
push 4
push 0
push dword [edi]
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
inc eax
jmp 0x402c67
xor eax, eax
pop edi
pop esi
pop ebx
ret 8

Function at 0x402e02
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push 0x80c
mov eax, 0x48c954
call fcn.00467830
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x814], eax
cmp dword [edi + 0x14], ebx
jne 0x402e2b
xor eax, eax
jmp 0x402eda
mov eax, dword [edi + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x6c]
mov esi, eax
cmp esi, ebx
je 0x402e24
add edi, 4
push edi
lea ecx, [ebp - 0x818]
call fcn.00402ee2
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x818]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x402e65
push edi
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.004670a0
add esp, 0xc
push str.tempskin.ui
push edi
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push ebx
lea eax, [ebp - 0x810]
push eax
push dword [ebp - 0x814]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esi]
lea ecx, [ebp - 0x810]
push ecx
push ebx
push esi
call dword [eax]
mov eax, dword [esi]
lea ecx, [ebp - 0x810]
push ecx
push ebx
push esi
call dword [eax + 0x1c]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [edi - 0x10]
call fcn.004023e9
xor eax, eax
inc eax
call fcn.004678b3
ret 8
Function at 0x402ffd
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa4]
sub esp, 0x124
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0xa0], eax
push ebx
push esi
push edi
mov ebx, ecx
mov esi, 0x11c
push esi
lea edi, [ebx + 4]
push 0
push edi
mov dword [ebx], vtable.COSChecker.0
call fcn.004670a0
add esp, 0xc
push edi
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebx + 8], 6
jne 0x403093
cmp dword [ebx + 0xc], 2
jb 0x403093
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x403093
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x403093
push esi
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.004670a0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
mov dword [ebp - 0x7c], esi
call dword [ebp - 0x80]
test eax, eax
jl 0x403093
push 0x47
pop ecx
lea esi, [ebp - 0x7c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xa0]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0046711a
add ebp, 0xa4
leave
ret

Function at 0x4031b5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x190], eax
mov eax, dword [ebp + 0x19c]
cmp dword [eax + 8], 5
jne 0x403246
cmp dword [eax + 0xc], 1
jb 0x403246
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
call fcn.004670a0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.CSDVersion
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x403246
lea eax, [ebp - 0x78]
push str.Service_Pack_2
push eax
call fcn.00467c8a
pop ecx
pop ecx
test eax, eax
jl 0x403246
xor eax, eax
inc eax
jmp 0x403248
xor eax, eax
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x194
leave
ret 4

Function at 0x4032f8
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x1f94]
mov eax, 0x2014
call fcn.00467130
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x1f90], eax
mov eax, dword [ebp + 0x1f9c]
push esi
mov esi, 0x1fff
push esi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x6f]
push 0
push eax
mov byte [ebp - 0x70], 0
call fcn.004670a0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x403387
cmp eax, esi
ja 0x403387
lea ecx, [ebp - 0x70]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x403387
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x4a0ee8
lea eax, [ebp - 0x70]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x403387
mov eax, dword [ebp - 0x78]
movzx eax, word [eax + 0xa]
mov ecx, dword [ebp - 0x74]
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x403389
xor eax, eax
mov ecx, dword [ebp + 0x1f90]
xor ecx, ebp
pop esi
call fcn.0046711a
add ebp, 0x1f94
leave
ret 4
Function at 0x4034f5
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xc4]
sub esp, 0x144
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0xc0], eax
mov eax, dword [0x4c1bc0]
test eax, eax
jl 0x403527
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
jmp 0x4035b0
and dword [0x4c1bc0], 0
push esi
push 0x24
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.004670a0
mov esi, 0x11c
push esi
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.004670a0
add esp, 0x18
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x403574
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x5c], 0x114
call esi
test eax, eax
je 0x4035ad
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4035ad
lea ecx, [ebp - 0x80]
push ecx
call eax
cmp word [ebp - 0x80], 9
je 0x4035a3
cmp word [ebp - 0x80], 6
jne 0x4035ad
xor eax, eax
inc eax
mov dword [0x4c1bc0], eax
jmp 0x4035af
xor eax, eax
pop esi
mov ecx, dword [ebp + 0xc0]
xor ecx, ebp
call fcn.0046711a
add ebp, 0xc4
leave
ret 4
Function at 0x403e0a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48e0fb
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
mov eax, dword [0x4be8a0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
jne 0x403e50
xor eax, eax
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x403e3b
push str.version1.0_encodingutf_16
lea ecx, [esp + 0x10]
call fcn.004027ab
push dword [ebp + 0xc]
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], ebx
call fcn.004027ab
lea eax, [esp + 0xc]
push eax
push ebx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 1
call fcn.004064ee
mov ecx, dword [esp + 8]
cmp ecx, ebx
je 0x403ea1
call fcn.00402844
mov byte [esp + 0x40], 4
mov ecx, dword [esp + 0xc]
cmp ecx, ebx
je 0x403eb3
call fcn.00402844
cmp dword [esp + 0x24], ebx
sete al
cmp al, bl
sete al
cmp al, bl
jne 0x403ed3
lea ecx, [esp + 0x20]
call fcn.004060fa
mov eax, ebx
jmp 0x403e3d
push str.uninst_button_action
lea ecx, [esp + 0x10]
call fcn.004027ab
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 5
call fcn.0040607d
mov byte [esp + 0x40], 7
mov ecx, dword [esp + 0xc]
cmp ecx, ebx
je 0x403f0b
call fcn.00402844
cmp dword [esp + 0x18], ebx
sete al
cmp al, bl
sete al
cmp al, bl
je 0x403f3b
cmp dword [esp + 0x14], ebx
sete al
cmp al, bl
sete al
cmp al, bl
je 0x403f3b
mov eax, dword [ebp + 8]
add eax, 0x38
push eax
lea ecx, [esp + 0x14]
call fcn.00403f64
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 4
call fcn.004028fc
xor ebx, ebx
inc ebx
jmp 0x403ec3
Function at 0x406386
Capabilities:
Check if file exists

Disassembly:
push 0x2c
mov eax, 0x48cd44
call fcn.004677c7
mov esi, ecx
mov dword [ebp - 0x18], esi
lea ebx, [esi + 4]
push ebx
call fcn.0040615d
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
jl 0x4064e6
mov edi, dword [ebp + 8]
push edi
lea ecx, [esi + 8]
call fcn.00406184
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, dword [ebx]
test eax, eax
jne 0x4063ce
push 0x80004003
call fcn.00466da0
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x4c]
mov eax, dword [ebx]
test eax, eax
je 0x4063c4
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x50]
mov eax, dword [edi]
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
je 0x406472
mov dword [ebp - 0x14], ecx
cmp eax, ecx
je 0x4063fc
mov eax, dword [eax]
jmp 0x4063fe
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x406442
push edi
lea ecx, [ebp - 0x28]
call fcn.0040288f
and dword [ebp - 4], 0
mov ecx, dword [ebx]
test ecx, ecx
je 0x4063c4
mov edx, dword [ecx]
lea esi, [ebp - 0x14]
push esi
sub esp, 0x10
mov edi, esp
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
call dword [edx + 0x30]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [ebp - 0x18]
push 0x4a1454
lea ecx, [ebp + 0xc]
call fcn.004027ab
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.0040629a
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x4064d4
call fcn.00402844
jmp 0x4064d4
mov dword [ebp + 8], ecx
cmp eax, ecx
je 0x40647d
mov eax, dword [eax]
jmp 0x40647f
xor eax, eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4064c6
push edi
lea ecx, [ebp - 0x38]
call fcn.0040288f
mov dword [ebp - 4], 2
mov ecx, dword [ebx]
test ecx, ecx
je 0x4063c4
mov edx, dword [ecx]
lea esi, [ebp + 8]
push esi
sub esp, 0x10
mov edi, esp
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
call dword [edx + 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp word [ebp + 8], 0
jne 0x4064d4
mov dword [ebp - 0x10], 0x80004005
cmp dword [ebp - 0x10], 0
jge 0x4064e3
push 0
mov ecx, ebx
call fcn.004058a8
mov eax, dword [ebp - 0x10]
call fcn.0046789f
ret 8
Function at 0x406811
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov ebx, ecx
xor esi, esi
push edi
cmp dword [ebx + 0x28], esi
je 0x40682e
lea edi, [ebx + 0xc]
call fcn.0040707a
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
push 0x80
push 3
push esi
push 7
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [esp + 0x10], edi
cmp edi, 0xffffffff
jne 0x40685c
xor eax, eax
jmp 0x406913
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LockFile]
lea eax, [esp + 0x14]
push eax
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x3200000
mov dword [esp + 0xc], eax
jge 0x4068e4
cmp dword [esp + 0x14], esi
jne 0x4068e4
add eax, 4
push eax
call fcn.00468fac
mov edi, eax
pop ecx
cmp edi, esi
je 0x4068e4
mov eax, dword [esp + 0xc]
add eax, 4
push eax
push esi
push edi
call fcn.004670a0
add esp, 0xc
push esi
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x14]
mov dword [esp + 0x28], esi
push edi
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0xc]
push ebx
mov edx, edi
call fcn.00406a06
push edi
mov dword [esp + 0x1c], 1
call fcn.00469076
pop ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
push esi
push esi
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_UnlockFile]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
lea ecx, [ebx + 0x30]
call fcn.0040ee00
mov eax, dword [ebp + 0xc]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x409a18
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d626
mov eax, dword fs:[0]
push eax
mov eax, 0x100c
call fcn.00467130
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x170]
mov ebx, 0x4a11e8
push ebx
mov ecx, edi
call fcn.004025eb
lea ecx, [esi + 0x16c]
push ebx
mov dword [ebp - 0x1018], ecx
call fcn.004025eb
push 0x4c4f30
lea ecx, [ebp - 0x1014]
call fcn.00401ce4
and dword [ebp - 4], 0
mov ebx, 0x800
push ebx
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.004670a0
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
mov ecx, esi
call fcn.0040a5eb
test eax, eax
jne 0x409ad8
mov ecx, dword [ebp - 0x1014]
add ecx, 0xfffffff0
call fcn.004023e9
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 - 0x10]
xor ecx, ebp
call fcn.0046711a
leave
ret
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x1014]
call fcn.004025eb
push ebx
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.004670a0
add esp, 0xc
push dword [esi + 0x150]
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push dword [ebp - 0x1014]
lea eax, [ebp - 0x810]
push eax
call esi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x810]
push eax
call ebx
test eax, eax
je 0x409b44
lea eax, [ebp - 0x1010]
push eax
mov ecx, 0x400
lea ebx, [ebp - 0x810]
call fcn.0040ebad
pop ecx
jmp 0x409b92
push str.safemon360tray.exe
push dword [ebp - 0x1014]
lea eax, [ebp - 0x810]
push eax
call esi
lea eax, [ebp - 0x810]
push eax
call ebx
test eax, eax
jne 0x409b7c
xor esi, esi
mov ecx, dword [ebp - 0x1014]
add ecx, 0xfffffff0
call fcn.004023e9
mov eax, esi
jmp 0x409abe
push str.1.0.0.1001
push 0x400
lea eax, [ebp - 0x1010]
push eax
call fcn.004081a8
mov ecx, dword [ebp - 0x1018]
lea eax, [ebp - 0x1014]
push eax
call fcn.00401d13
lea eax, [ebp - 0x1010]
push eax
mov ecx, edi
call fcn.004025eb
xor esi, esi
inc esi
jmp 0x409b67
Function at 0x40a368
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48da2b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1010
call fcn.00467130
mov eax, dword [0x4be8a0]
xor eax, esp
mov dword [esp + 0x100c], eax
push esi
push edi
mov eax, dword [0x4be8a0]
xor eax, esp
push eax
lea eax, [esp + 0x1020]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, 0x800
push esi
lea eax, [esp + 0x18]
push 0
push eax
call fcn.004670a0
mov edi, dword [edi + 0x16c]
add esp, 0xc
push str.i18ni18n.ini
push edi
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push esi
lea eax, [esp + 0x818]
push 0
push eax
call fcn.004670a0
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 0x400
lea eax, [esp + 0x81c]
push eax
push 0x4a1df0
push str.Language
push str.Main
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x814]
push eax
lea ecx, [esp + 0x10]
call fcn.004029f9
and dword [esp + 0x1028], 0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.00402ee2
lea ecx, [esp + 0x10]
mov byte [esp + 0x1028], 1
call fcn.0040a9c1
mov edi, dword [esp + 0x10]
mov esi, 0x4c1a9c
push edi
lea ecx, [esi + 4]
call fcn.00407163
test eax, eax
je 0x40a4ae
add esi, 8
cmp esi, 0x4c1ab4
jl 0x40a456
lea ecx, [edi - 0x10]
call fcn.004023e9
mov esi, 0x804
mov ecx, dword [esp + 0xc]
add ecx, 0xfffffff0
call fcn.004023e9
mov eax, esi
mov ecx, dword [esp + 0x1020]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.0046711a
mov esp, ebp
pop ebp
ret 4
mov esi, dword [esi]
lea ecx, [edi - 0x10]
call fcn.004023e9
jmp 0x40a47b

Function at 0x40a4ba
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xc4]
sub esp, 0x144
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0xc0], eax
and dword [0x4c1d30], 0
push esi
push 0x24
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.004670a0
mov esi, 0x11c
push esi
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.004670a0
add esp, 0x18
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x40a522
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x5c], 0x114
call esi
test eax, eax
je 0x40a55b
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40a55b
lea ecx, [ebp - 0x80]
push ecx
call eax
cmp word [ebp - 0x80], 9
je 0x40a551
cmp word [ebp - 0x80], 6
jne 0x40a55b
xor eax, eax
inc eax
mov dword [0x4c1d30], eax
jmp 0x40a55d
xor eax, eax
mov ecx, dword [ebp + 0xc0]
xor ecx, ebp
pop esi
call fcn.0046711a
add ebp, 0xc4
leave
ret
Function at 0x40a5eb
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push 0x818
mov eax, 0x48cac6
call fcn.00467830
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x820], ebx
mov dword [ebp - 0x81c], ebx
push 0x800
lea eax, [ebp - 0x814]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004670a0
mov eax, dword [esi + 0x164]
add esp, 0xc
push 1
push eax
push dword [esi + 0x12c]
lea ecx, [ebp - 0x820]
call fcn.0040b881
test eax, eax
jne 0x40a6cd
push dword [esi + 0x168]
lea eax, [ebp - 0x820]
push eax
lea esi, [ebp - 0x818]
lea edi, [ebp - 0x814]
mov dword [ebp - 0x818], 0x400
call fcn.0040b819
test eax, eax
jne 0x40a6c2
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a6c2
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x40a6c2
lea eax, [ebp - 0x814]
push eax
push 0x400
push dword [ebp - 0x824]
xor ebx, ebx
inc ebx
call fcn.004081a8
lea ecx, [ebp - 0x820]
call fcn.0040b8c2
mov eax, ebx
call fcn.004678b3
ret 4
lea ecx, [ebp - 0x820]
call fcn.0040b8c2
call fcn.0040a573
test eax, eax
je 0x40a6ad
push 0x2001f
push str.SYSTEMCurrentControlSetServices360SelfProtection
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x820]
call fcn.0040b881
test eax, eax
jne 0x40a7a0
push str.RULE_360Safe
lea eax, [ebp - 0x820]
push eax
lea esi, [ebp - 0x818]
lea edi, [ebp - 0x814]
mov dword [ebp - 0x818], 0x400
call fcn.0040b819
test eax, eax
jne 0x40a795
cmp dword [ebp - 0x818], 0xd
jbe 0x40a795
push 4
mov eax, edi
push 0x4a236c
push eax
call fcn.004688de
add esp, 0xc
test eax, eax
jne 0x40a795
push str.....
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a795
lea eax, [ebp - 0x80c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x40a795
lea eax, [ebp - 0x80c]
push eax
push 0x400
push dword [ebp - 0x824]
call fcn.004081a8
xor ebx, ebx
inc ebx
jmp 0x40a6ad
lea ecx, [ebp - 0x820]
call fcn.0040b8c2
push ebx
push 0x26
lea eax, [ebp - 0x814]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40a6ad
push str.360360Safe
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a6ad
lea eax, [ebp - 0x814]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x40a693
jmp 0x40a6ad