joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ee3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
jne 0x401efd
xor esi, esi
jmp 0x401f2b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.00412b10
mov esi, esp
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [esi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 4], edi
jne 0x401f66
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x401f5f
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x401ffb
xor esi, esi
jmp 0x401ffb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x401f89
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jne 0x401f9c
xor esi, esi
jmp 0x401ff2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebx
mov dword [ebp + 8], edi
jne 0x401fae
jmp 0x401f79
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x401ff2
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov eax, dword [ebp + 8]
cmp byte [esi + eax], bl
je 0x401fe4
lea eax, [esi + 1]
add eax, 3
and al, 0xfc
call fcn.00412b10
lea eax, [esi + 1]
mov edi, esp
push eax
push dword [ebp + 8]
push edi
call fcn.00411f10
add esp, 0xc
mov byte [edi + esi], bl
push dword [ebp + 0x14]
lea ecx, [ebp - 0xc]
push edi
call fcn.00402062
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esp, [ebp - 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x402a71
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x41c1bc
call fcn.00411e88
sub esp, 0x114
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esi
push PostQuitMessage
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
mov dword [ebp - 4], esi
push dword [ebx]
call fcn.00402a33
mov edi, eax
cmp edi, esi
je 0x402abb
cmp dword [ebp - 0x10], esi
je 0x402ab4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x402b58
lea eax, [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x402b2c
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x10]
push eax
call fcn.00402a71
cmp eax, esi
mov dword [ebp - 0x18], eax
jne 0x402b19
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
push eax
push esi
push dword [ebp - 0x10]
jmp 0x402ade
cmp dword [ebp - 0x10], esi
je 0x402b27
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
jmp 0x402b58
cmp dword [ebp - 0x10], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x402b3f
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 0x10], esi
mov ebx, eax
je 0x402b56
push dword [ebp - 0x10]
call edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x402b69
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.00412b10
push ebx
push esi
lea eax, [ebp - 0x2014]
push edi
mov esi, ecx
push eax
mov dword [ebp - 0x14], esi
call fcn.004021bb
xor edi, edi
cmp eax, edi
jl 0x402d21
lea eax, [ebp - 0xa]
push eax
lea eax, [ebp - 0x2014]
push eax
call fcn.00402d2e
pop ecx
test eax, eax
pop ecx
jne 0x402bb4
mov eax, 0x80020009
jmp 0x402d21
mov ecx, esi
call fcn.00402193
lea eax, [ebp - 0x1014]
mov ecx, esi
push eax
call fcn.004021bb
cmp eax, edi
jl 0x402d21
movzx eax, word [ebp - 0xa]
sub eax, 8
je 0x402ce9
sub eax, 9
je 0x402c4e
dec eax
dec eax
jne 0x402d10
lea eax, [ebp - 0x1014]
test eax, eax
jne 0x402bf9
xor ebx, ebx
jmp 0x402c2e
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00412b10
mov ebx, esp
push esi
push ebx
lea eax, [ebp - 0x1014]
push 0xffffffffffffffff
push eax
push edi
push edi
mov word [ebx], di
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push ebx
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov eax, dword [ebp - 0x10]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
jmp 0x402d01
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test al, 1
mov dword [ebp - 8], eax
jne 0x402c8a
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.00412b10
mov dword [ebp - 4], esp
push ebx
push edi
push dword [ebp - 4]
call fcn.004126a0
add esp, 0xc
cmp dword [ebp - 4], edi
jne 0x402c94
mov eax, 0x80004005
jmp 0x402d21
cmp dword [ebp - 8], 0
jle 0x402cce
mov ecx, dword [ebp - 4]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + ecx]
mov al, byte [ebp + edi - 0x1014]
push eax
call fcn.00402db5
pop ecx
mov ecx, edi
push 4
and ecx, 1
shl ecx, 2
mov edx, ecx
pop ecx
sub ecx, edx
shl al, cl
or byte [esi], al
inc edi
cmp edi, dword [ebp - 8]
jl 0x402c9a
mov eax, dword [ebp + 8]
push ebx
push dword [ebp - 4]
mov eax, dword [eax]
push 3
push 0
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor edi, edi
jmp 0x402d10
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x1014]
push eax
push 1
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.004021bb
cmp eax, edi
jl 0x402d21
xor eax, eax
lea esp, [ebp - 0x2020]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x409937
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
mov esi, ecx
push 1
xor ebx, ebx
cmp dword [esi + 0x24], ebx
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 4
je 0x409969
mov edi, dword [ebp + 8]
cmp edi, eax
jg 0x409969
cmp byte [edi + esi + 0x28], bl
jne 0x409971
mov dword [ebp - 8], ebx
jmp 0x409a31
mov eax, edi
shl eax, 4
lea eax, [eax + esi + 4]
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x409986
mov eax, 0x41d6b8
push eax
call fcn.004102fa
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [esp], 0x104
push eax
call sub.hccutils.DLL_GetCommonRegKey
pop ecx
lea eax, [ebp + 8]
pop ecx
push eax
push 0x20019
lea eax, [ebp - 0x114]
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x409a05
lea eax, [ebp - 0xc]
cmp edi, ebx
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
jne 0x4099d9
push str.HideModesCheckboxStatus1
jmp 0x4099de
push str.HideModesCheckboxStatus2
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x409a05
xor eax, eax
cmp dword [ebp - 4], ebx
setne al
cmp dword [ebp - 0x10], eax
je 0x409a05
call fcn.0041057d
push edi
mov ecx, esi
call fcn.0040932d
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + edi*4 + 0x30]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [esi + edi*4 + 0x38]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x14]
lea eax, [edi + 4]
shl eax, 4
add eax, esi
push eax
call fcn.0040a12c
mov ecx, dword [ebp + 0x18]
mov eax, dword [esi + edi*4 + 0x60]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x40d9e9
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0x10]
push ebx
push dword [ebp + 0xc]
call fcn.004126a0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0x67
push dword [ebp + 8]
call fcn.0040db86
push dword [ebp + 0x14]
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
push eax
push 0x6a
push dword [ebp + 8]
call fcn.0040db86
push dword [ebp + 0x14]
lea eax, [ebp - 0x108]
push esi
push eax
push 0x6b
push dword [ebp + 8]
call fcn.0040db86
add esp, 0x48
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
jne 0x40db7e
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push ebx
mov edi, eax
push ebx
push 3
push edi
call esi
mov dword [ebp + 8], eax
inc eax
push eax
call fcn.00411ea7
pop ecx
mov dword [ebp + 0x10], eax
push dword [ebp + 8]
push eax
push 3
push edi
call esi
cmp dword [ebp + 0x10], ebx
je 0x40db75
push dword [ebp + 0x10]
call fcn.00412470
test eax, eax
pop ecx
je 0x40db75
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.0040dbe9
push dword [ebp + 0x10]
mov byte [ebp + 0xb], al
call fcn.004115df
add esp, 0x18
cmp byte [ebp + 0xb], bl
jne 0x40db7e
push ebx
and edi, 0x3ff
push ebx
push 3
push edi
mov dword [ebp - 4], edi
call esi
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.00411ea7
pop ecx
mov dword [ebp + 0x10], eax
push edi
push eax
push 3
push dword [ebp - 4]
call esi
mov esi, dword [ebp + 0x10]
cmp esi, ebx
je 0x40db46
push esi
call fcn.00412470
test eax, eax
pop ecx
je 0x40db46
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push esi
call fcn.0040dbe9
add esp, 0x14
mov byte [ebp + 0xb], al
push esi
call fcn.004115df
cmp byte [ebp + 0xb], bl
pop ecx
jne 0x40db7e
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push 0x4214cc
call fcn.0040dbe9
add esp, 0x14
jmp 0x40db7e
push dword [ebp + 0x10]
call fcn.004115df
pop ecx
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40dbe9
Capabilities:
Copy file
Get common file path

Disassembly:
mov eax, 0x41c7d0
call fcn.00411e88
sub esp, 0x428
push ebx
push esi
push edi
xor ebx, ebx
push 3
lea eax, [ebp - 0x10]
push ebx
push eax
mov byte [ebp - 0xd], bl
call fcn.004126a0
mov esi, 0x100
lea eax, [ebp - 0x234]
push esi
push ebx
push eax
call fcn.004126a0
push esi
lea eax, [ebp - 0x434]
push ebx
push eax
call fcn.004126a0
push esi
lea eax, [ebp - 0x334]
push ebx
push eax
call fcn.004126a0
lea eax, [ebp - 0x334]
mov edi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.00413755
add esp, 0x44
lea eax, [ebp - 0x134]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov al, byte [ebp + 0x17]
push ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call fcn.004035ee
mov al, byte [ebp + 0x17]
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
mov byte [ebp - 0x30], al
call fcn.004035ee
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
call fcn.00412470
test eax, eax
pop ecx
mov esi, 0x4214d0
jbe 0x40dccf
lea eax, [ebp - 0x234]
push eax
call fcn.00412470
test eax, eax
pop ecx
jbe 0x40dccf
push edi
call fcn.00412470
pop ecx
push eax
push edi
lea ecx, [ebp - 0x30]
call fcn.004036d5
jmp 0x40dd0e
lea eax, [ebp - 0x134]
push eax
call fcn.00412470
pop ecx
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x30]
call fcn.004036d5
push esi
call fcn.00412470
pop ecx
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.0040a3e0
push edi
call fcn.00412470
pop ecx
push eax
push edi
lea ecx, [ebp - 0x30]
call fcn.0040a3e0
lea eax, [ebp - 0x134]
push eax
call fcn.00412470
pop ecx
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x20]
call fcn.004036d5
push esi
call fcn.00412470
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.0040a3e0
push dword [ebp + 0x14]
call fcn.00412470
pop ecx
push eax
lea ecx, [ebp - 0x20]
push dword [ebp + 0x14]
call fcn.0040a3e0
push dword [ebp + 8]
call fcn.00412470
pop ecx
push eax
lea ecx, [ebp - 0x20]
push dword [ebp + 8]
call fcn.0040a3e0
push dword [ebp + 0x18]
call fcn.00412470
pop ecx
push eax
lea ecx, [ebp - 0x20]
push dword [ebp + 0x18]
call fcn.0040a3e0
mov eax, dword [ebp - 0x1c]
mov edi, 0x41d6b8
cmp eax, ebx
jne 0x40dd89
mov eax, edi
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x40ddcf
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x40ddb7
mov eax, edi
cmp dword [ebp - 0x1c], ebx
je 0x40ddbf
mov edi, dword [ebp - 0x1c]
push 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
setne byte [ebp - 0xd]
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.004035ee
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x20]
call fcn.004035ee
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40ed22
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
push esi
push edi
mov esi, str.LaunchThis
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push 0x44
xor esi, esi
pop edi
lea eax, [ebp - 0x9c]
push edi
push esi
push eax
call fcn.004126a0
add esp, 0xc
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x9c], edi
mov edi, dword [ebp + 8]
push eax
lea eax, [ebp - 0x9c]
push eax
push esi
push esi
push 0x4000020
push esi
push esi
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40edd8
push 0x3c
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.004126a0
add esp, 0xc
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0x3c
mov dword [ebp - 0x54], 0x40
push eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x3c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x40edd3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1a0]
push str._s___CreateProcess_Failed_GetLastError___d__pExe_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x40eddb
mov esi, dword [ebp - 0x20]
jmp 0x40eddb
mov esi, dword [ebp - 0x1c]
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x40fe87
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
push esi
push edi
mov esi, 0x94
xor edi, edi
push esi
lea eax, [ebp - 0x98]
push edi
push eax
xor ebx, ebx
mov dword [ebp - 4], edi
call fcn.004126a0
add esp, 0xc
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], esi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x40fed5
cmp dword [ebp - 0x94], 5
jb 0x40ff45
cmp dword [ebp - 0x88], 1
jne 0x40fef0
cmp dword [ebp - 0x94], 4
jne 0x40fef0
cmp dword [ebp - 0x90], 0xa
jb 0x40ff54
cmp byte [ebp + 0x14], 0
jne 0x40ff42
cmp dword [0x427f60], edi
jne 0x40ff2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, edi
je 0x40ff20
push str.EnumDisplaySettingsExA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x427f60], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [0x427f60], edi
je 0x40ff9c
push 2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x427f60]
jmp 0x40ff9f
mov ebx, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
jmp 0x40ff9f
cmp dword [ebp + 0xc], 0xffffffff
jne 0x40ff45
push edi
push edi
push edi
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov ebx, eax
cmp ebx, edi
je 0x40ff9c
push 0xc
push ebx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esi + 0x68], eax
call edi
push 1
mov dword [esi + 0x6c], eax
call edi
push ebx
mov dword [esi + 0x70], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
push 1
pop eax
jmp 0x40ff9f
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40ffa4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
xor ebx, ebx
push 0x94
lea eax, [ebp - 0x94]
push ebx
push eax
call fcn.004126a0
add esp, 0xc
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x84], 2
jne 0x40fff8
cmp dword [ebp - 0x90], 5
jne 0x40fff8
cmp dword [ebp - 0x8c], ebx
jbe 0x40fff8
mov bl, 1
mov al, bl
pop ebx
leave
ret

Function at 0x4102fa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1bc
push esi
push edi
mov esi, str.IsHideModesChecked
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x94
xor edi, edi
push esi
lea eax, [ebp - 0xb8]
push edi
push eax
call fcn.004126a0
add esp, 0xc
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb8], esi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xa8], 1
je 0x4103d3
lea eax, [ebp - 0x1bc]
push 0x104
push eax
push dword [ebp + 8]
call sub.hccutils.DLL_GetHardwareKey
add esp, 0xc
test al, al
je 0x4103d3
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 0x20019
lea eax, [ebp - 0x1bc]
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4103d3
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.PruningMode
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4103ba
cmp dword [ebp - 0xc], edi
setne al
mov edi, eax
jmp 0x4103ca
push dword [ebp + 8]
call fcn.004104fb
test al, al
pop ecx
je 0x4103ca
push 1
pop edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x409122
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
add al, byte [eax]
add cl, ch
fiadd dword [eax]
add byte [eax], al
cmp eax, 0x4e0

Function at 0x409b75
Capabilities:
Encode data using xor

Disassembly:
and al, 0x28
xchg esp, eax
les edx, [eax + 0x2444c7d1]
sub al, 0xad
fisub dword [ecx + 0x302444c7]
xlatb

Function at 0x40b20a
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
int 0
loopne 0x40b25a
mov bh, 0x89
shr ecx, 0xfc
std
invalid
jl 0x40b1e7
xchg esp, eax
and al, 0x90
add byte [eax], al
add bh, al
inc esp
and al, 5
mov esp, 0x44c734fc
and al, 9
mov dl, 0xca
enter 0x6c8d, 0x24
or eax, 0xd2444c6
outsb dx, byte [esi]
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
add al, ah
dec esi
mov bh, 0xb6
dec esp
add al, 5
mov esi, eax
and esi, 4
mov edi, eax
and edi, 2
mov ebx, edi
xor ebx, 2
imul ebx, esi
or esi, 2
imul esi, edi
add esi, ebx
mov edi, eax
xor edi, 0x13168bd6
mov ebx, esi
and ebx, edi
xor edi, esi
lea esi, [edi + ebx*2]
xor esi, ecx
lea ecx, [esi*2 - 0x3168bd62]
add esi, 0x674ba14f
and ecx, 2
mov edi, ecx
and edi, esi
or ecx, esi
xor ecx, 1
add ecx, edi
mov byte [esp + eax + 5], cl
inc eax
or dword [esi], 4
jmp 0x40b356
mov eax, dword [0xde3a8103]
mov dword [esp + 0x29], 0x325230a6
mov dword [esp + 0x2d], 0x36a13452
mov dword [esp + 0x31], 0x2ab628ae
mov dword [esp + 0x35], 0x2e722cb5
mov dword [esp + 0x39], 0x227c20a7
mov dword [esp + 0x3d], 0x26b224b4
mov dword [esp + 0x41], 0x5a0458b0
mov dword [esp + 0x45], 0x5ec25c3d
mov dword [esp + 0x49], 0x52cc50cd
mov dword [esp + 0x4d], 0x56c0540e
mov dword [esp + 0x51], 0x4ad548c5
mov dword [esp + 0x55], 0x4ed34c2e
mov dword [esp + 0x59], 0x42de402c
mov dword [esp + 0x5d], 0x46204427
mov dword [esp + 0x61], 0x7a447823
mov dword [esp + 0x65], 0x7e7d7c41
nop
nop
add al, ah
dec esi
mov bh, 0xb6
jl 0x40b400
add eax, 0xcf038b8d
dec esi
Function at 0x40d522
Capabilities:
Encode data using xor

Disassembly:
imul dword [ecx - 0x72f59617]
sbb al, 0x77
mov esi, ebx
and esi, edx
add ebx, edx
add esi, esi
sub ebx, esi
add bl, 0xb8
mov edx, dword [ebp - 0x14]
mov byte [edx + ecx], bl
mov ebx, dword [ebp - 0x14]
inc ecx
add eax, 2
or dword [esi], 4
jmp 0x40d5c2
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ecx
add dl, 0xc5
xor dl, byte [edi + ecx]
add dl, 0xd8
mov byte [edi + ecx], dl
inc ecx
or dword [esi], 4
jmp 0x40d658
mov bh, 0xb6
xor al, 0x13
mov edi, ecx
and edi, 0x52
mov ebx, edx
xor ebx, edi
and edi, edx
xor ebx, 0xa69e9a9
lea ebx, [ebx + edi*2]
mov edi, ebx
and edi, esi
add ebx, esi
add edi, edi
sub ebx, edi
add bl, 0xb8
mov esi, dword [ebp - 0x14]
mov byte [esi + edx], bl
mov ebx, dword [ebp - 0x14]
inc edx
add ecx, 2
cmp edx, 0x2a
jne 0x40d654
movzx edx, word [ebx]
mov edi, dword [ebp - 0x28]
mov dword [esi], ecx
add al, 0xeb
jns 0x40d6fd
test edx, edx
je 0x40d6b8
mov ecx, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [eax]
add eax, 2
test dx, dx
jne 0x40d6a7
mov word [ecx], 0
add al, ah
dec esi
mov bh, 0xb7
add eax, 0x44844e
test ax, ax
je 0x40d6ef
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [ecx + edx], ax
mov dword [ecx + edx], eax
add al, ah
dec esi
mov bh, 0xb7
adc byte [eax - 0x7c], 0x44
add byte [ebx - 0x7a99fd3e], al
sal byte [ebp - 0x13], 1
shl dword [esi - 0x39], 1
add dword [eax], eax
add byte [ecx + 0x448318], ah
in eax, dx
add ecx, edx
mov word [ecx], 0
mov eax, dword [0x448318]
mov esi, dword [ebp - 0x24]
jne 0x40d6db
mov dword [esi], 0x80efeeed
xor ecx, ecx
nop
nop
nop
nop
nop
nop
mov edx, ecx
add dl, 0xc5
xor dl, byte [esi + ecx]
add dl, 0xd8
mov byte [esi + ecx], dl
inc ecx
cmp ecx, 4
jne 0x40d70d
push dword [esi]
push 0xffffffffffffffff
push edi
push dword [ebp - 0x10]
call eax
mov eax, dword [0x4428fc]
mov ecx, 0x14eb7128
xor ecx, dword [0x442900]
add eax, ecx
inc eax
jmp eax

Function at 0x417b7a
Capabilities:
Packed with generic packer

Disassembly:
add byte [ebp - 0x24], dh
mov ecx, dword [0x44965c]
test ecx, ecx
je 0x417bcb
mov edx, dword [esi]
xor eax, esi
loopne 0x417bdb
mov bh, 0x8b
sbb eax, 0x449660
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [esi + ecx], 0xb07beb04
inc ebx
cmp dword [edx], 0x744d50de
pop es
inc edi
cmp dword [esi], ecx
dec ebx
add al, byte [eax]
add esp, 0x14
mov eax, dword [esi + 0x34]
mov eax, dword [eax + 4]
popal
pushal