joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415560
Capabilities:
Access peb ldr_data
Check if file exists
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x489030
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9150]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x4ab834]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ab834
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x38], 0
jge 0x4155cd
push 0x104
lea ecx, [esp + 0x18]
call fcn.0040d180
mov esi, dword [esp + 0x14]
push 0
push 0x10
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0043eab0
add esp, 8
test eax, eax
jl 0x415742
cmp eax, dword [esi - 8]
jg 0x415742
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov edx, dword [0x4ab834]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ab834
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [edi + 0x354]
mov byte [esp + 0x3c], 1
call fcn.004216d0
mov edx, dword [eax]
push edx
lea eax, [esp + 0x1c]
push str._s360MobileMgr.exe
push eax
mov byte [esp + 0x44], 2
call fcn.00414dd0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41566c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x18]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4156e9
push ecx
lea eax, [ebx - 0x10]
mov dword [esp + 0x24], esp
mov ebp, esp
push eax
xor edi, edi
call fcn.0040d1d0
add eax, 0x10
mov dword [ebp], eax
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x49eb64
mov byte [esp + 0x44], 3
call fcn.0040e220
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x48ca80
mov byte [esp + 0x48], 4
call fcn.0040e220
push ecx
lea eax, [esi - 0x10]
mov dword [esp + 0x3c], esp
mov ebp, esp
push eax
mov byte [esp + 0x4c], 5
call fcn.0040d1d0
add eax, 0x10
mov dword [ebp], eax
add esp, 4
mov byte [esp + 0x48], 1
call fcn.00415160
add esp, 0x10
add ebx, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41570a
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
add esi, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41572e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 0x80070057
call fcn.0040c1e0
int3
Function at 0x417400
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx eax, word [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0xa
push eax
push ebp
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
xor edi, edi
cmp ebx, edi
jne 0x41742a
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
je 0x417421
push ebx
push ebp
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push edi
xor ecx, ecx
push edi
mov dword [esi + 0x24], ecx
mov ecx, dword [esi]
mov edx, dword [ecx + 0x10]
push edi
push esi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x20], eax
call edx
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 8

Function at 0x417570
Capabilities:
Terminate process

Disassembly:
push ecx
push 0
push str.QH360MobileSrvMainWindowClass
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x41756e
lea ecx, [esp]
push ecx
push eax
mov dword [esp + 8], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp]
test eax, eax
je 0x41756e
push esi
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41756d
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret
push ecx
push 0
push str.360MobileManagerClass
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4175cb
lea ecx, [esp]
push ecx
push eax
mov dword [esp + 8], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp]
test eax, eax
je 0x4175cb
push esi
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4175ca
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 4
jmp 0x417510
Function at 0x4175e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x90
mov eax, dword [0x4a9150]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
lea eax, [esp + 4]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [esp + 4]
test esi, esi
je 0x417680
xor ecx, ecx
push 0x7e
push ecx
lea edx, [esp + 0x1a]
push edx
mov dword [esp + 0x18], 1
mov word [esp + 0x1c], cx
call fcn.0043f2b0
add esp, 0xc
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push str.CurrentVersion
push esi
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
push ecx
call fcn.0043f8a4
fstp dword [esp + 8]
add esp, 4
jmp 0x41768a
fld dword [0x48cccc]
fstp dword [esp + 4]
mov ecx, dword [esp + 0x90]
fld dword [esp + 4]
pop esi
xor ecx, esp
call fcn.0043f097
add esp, 0x90
ret

Function at 0x4176b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x98
mov eax, dword [0x4a9150]
xor eax, esp
mov dword [esp + 0x94], eax
push esi
push edi
lea eax, [esp + 0xc]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [esp + 0xc]
test edi, edi
je 0x4177aa
xor ecx, ecx
push 0x7e
push ecx
lea edx, [esp + 0x26]
push edx
mov dword [esp + 0x14], 1
mov word [esp + 0x28], cx
call fcn.0043f2b0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push str.CurrentVersion
push edi
mov dword [esp + 0x30], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
push ecx
call fcn.0043f8a4
fstp dword [esp + 0x18]
mov edx, dword [esi + 0x30]
push edx
call fcn.0044097c
fstp dword [esp + 0x18]
mov eax, dword [esi + 0x34]
push eax
call fcn.0044097c
fstp dword [esp + 0x14]
fld dword [esp + 0x1c]
add esp, 0xc
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 1
jne 0x4177a8
fld dword [esp + 8]
fcompp
fnstsw ax
test ah, 1
jne 0x4177aa
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0043f097
add esp, 0x98
ret
fstp st(0)
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
xor al, al
call fcn.0043f097
add esp, 0x98
ret
Function at 0x4177d0
Capabilities:
Delete file

Disassembly:
sub esp, 0x20
mov edx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
mov eax, edx
push esi
mov dword [esp + 4], 0
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x417804
mov ecx, dword [esp + 0x2c]
sub eax, esi
sar eax, 1
dec ecx
pop esi
cmp eax, ecx
jae 0x41784e
xor ecx, ecx
mov word [edx + eax*2 + 2], cx
mov dword [esp + 8], edx
lea eax, [esp]
mov edx, 0x614
push eax
mov word [esp + 0x14], dx
mov dword [esp + 0x10], ecx
mov dword [esp + 8], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
add esp, 0x20
ret 8
or eax, 0xffffffff
add esp, 0x20
ret 8

Function at 0x418aa0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x4a9150]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push edi
xor eax, eax
push 0x206
mov edi, ecx
push eax
lea ecx, [esp + 0x16]
push ecx
mov dword [esp + 0x14], 0
mov word [esp + 0x18], ax
call fcn.0043f2b0
add esp, 0xc
xor ebx, ebx
push ebx
lea edx, [esp + 0xc]
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SOFTWARE360zhushou
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x418bc8
mov eax, dword [edi + 0x14]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x14]
push edx
call fcn.00440443
lea eax, [esp + 0x18]
add esp, 0xc
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418b20
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub eax, edx
mov edx, dword [esp + 0xc]
sar eax, 1
add eax, eax
push eax
lea ecx, [esp + 0x14]
push ecx
push 1
push 0
push 0x48cebc
push edx
call esi
test eax, eax
je 0x418b57
mov ebx, 1
cmp byte [esp + 0x220], 0
jne 0x418bbc
push 0x208
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0043f2b0
mov eax, dword [edi + 0x20]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00440443
lea eax, [esp + 0x28]
add esp, 0x18
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418b90
sub eax, edx
mov edx, dword [esp + 0xc]
sar eax, 1
add eax, eax
push eax
lea ecx, [esp + 0x14]
push ecx
push 1
push 0
push 0x48ceb4
push edx
call esi
test eax, eax
je 0x418bbc
inc ebx
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [esp + 0x214]
pop edi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0043f097
add esp, 0x210
ret 4
Function at 0x41baf0
Capabilities:
Access peb ldr_data
Get common file path
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x489676
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4a9150]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
mov eax, dword [0x4a9150]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov eax, dword [0x4ab834]
mov edx, dword [eax + 0xc]
mov esi, ecx
mov ecx, 0x4ab834
mov dword [esp + 0xc], esi
call edx
add eax, 0x10
mov dword [esi], eax
mov eax, dword [0x4ab834]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ab834
mov dword [esp + 0x224], 0
call edx
add eax, 0x10
mov dword [esi + 4], eax
mov eax, dword [0x4ab834]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ab834
mov byte [esp + 0x224], 1
call edx
add eax, 0x10
mov dword [esi + 8], eax
mov eax, dword [0x4ab834]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ab834
mov byte [esp + 0x224], 2
call edx
add eax, 0x10
mov dword [esi + 0xc], eax
mov eax, dword [0x4ab834]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ab834
mov byte [esp + 0x224], 3
lea edi, [esi + 0x10]
call edx
add eax, 0x10
mov dword [edi], eax
mov eax, dword [0x4ab834]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ab834
mov byte [esp + 0x224], 4
call edx
add eax, 0x10
mov dword [esi + 0x14], eax
mov eax, dword [0x4ab834]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ab834
mov byte [esp + 0x224], 5
call edx
add eax, 0x10
mov dword [esi + 0x18], eax
mov eax, dword [0x4ab834]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ab834
mov byte [esp + 0x224], 6
call edx
add eax, 0x10
mov dword [esi + 0x1c], eax
mov eax, dword [0x4ab834]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ab834
mov byte [esp + 0x224], 7
call edx
add eax, 0x10
mov dword [esi + 0x20], eax
mov eax, dword [0x4ab834]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ab834
mov byte [esp + 0x224], 8
call edx
add eax, 0x10
mov dword [esi + 0x28], eax
lea ecx, [esi + 0x38]
mov byte [esp + 0x224], 9
call fcn.00419dc0
lea ecx, [esi + 0x54]
mov byte [esp + 0x224], 0xa
call fcn.00419e30
lea ecx, [esi + 0x70]
mov byte [esp + 0x224], 0xb
call fcn.00419d50
lea ecx, [esi + 0x8c]
mov byte [esp + 0x224], 0xc
call fcn.00419d50
lea ecx, [esi + 0xa8]
mov byte [esp + 0x224], 0xd
call fcn.00419d50
lea ecx, [esi + 0xc4]
mov byte [esp + 0x224], 0xe
call fcn.00419ea0
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x1a]
push ecx
mov byte [esp + 0x230], 0xf
mov byte [esi + 0x2c], 0
mov word [esp + 0x1c], ax
call fcn.0043f2b0
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [esp + 0x14]
push eax
push 0x48d118
push edi
call fcn.00414dd0
add esp, 0x10
mov dword [esi + 0x30], 0
mov eax, esi
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0043f097
add esp, 0x21c
ret
Function at 0x41d5e0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x489800
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9150]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x2c], 0
jne 0x41d619
mov eax, dword [esp + 0x2c]
push eax
call fcn.0041d370
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.0041ab20
lea edi, [esi + 8]
push eax
mov ecx, edi
mov dword [esp + 0x28], 0
call fcn.00410770
mov eax, dword [esp + 0x2c]
or ebp, 0xffffffff
add eax, 0xfffffff0
mov dword [esp + 0x24], ebp
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d65e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x48c7b4
lea ecx, [esp + 0x1c]
push edi
push ecx
call fcn.00419880
add esi, 4
push esi
push eax
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x3c], 1
call fcn.004197b0
mov eax, dword [eax]
add esp, 0x18
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [esp + 0x14]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d6b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x24], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x41d6d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4

Function at 0x41e050
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x4a9150]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
push edi
mov edi, dword [esp + 0x23c]
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x41e0c0
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41e0b9
push 0x104
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.004401c4
add esp, 0xc
test eax, eax
je 0x41e0d9
lea edx, [esp + 8]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41e093
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0043f097
add esp, 0x230
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x234]
mov eax, dword [esp + 0x10]
pop edi
pop esi
xor ecx, esp
call fcn.0043f097
add esp, 0x230
ret

Function at 0x41e100
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push eax
call fcn.0041e050
add esp, 4
test eax, eax
je 0x41e134
push esi
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41e133
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x421290
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x489970
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x4a9150]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x4ab834]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ab834
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [0x4ab834]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ab834
mov dword [esp + 0x20], 0
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [esi]
lea eax, [esp + 0x14]
push eax
push str._Common_Desktop_360
mov byte [esp + 0x28], 1
call fcn.0041a1c0
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi]
push 0x48d7e8
mov bl, al
call fcn.0041a1c0
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [esp + 0xf], al
mov byte [esp + 0xd], 0
mov byte [esp + 0xe], 0
mov byte [esp + 0xc], 0
test bl, bl
je 0x42133f
mov edx, dword [esp + 0x14]
push edx
call esi
test eax, eax
sete byte [esp + 0xd]
cmp byte [esp + 0xf], 0
je 0x421354
mov eax, dword [esp + 0x10]
push eax
call esi
test eax, eax
sete byte [esp + 0xe]
cmp byte [esp + 0xd], 0
je 0x421367
cmp byte [esp + 0xe], 0
je 0x421367
mov byte [esp + 0xc], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x20], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42138c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4213b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x4218e0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4899d0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [0x4a9150]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi]
xor ebx, ebx
cmp ecx, ebx
je 0x421a7a
lea eax, [esp + 0x14]
push eax
call fcn.004216a0
mov edx, dword [0x4ab834]
mov eax, dword [edx + 0xc]
mov ecx, 0x4ab834
mov dword [esp + 0x20], ebx
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esi]
push str._360safe.exe_
mov byte [esp + 0x28], 1
call fcn.0041a1c0
test al, al
jne 0x4219b2
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x20], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421976
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42199e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
push str.360Safe.exe
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00419880
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or edx, 0xffffffff
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x421a15
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4219f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x20], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x42196a
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421a2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x20], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421a52
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421a7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x421c60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x489a48
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4a9150]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi], 0
je 0x421d3c
mov eax, dword [0x4ab834]
mov edx, dword [eax + 0xc]
mov ecx, 0x4ab834
call edx
add eax, 0x10
mov dword [esp + 8], eax
mov ecx, dword [esi]
lea eax, [esp + 8]
push eax
push str._360safe.exe_
mov dword [esp + 0x20], 0
call fcn.0041a1c0
test al, al
je 0x421d14
push str.mobilemgr360MobileMgr.exe
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.00419880
mov eax, dword [esp + 0x18]
add esp, 0xc
push 5
push 0
push str._refinstaller
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421d14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421d3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret