joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406728
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 4
pop esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push eax
lea eax, [ebp - 0xc]
mov ebx, ecx
push eax
push 0x4806c8
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 1
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call edi
xor eax, eax
push 0x44b
cmp dword [ebp - 4], eax
push dword [ebx + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
setne al
mov dword [ebp - 0x10], eax
call ebx
push 0
push 0
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp - 0x10], eax
je 0x40679e
push 1
pop eax
jmp 0x4067f8
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.DefaultBrowserLock
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call edi
xor edi, edi
xor eax, eax
cmp dword [ebp - 4], edi
push 0x453
setne al
mov esi, eax
mov eax, dword [ebp - 0x14]
push dword [eax + 4]
call ebx
push edi
push edi
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
cmp esi, eax
setne cl
mov eax, ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4067fd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
call fcn.0040ce32
test eax, eax
je 0x40685c
call fcn.00405f51
test eax, eax
je 0x4068ea
push 1
lea eax, [ebp - 8]
pop edi
push 4
mov dword [ebp - 4], edi
pop esi
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x4806c8
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 4], 0
je 0x4068ea
mov eax, edi
jmp 0x4068f1
call fcn.00406467
test eax, eax
jne 0x40686e
call fcn.00405f51
test eax, eax
je 0x4068ea
push ebx
push 4
pop esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push eax
lea eax, [ebp - 8]
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push eax
push 0x4806c8
push str.SOFTWARE360Safe_safemon
push ebx
mov dword [ebp - 4], 1
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call edi
xor eax, eax
mov dword [ebp - 0xc], esi
cmp dword [ebp - 4], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], esi
setne al
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push str.DefaultBrowserLock
push str.SOFTWARE360Safe_safemon
push ebx
call edi
xor eax, eax
pop ebx
cmp dword [ebp - 4], eax
je 0x4068e5
cmp dword [ebp - 8], eax
je 0x4068ee
push 1
jmp 0x4068f0
cmp dword [ebp - 8], eax
jne 0x4068ee
push 3
jmp 0x4068f0
push 2
pop eax
pop edi
pop esi
leave
ret
Function at 0x406940
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 1
pop ebx
mov esi, ecx
push 4
mov dword [ebp - 8], esi
pop eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4806c8
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor edi, edi
cmp dword [ebp - 4], edi
je 0x4069a2
call fcn.00405f51
test eax, eax
je 0x4069a2
push 0x44b
push dword [esi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
call esi
push edi
push ebx
jmp 0x4069b4
push 0x44b
push dword [esi + 4]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
call esi
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, 0xf1
push ebx
push eax
call edi
push 4
mov dword [ebp - 4], 1
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push str.DefaultBrowserLock
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 4], 0
je 0x406a16
call fcn.00406467
test eax, eax
je 0x406a16
mov eax, dword [ebp - 8]
push 0x453
push dword [eax + 4]
call esi
push 0
push 1
jmp 0x406a27
mov eax, dword [ebp - 8]
push 0x453
push dword [eax + 4]
call esi
push 0
push 0
push ebx
push eax
call edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406d9f
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x46b9cc
call fcn.0045b030
sub esp, 0x18
push ebx
push esi
push edi
push 1
pop ebx
mov esi, ecx
push 4
mov dword [ebp - 0x14], ebx
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x4806c8
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor edi, edi
cmp dword [ebp - 0x14], edi
je 0x406df3
call fcn.00405f51
test eax, eax
je 0x406df3
mov edi, ebx
cmp dword [esi + 0x58], edi
je 0x406eaa
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x24]
push eax
mov dword [esi + 0x58], edi
call fcn.00408527
pop ecx
lea eax, [ebp - 0x10]
push eax
push 0x29cd
push 0x44d
push dword [esi + 4]
test edi, edi
je 0x406e65
call fcn.0042ef50
add esp, 0x10
cmp dword [ebp - 0x10], 0
je 0x406eaa
push 0xc3cd
lea ecx, [ebp - 0x1c]
call fcn.004028d8
mov eax, dword [eax]
push str.false
push str.rgb_23_121_53_
and dword [ebp - 4], 0
push dword [ebp - 0x24]
push eax
push dword [ebp - 0x10]
call fcn.00406eb9
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
jmp 0x406ea5
call fcn.0042ef50
add esp, 0x10
cmp dword [ebp - 0x10], 0
je 0x406eaa
push 0xc3c9
lea ecx, [ebp - 0x18]
call fcn.004028d8
mov eax, dword [eax]
push str.false
push str.rgb_237_28_36
mov dword [ebp - 4], ebx
push dword [ebp - 0x24]
push eax
push dword [ebp - 0x10]
call fcn.00406eb9
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00403037
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x406f45
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x46b9fc
call fcn.0045b030
sub esp, 0x18
push ebx
push esi
push edi
push 4
pop esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push eax
lea eax, [ebp - 0x1c]
mov edi, ecx
push eax
push str.DefaultBrowserLock
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
call ebx
xor eax, eax
cmp dword [ebp - 0x14], eax
setne al
cmp dword [edi + 0x5c], eax
je 0x407095
and dword [ebp - 0x10], 0
mov dword [edi + 0x5c], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00408527
pop ecx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push str.DefaultBrowserLock
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call ebx
xor esi, esi
cmp dword [ebp - 0x14], esi
je 0x40703c
call fcn.00406467
test eax, eax
je 0x40703c
lea eax, [ebp - 0x10]
push eax
push 0x29cd
push 0x45b
push dword [edi + 4]
call fcn.0042ef50
add esp, 0x10
cmp dword [ebp - 0x10], esi
je 0x407095
push 0xc3cd
lea ecx, [ebp - 0x1c]
call fcn.004028d8
mov eax, dword [eax]
push str.false
push str.rgb_23_121_53_
mov dword [ebp - 4], esi
push dword [ebp - 0x24]
push eax
push dword [ebp - 0x10]
call fcn.00406eb9
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
jmp 0x407090
lea eax, [ebp - 0x10]
push eax
push 0x29cd
push 0x45b
push dword [edi + 4]
call fcn.0042ef50
add esp, 0x10
cmp dword [ebp - 0x10], esi
je 0x407095
push 0xc3c9
lea ecx, [ebp - 0x18]
call fcn.004028d8
mov eax, dword [eax]
push str.false
push str.rgb_237_28_36
mov dword [ebp - 4], 1
push dword [ebp - 0x24]
push eax
push dword [ebp - 0x10]
call fcn.00406eb9
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00403037
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4070a4
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x46ba18
call fcn.0045b030
sub esp, 0x18
push ebx
push esi
lea eax, [ebp - 0x24]
push edi
xor ebx, ebx
mov edi, ecx
push eax
mov dword [ebp - 0x10], ebx
call fcn.00408527
pop ecx
push 1
pop esi
push 4
mov dword [ebp - 0x14], esi
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push str.BrowserPlugin
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x14], ebx
lea eax, [ebp - 0x10]
push eax
push 0x29cd
push 0x454
push dword [edi + 4]
je 0x40714c
call fcn.0042ef50
add esp, 0x10
cmp dword [ebp - 0x10], ebx
je 0x407190
push 0xc3cd
lea ecx, [ebp - 0x1c]
call fcn.004028d8
mov eax, dword [eax]
push str.false
push str.rgb_23_121_53_
mov dword [ebp - 4], ebx
push dword [ebp - 0x24]
push eax
push dword [ebp - 0x10]
call fcn.00406eb9
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
jmp 0x40718b
call fcn.0042ef50
add esp, 0x10
cmp dword [ebp - 0x10], ebx
je 0x407190
push 0xc3c9
lea ecx, [ebp - 0x18]
call fcn.004028d8
mov eax, dword [eax]
push str.false
push str.rgb_237_28_36
mov dword [ebp - 4], esi
push dword [ebp - 0x24]
push eax
push dword [ebp - 0x10]
call fcn.00406eb9
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00403037
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4071e1
Capabilities:
Set registry value

