joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47a9e4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x566e1c]
cmp dword [eax + 0x30], 0
je 0x47aa8e
cmp dword [ebx + 0x94], 0
jne 0x47aa88
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x47a974
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x47aa88
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x47aa4e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47aa88
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0042117c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47aa5d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x47b5ec
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x47b621
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405354
jmp 0x47b62e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004052b8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x47c7f8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x47c839
mov eax, esi
call fcn.00461eb4
test al, al
je 0x47c839
mov eax, dword [ebx + 0x84]
call fcn.00461bb0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47c839
push 0
mov eax, dword [ebx + 0x84]
call fcn.00461bb0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x481dec
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00403a38
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x4824b4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41da08]
call fcn.00405ff0
xor eax, eax
push ebp
push 0x4825f8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x55ce10], 0
jne 0x482507
mov ecx, dword [0x5630ac]
mov dl, 1
mov eax, dword [0x40ba40]
call fcn.00411c5c
call fcn.00404bd8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403a38
mov eax, ebx
call fcn.00405c10
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x482608
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00407330
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405c20
test eax, eax
jle 0x48259f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x482598
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004054fc
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004054e4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040c9fc
test eax, eax
jne 0x482598
mov ebx, 0x15
jmp 0x4825a4
mov ebx, 0x10
jmp 0x4825a4
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x55ce10]
call fcn.004823b0
mov eax, dword [ebp - 8]
call fcn.004823b0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00407348
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4825ff
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00405288
lea eax, [ebp - 0x10]
mov edx, dword [0x41da08]
call fcn.004060c0
ret

Function at 0x4896e0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x48973a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5631b4]
cmp byte [eax], 0
je 0x48970a
push ebx
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
jmp 0x489724
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040549c
mov eax, dword [ebp - 4]
call fcn.00405734
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489741
lea eax, [ebp - 4]
call fcn.00405264
ret
Function at 0x4962fc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x496360
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004054e4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040d228
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496367
lea eax, [ebp - 0xc]
call fcn.00405264
ret

Function at 0x49640c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x496468
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x496437
call fcn.00413214
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.004031cc
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x496468
call fcn.00413214
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x498868
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4989e8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.00403a38
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x55d3c8], eax
mov eax, dword [ebp - 0xc]
mov dword [0x55d3cc], eax
mov eax, dword [ebp - 0x24]
mov dword [0x55d3d0], eax
mov eax, dword [0x5639dc]
cmp dword [eax], 2
sete byte [0x55cfa8]
push 0x4989f4
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.00498cc4
cmp byte [0x55cfa8], 0
jne 0x4988f4
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00498cf4
test al, al
je 0x4988f4
mov eax, dword [ebp - 0x4c]
mov dword [0x568368], eax
jmp 0x4988fb
xor eax, eax
mov dword [0x568368], eax
call fcn.00498700
and eax, 0x7f
cmp eax, 0xc
ja case.0x49890c.0
jmp dword [eax*4 + 0x498913]
mov byte [0x55cf94], 1
jmp case.0x49890c.0
mov byte [0x55cf98], 1
jmp case.0x49890c.0
mov byte [0x55cf9c], 1
jmp case.0x49890c.0
mov byte [0x55cfa0], 1
jmp case.0x49890c.0
mov byte [0x55cfa4], 1
jmp case.0x49890c.0
mov byte [0x55cfac], 1
mov byte [0x55cfb0], 1
jmp case.0x49890c.0
mov byte [0x55cfac], 1
mov byte [0x55cfb4], 1
jmp case.0x49890c.0
mov byte [0x55cfac], 1
mov byte [0x55cfb4], 1
mov byte [0x55cfb8], 1
jmp case.0x49890c.0
mov byte [0x55cfbc], 1
jmp case.0x49890c.0
mov byte [0x55cfc0], 1
jmp case.0x49890c.0
mov byte [0x55cfc4], 1
jmp case.0x49890c.0
mov byte [0x55cfc8], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4989ef
lea eax, [ebp - 4]
call fcn.00405264
ret
Function at 0x498cf4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x498d9b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00405734
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x498d85
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.004058c0
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00405734
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x498d85
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x498dac
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x498d85
cmp dword [ebp - 8], 0x34
jne 0x498d85
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498da2
lea eax, [ebp - 0x10]
call fcn.00405264
ret

Function at 0x499a64
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 6
setae al
add esp, 0x94
ret

Function at 0x499ac0
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
lea eax, [esp + 0x105]
push eax
push 0
push 0x499b04
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, ebx
lea eax, [esp + 0x105]
call fcn.0040db40
add esp, 0x20c
pop ebx
ret
Function at 0x499b08
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov eax, dword [0x5639dc]
cmp dword [eax], 2
je 0x499b21
mov byte [esp], 1
jmp 0x499bf6
mov byte [esp], 0
lea eax, [esp + 4]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
mov ebx, eax
test ebx, ebx
jne 0x499b5f
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3f0
jne 0x499b5f
lea eax, [esp + 4]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov ebx, eax
test ebx, ebx
je 0x499bf6
mov eax, 0x400
call fcn.00402ecc
mov esi, eax
lea eax, [esp + 8]
push eax
push 0x400
push esi
push 2
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_GetTokenInformation
mov ebx, eax
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
test ebx, ebx
je 0x499bef
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x55d3e8
call sub.advapi32.dll_AllocateAndInitializeSid
mov ebx, dword [esi]
dec ebx
test ebx, ebx
jl 0x499be5
inc ebx
xor edi, edi
mov eax, dword [esi + edi*8 + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x499be1
mov byte [esp], 1
jmp 0x499be5
inc edi
dec ebx
jne 0x499bc8
mov eax, dword [esp + 0xc]
push eax
call sub.advapi32.dll_FreeSid
mov eax, esi
call fcn.00402efc
mov al, byte [esp]
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x49a1c0
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffcf0
mov ebx, eax
mov eax, ebx
call fcn.004059bc
mov eax, dword [0x5631b4]
cmp byte [eax], 0
je 0x49a205
push 0x104
lea eax, [esp + 0x10a]
push eax
call sub.kernel32.dll_GetWindowsDirectoryW
test eax, eax
jbe 0x49a226
mov eax, ebx
lea edx, [esp + 0x106]
mov ecx, 0x105
call fcn.00405b78
jmp 0x49a226
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
test eax, eax
jbe 0x49a226
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00405b60
add esp, 0x310
pop ebx
ret

Function at 0x49a230
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffcf0
mov ebx, eax
mov eax, ebx
call fcn.004059bc
mov eax, dword [0x5631b4]
cmp byte [eax], 0
je 0x49a275
push 0x104
lea eax, [esp + 0x10a]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
test eax, eax
jbe 0x49a296
mov eax, ebx
lea edx, [esp + 0x106]
mov ecx, 0x105
call fcn.00405b78
jmp 0x49a296
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
jbe 0x49a296
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00405b60
add esp, 0x310
pop ebx
ret
Function at 0x49a2a0
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004059bc
push esp
push esi
mov eax, dword [0x56368c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x49a2e9
lea edx, [esp + 4]
mov eax, dword [esp]
call fcn.00489d04
test eax, eax
je 0x49a2e9
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00405b78
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x49a2f4
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffff7f8
push ebx
xor ecx, ecx
mov dword [ebp - 0x1808], ecx
mov ebx, edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.00405fd0
xor eax, eax
push ebp
push 0x49a3cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004059bc
mov eax, dword [0x5631b4]
cmp byte [eax], 0
je 0x49a36b
push 0x800
lea eax, [ebp - 0x1804]
push eax
mov eax, dword [ebp - 4]
call fcn.00405c10
push eax
call sub.kernel32.dll_GetEnvironmentVariableW
test eax, eax
jbe 0x49a3ac
mov eax, ebx
lea edx, [ebp - 0x1804]
mov ecx, 0x800
call fcn.00405b78
jmp 0x49a3ac
push 0x800
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x1808]
mov edx, dword [ebp - 4]
call fcn.004054fc
mov eax, dword [ebp - 0x1808]
call fcn.00405734
push eax
call sub.kernel32.dll_GetEnvironmentVariableA
test eax, eax
jbe 0x49a3ac
mov eax, ebx
lea edx, [ebp - 0x804]
mov ecx, 0x800
call fcn.00405b60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a3d4
lea eax, [ebp - 0x1808]
call fcn.00405264
lea eax, [ebp - 4]
call fcn.004059bc
ret
Function at 0x4a2bb0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x5688d4
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4a2bd2
shr eax, 1
xor eax, 0xedb88320
jmp 0x4a2bd4
shr eax, 1
dec edx
jne 0x4a2bc0
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4a2bb9
mov byte [0x568cd4], 1
pop esi
pop ebx
ret

Function at 0x4a2bf0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x568cd4], 0
jne 0x4a2c07
call fcn.004a2bb0
mov eax, edi
dec eax
test eax, eax
jl 0x4a2c30
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x5688d4]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4a2c11
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4a5aac
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4a5add
dec al
je 0x4a5b19
dec al
je 0x4a5b5d
dec al
je 0x4a5bc8
jmp 0x4a5c52
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4a5c52
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4a5aed
jmp 0x4a5c52
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4a5c52
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4a5b29
jmp 0x4a5c52
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4a5c52
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x4a5b8b
xor ebp, ebp
jmp 0x4a5b9c
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x4a5ba5
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4a5b6d
jmp 0x4a5c52
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4a5c52
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x4a5c20
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004a2c38
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x4a5bdc
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ac644
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4ac672
mov eax, ebx
call fcn.004ad0f8
cmp dword [ebx + 0x40], 0
je 0x4ac66b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4ac6e3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4ac6d5
cmp dword [ebx + 8], 0
je 0x4ac694
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4ac6a6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4ac6d5
cmp dword [ebx + 8], 0
je 0x4ac687
cmp eax, 3
je 0x4ac6b9
dec eax
jne 0x4ac687
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4ac687
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4ac687
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4ac701
cmp dword [ebx + 0x14], 0xcc
je 0x4ac701
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004ac70c
pop ebx
ret
Function at 0x4ca2c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov dl, 1
mov eax, dword [0x42c808]
call fcn.004330dc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4ca493
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x54]
cmp dword [eax + 8], 0
jle 0x4ca472
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.004345e8
mov eax, dword [ebp - 8]
call fcn.004336ac
mov eax, dword [eax + 0x14]
mov edx, esi
call fcn.0042dfc8
cmp byte [ebp + 8], 0
je 0x4ca35a
xor edx, edx
mov eax, ebx
call fcn.004c9248
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, ebx
call fcn.004c9248
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
mov eax, ebx
call fcn.004c9178
imul esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x4ca396
xor edx, edx
mov eax, ebx
call fcn.004c9248
mov edx, dword [eax]
call dword [edx + 0x2c]
mov esi, eax
mov eax, ebx
call fcn.004c9178
imul esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, ebx
call fcn.004c9248
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041fac8
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
call fcn.004336ac
pop edx
call fcn.0042e674
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0xc], eax
mov eax, ebx
call fcn.004c9178
dec eax
test eax, eax
jl 0x4ca44a
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004c911c
push 0
lea eax, [ebp - 0x20]
push eax
mov edx, esi
mov eax, ebx
call fcn.004c9274
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x20]
imul esi
xor edx, edx
mov dl, byte [ebp + 8]
imul edx
push eax
mov edx, esi
mov eax, ebx
call fcn.004c9274
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
imul esi
mov dl, byte [ebp + 8]
xor dl, 1
and edx, 0x7f
imul edx
xor ecx, ecx
pop edx
call fcn.0041faa0
mov eax, dword [ebp - 8]
call fcn.004336ac
mov edx, eax
lea ecx, [ebp - 0x20]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x14]
inc esi
dec dword [ebp - 0x10]
jne 0x4ca3e0
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004c911c
cmp byte [ebp + 0xc], 0
je 0x4ca472
movzx eax, word [ebx + 0x58]
mov edx, 0x10
call fcn.004359f0
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004c890c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca49a
mov eax, dword [ebp - 8]
call fcn.004043f8
ret
Function at 0x4e14d8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x238], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x24a], 0
jne 0x4e152d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x23a], 1
je 0x4e152d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x23a], 2
jne 0x4e151d
mov eax, dword [ebp - 4]
call fcn.004e0de0
test al, al
jne 0x4e152d
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24c], 0x64
jge 0x4e169f
mov eax, dword [ebp - 4]
call fcn.00461bb0
push eax
call sub.user32.dll_HideCaret
xor eax, eax
push ebp
push 0x4e1698
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00461bb0
push eax
call sub.user32.dll_GetDC
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4e1683
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4e165c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045add8
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.0045ad94
inc eax
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4e163e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SelectObject
mov ebx, eax
push 0
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0045fbb4
mov eax, dword [ebp - 4]
cmp byte [eax + 0x249], 0
je 0x4e15e2
mov eax, dword [ebp - 4]
call fcn.004e12fc
push 0xcc0020
push 1
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0045add8
push eax
mov eax, dword [ebp - 4]
call fcn.0045ad94
push eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x20c]
mov esi, dword [eax*4 + 0x56194c]
push esi
push esi
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_BitBlt
push ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SelectObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e1645
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov eax, dword [ebp - 4]
mov byte [eax + 0x238], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret