joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49ffa1
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
lea esi, [ebx + 0x40]
mov dword [ebp - 8], edi
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], edi
jb 0x49ffc1
mov eax, dword [esi]
jmp 0x49ffc3
mov eax, esi
push 0x6cbf48
push eax
call fcn.0064806f
pop ecx
pop ecx
test eax, eax
jne 0x4a0012
lea eax, [ebx + 0x5c]
cmp dword [eax + 0x14], 8
jb 0x49ffdf
mov eax, dword [eax]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 8]
push ecx
push 0x20006
push edi
push eax
push SysReAllocString
call esi
lea eax, [ebp - 4]
push eax
push 0x20006
push edi
push 0x6cbf58
push SysReAllocString
call esi
jmp 0x4a00b8
cmp dword [esi + 0x14], 8
jb 0x4a001a
mov esi, dword [esi]
push 0x6cbfe8
push esi
call fcn.0064806f
pop ecx
pop ecx
test eax, eax
jne 0x4a00b8
push 0x6cbff4
call fcn.00647fd1
pop ecx
push eax
push edi
lea esi, [ebx + 0x5c]
push 0x6cbff4
mov ecx, esi
call fcn.0042c956
cmp eax, 0xffffffff
je 0x4a0082
cmp dword [esi + 0x14], 8
jb 0x4a0058
mov esi, dword [esi]
lea eax, [ebp - 8]
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push eax
push 0x20206
push edi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push ebx
call esi
lea eax, [ebp - 4]
push eax
push 0x20206
push edi
push 0x6cc010
jmp 0x4a00b2
cmp dword [esi + 0x14], 8
jb 0x4a008a
mov esi, dword [esi]
lea eax, [ebp - 8]
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push eax
push 0x20106
push edi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push ebx
call esi
lea eax, [ebp - 4]
push eax
push 0x20206
push edi
push 0x6cc0a8
push ebx
call esi
mov ebx, dword [ebp + 8]
cmp dword [ebp - 8], edi
je 0x4a00fe
lea esi, [ebx + 8]
cmp dword [esi + 0x14], 8
jb 0x4a00ca
mov eax, dword [esi]
jmp 0x4a00cc
mov eax, esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push eax
push dword [ebp - 8]
call ebx
push dword [ebp - 8]
neg eax
sbb edi, edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add edi, 1
je 0x4a00fe
cmp dword [ebp - 4], 0
je 0x4a010d
cmp dword [esi + 0x14], 8
jb 0x4a00f8
mov esi, dword [esi]
push esi
push dword [ebp - 4]
call ebx
cmp dword [ebp - 4], 0
je 0x4a010d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4a03c6
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
and dword [esi + 0x48], 0
mov dword [esi + 4], eax
sub eax, 1
je 0x4a0429
sub eax, 1
je 0x4a0407
sub eax, 1
jne 0x4a044e
push str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionRun
lea ecx, [esi + 0xc]
mov dword [esi + 8], reloc.OLEAUT32.dll_SysReAllocString
mov dword [esi + 0x44], 0x200
call fcn.004179fb
push 0x6cbdc0
jmp 0x4a0446
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea ecx, [esi + 0xc]
mov dword [esi + 8], reloc.OLEAUT32.dll_SysReAllocString
mov dword [esi + 0x44], 0x100
call fcn.004179fb
push 0x6cbeb8
jmp 0x4a0446
and dword [esi + 0x44], 0
lea ecx, [esi + 0xc]
push 0x6cbc58
mov dword [esi + 8], SysReAllocString
call fcn.004179fb
push 0x6cbcb8
lea ecx, [esi + 0x28]
call fcn.004179fb
pop esi
pop ebp
ret 4

Function at 0x4a0453
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x30]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor ebx, ebx
push edx
push 0x20106
push ebx
push eax
push ecx
mov dword [ebp - 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a0507
cmp dword [ebp + 0x14], ebx
jne 0x4a04d7
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x4a04fe
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x4a04fe
mov eax, dword [ebp - 0x38]
push 3
pop ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push 0xc
push eax
mov dword [ebp - 0x1c], ecx
push ecx
jmp 0x4a04ec
push 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 2
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
push 3
push ebx
push esi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4a16cc
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x22c
mov eax, 0x6936e7
call fcn.0056e23b
mov dword [ebp - 0x234], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push 0x20019
push eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x230], ecx
call fcn.00567b83
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4a17b7
push 0x100
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push ebx
jmp 0x4a17a1
push dword [ebp - 0x230]
mov ecx, dword [ebp - 0x234]
lea eax, [ebp - 0x210]
push eax
inc ebx
call fcn.004a1013
test al, al
je 0x4a1794
push 0x6cc7c0
lea ecx, [ebp - 0x22c]
call fcn.0041d41a
and dword [ebp - 4], 0
lea eax, [ebp - 0x22c]
push eax
push dword [edi]
mov ecx, edi
call fcn.00423fa8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.0041786a
lea eax, [ebp - 0x210]
push eax
mov eax, dword [edi]
push dword [ebp - 0x238]
push 0x6cc7c4
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0041ccda
add esp, 0x10
push 0x100
lea eax, [ebp - 0x210]
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4a1721
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [edi + 4], eax
setne al
call fcn.0056e1e5
ret 0xc
Function at 0x4a5101
Capabilities:
Inspect load icon resource

Disassembly:
push 0x54
mov eax, 0x694069
call fcn.0056e23b
mov ebx, ecx
and dword [ebp - 0x3c], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x6c
push 0
call edi
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push eax
call esi
push eax
push 0x6b
push 0
call edi
push eax
call esi
push eax
push 0xb
xor esi, esi
push esi
push 0x6cd890
call fcn.00582d3d
add esp, 0x14
test eax, eax
je 0x4a5275
push esi
push 9
push 0x1e
push 7
mov ecx, ebx
call fcn.00581c44
push 0x7c
call fcn.0056def4
pop ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x4a517b
mov ecx, eax
call fcn.005823c6
mov edi, eax
mov dword [ebp - 0x40], edi
jmp 0x4a5180
mov edi, esi
mov dword [ebp - 0x40], esi
or dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4a5268
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
call esi
xor eax, eax
inc eax
push eax
call esi
mov eax, dword [ebp + 8]
movaps xmm0, xmmword [0x6b4400]
mov dword [ebx + 0x1e8], eax
lea eax, [ebp - 0x38]
push eax
push 0xff
push 8
push 0x86ca0080
mov eax, 0xc8
mov dword [ebp - 0x28], 6
push eax
push eax
push 1
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 0x4d
call esi
sub eax, 0xc8
cdq
sub eax, edx
sar eax, 1
push eax
push 0
call esi
sub eax, 0xc8
xor esi, esi
cdq
mov ecx, edi
sub eax, edx
sar eax, 1
push eax
push 0x6cd8ac
push dword [0x796104]
push 0x6cd8b0
push esi
push ebx
call fcn.005824ed
test eax, eax
je 0x4a525d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x44]
mov dword [0x796108], eax
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x44]
push eax
mov ecx, ebx
call fcn.00580987
mov ecx, eax
call fcn.00582867
mov ecx, edi
call fcn.0067f1c7
mov ecx, dword [ebp - 0x3c]
xor edi, edi
inc edi
cmp eax, edi
cmove ecx, edi
mov dword [ebp - 0x3c], ecx
push edi
push esi
push esi
push esi
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x4a5248
mov edi, dword [ebp - 0x40]
mov edx, dword [edi]
xor eax, eax
inc eax
mov ecx, edi
push eax
call dword [edx + 0x1c]
push esi
push 0x6cd8cc
call fcn.00582e78
pop ecx
pop ecx
mov eax, dword [ebp - 0x3c]
call fcn.0056e1e5
ret 4
Function at 0x4a6b5c
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x20019
push str.HKEY_LOCAL_MACHINE_X64SOFTWAREClasses_shell
xor edi, edi
xor esi, esi
call fcn.00567b83
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 8], eax
pop ecx
pop ecx
test eax, eax
je 0x4a6bd3
and dword [ebp - 4], esi
lea ecx, [ebp - 4]
push ecx
push 0x2001f
push esi
push 0x6ce294
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
js 0x4a6bbb
cmp dword [ebp - 4], esi
je 0x4a6bbb
push 0x6ce328
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x6ce338
push dword [ebp - 8]
call ebx
push dword [ebp - 8]
neg eax
sbb edi, edi
inc edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x20019
push str.HKEY_LOCAL_MACHINE_X64SOFTWAREClassesDirectory_shell
call fcn.00567b83
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4a6c3c
and dword [ebp - 4], esi
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push 0x6ce36c
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
js 0x4a6c24
cmp dword [ebp - 4], esi
je 0x4a6c24
push 0x6ce410
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x6ce420
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
neg eax
push ebx
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x4a6c51
test esi, esi
je 0x4a6c51
push 0
call fcn.004a6f46
xor eax, eax
pop ecx
inc eax
jmp 0x4a6c53
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a8701
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0x230
mov eax, 0x69447d
call fcn.0056e23b
push 0x20019
push str.HKEY_LOCAL_MACHINE_X64SOFTWAREClassesCLSID645FF040_5081_101B_9F08_00AA002F954E_shell
call fcn.00567b83
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4a88cf
lea ecx, [ebp - 0x22c]
call fcn.004173bc
and dword [ebp - 4], 0
lea eax, [ebp - 0x210]
push 0x100
xor ebx, ebx
push eax
push ebx
jmp 0x4a88aa
and dword [ebp - 0x23c], 0
lea eax, [ebp - 0x210]
and dword [ebp - 0x234], 0
push eax
lea eax, [ebp - 0x22c]
push str._scommand
push eax
call fcn.0041ccda
add esp, 0xc
lea ecx, [ebp - 0x234]
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push ecx
push 0x2001f
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4a889c
xor ecx, ecx
lea eax, [ebp - 0x230]
push eax
push ecx
lea eax, [ebp - 0x238]
mov dword [ebp - 0x230], ecx
push eax
push ecx
push ecx
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x238], 1
jne 0x4a8876
mov eax, dword [ebp - 0x230]
test eax, eax
je 0x4a8876
add eax, 2
push eax
call fcn.0056e306
mov edi, eax
pop ecx
test edi, edi
je 0x4a8876
lea eax, [ebp - 0x230]
push eax
push edi
lea eax, [ebp - 0x238]
push eax
push 0
push 0
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a886c
mov eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x22c]
push edi
mov byte [edi + eax], 0
mov eax, dword [ebp - 0x230]
mov byte [edi + eax + 1], 0
call fcn.004179fb
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
push 0x6ce724
cmovae eax, dword [ebp - 0x228]
push eax
call fcn.00562ca3
pop ecx
pop ecx
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [ebp - 0x23c], ecx
push 1
push edi
call fcn.0056df27
pop ecx
pop ecx
push dword [ebp - 0x234]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x23c], 0
je 0x4a889c
lea eax, [ebp - 0x210]
push eax
call fcn.004a9846
pop ecx
test eax, eax
jne 0x4a889d
inc ebx
push 0x100
lea eax, [ebp - 0x210]
push eax
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4a874e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.0041786a
call fcn.0056e1e5
ret
Function at 0x4a8b88
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.00435f37
xor eax, eax
push eax
push eax
push esi
push 0x4aa592
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x8a0], eax
pop esi
ret
Function at 0x4a971e
Capabilities:
Delete registry key

Disassembly:
push 0x40
mov eax, 0x694603
call fcn.0056e23b
mov ecx, dword [ebp + 8]
xor ebx, ebx
test ecx, ecx
mov edx, str.PrivacyEraser_Open
mov eax, str.PrivacyEraser_SecureErase
lea ecx, [ebp - 0x48]
cmove eax, edx
mov esi, ebx
push eax
call fcn.0041d41a
mov dword [ebp - 4], ebx
push 0x20019
push str.HKEY_LOCAL_MACHINE_X64SOFTWAREClassesCLSID
call fcn.00567b83
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4a9832
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x4c], ebx
call fcn.004173bc
mov byte [ebp - 4], 1
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
cmovae eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push str.645FF040_5081_101B_9F08_00AA002F954E_shell_s
push eax
call fcn.0041ccda
add esp, 0xc
lea ecx, [ebp - 0x4c]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push 0x2001f
push ebx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
js 0x4a97d2
cmp dword [ebp - 0x4c], esi
je 0x4a97d2
push str.Command
push dword [ebp - 0x4c]
call ebx
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.645FF040_5081_101B_9F08_00AA002F954E_shell
lea ecx, [ebp - 0x2c]
call fcn.004179fb
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x4c]
push ecx
push 0x2001f
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
js 0x4a9826
cmp dword [ebp - 0x4c], 0
je 0x4a9826
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
push dword [ebp - 0x4c]
call ebx
push dword [ebp - 0x4c]
neg eax
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0041786a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0041786a
mov eax, esi
call fcn.0056e1e5
ret
Function at 0x4a9846
Capabilities:
Delete registry key