Disassembly:
mov eax, 0x46ba3c
call fcn.0045b030
sub esp, 0xc
push ebx
push esi
mov dword [ebp - 0x10], ecx
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x40721f
push 0xc427
lea ecx, [ebp - 0x10]
call fcn.004028d8
push dword [eax]
and dword [ebp - 4], 0
call fcn.00407385
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x10]
jmp 0x407273
push 0x43
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
pop ebx
cmp eax, ebx
je 0x407233
cmp eax, 2
jne 0x40727f
push 0xc427
lea ecx, [ebp - 0x14]
call fcn.004028d8
mov esi, dword [eax]
push 0xc3ba
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.004028d8
mov eax, dword [eax]
push esi
push eax
mov byte [ebp - 4], 2
call fcn.004074d5
pop ecx
mov byte [ebp - 4], bl
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00403037
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403037
xor eax, eax
jmp 0x407375
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004067fd
cmp eax, ebx
jne 0x4072d4
call fcn.0040ce32
mov ebx, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edi, str.SOFTWARE360Safe_safemon
test eax, eax
mov esi, reloc.OLEAUT32.dll_SysReAllocString
jne 0x4072ba
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push str.DefaultBrowserLock
push edi
push esi
call ebx
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push 0x4806c8
push edi
push esi
call ebx
jmp 0x407358
call fcn.0040ce32
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, 0x1411
test eax, eax
jne 0x4072fa
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
call fcn.004084aa
pop ecx
push ebx
push ebx
push edi
push eax
call esi
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
call fcn.004084aa
pop ecx
push ebx
push 2
push edi
push eax
call esi
call fcn.0040ce32
test eax, eax
mov edi, str.SOFTWARE360Safe_safemon
mov esi, reloc.OLEAUT32.dll_SysReAllocString
jne 0x407338
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push str.DefaultBrowserLock
push edi
push esi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x18]
push 4
push eax
push 4
push 0x4806c8
push edi
push esi
mov dword [ebp - 0x18], ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 0x10]
call fcn.00405e7a
mov ecx, dword [ebp - 0x10]
call fcn.00406a30
mov ecx, dword [ebp - 0x10]
push 0
call fcn.0040719f
mov ecx, dword [ebp - 0x10]
call fcn.00406940
xor eax, eax
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x40760a
Capabilities:
Set registry value

Disassembly:
mov eax, 0x46bad8
call fcn.0045b030
push ecx
push ebx
push esi
push edi
mov ebx, ecx
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x40764c
push 0xc427
lea ecx, [ebp + 0x14]
call fcn.004028d8
push dword [eax]
xor esi, esi
mov dword [ebp - 4], esi
call fcn.00407385
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp + 0x14]
call fcn.00403037
jmp 0x4076a8
push 0x43
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
pop esi
cmp eax, esi
je 0x407660
cmp eax, 2
jne 0x4076d3
push 0xc427
lea ecx, [ebp - 0x10]
call fcn.004028d8
mov dword [ebp - 4], esi
mov esi, dword [eax]
push 0xc3ba
lea ecx, [ebp + 0x14]
call fcn.004028d8
mov eax, dword [eax]
push esi
push eax
mov byte [ebp - 4], 2
call fcn.004074d5
pop ecx
mov byte [ebp - 4], 1
pop ecx
lea ecx, [ebp + 0x14]
call fcn.00403037
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403037
xor esi, esi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push esi
push 0xf0
push dword [ebp + 0x10]
call edi
test eax, eax
push esi
jne 0x4076c3
push 1
jmp 0x4076c4
push esi
push 0xf1
push dword [ebp + 0x10]
call edi
jmp 0x40776a
push 0x44b
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
push esi
push esi
push 0xf0
push eax
call edi
cmp eax, 1
jne 0x407757
call fcn.00405f51
test eax, eax
jne 0x407716
push dword [ebx + 4]
call fcn.004084aa
pop ecx
push 1
push 2
push 0x1411
push eax
call edi
call fcn.00405f51
test eax, eax
jne 0x407757
lea eax, [ebp + 0x10]
push 4
push eax
push 4
push 0x4806c8
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp + 0x10], esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x44b
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push esi
push 0xf1
push eax
call edi
mov ecx, ebx
call fcn.00406a30
mov ecx, ebx
call fcn.00406d9f
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x40782d
Capabilities:
Set registry value

