joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f7e4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44f81c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f7fd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44f80c
or bl, 4
test esi, 0x20000000
je 0x44f817
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x455ec4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x455ed6
add esp, 0xfffffff0
call fcn.00403954
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419758
mov eax, dword [0x4707e4]
mov dword [eax + 4], ebx
mov dword [eax], 0x456268
mov eax, dword [0x4707f4]
mov dword [eax + 4], ebx
mov dword [eax], 0x456274
mov eax, ebx
call fcn.00456280
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411a38]
call fcn.00403600
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411a38]
call fcn.00403600
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411a38]
call fcn.00403600
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411a38]
call fcn.00403600
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411a38]
call fcn.00403600
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x45269c
push eax
push 0
push 0
mov eax, dword [0x470944]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b1ec]
call fcn.0041c960
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b1ec]
call fcn.0041c960
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b1ec]
call fcn.0041c960
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004566a0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45657c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45657c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45657c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x456013
call fcn.004039ac
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x456360
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45650b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4564ec
mov dl, 1
mov eax, dword [0x411e54]
call fcn.00403600
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404380
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4564db
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00443eb4
test al, al
je 0x4564ce
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x45651c
lea eax, [ebp - 0x254]
call fcn.00408edc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4564ce
xor eax, eax
push ebp
push 0x4564c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x456554
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4564b0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045f0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4564b0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4564ce
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4563d1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415948
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456512
lea eax, [ebp - 0x260]
call fcn.00404380
ret

Function at 0x456e40
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x471bb0]
cmp byte [eax + 0xa5], 0
jne 0x456eb1
cmp dword [0x471bc8], 0
jne 0x456e72
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x456dfc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x471bc8], eax
cmp dword [0x471bc4], 0
jne 0x456e8d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x471bc4], eax
cmp dword [0x471bcc], 0
jne 0x456eb1
push esp
push 0
push 0
push 0x456da0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x471bcc], eax
pop edx
ret
Function at 0x456fa8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x456fbf
add esp, 0xfffffff0
call fcn.00403954
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419758
mov eax, dword [0x470930]
cmp word [eax + 2], 0
jne 0x456fe7
mov eax, dword [0x470930]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458698
mov eax, dword [0x4709e4]
cmp word [eax + 2], 0
jne 0x457001
mov eax, dword [0x4709e4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458890
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411a38]
call fcn.00403600
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411a38]
call fcn.00403600
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41bccc]
call fcn.00423458
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x457188
mov eax, dword [0x47084c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00423828
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x458e30
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47084c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c5a4
test eax, eax
je 0x4570f6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004088a4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c5cc
test eax, eax
je 0x45710a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004045f0
mov eax, dword [0x47072c]
cmp byte [eax], 0
jne 0x45713e
mov eax, ebx
call fcn.004572b0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045900c
mov eax, ebx
call fcn.004599d0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45717e
call fcn.004039ac
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457530
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x471bb0]
cmp dword [eax + 0x30], 0
je 0x4575da
cmp dword [ebx + 0x94], 0
jne 0x4575d4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4574c0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4575d4
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45759a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4575d4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413da0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4575a9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45813c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x458171
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404470
jmp 0x45817e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004043d4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4591e8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x459229
mov eax, esi
call fcn.0043f530
test al, al
je 0x459229
mov eax, dword [ebx + 0x84]
call fcn.0043f22c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x459229
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043f22c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45c8f0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45c91e
mov eax, ebx
call fcn.0045d3a4
cmp dword [ebx + 0x40], 0
je 0x45c917
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45c98f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45c981
cmp dword [ebx + 8], 0
je 0x45c940
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45c952
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45c981
cmp dword [ebx + 8], 0
je 0x45c933
cmp eax, 3
je 0x45c965
dec eax
jne 0x45c933
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45c933
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45c933
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45c9ad
cmp dword [ebx + 0x14], 0xcc
je 0x45c9ad
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045c9b8
pop ebx
ret
Function at 0x401e3d
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 [0x4aa3ec]
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 0x401eea
push str.....360safe.exe
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x401eea
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401eea
push ebx
push esi
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.004405d4
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ecx
add eax, eax
push eax
lea eax, [ebp - 0x80]
push eax
push 1
push 0x4831b0
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 0x401ee7
lea eax, [ebp - 0x80]
push eax
call fcn.004405d4
pop ecx
add eax, eax
push eax
lea eax, [ebp - 0x80]
push eax
push 1
push 0x483124
push ebx
push edi
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x188]
xor ecx, ebp
call fcn.004409d4
add ebp, 0x18c
leave
ret

Function at 0x401eff
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x4aa3ec]
xor eax, ebp
mov dword [ebp + 0x190], eax
push esi
mov esi, 0x208
push esi
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00440110
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x4831b0
push str.CLSID87515F61_A66C_4319_A0E0_D416CB8059E3InprocServer32
push SysReAllocString
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x78], 0
je 0x401f6f
lea eax, [ebp - 0x78]
push eax
call fcn.00406cfd
pop ecx
test al, al
jne 0x401fa0
push esi
lea eax, [ebp - 0x78]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x401fa0
push str.....Safelive.dll
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x401fa0
lea eax, [ebp - 0x78]
push 1
push eax
call fcn.00407b01
pop ecx
pop ecx
mov ecx, dword [ebp + 0x190]
xor ecx, ebp
pop esi
call fcn.004409d4
add ebp, 0x194
leave
ret

Function at 0x402263
Capabilities:
Check if file exists

Disassembly:
call fcn.004020ae
test eax, eax
je 0x402270
xor eax, eax
inc eax
ret
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x4022a0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4022a4
push esi
call fcn.004020d6
pop ecx
test eax, eax
jne 0x4022a4
push 1
call fcn.0045dfc0
push eax
push esi
call fcn.0045e1d0
add esp, 0xc
xor eax, eax
pop esi
ret
xor eax, eax
inc eax
pop esi
ret
Function at 0x402eea
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x38c]
sub esp, 0x40c
mov eax, dword [0x4aa3ec]
xor eax, ebp
mov dword [ebp + 0x388], eax
cmp dword [0x4a818c], 0
jle 0x402f89
cmp dword [0x4a8190], 0
jle 0x402f20
sub dword [0x4a8190], 5
jmp 0x402f89
dec dword [0x4a818c]
push 0x400
lea eax, [ebp - 0x78]
push 0
push eax
mov dword [0x4a8190], 0x1c20
call fcn.00440110
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 0x402f89
cmp dword [ebp - 0x7c], 4
jne 0x402f89
cmp dword [ebp - 0x78], 1
jne 0x402f89
push eax
call fcn.00408049
pop ecx
mov ecx, dword [ebp + 0x388]
xor ecx, ebp
call fcn.004409d4
add ebp, 0x38c
leave
ret

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

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov eax, dword [0x4aa3ec]
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.00440110
xor eax, eax
push esi
push eax
mov word [ebp + 0x190], ax
lea eax, [ebp + 0x192]
push eax
call fcn.00440110
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x483124
push 0x4835b8
add esi, 2
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4030db
cmp word [ebp - 0x78], ax
je 0x4030db
lea eax, [ebp - 0x78]
push eax
push str._s360verify.dll
push dword [ebp + 0x3a8]
push edi
call fcn.00402fd0
add esp, 0x10
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4030db
xor eax, eax
inc eax
jmp 0x403130
call fcn.004240e9
mov eax, dword [eax + 0xc]
push esi
lea ecx, [ebp + 0x190]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40312e
lea eax, [ebp + 0x190]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x40312e
push str...360verify.dll
lea eax, [ebp + 0x190]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x40312e
lea eax, [ebp + 0x190]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4030d6
xor eax, eax
mov ecx, dword [ebp + 0x398]
pop edi
xor ecx, ebp
pop esi
call fcn.004409d4
add ebp, 0x39c
leave
ret
Function at 0x40320f
Capabilities:
Delete registry value

Disassembly:
cmp dword [esp + 4], 0
jne 0x403219
xor eax, eax
ret
call fcn.004031d3
push eax
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.00402f9e
test eax, eax
jne 0x403216
push 0x4836b4
push str.Software360safeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
test eax, eax
jne 0x403216
mov word [0x4ad498], ax
call fcn.004031d3
push eax
push dword [esp + 8]
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
neg eax
sbb eax, eax
neg eax
ret

Function at 0x403312
Capabilities:
Create thread

Disassembly:
push ecx
push esi
xor esi, esi
cmp dword [0x4ad628], esi
jl 0x403367
add dword [0x4ad628], 5
cmp dword [0x4ad628], 0x2d0
jl 0x403367
or dword [0x4ad628], 0xffffffff
push 0x64
push 0x4ad560
call fcn.0040320f
pop ecx
pop ecx
test eax, eax
je 0x403367
lea eax, [esp + 4]
push eax
push esi
push esi
push 0x403266
push esi
push esi
call fcn.00440bee
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ecx
ret

Function at 0x403596
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 0x4035ff
cmp dword [ebp + 0x10], 1
je 0x4035d7
cmp dword [ebp + 0x10], 2
je 0x4035d7
push 0xd
pop eax
jmp 0x4035ff
mov eax, dword [ebp - 4]
test edi, edi
je 0x4035f9
test eax, eax
je 0x4035f4
test al, 1
jne 0x4035d2
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x4035f9
jmp 0x4035d2
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 0x404136
Capabilities:
Create process on windows

Disassembly:
push 0x24
mov eax, 0x47c374
call fcn.004409e3
mov esi, ecx
mov edi, dword [ebp + 8]
lea eax, [edi - 0x65]
mov dword [ebp + 8], eax
cmp eax, 0x62
ja 0x4041b5
lea ecx, [esi + 0x34]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
push 0xc
cdq
pop ebx
idiv ebx
lea edx, [edi - 0x64]
cmp eax, edx
jl 0x4041b5
push dword [ebp + 8]
call fcn.00403399
lea ecx, [ebp - 0x30]
mov esi, eax
call fcn.0042245c
push dword [esi + 4]
xor edi, edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], edi
call fcn.004224c0
test eax, eax
jne 0x40419c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00422499
jmp 0x40420a
mov eax, dword [esi + 8]
mov esi, dword [esi + 4]
push 5
push edi
push eax
push esi
push 0x483c5c
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40418e
add esi, 0x1c
push esi
push dword [esi + 0xc]
lea ecx, [ebp - 0x1c]
call fcn.00406517
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
push esi
push dword [esi + 0x10]
mov dword [ebp - 0x10], eax
jmp 0x4041f2
lea ecx, [ebp - 0x14]
call fcn.0041b1ae
mov ecx, dword [eax]
mov eax, dword [ecx]
push edi
call dword [eax + 0x24]
lea ecx, [ebp - 0x14]
call fcn.00403718
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x1c]
call fcn.00406517
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040623b
test al, al
je 0x4041d6
call fcn.00440abb
ret 4
Function at 0x405258
Capabilities:
Check if file exists
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0xc30
lea ebp, [esp - 4]
mov eax, dword [0x4aa3ec]
xor eax, ebp
mov dword [ebp + 0xc30], eax
push 0x2c
mov eax, 0x47c4d0
call fcn.004409e3
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.00404b12
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.00403529
test eax, eax
jne 0x40542c
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 0x40542c
mov edi, 0x410
inc esi
cmp esi, 0x64
jge 0x405429
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.00403529
test eax, eax
jne 0x405400
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.00403596
test eax, eax
jne 0x405400
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405400
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x820]
push eax
push 0x4831b0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 0x208
call fcn.00403596
test eax, eax
jne 0x405400
push edi
lea eax, [ebp + 0x410]
push ebx
push eax
call fcn.00440110
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.00403596
lea eax, [ebp - 0x24]
push eax
push str.flags
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x24], ebx
call fcn.0040355e
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.00403c36
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
mov dword [ebp - 0x38], esi
call fcn.004017b1
lea eax, [ebp + 0x410]
push eax
lea ecx, [ebp - 0x30]
call fcn.004017b1
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x38]
push eax
call fcn.0040511a
lea ecx, [ebp - 0x38]
call fcn.0041c2ff
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.0040350e
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 0x4052e3
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 0x40544c
push ebx
push ebx
push 0x800
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_AppendMenuW]
lea ecx, [ebp - 0x20]
call fcn.0040350e
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.004409d4
add ebp, 0xc34
leave
ret 4