joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461d40
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.0055f2e0
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x2010], eax
cmp esi, ebx
je 0x461e0f
push 0x1fff
lea ecx, [ebp - 0x2003]
push ebx
push ecx
mov byte [ebp - 0x2004], bl
call fcn.0055e2a0
add esp, 0xc
lea edx, [ebp - 0x2014]
push edx
push esi
mov dword [ebp - 0x2014], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
cmp eax, ebx
je 0x461e0f
cmp eax, 0x1fff
ja 0x461e0f
lea ecx, [ebp - 0x2004]
push ecx
push eax
push ebx
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x461dfe
lea edx, [ebp - 0x200c]
push edx
lea eax, [ebp - 0x2008]
push eax
push 0x5c2f84
lea ecx, [ebp - 0x2004]
push ecx
mov dword [ebp - 0x2008], ebx
mov dword [ebp - 0x200c], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x461dfe
mov eax, dword [ebp - 0x2008]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x2010]
mov dword [edi], edx
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
mov bl, 1
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop ebx
call fcn.0055e289
mov esp, ebp
pop ebp
ret
Function at 0x461e20
Capabilities:
Get disk information
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
and esi, 0xffdf
lea eax, [esi - 0x41]
mov dword [ebp - 0x30], 1
cmp ax, 0x19
ja case.0x461e75.2
mov ecx, dword [0x5c68f8]
mov edx, dword [0x5c68fc]
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ecx
push eax
mov dword [ebp - 8], edx
mov word [ebp - 0xc], si
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
add eax, 0xfffffffe
cmp eax, 4
ja case.default.0x461e75
jmp dword [eax*4 + 0x461f74]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
mov edx, dword [0x5c690c]
mov ecx, dword [str..X:]
mov eax, dword [0x5c6910]
push ebx
push edi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
mov cx, word [0x5c6914]
push SysReAllocString
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x14], eax
push edx
mov word [ebp - 0x10], cx
mov word [ebp - 0x14], si
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x461eeb
pop edi
lea eax, [ebx + 1]
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
push 0x227
call fcn.0055d3e0
add esp, 4
push ebx
mov esi, eax
mov dword [esi + 4], 0x227
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov ecx, dword [esi + 4]
push ecx
push esi
push 0xc
lea edx, [ebp - 0x28]
push edx
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x461f37
mov eax, dword [esi + 0x1c]
cmp eax, 7
je 0x461f3a
cmp eax, 4
je 0x461f3a
mov ebx, dword [ebp - 0x30]
push esi
call fcn.0055e5cc
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebx
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.0055e289
mov esp, ebp
pop ebp
ret
Function at 0x462100
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ed6b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push 0x206
lea ecx, [ebp - 0x216]
xor eax, eax
push edi
push ecx
mov dword [ebp - 0x238], edi
mov word [ebp - 0x218], ax
call fcn.0055e2a0
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push edi
push edi
push 0x23
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
cmp eax, edi
jge 0x46218a
push edi
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0x5c353c
mov ecx, esi
mov word [esi + 4], ax
call fcn.004252e0
jmp 0x46221b
xor ecx, ecx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], edi
mov word [ebp - 0x230], cx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4621b0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x234]
call fcn.004252e0
push 0x11
push str.360TotalSecurity
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], edi
call fcn.00431b10
lea eax, [ebp - 0x234]
call fcn.004a64d0
mov ecx, esi
test al, al
je 0x462206
lea eax, [ebp - 0x234]
push eax
call fcn.0042df80
jmp 0x462210
push 0x5c353c
call fcn.00424f10
lea ecx, [ebp - 0x234]
call fcn.00424f60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret

Function at 0x462bf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ed38
mov eax, dword fs:[0]
push eax
mov eax, dword [0x5e6468]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp + 8], 0
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
jne 0x462c41
push 0x5c353c
mov ecx, esi
call fcn.00426f30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
push str._server_tracking_data
push eax
lea edx, [ebp + 8]
push edx
call fcn.004272e0
add esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x462c76
push 0x5c353c
mov ecx, esi
call fcn.00426f30
jmp 0x462c8a
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.00427bb0
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x462cb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x464940
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0de2
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5e6468]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [edi], 0x5c6b30
mov dword [edi + 0x58], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 8]
push esi
mov dword [ebp - 4], ebx
push edi
mov dword [ebp - 0x10], 1
call fcn.00464d90
mov dword [ebp - 4], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
call fcn.00465a20
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x5f46b4]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, dword [ebp + 0xc]
push eax
mov byte [ebp - 4], 2
call fcn.00465300
test eax, eax
jne 0x464a30
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + edi + 8]
add ecx, edi
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0x464a29
or eax, 4
push ebx
push eax
call fcn.00429190
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x465a20
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a52b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5e6468]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.005932e6
push 4
mov dword [ebp - 4], 0
call fcn.0055e567
mov edi, eax
add esp, 4
test edi, edi
je 0x465a9c
call fcn.00592930
mov dword [edi], eax
call fcn.00592734
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.005925ad
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x465a92
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.005925d5
jmp 0x465a9e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x466230
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ecb0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x5e6468]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x14], esi
or ebx, 0xffffffff
nop
push 0x5c2f84
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.004272e0
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x5eab2c]
push ecx
push eax
lea edx, [ebp - 0x10]
push edx
call fcn.004272e0
add esp, 0x18
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4662ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
jne 0x4662c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jmp 0x4662ca
shr eax, 4
test al, 1
je 0x46631b
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4662ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, 8
jb 0x466260
mov esi, dword [ebp + 8]
push 0x5c353c
mov ecx, esi
call fcn.00426f30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00427bb0
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x466308
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x466830
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5eab40]
test eax, eax
jl 0x466863
xor ecx, ecx
test eax, eax
setne cl
mov al, cl
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
xor eax, eax
push esi
push 0x11c
push eax
lea edx, [ebp - 0x120]
push edx
mov dword [0x5eab40], 0
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
call fcn.0055e2a0
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call esi
test eax, eax
jne 0x4668ef
lea ecx, [ebp - 0x120]
push ecx
mov dword [ebp - 0x120], 0x114
call esi
test eax, eax
je 0x46693e
push str.GetNativeSystemInfo
push 0x5c36b0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46693e
lea edx, [ebp - 0x144]
push edx
call eax
mov eax, dword [ebp - 0x144]
cmp ax, 9
je 0x466925
cmp ax, 6
jne 0x46693e
mov eax, 1
mov dword [0x5eab40], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call fcn.0055e289
mov esp, ebp
pop ebp
ret

Function at 0x467220
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.0055e2a0
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
push ecx
push 0x5c353c
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_firefox.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x210], 0x208
mov dword [ebp - 0x214], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4672aa
cmp dword [ebp - 0x210], eax
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
call fcn.0055e289
mov esp, ebp
pop ebp
ret
Function at 0x4672c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a0cf6
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.0055e2a0
add esp, 0xc
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
push ecx
push str.WebProtection_360safe.com
push str.SOFTWAREMozillaFirefoxExtensions
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x224], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4673f3
cmp dword [ebp - 0x220], 1
jne 0x4673f3
lea edx, [ebp - 0x228]
push edx
call fcn.00434c10
push str.safemonwebprotection_firefox
push eax
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 4], 0
call fcn.004272e0
add esp, 0x10
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4673ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp - 0x21c]
lea ecx, [ebp - 0x218]
push ecx
push edx
call fcn.0055e1f6
add esp, 8
test eax, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4673ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
jmp 0x4673f5
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
Function at 0x467490
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ec78
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x467561
push eax
lea ecx, [ebp - 0x14]
call fcn.00426f30
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx - 0xc]
lea eax, [ecx - 1]
test eax, eax
jl 0x4675c7
cmp eax, ecx
jg 0x4675c7
movzx eax, word [edx + eax*2]
mov ecx, 0x5c
cmp cx, ax
lea ecx, [ebp - 0x14]
jne 0x467507
push 0x1d
push str.safemonwebprotection_firefox
jmp 0x46750e
push 0x1e
push str._safemonwebprotection_firefox
call fcn.00427cf0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea edx, [ecx + ecx]
push edx
push eax
push 1
push str.WebProtection_360safe.com
push str.SOFTWAREMozillaFirefoxExtensions
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x46757d
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x467561
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
push 4
lea ecx, [ebp - 0x18]
push ecx
push 4
push str.nptswp_status
push str.SOFTWARE360TotalSecurityFirefox
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], 1
call esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4675c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x467563
push 0x80070057
call fcn.00425c60
int3
Function at 0x467ae0
Capabilities:
Check if file exists
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ec3b
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.0055e2a0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
push str._appdata_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x424]
call fcn.00426f30
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x41e]
mov dword [ebp - 4], 0
push edx
mov word [ebp - 0x420], cx
call fcn.0055e2a0
add esp, 0xc
push 0x10
push str.MozillaFirefox
lea ecx, [ebp - 0x424]
call fcn.00427cf0
push str.profiles.ini
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x428]
push ecx
call fcn.004272e0
mov eax, dword [eax]
mov esi, dword [esi]
add esp, 0xc
push eax
push 0x104
lea edx, [ebp - 0x420]
push edx
push 0x5c353c
push str.Path
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
or esi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x467bee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x420]
push ecx
push 0x5c6ec0
lea edi, [ebp - 0x424]
call fcn.004594b0
mov edx, dword [ebp - 0x424]
add esp, 8
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x467c49
mov eax, edi
push eax
mov ecx, ebx
call fcn.004275f0
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x467c45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
jmp 0x467c6d
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x467c6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret
Function at 0x46a6e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor esi, esi
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
cmp eax, str.SOFTWARE360Safe_safemon
je 0x46a746
push 0x20019
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x10]
call fcn.00434a40
mov esi, dword [ebp - 0x10]
test eax, eax
jne 0x46a746
mov edx, dword [ebp + 8]
lea ecx, [ebp - 8]
push ecx
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push str.LockSearch
push esi
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46a746
cmp dword [ebp - 0xc], 4
jne 0x46a746
mov bl, 1
jmp 0x46a748
xor bl, bl
test esi, esi
je 0x46a753
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46a820
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
xor eax, eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
cmp eax, str.SOFTWARE360Safe_safemon
je 0x46a87a
push 0x20006
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0xc]
call fcn.00434a40
mov esi, dword [ebp - 0xc]
test eax, eax
jne 0x46a87a
mov ecx, dword [ebp + 8]
push 4
lea edx, [ebp - 4]
push edx
push 4
push eax
push str.LockSearch
push esi
mov dword [ebp - 4], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x46a87a
mov bl, 1
jmp 0x46a87c
xor bl, bl
test esi, esi
je 0x46a887
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret