joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47ac70
Capabilities:
Check for time delay via gettickcount
Get number of processors
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov esi, dword [0x5695e0]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x47ae49
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0047278c
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00473a10
mov eax, dword [esi]
call fcn.0049a90c
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x47ace2
mov eax, dword [esi]
call fcn.0049a90c
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.0049a918
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x47ad06
mov eax, dword [esi]
call fcn.0049a918
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.0049a900
cmp eax, dword [ebp - 0x18]
jle 0x47ad1c
mov eax, dword [esi]
call fcn.0049a900
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.0049a8f4
cmp eax, dword [ebp - 0xc]
jle 0x47ad32
mov eax, dword [esi]
call fcn.0049a8f4
mov dword [ebp - 0xc], eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.00479390
push eax
call sub.user32.dll_SetWindowPos
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x47adf9
mov eax, ebx
call fcn.00404c60
cmp eax, 0x64
jge 0x47adf9
cmp dword [0x56525c], 0
je 0x47adf9
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call sub.user32.dll_SystemParametersInfoA
cmp dword [ebp - 8], 0
je 0x47adf9
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call sub.user32.dll_SystemParametersInfoA
cmp dword [ebp - 8], 0
je 0x47adbc
mov bl, 2
jmp 0x47add7
lea edx, [ebp - 0x20]
mov eax, dword [0x56e80c]
call fcn.0047e130
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x47add5
xor ebx, ebx
jmp 0x47add7
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x565364]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.00479390
push eax
call dword [0x56525c]
mov eax, dword [0x5693cc]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
call fcn.00476884
push 4
mov eax, dword [ebp - 4]
call fcn.00479390
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ae50
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x47e240
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x56960c]
cmp byte [eax + 0xc], 0
je 0x47e3ad
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47e3a6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x56e868], 0
jne 0x47e294
push 0x47e3b4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x47e3bc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56e868], eax
cmp dword [0x56538c], 0
jne 0x47e38f
push 0x47e3cc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x56538c], eax
cmp dword [0x56538c], 0
je 0x47e38f
push 0x47e3d8
mov eax, dword [0x56538c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56e86c], eax
push 0x47e3e8
mov eax, dword [0x56538c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56e870], eax
push 0x47e3fc
mov eax, dword [0x56538c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56e874], eax
push 0x47e414
mov eax, dword [0x56538c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56e878], eax
push 0x47e42c
mov eax, dword [0x56538c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56e87c], eax
push 0x47e440
mov eax, dword [0x56538c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56e880], eax
push 0x47e458
mov eax, dword [0x56538c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56e884], eax
push 0x47e470
mov eax, dword [0x56538c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56e888], eax
push 0x47e48c
mov eax, dword [0x56538c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56e88c], eax
push 0x47e498
mov eax, dword [0x56538c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x56e890], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e3ad
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x48df48
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404e50
xor eax, eax
push ebp
push 0x48e078
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x48e04b
xor eax, eax
push ebp
push 0x48e044
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404c60
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48e019
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x48e008
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404c60
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404e60
mov edx, dword [ebp - 0xc]
pop ecx
call fcn.00402c78
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e00f
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x569060]
mov dl, 1
mov eax, dword [0x4097dc]
call fcn.00410690
call fcn.004042f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e07f
lea eax, [ebp - 4]
call fcn.00404974
ret
Function at 0x48e088
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48e239
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405054
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x48e250
call fcn.00404cac
mov eax, ebx
call fcn.0042730c
mov edi, eax
dec edi
test edi, edi
jl 0x48e140
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004272e0
mov edx, dword [0x482240]
call fcn.00403cb0
test al, al
je 0x48e13c
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.004272e0
lea edx, [ebp - 0x14]
call fcn.0047275c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405054
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404d20
inc esi
dec edi
jne 0x48e0ee
mov al, byte [0x48e254]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x48e260
mov eax, dword [ebp - 0xc]
call fcn.00411b44
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404a0c
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0047275c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x48e250
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2fc]
call fcn.0047275c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x48e250
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x48e250
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x48e26c
call fcn.0040c4d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e240
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404998
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404998
lea eax, [ebp - 0x14]
call fcn.00404974
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404998
ret

Function at 0x493bc8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x493c18]
test si, 4
je 0x493bdc
or bl, 1
test si, 8
je 0x493be6
or bl, 4
test si, 1
je 0x493bf0
or bl, 8
test si, 2
je 0x493bfa
or bl, 0x10
test si, 0x10
je 0x493c04
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x493c13
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x493c1c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x493c54]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x493c35
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x493c44
or bl, 4
test esi, 0x20000000
je 0x493c4f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x49a6bc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x49a6ce
add esp, 0xfffffff0
call fcn.00403e88
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00426ce8
mov eax, dword [0x56910c]
mov dword [eax + 4], ebx
mov dword [eax], 0x49aa60
mov eax, dword [0x569120]
mov dword [eax + 4], ebx
mov dword [eax], 0x49aa6c
mov eax, ebx
call fcn.0049aa78
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41b230]
call fcn.00403af4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41b230]
call fcn.00403af4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41b230]
call fcn.00403af4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41b230]
call fcn.00403af4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41b230]
call fcn.00403af4
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x496ddc
push eax
push 0
push 0
mov eax, dword [0x56930c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42905c]
call fcn.0042a818
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42905c]
call fcn.0042a818
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42905c]
call fcn.0042a818
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0049af7c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49adfc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49adfc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x49adfc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x49a80b
call fcn.00403ee0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x49abe0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49ad8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x49ad6c
mov dl, 1
mov eax, dword [0x41b894]
call fcn.00403af4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404974
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x49ad5b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0047e5a0
test al, al
je 0x49ad4e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x49ad9c
lea eax, [ebp - 0x254]
call fcn.0040c438
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x49ad4e
xor eax, eax
push ebp
push 0x49ad47
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x49add4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x49ad30
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404bf4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x49ad30
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404bf4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ad4e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x49ac51
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00420528
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ad92
lea eax, [ebp - 0x260]
call fcn.00404974
ret

Function at 0x49b738
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x56e8dc]
cmp byte [eax + 0xa5], 0
jne 0x49b7a9
cmp dword [0x56e8f8], 0
jne 0x49b76a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x49b6f4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x56e8f8], eax
cmp dword [0x56e8f4], 0
jne 0x49b785
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x56e8f4], eax
cmp dword [0x56e8fc], 0
jne 0x49b7a9
push esp
push 0
push 0
push 0x49b698
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x56e8fc], eax
pop edx
ret
Function at 0x49be60
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x56e8dc]
cmp dword [eax + 0x30], 0
je 0x49bf0a
cmp dword [ebx + 0x94], 0
jne 0x49bf04
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x49bdf0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x49bf04
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 0x49beca
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x49bf04
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.0041dbb4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x49bed9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x49ca80
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 0x49cab5
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.00404a64
jmp 0x49cac2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004049c8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x49dc14
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x49dc55
mov eax, esi
call fcn.00479694
test al, al
je 0x49dc55
mov eax, dword [ebx + 0x84]
call fcn.00479390
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x49dc55
push 0
mov eax, dword [ebx + 0x84]
call fcn.00479390
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4a5534
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x56e910
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x4a5556
shr eax, 1
xor eax, 0xedb88320
jmp 0x4a5558
shr eax, 1
dec edx
jne 0x4a5544
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x4a553d
mov byte [0x56ed10], 1
pop esi
pop ebx
ret

Function at 0x4a5574
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x56ed10], 0
jne 0x4a558b
call fcn.004a5534
mov eax, edi
dec eax
test eax, eax
jl 0x4a55b4
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x56e910]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x4a5595
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4a7bd4
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 0x4a7c05
dec al
je 0x4a7c41
dec al
je 0x4a7c85
dec al
je 0x4a7cf0
jmp 0x4a7d7a
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x4a7d7a
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 0x4a7c15
jmp 0x4a7d7a
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4a7d7a
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 0x4a7c51
jmp 0x4a7d7a
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4a7d7a
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 0x4a7cb3
xor ebp, ebp
jmp 0x4a7cc4
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 0x4a7ccd
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 0x4a7c95
jmp 0x4a7d7a
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x4a7d7a
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 0x4a7d48
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.004a55bc
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 0x4a7d04
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ae700
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404974
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4ae74f
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404bf4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4bab84
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4bad08
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebx + 0x276]
sub al, 2
jb 0x4baced
cmp byte [ebx + 0x268], 0
je 0x4baced
mov eax, dword [ebp - 4]
call fcn.004c184c
mov word [ebp - 6], ax
xor eax, eax
push ebp
push 0x4bace6
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [ebp - 6]
sub ax, 8
je 0x4bac2a
dec ax
je 0x4bac00
sub ax, 0x12
jne 0x4bac44
call fcn.0040439c
jmp 0x4baced
cmp byte [ebx + 0x269], 0
je 0x4baccc
mov eax, ebx
call fcn.00486bc8
test al, al
je 0x4baccc
xor edx, edx
mov eax, ebx
call fcn.00486bec
jmp 0x4baccc
mov eax, dword [esi]
call fcn.00405314
mov edx, eax
mov eax, esi
mov ecx, 1
call fcn.004054fc
jmp 0x4baccc
cmp byte [ebx + 0x269], 0
je 0x4bac61
mov eax, ebx
call fcn.00486bc8
test al, al
jne 0x4bac61
mov dl, 1
mov eax, ebx
call fcn.00486bec
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
sub eax, dword [edx]
cmp eax, 0x4e2
jb 0x4bac79
mov eax, esi
call fcn.004050b0
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov dword [edx], eax
push 0
push 1
lea eax, [ebp - 0x10]
mov dx, word [ebp - 6]
call fcn.004051d8
mov ecx, dword [ebp - 0x10]
mov edx, dword [esi]
lea eax, [ebp - 0xc]
call fcn.00405380
mov ecx, dword [ebp - 0xc]
mov edx, edi
mov eax, ebx
call fcn.004ba9b4
test al, al
je 0x4baccc
lea eax, [ebp - 0x14]
mov dx, word [ebp - 6]
call fcn.004051d8
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.00405320
mov word [ebp - 6], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4baced
mov eax, dword [ebp - 4]
mov dx, word [ebp - 6]
call fcn.004c1880
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bad0f
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004050c8
ret