Disassembly:
mov eax, 0x46bafc
call fcn.0045b030
push ecx
push ebx
push esi
push edi
mov ebx, ecx
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x40786f
push 0xc427
lea ecx, [ebp + 0x14]
call fcn.004028d8
push dword [eax]
xor esi, esi
mov dword [ebp - 4], esi
call fcn.00407385
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp + 0x14]
call fcn.00403037
jmp 0x4078cb
push 0x43
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
pop esi
cmp eax, esi
je 0x407883
cmp eax, 2
jne 0x4078f6
push 0xc427
lea ecx, [ebp - 0x10]
call fcn.004028d8
mov dword [ebp - 4], esi
mov esi, dword [eax]
push 0xc3ba
lea ecx, [ebp + 0x14]
call fcn.004028d8
mov eax, dword [eax]
push esi
push eax
mov byte [ebp - 4], 2
call fcn.004074d5
pop ecx
mov byte [ebp - 4], 1
pop ecx
lea ecx, [ebp + 0x14]
call fcn.00403037
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403037
xor esi, esi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push esi
push 0xf0
push dword [ebp + 0x10]
call edi
test eax, eax
push esi
jne 0x4078e6
push 1
jmp 0x4078e7
push esi
push 0xf1
push dword [ebp + 0x10]
call edi
jmp 0x40798d
push 0x453
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor esi, esi
push esi
push esi
push 0xf0
push eax
call edi
cmp eax, 1
jne 0x40797a
call fcn.00406467
test eax, eax
jne 0x407939
push dword [ebx + 4]
call fcn.004084aa
pop ecx
push 1
push 1
push 0x1411
push eax
call edi
call fcn.00406467
test eax, eax
jne 0x40797a
lea eax, [ebp + 0x10]
push 4
push eax
push 4
push str.DefaultBrowserLock
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp + 0x10], esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push 0x453
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push esi
push 0xf1
push eax
call edi
mov ecx, ebx
call fcn.00406a30
mov ecx, ebx
call fcn.00406f45
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x4079a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x12c]
mov ecx, esi
call fcn.00407f9a
mov dword [ebp - 0xc], eax
call fcn.00406018
xor ebx, ebx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 8], ebx
je 0x407a60
push dword [edi + 4]
call fcn.004084aa
pop ecx
push 1
pop ebx
push ebx
push ebx
push 0x1411
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.00406467
test eax, eax
je 0x407a2a
lea eax, [ebp + 0xc]
push 4
push eax
push 4
push str.DefaultBrowserLock
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp + 0xc], ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 8]
push eax
push 0x7d0
push ebx
push 0x168
push 0xa1
jmp 0x407a9a
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push 4
push eax
push 4
push str.DefaultBrowserLock
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
push dword [esi + 0x18]
call dword [sym.imp.USER32.dll_CallWindowProcW]
jmp 0x407aa8
lea eax, [ebp + 0xc]
push 4
push eax
push 4
push str.DefaultBrowserLock
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp + 0xc], ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [ebp - 4], ebx
je 0x407aa8
lea eax, [ebp - 8]
push eax
push 0x7d0
push 1
push 0x168
push 0xa2
push 0x41c
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
mov ecx, edi
call fcn.00406a30
mov ecx, edi
call fcn.00406f45
push 0
push 0x64
call fcn.004077e7
mov eax, dword [ebp - 0xc]
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x4096f9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call fcn.00406467
test eax, eax
je 0x409791
push ebx
push esi
push edi
push 4
pop esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push eax
lea eax, [ebp - 0xc]
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push eax
push str.IMEPRO
push str.SOFTWARE360Safe_safemon
push ebx
mov dword [ebp - 4], 1
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call edi
xor eax, eax
mov dword [ebp - 0xc], esi
cmp dword [ebp - 4], eax
mov dword [ebp - 4], 1
mov dword [ebp - 8], esi
setne al
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x480928
push str.SOFTWARE360Safe_safemon
push ebx
call edi
xor eax, eax
pop edi
cmp dword [ebp - 4], eax
pop esi
pop ebx
setne al
cmp dword [ebp - 0x10], 0
je 0x40978d
test eax, eax
je 0x409795
push 1
jmp 0x409797
test eax, eax
jne 0x409795
push 3
jmp 0x409797
push 2
pop eax
leave
ret
Function at 0x40a1d3
Capabilities:
Set registry value

Disassembly:
mov eax, 0x46bc7c
call fcn.0045b030
sub esp, 0xc
push ebx
push esi
mov dword [ebp - 0x10], ecx
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x40a211
push 0xc46c
lea ecx, [ebp - 0x10]
call fcn.004028d8
push dword [eax]
and dword [ebp - 4], 0
call fcn.00407385
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x10]
jmp 0x40a265
push 0x43
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
pop ebx
cmp eax, ebx
je 0x40a225
cmp eax, 2
jne 0x40a271
push 0xc46c
lea ecx, [ebp - 0x14]
call fcn.004028d8
mov esi, dword [eax]
push 0xc3ba
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.004028d8
mov eax, dword [eax]
push esi
push eax
mov byte [ebp - 4], 2
call fcn.004074d5
pop ecx
mov byte [ebp - 4], bl
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00403037
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00403037
xor eax, eax
jmp 0x40a31c
mov ecx, dword [ebp - 0x10]
push edi
call fcn.004096f9
cmp eax, ebx
jne 0x40a2bc
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push 4
push eax
push 4
mov edi, str.SOFTWARE360Safe_safemon
push str.IMEPRO
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push 4
push eax
push 4
push 0x480928
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x40a310
lea eax, [ebp - 0x14]
push 4
push eax
push 4
mov edi, str.SOFTWARE360Safe_safemon
push str.IMEPRO
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push edi
push esi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x18]
push 4
push eax
push 4
push 0x480928
push edi
push esi
mov dword [ebp - 0x18], ebx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
call fcn.004084aa
pop ecx
push ebx
push ebx
push 0x1411
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.004097c0
xor eax, eax
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x40b720
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.0040b773
test eax, eax
jne 0x40b734
push 3
pop eax
leave
ret
push 4
mov dword [ebp - 4], 1
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x480960
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov eax, dword [ebp - 4]
neg eax
sbb eax, eax
and al, 0xfe
add eax, 3
leave
ret
Function at 0x40b773
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push 0x43
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
pop edi
cmp eax, edi
je 0x40b7aa
cmp eax, 2
je 0x40b7aa
push 6
call fcn.00406171
cmp eax, 3
pop ecx
jne 0x40b7a3
mov eax, edi
jmp 0x40b834
push 4
pop esi
cmp eax, esi
jne 0x40b7b1
xor eax, eax
jmp 0x40b834
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x40b7ef
lea eax, [ebp - 0xc]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push str.FileMonAccess
push str.SOFTWARE360Safe_safemon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp dword [ebp - 8], eax
setne al
jmp 0x40b834
and dword [ebp - 4], 0
call fcn.00406018
test eax, eax
je 0x40b831
lea ecx, [ebp - 4]
push ecx
push 0xbb8
push edi
push 0x168
push 0x97
push 0x417
push eax
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x40b831
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x5b4
jne 0x40b831
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret