joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447720
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47a318
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00472d46
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004470c0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00472c74
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0046f535
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0046f535
push 1
push 0
push 0
mov ecx, esi
call fcn.0046f4dd
push 1
push 0
push 1
mov ecx, esi
call fcn.0046f4dd
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00472db8
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4478a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47a338
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00472d46
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004470c0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00472c74
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x447964
cmp dword [esp + 0x40], 1
jne 0x447962
cmp ecx, eax
jge 0x447964
mov eax, ecx
cmp eax, 0xc8
jge 0x447970
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00447720
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00472db8
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4480e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47a3a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046d955
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00472fee
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047450a
test eax, eax
je 0x4481fc
mov ecx, dword [esp + 0x3c]
call fcn.0047301b
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4481c0
push edi
mov ecx, esi
call fcn.0047067c
mov ecx, esi
call fcn.00448360
cmp dword [esp + 0x38], 1
jne 0x4481f5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004707b7
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x44ac10
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44ac43
push esi
call fcn.0044dd20
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44ac3c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44acc9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44acb2
mov eax, dword [esi + 8]
test eax, eax
je 0x44ac67
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44acae
cmp eax, 2
je 0x44acb2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44ac5a
cmp eax, 3
je 0x44ac8d
cmp eax, 1
jne 0x44ac5a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44ac5a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44ac5a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044acf0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44acd8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044acf0
add esp, 4
pop esi
ret

Function at 0x456e90
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x456f33
test eax, eax
jbe 0x456f33
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x456f33
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x456ede
xor esi, esi
jmp 0x456ee4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x456f0f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0045a8e0
add esi, eax
push esi
mov ebx, esi
call fcn.0045a8e0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x456ef0
pop ebp
test edi, edi
pop edi
jne 0x456f33
test ebx, ebx
je 0x456f33
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0045cec0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x457075
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45718d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45718d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0046dda7
mov esi, eax
test esi, esi
je 0x45718d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45718d
mov ecx, esi
call fcn.00456fe0
cmp edi, eax
jge 0x45718d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x457113
mov dword [esp + 0x34], 1
jmp 0x45716e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45718d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00456540
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x46e74b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46e783
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046c7d8
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046c7b0
jmp 0x46e78f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46fe39
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46fe7b
call fcn.004758fa
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46fe7b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46fe72
xor eax, eax
jmp 0x46fe83
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046fe89
pop edi
pop esi
pop ebx
ret 4
Function at 0x475e2a
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x475e58
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x475e76
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00475d90
jmp 0x475e76
mov eax, dword [esi + 0x14]
test eax, eax
je 0x475e76
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00475d90
test edi, edi
mov eax, edi
jne 0x475e60
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4010c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4010d7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401108
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x401104
cmp esi, eax
jae 0x401108
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x4010f4
cmp esi, eax
jb 0x40110e
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x4011a0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
push ebp
push esi
push 0x410f30
xor ebp, ebp
push 0x86
push ebp
mov dword [esp + 0x14], ebp
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebp
je 0x40122f
push ebx
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push ebp
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
je 0x401228
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
je 0x401220
mov eax, dword [esp + 0x18]
push ebp
push ebp
push 2
push ebp
push ebp
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, ebp
je 0x401220
push ebp
lea ecx, [esp + 0x14]
push ecx
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop esi
lea eax, [ebp + 1]
pop ebp
pop ecx
ret
pop edi
pop ebx
pop esi
mov eax, ebp
pop ebp
pop ecx
ret
pop ebx
pop esi
mov eax, ebp
pop ebp
pop ecx
ret
pop esi
mov eax, ebp
pop ebp
pop ecx
ret

Function at 0x401240
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x41313c]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0x11c
call esi
test eax, eax
jne 0x401297
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x114
call esi
test eax, eax
jne 0x401297
pop esi
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.004038ac
add esp, 0x120
ret
mov ecx, dword [esp + 0x120]
xor eax, eax
cmp dword [esp + 8], 6
pop esi
sete al
xor ecx, esp
call fcn.004038ac
add esp, 0x120
ret
Function at 0x4038ac
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41313c]
jne 0x4038b6
repz ret
jmp fcn.004056ba

Function at 0x409ed9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004050c9
and dword [ebp - 4], 0
cmp dword [0x414a70], 0
mov ebx, eax
jne 0x409f8a
push 0x40fa20
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a03b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40fa14
push edi
call esi
test eax, eax
je 0x40a03b
push eax
call fcn.00405057
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x414a70], eax
call esi
push eax
call fcn.00405057
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x414a74], eax
call esi
push eax
call fcn.00405057
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x414a78], eax
call esi
push eax
call fcn.00405057
pop ecx
mov dword [0x414a80], eax
test eax, eax
je 0x409f8a
push 0x40f9bc
push edi
call esi
push eax
call fcn.00405057
pop ecx
mov dword [0x414a7c], eax
mov eax, dword [0x414a7c]
cmp eax, ebx
je 0x409fe2
cmp dword [0x414a80], ebx
je 0x409fe2
push eax
call fcn.004050d2
push dword [0x414a80]
mov esi, eax
call fcn.004050d2
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409fe2
test edi, edi
je 0x409fe2
call esi
test eax, eax
je 0x409fd9
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409fd9
test byte [ebp - 0xc], 1
jne 0x409fe2
or dword [ebp + 0x10], 0x200000
jmp 0x40a01b
mov eax, dword [0x414a74]
cmp eax, ebx
je 0x40a01b
push eax
call fcn.004050d2
pop ecx
test eax, eax
je 0x40a01b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a01b
mov eax, dword [0x414a78]
cmp eax, ebx
je 0x40a01b
push eax
call fcn.004050d2
pop ecx
test eax, eax
je 0x40a01b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x414a70]
call fcn.004050d2
pop ecx
test eax, eax
je 0x40a03b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a03d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401e59
Capabilities:
Check if file exists
Persist via app paths registry key
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x4ad40c]
xor eax, ebp
mov dword [ebp + 0x188], eax
push 0x104
lea eax, [ebp - 0x80]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x401f06
push str.....360safe.exe
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x401f06
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401f06
push ebx
push esi
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.00441cf4
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ecx
add eax, eax
push eax
lea eax, [ebp - 0x80]
push eax
push 1
push 0x4851c0
mov ebx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360Safe.exe
push ebx
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call esi
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x401f03
lea eax, [ebp - 0x80]
push eax
call fcn.00441cf4
pop ecx
add eax, eax
push eax
lea eax, [ebp - 0x80]
push eax
push 1
push 0x485134
push ebx
push edi
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x188]
xor ecx, ebp
call fcn.004420f4
add ebp, 0x18c
leave
ret

Function at 0x401f1b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4ad40c]
xor eax, ebp
mov dword [ebp + 0x190], eax
push 0x208
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00441830
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x4851c0
push str.CLSID87515F61_A66C_4319_A0E0_D416CB8059E3InprocServer32
push SysReAllocString
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x78], 0
je 0x401f8d
lea eax, [ebp - 0x78]
push eax
call fcn.00407206
pop ecx
test al, al
jne 0x401fc2
push 0x104
lea eax, [ebp - 0x78]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x401fc2
push str.....Safelive.dll
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x401fc2
lea eax, [ebp - 0x78]
push 1
push eax
call fcn.0040800d
pop ecx
pop ecx
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.004420f4
add ebp, 0x194
leave
ret

Function at 0x4022fe
Capabilities:
Check if file exists

Disassembly:
call fcn.004020cf
test eax, eax
je 0x40230b
xor eax, eax
inc eax
ret
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x40233b
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40233f
push esi
call fcn.004020f7
pop ecx
test eax, eax
jne 0x40233f
push 1
call fcn.0045f660
push eax
push esi
call fcn.0045f870
add esp, 0xc
xor eax, eax
pop esi
ret
xor eax, eax
inc eax
pop esi
ret
Function at 0x403015
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x38c]
sub esp, 0x40c
mov eax, dword [0x4ad40c]
xor eax, ebp
mov dword [ebp + 0x388], eax
cmp dword [0x4ab18c], 0
jle 0x4030b4
cmp dword [0x4ab190], 0
jle 0x40304b
sub dword [0x4ab190], 5
jmp 0x4030b4
dec dword [0x4ab18c]
push 0x400
lea eax, [ebp - 0x78]
push 0
push eax
mov dword [0x4ab190], 0x1c20
call fcn.00441830
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push str.UpdateTipCycle
push str.SOFTWARE360Safe_softmgr
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], 4
mov dword [ebp - 0x80], 0x400
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4030b4
cmp dword [ebp - 0x7c], 4
jne 0x4030b4
cmp dword [ebp - 0x78], 1
jne 0x4030b4
push eax
call fcn.004085cf
pop ecx
mov ecx, dword [ebp + 0x388]
xor ecx, ebp
call fcn.004420f4
add ebp, 0x38c
leave
ret

Function at 0x4031b9
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov eax, dword [0x4ad40c]
xor eax, ebp
mov dword [ebp + 0x398], eax
push esi
push edi
mov edi, dword [ebp + 0x3a4]
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x76]
push eax
call fcn.00441830
xor eax, eax
push esi
push eax
mov word [ebp + 0x190], ax
lea eax, [ebp + 0x192]
push eax
call fcn.00441830
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x485134
xor esi, esi
push 0x4855d0
inc esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x80], 0x208
mov dword [ebp - 0x7c], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x40326b
cmp word [ebp - 0x78], ax
je 0x40326b
lea eax, [ebp - 0x78]
push eax
push str._s360verify.dll
push dword [ebp + 0x3a8]
push edi
call fcn.00403161
add esp, 0x10
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40326b
mov eax, esi
jmp 0x4032c4
call fcn.00425809
mov eax, dword [eax + 0xc]
push 0x104
lea ecx, [ebp + 0x190]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4032c2
lea eax, [ebp + 0x190]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x4032c2
push str...360verify.dll
lea eax, [ebp + 0x190]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4032c2
lea eax, [ebp + 0x190]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x403267
xor eax, eax
mov ecx, dword [ebp + 0x398]
pop edi
xor ecx, ebp
pop esi
call fcn.004420f4
add ebp, 0x39c
leave
ret
Function at 0x4033cf
Capabilities:
Delete registry value

Disassembly:
cmp dword [esp + 4], 0
jne 0x4033d9
xor eax, eax
ret
call fcn.00403393
push eax
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.00402284
test eax, eax
jne 0x4033d6
push 0x4856cc
push str.Software360safeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
test eax, eax
jne 0x4033d6
mov word [0x4b04b8], ax
call fcn.00403393
push eax
push dword [esp + 8]
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
neg eax
sbb eax, eax
neg eax
ret

Function at 0x4034e4
Capabilities:
Create thread

Disassembly:
push ecx
push esi
xor esi, esi
cmp dword [0x4b0648], esi
jl 0x403539
add dword [0x4b0648], 5
cmp dword [0x4b0648], 0x2d0
jl 0x403539
or dword [0x4b0648], 0xffffffff
push 0x64
push 0x4b0580
call fcn.004033cf
pop ecx
pop ecx
test eax, eax
je 0x403539
lea eax, [esp + 4]
push eax
push esi
push esi
push 0x403473
push esi
push esi
call fcn.00442565
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret

Function at 0x4036fc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x403765
cmp dword [ebp + 0x10], 1
je 0x40373d
cmp dword [ebp + 0x10], 2
je 0x40373d
push 0xd
pop eax
jmp 0x403765
mov eax, dword [ebp - 4]
test edi, edi
je 0x40375f
test eax, eax
je 0x40375a
test al, 1
jne 0x403738
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x40375f
jmp 0x403738
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc