joyce8/EMBER2024-capa huggingface dataset:
Function at 0x595d70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00581f60
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x595e3b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x595e3b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x595dee
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x595df9
or bh, 8
and edi, 0x8000000
je 0x595e14
mov eax, dword [0x68303c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x595e3b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x596210
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x59623b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x59625f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x59627a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x599b52
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x599b74
cmp dword [edi + 0x3c], 0
jne 0x599b74
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.005a8034
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00599ba1
pop edi
pop esi
pop ebx
ret 8

Function at 0x599ee1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x5c7594
call fcn.005857d8
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.005a8034
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x599f20
call fcn.005a8034
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x599f2e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x599f3c
or eax, 0xffffffff
jmp 0x59a024
mov ecx, esi
call fcn.00599e57
mov dword [ebp - 0x14], eax
call fcn.0059ad3b
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x599f73
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x599f73
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.0059acef
push dword [ebp - 0x14]
call fcn.0059a83d
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.00599bef
cmp eax, edi
je 0x599fe6
test byte [esi + 0x24], 0x10
je 0x599fb4
push 4
mov ecx, esi
pop ebx
call fcn.0059d497
test ah, 1
je 0x599fac
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.0059cd31
cmp dword [esi + 0x1c], edi
je 0x599fe6
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0059d5fa
jmp 0x599fe6
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x599ffa
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x59a013
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x59a013
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.00599e91
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x59b1eb
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x59b223
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.0059e30d
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0059e2e5
jmp 0x59b22f
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x59b233
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x681178
mov ecx, edi
call fcn.0059e0c9
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x59b286
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x59b299
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.0059e30d
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.0059e2e5
jmp 0x59b299
mov ecx, esi
call fcn.0059d344
test eax, eax
je 0x59b299
push edi
mov ecx, eax
call fcn.0059b1eb
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x59cada
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 0x59cb1c
call fcn.005a8034
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x59cb1c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x59cb13
xor eax, eax
jmp 0x59cb24
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0059cb2a
pop edi
pop esi
pop ebx
ret 4
Function at 0x5a917a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.005a8034
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x5a91b7
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x5a91b7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x5a91bb
xor eax, eax
jmp 0x5a9239
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.0059a2da
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x5a91f3
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x5a91dd
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.005a932a
push ebx
mov edi, eax
call fcn.0059a303
test edi, edi
pop ecx
je 0x5a9235
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.005a90f3
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.005a923e
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x5a9916
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 0x5a9944
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5a9962
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005a987c
jmp 0x5a9962
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5a9962
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005a987c
test edi, edi
mov eax, edi
jne 0x5a994c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x5ac063
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x5ac08b
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x5ac09c
push 2
call edi
test ax, ax
jge 0x5ac09c
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.0059a83d
cmp dword [esi + 0x30], ebx
jne 0x5ac176
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.0059a83d
cmp eax, dword [esp + 0x34]
jne 0x5ac176
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x5ac112
push 1
push pe_nt_image_headers32
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x5ac157
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x5ac176
cmp eax, 0x205
je 0x5ac176
cmp eax, 0x201
je 0x5ac176
cmp eax, 0x204
je 0x5ac176
cmp eax, ebx
jne 0x5ac13d
cmp dword [esp + 0x1c], 0x1b
je 0x5ac176
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x681388]
jbe 0x5ac16c
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x5ac0cf
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4

Function at 0x5d8ab0
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x5d87dc
dec esi
and esi, esi
inc eax
call fcn.005d8af1
sub esi, 0xbd83a89f
xor dword [edi], ebx
dec esi
add edi, 2
sub esi, esi
mov esi, 0x67292ebc
cmp edi, edx
jl fcn.005d8ab0
sub eax, 0x559527fe
mov eax, 0x8be24013
add esi, 0x8346b097
ret
Function at 0x401e63
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 [0x4ac40c]
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 0x401f10
push str.....360safe.exe
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x401f10
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401f10
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 0x4841c0
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 0x401f0d
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 0x484134
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 0x401f25
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4ac40c]
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 0x4841c0
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 0x401f97
lea eax, [ebp - 0x78]
push eax
call fcn.00407063
pop ecx
test al, al
jne 0x401fcc
push 0x104
lea eax, [ebp - 0x78]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x401fcc
push str.....Safelive.dll
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x401fcc
lea eax, [ebp - 0x78]
push 1
push eax
call fcn.00407eb9
pop ecx
pop ecx
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
call fcn.004420f4
add ebp, 0x194
leave
ret

Function at 0x402308
Capabilities:
Check if file exists

Disassembly:
call fcn.004020d9
test eax, eax
je 0x402315
xor eax, eax
inc eax
ret
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x402345
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402349
push esi
call fcn.00402101
pop ecx
test eax, eax
jne 0x402349
push 1
call fcn.0045f6c0
push eax
push esi
call fcn.0045f8d0
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 [0x4ac40c]
xor eax, ebp
mov dword [ebp + 0x388], eax
cmp dword [0x4aa18c], 0
jle 0x4030b4
cmp dword [0x4aa190], 0
jle 0x40304b
sub dword [0x4aa190], 5
jmp 0x4030b4
dec dword [0x4aa18c]
push 0x400
lea eax, [ebp - 0x78]
push 0
push eax
mov dword [0x4aa190], 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.0040847b
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 [0x4ac40c]
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 0x484134
xor esi, esi
push 0x4845d0
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.004257e7
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.0040228e
test eax, eax
jne 0x4033d6
push 0x4846cc
push str.Software360safeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
test eax, eax
jne 0x4033d6
mov word [0x4af4b8], 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 [0x4af648], esi
jl 0x403539
add dword [0x4af648], 5
cmp dword [0x4af648], 0x2d0
jl 0x403539
or dword [0x4af648], 0xffffffff
push 0x64
push 0x4af580
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 0x4036ee
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 0x403757
cmp dword [ebp + 0x10], 1
je 0x40372f
cmp dword [ebp + 0x10], 2
je 0x40372f
push 0xd
pop eax
jmp 0x403757
mov eax, dword [ebp - 4]
test edi, edi
je 0x403751
test eax, eax
je 0x40374c
test al, 1
jne 0x40372a
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x403751
jmp 0x40372a
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc
Function at 0x40557a
Capabilities:
Check if file exists
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0xc30
lea ebp, [esp - 4]
mov eax, dword [0x4ac40c]
xor eax, ebp
mov dword [ebp + 0xc30], eax
push 0x2c
mov eax, 0x47db6f
call fcn.00442103
mov eax, ecx
mov ecx, dword [ebp + 0xc3c]
lea edi, [eax + 0x34]
mov dword [ebp - 0x2c], ecx
mov ecx, edi
mov dword [ebp - 0x28], edi
call fcn.00404c6d
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
push 0x20019
push str.Software360safemenuext
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.00403681
test eax, eax
jne 0x40574e
push 0x104
lea eax, [ebp + 0xa28]
push eax
push ebx
push dword [ebp - 0x20]
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x40574e
mov edi, 0x410
inc esi
cmp esi, 0x64
jge 0x40574b
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push 0x20019
lea eax, [ebp + 0xa28]
push eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x18]
call fcn.00403681
test eax, eax
jne 0x405722
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
push str.Application
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], edi
call fcn.004036ee
test eax, eax
jne 0x405722
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405722
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x820]
push eax
push 0x4841c0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 0x208
call fcn.004036ee
test eax, eax
jne 0x405722
push edi
lea eax, [ebp + 0x410]
push ebx
push eax
call fcn.00441830
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x410]
push eax
push str.Parameters
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], edi
call fcn.004036ee
lea eax, [ebp - 0x24]
push eax
push str.flags
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x24], ebx
call fcn.004036b6
lea eax, [ebp + 0x820]
push eax
lea eax, [esi + 0x64]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_AppendMenuW]
lea ecx, [ebp - 0x38]
call fcn.00403d28
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
mov dword [ebp - 0x38], esi
call fcn.004017b3
lea eax, [ebp + 0x410]
push eax
lea ecx, [ebp - 0x30]
call fcn.004017b3
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x38]
push eax
call fcn.0040543c
lea ecx, [ebp - 0x38]
call fcn.00403d3f
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.00403666
push 0x104
lea eax, [ebp + 0xa28]
push eax
push esi
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x405605
mov edi, dword [ebp - 0x28]
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
push 0xc
cdq
pop ecx
idiv ecx
test eax, eax
jbe 0x40576e
push ebx
push ebx
push 0x800
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_AppendMenuW]
lea ecx, [ebp - 0x20]
call fcn.00403666
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc30]
xor ecx, ebp
call fcn.004420f4
add ebp, 0xc34
leave
ret 4