joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46a85c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x46a878
cmp dword [esi + 4], 0
je 0x46a8a5
test byte [ebx + 0x55], 1
jne 0x46a897
mov eax, ebx
call fcn.004693fc
test eax, eax
jne 0x46a897
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x46a9b5
mov edx, esi
mov eax, ebx
call fcn.0046a380
jmp 0x46a9b5
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x46a9ae
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0046c6cc
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00466f84
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0046a85c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0046c6cc
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a9b5
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46dd44
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 [0x5a6ebc]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x46df1d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00465e00
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00467028
mov eax, dword [esi]
call fcn.00484124
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x46ddb6
mov eax, dword [esi]
call fcn.00484124
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.00484130
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x46ddda
mov eax, dword [esi]
call fcn.00484130
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.00484118
cmp eax, dword [ebp - 0x18]
jle 0x46ddf0
mov eax, dword [esi]
call fcn.00484118
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.0048410c
cmp eax, dword [ebp - 0xc]
jle 0x46de06
mov eax, dword [esi]
call fcn.0048410c
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.0046c6cc
push eax
call sub.user32.dll_SetWindowPos
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x46decd
mov eax, ebx
call fcn.00405080
cmp eax, 0x64
jge 0x46decd
cmp dword [0x5a1ea4], 0
je 0x46decd
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call sub.user32.dll_SystemParametersInfoA
cmp dword [ebp - 8], 0
je 0x46decd
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call sub.user32.dll_SystemParametersInfoA
cmp dword [ebp - 8], 0
je 0x46de90
mov bl, 2
jmp 0x46deab
lea edx, [ebp - 0x20]
mov eax, dword [0x5a7b54]
call fcn.00470fdc
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x46dea9
xor ebx, ebx
jmp 0x46deab
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x5a1fac]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.0046c6cc
push eax
call dword [0x5a1ea4]
mov eax, dword [0x5a6cc8]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
call fcn.00469e00
push 4
mov eax, dword [ebp - 4]
call fcn.0046c6cc
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 0x46df24
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x4710ec
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x5a6ef4]
cmp byte [eax + 0xc], 0
je 0x471259
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x471252
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5a7ba8], 0
jne 0x471140
push 0x471260
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x471268
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5a7ba8], eax
cmp dword [0x5a1fd4], 0
jne 0x47123b
push 0x471278
call sub.kernel32.dll_LoadLibraryA
mov dword [0x5a1fd4], eax
cmp dword [0x5a1fd4], 0
je 0x47123b
push 0x471284
mov eax, dword [0x5a1fd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5a7bac], eax
push 0x471294
mov eax, dword [0x5a1fd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5a7bb0], eax
push 0x4712a8
mov eax, dword [0x5a1fd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5a7bb4], eax
push 0x4712c0
mov eax, dword [0x5a1fd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5a7bb8], eax
push 0x4712d8
mov eax, dword [0x5a1fd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5a7bbc], eax
push 0x4712ec
mov eax, dword [0x5a1fd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5a7bc0], eax
push 0x471304
mov eax, dword [0x5a1fd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5a7bc4], eax
push 0x47131c
mov eax, dword [0x5a1fd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5a7bc8], eax
push 0x471338
mov eax, dword [0x5a1fd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5a7bcc], eax
push 0x471344
mov eax, dword [0x5a1fd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5a7bd0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471259
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x475dcc
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.00404dc0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x475e1b
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.00405030
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47d784
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x47d7d4]
test si, 4
je 0x47d798
or bl, 1
test si, 8
je 0x47d7a2
or bl, 4
test si, 1
je 0x47d7ac
or bl, 8
test si, 2
je 0x47d7b6
or bl, 0x10
test si, 0x10
je 0x47d7c0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47d7cf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x47d7d8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x47d810]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47d7f1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47d800
or bl, 4
test esi, 0x20000000
je 0x47d80b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x483ed4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x483ee6
add esp, 0xfffffff0
call fcn.004042ac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00424a38
mov eax, dword [0x5a6a10]
mov dword [eax + 4], ebx
mov dword [eax], 0x484278
mov eax, dword [0x5a6a1c]
mov dword [eax + 4], ebx
mov dword [eax], 0x484284
mov eax, ebx
call fcn.00484290
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4193c4]
call fcn.00403f04
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4193c4]
call fcn.00403f04
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4193c4]
call fcn.00403f04
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4193c4]
call fcn.00403f04
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4193c4]
call fcn.00403f04
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, 0x4806a8
push eax
push 0
push 0
mov eax, dword [0x5a6bf8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x426504]
call fcn.00427d0c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x426504]
call fcn.00427d0c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x426504]
call fcn.00427d0c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004846e0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4845a8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4845a8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4845a8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x484023
call fcn.00404304
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x48438c
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 0x484537
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x484518
mov dl, 1
mov eax, dword [0x419a28]
call fcn.00403f04
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404dc0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x484507
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.0047144c
test al, al
je 0x4844fa
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, 0x484548
lea eax, [ebp - 0x254]
call fcn.0040b4f0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4844fa
xor eax, eax
push ebp
push 0x4844f3
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 0x484580
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4844dc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405030
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 0x4844dc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405030
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4844fa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4843fd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041e418
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 0x48453e
lea eax, [ebp - 0x260]
call fcn.00404dc0
ret

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

Disassembly:
push ecx
mov eax, dword [0x5a7bf4]
cmp byte [eax + 0xa5], 0
jne 0x484ef1
cmp dword [0x5a7c0c], 0
jne 0x484eb2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x484e3c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5a7c0c], eax
cmp dword [0x5a7c08], 0
jne 0x484ecd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x5a7c08], eax
cmp dword [0x5a7c10], 0
jne 0x484ef1
push esp
push 0
push 0
push 0x484de0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5a7c10], eax
pop edx
ret
Function at 0x485584
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5a7bf4]
cmp dword [eax + 0x30], 0
je 0x48562e
cmp dword [ebx + 0x94], 0
jne 0x485628
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x485514
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x485628
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 0x4855ee
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x485628
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.0041bcf4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4855fd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x48618c
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 0x4861c1
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.00404eb0
jmp 0x4861ce
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404e14
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x487398
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4873d9
mov eax, esi
call fcn.0046c9d0
test al, al
je 0x4873d9
mov eax, dword [ebx + 0x84]
call fcn.0046c6cc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4873d9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0046c6cc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x48a648
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00428e3c
cmp ebx, dword [ebp - 8]
jge 0x48a6ab
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00429288
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00429288
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.004292b4
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x48a671
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x48a6b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00428e3c
cmp ebx, dword [ebp - 8]
jge 0x48a717
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00429288
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00429288
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.004292b4
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x48a6dd
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x491bec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x491e4c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x491c4f
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00491894
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040f094
cmp al, 1
jne 0x491c4f
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00491b5c
test al, al
je 0x491ddb
cmp dword [ebp - 8], 0
jge 0x491c6d
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00491894
mov eax, dword [ebp - 0x210]
call fcn.00405080
cmp ebx, eax
jge 0x491cb7
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00491894
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5a6ed0]
and eax, 0xff
bt dword [edx], eax
jae 0x491cb7
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x491ccb
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00491bc8
cmp ebx, dword [ebp - 8]
je 0x491dcd
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x491cf7
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040413c
and eax, 0x7f
movzx eax, word [eax*2 + 0x5a22f8]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x491dba
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040413c
and eax, 0x7f
movzx eax, word [eax*2 + 0x5a22f8]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0046c6cc
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.0040413c
and eax, 0x7f
movzx eax, word [eax*2 + 0x5a22f8]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0046c6cc
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491dc1
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x491e2e
cmp dword [ebp - 8], 0
jge 0x491de6
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00491894
mov eax, dword [ebp - 0x218]
call fcn.00405080
cmp eax, dword [ebp - 8]
jg 0x491e20
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00491894
mov eax, dword [ebp - 0x21c]
call fcn.00405080
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00491bc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x491e53
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404de4
ret
Function at 0x4b3870
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x4b388c
cmp dword [esi + 4], 0
je 0x4b38b9
test byte [ebx + 0x55], 1
jne 0x4b38ab
mov eax, ebx
call fcn.004693fc
test eax, eax
jne 0x4b38ab
mov edx, esi
mov eax, ebx
call fcn.0046e420
jmp 0x4b39ad
mov edx, esi
mov eax, ebx
call fcn.0046a380
jmp 0x4b39ad
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0xd4]
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x54]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4b39a6
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0046c6cc
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, eax
mov edx, 0x14
mov eax, ebx
call fcn.00466f84
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004b3870
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x54]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0046c6cc
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b39ad
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b47d4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
call fcn.004086dc
cmp ax, 0xffff
jne 0x4b47fe
mov eax, dword [ebp - 8]
neg eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shr eax, 4
and eax, 0xffff
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
and eax, 0xf
mov dword [ebp - 0x20], eax
push 6
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FindResourceA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4b48ce
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_LoadResource
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4b48ce
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
dec eax
test eax, eax
jl 0x4b4884
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax]
add eax, eax
add eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0x24]
dec dword [ebp - 0x2c]
jne 0x4b486b
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax]
mov dword [ebp - 0x10], eax
add dword [ebp - 0x1c], 2
cmp dword [ebp - 0xc], 0
je 0x4b48ce
cmp dword [ebp + 8], 0
jle 0x4b48ce
mov eax, dword [ebp + 8]
dec eax
mov edx, dword [ebp - 0x10]
call fcn.0042fbd4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x4b48c2
mov ecx, dword [ebp - 0x10]
add ecx, ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004086f0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov word [eax + edx*2], 0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4