Disassembly:
push 0x24
mov eax, 0x690f1b
call fcn.0056e23b
mov ebx, dword [ebp + 8]
xor esi, esi
push 0x20019
push 0x6ce740
call fcn.00567b83
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4a9927
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], esi
call fcn.004173bc
mov dword [ebp - 4], esi
lea eax, [ebp - 0x2c]
push ebx
push 0x6ce7d0
push eax
call fcn.0041ccda
add esp, 0xc
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push 0x2001f
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
js 0x4a98cf
cmp dword [ebp - 0x30], esi
je 0x4a98cf
push 0x6ce830
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x6ce840
lea ecx, [ebp - 0x2c]
call fcn.004179fb
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x30]
push ecx
push 0x2001f
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
js 0x4a991b
cmp dword [ebp - 0x30], 0
je 0x4a991b
push ebx
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push dword [ebp - 0x30]
neg eax
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041786a
mov eax, esi
call fcn.0056e1e5
ret
Function at 0x4a9c19
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, 0x11c
lea eax, [ebp - 0x120]
push edi
push 0
push eax
mov esi, ecx
call fcn.00644240
add esp, 0xc
mov dword [ebp - 0x120], edi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
mov ecx, esi
jb 0x4a9c6c
call fcn.004a9c81
jmp 0x4a9c71
call fcn.004aa2a6
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret
Function at 0x4aac1c
Capabilities:
Check os version
Empty the recycle bin

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, 0x11c
lea eax, [ebp - 0x120]
push edi
push 0
push eax
mov esi, ecx
call fcn.00644240
add esp, 0xc
mov dword [ebp - 0x120], edi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x11c], 6
mov ecx, esi
jb 0x4aac6f
call fcn.004aac98
jmp 0x4aac74
call fcn.004ab320
mov esi, eax
test esi, esi
je 0x4aac86
push 7
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHEmptyRecycleBinW]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret
Function at 0x4b0abc
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x704f50
push 1
push esi
mov edi, ecx
mov dword [ebp - 4], esi
push 0x704f40
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4b0c1e
push ebx
lea ebx, [edi + 0x70]
cmp dword [ebx + 0x14], 8
jb 0x4b0afe
mov edx, dword [ebx]
jmp 0x4b0b00
mov edx, ebx
mov eax, dword [ebp - 4]
add edi, 0x10
push edi
push 0x704f60
push 0x704f30
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
js 0x4b0b30
mov eax, dword [edi]
lea edx, [ebp - 8]
push edx
push 0x700ac4
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x4b0b35
mov eax, dword [ebp - 4]
jmp 0x4b0b54
mov eax, dword [ebp - 8]
push 1
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
jns 0x4b0b59
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
mov dword [ebp - 4], esi
mov ecx, dword [eax]
push eax
jmp 0x4b0b87
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebx + 0x14], 8
mov dword [ebp - 8], esi
jb 0x4b0b6d
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
push edi
push 0x704f60
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
jns 0x4b0b8f
call dword [ecx + 8]
jmp 0x4b0c1d
call dword [ecx + 8]
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 4], esi
lea edx, [ebx + 0xa8]
cmp dword [edx + 0x14], 8
jb 0x4b0ba6
mov edx, dword [edx]
mov eax, dword [edi]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
test eax, eax
js 0x4b0c0e
lea edx, [ebx + 0xc4]
cmp dword [edx + 0x14], 8
jb 0x4b0bc4
mov edx, dword [edx]
mov eax, dword [edi]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
test eax, eax
js 0x4b0c0e
mov ecx, dword [edi]
cmp dword [ebp + 8], esi
push 4
pop eax
mov edx, dword [ecx]
mov dword [ebp - 0xc], 0x2000
cmovne eax, dword [ebp - 0xc]
push eax
push ecx
call dword [edx + 0x70]
test eax, eax
js 0x4b0c0e
lea edx, [ebx + 0x8c]
cmp dword [edx + 0x14], 8
jb 0x4b0c00
mov edx, dword [edx]
mov eax, dword [edi]
push esi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x78]
test eax, eax
jns 0x4b0c1a
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [edi], esi
jmp 0x4b0c1d
xor esi, esi
inc esi
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4b1999
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, ecx
push edi
xor edi, edi
mov dword [ebp - 4], eax
cmp dword [eax + 0xc], edi
je 0x4b1a01
cmp dword [eax + 4], 1
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jne 0x4b19cd
push 0x6cf584
call esi
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
push ebx
call fcn.004b1a0a
jmp 0x4b19e0
push 0x6cf594
call esi
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
push ebx
call fcn.004b1ad0
cmp dword [ebx + 0x14], 8
mov edi, eax
jb 0x4b19ea
mov ebx, dword [ebx]
push ebx
call esi
test edi, edi
mov ecx, 0x6cf5a4
mov eax, 0x6cf59c
cmove eax, ecx
push eax
call esi
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x4b21f6
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x24
lea eax, [ebp - 0x144]
push 0
push eax
call fcn.00644240
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.00644240
add esp, 0x18
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x6cf8c0
push 0x6cf8d8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop esi
test eax, eax
je 0x4b226b
lea ecx, [ebp - 0x144]
push ecx
call eax
jmp 0x4b2278
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x11c], 6
mov ecx, dword [ebp - 4]
sbb eax, eax
xor ecx, ebp
inc eax
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret
Function at 0x4b26d0
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push 0x48
mov eax, 0x693191
call fcn.0056e23b
mov edi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x48]
mov esi, dword [ebp + 0xc]
and dword [ebp - 0x4c], 0
push ebx
call fcn.0041d41a
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push esi
call fcn.0041d41a
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 0
je 0x4b280b
cmp dword [edi + 4], 1
jne 0x4b2766
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov ecx, edi
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004b1cbe
test eax, eax
je 0x4b280b
mov ecx, dword [edi + 0x114]
add edi, 0x12c
push edi
push ebx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x34]
test eax, eax
js 0x4b280b
mov eax, dword [edi]
lea edx, [ebp - 0x4c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
jns 0x4b280b
and dword [ebp - 0x4c], 0
jmp 0x4b280b
and dword [ebp - 0x50], 0
lea eax, [ebp - 0x50]
push eax
push 0x704f50
push 1
push 0
push 0x704f40
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4b280b
mov eax, dword [ebp - 0x50]
add edi, 0x10
push edi
push 0x704f60
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
js 0x4b2802
mov eax, dword [edi]
lea edx, [ebp - 0x54]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
test eax, eax
js 0x4b27fe
mov eax, dword [ebp - 0x54]
sub eax, 0x41300
je 0x4b27f5
sub eax, 1
je 0x4b27ec
sub eax, 1
je 0x4b27da
sub eax, 1
je 0x4b27e3
sub eax, 1
je 0x4b27da
sub eax, 1
je 0x4b27fe
dec eax
sub eax, 1
jne 0x4b2802
mov dword [ebp - 0x4c], 1
jmp 0x4b2802
mov dword [ebp - 0x4c], 2
jmp 0x4b2802
mov dword [ebp - 0x4c], 4
jmp 0x4b2802
mov dword [ebp - 0x4c], 3
jmp 0x4b2802
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [ebp - 0x4c]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0041786a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0041786a
mov eax, esi
call fcn.0056e1e5
ret 8
Function at 0x4bea0c
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
call fcn.004be1d4
mov edx, dword [ebp + 8]
xor esi, esi
push esi
push 0x18
pop eax
push 7
pop ecx
cmp edx, 1
mov dword [edi + 8], edx
cmove eax, ecx
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4bea7d
cmp word [ebp - 0x20c], si
je 0x4bea68
lea eax, [ebp - 0x20c]
push eax
call fcn.00647fd1
pop ecx
mov esi, eax
push esi
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [edi + 0x10]
call fcn.004044d0
xor eax, eax
inc eax
jmp 0x4bea7f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret 4