joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46ea3c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46eb75
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x42ff5c]
call fcn.0043002c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x46eb4b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004300cc
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00405a90
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 0x46eb8c
call fcn.00405b48
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00430130
lea ecx, [ebp - 4]
mov edx, 0x46ebc8
mov eax, dword [ebp - 0xc]
call fcn.00430378
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00412814
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46eb2e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x46ebd4
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov ebx, eax
call ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x62c6d8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46eb35
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeLibrary
ret

Function at 0x46ec20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor ebx, ebx
mov bl, byte [esp + 4]
test bx, bx
je 0x46ec68
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46ec4b
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46ec5c
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x46ec68
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x473180
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
test bl, bl
je 0x4731a1
test edi, 0x40000
je 0x4731b7
test bl, bl
jne 0x473236
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x473236
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
mov al, byte [esp + 1]
or al, byte [esp + 2]
je 0x4731e9
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x4731fe
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x47320d
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
mov al, byte [esp]
and al, byte [esp + 1]
jne 0x47321d
cmp byte [esp + 2], 0
je 0x473236
cmp byte [esp + 2], 0
je 0x47322e
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x473236
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4734f0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x473516
mov eax, esp
push eax
push 0x4734b8
call sub.user32.dll_EnumWindows
jmp 0x473529
mov eax, esp
push eax
push 0x473498
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
call sub.user32.dll_EnumThreadWindows
mov al, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x4735b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x473604]
test si, 4
je 0x4735c8
or bl, 1
test si, 8
je 0x4735d2
or bl, 4
test si, 1
je 0x4735dc
or bl, 8
test si, 2
je 0x4735e6
or bl, 0x10
test si, 0x10
je 0x4735f0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4735ff
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x473608
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x473640]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x473621
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x473630
or bl, 4
test esi, 0x20000000
je 0x47363b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x47bb1c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x47bb2e
add esp, 0xfffffff0
call fcn.00404c1c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042cf74
mov eax, dword [0x63ecdc]
mov dword [eax + 4], ebx
mov dword [eax], 0x47bec0
mov eax, dword [0x63ece8]
mov dword [eax + 4], ebx
mov dword [eax], 0x47becc
mov eax, ebx
call fcn.0047bed8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x420c2c]
call fcn.00404874
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x420c2c]
call fcn.00404874
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x420c2c]
call fcn.00404874
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x420c2c]
call fcn.00404874
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x420c2c]
call fcn.00404874
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, 0x477188
push eax
push 0
push 0
mov eax, dword [0x63efd8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x430c8c]
call fcn.00432570
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x430c8c]
call fcn.00432570
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x430c8c]
call fcn.00432570
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0047c45c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47c2dc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47c2dc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47c2dc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47bc6b
call fcn.00404c74
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x47c0c0
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 0x47c26b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x47c24c
mov dl, 1
mov eax, dword [0x421298]
call fcn.00404874
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405820
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x47c23b
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.00464ca8
test al, al
je 0x47c22e
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, 0x47c27c
lea eax, [ebp - 0x254]
call fcn.0040dab8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47c22e
xor eax, eax
push ebp
push 0x47c227
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 0x47c2b4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47c210
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405a90
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 0x47c210
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405a90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c22e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x47c131
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.004261b4
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 0x47c272
lea eax, [ebp - 0x260]
call fcn.00405820
ret

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

Disassembly:
push ecx
mov eax, dword [0x645108]
cmp byte [eax + 0xad], 0
jne 0x47cc9d
cmp dword [0x645124], 0
jne 0x47cc5e
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x47cbe8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x645124], eax
cmp dword [0x645120], 0
jne 0x47cc79
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x645120], eax
cmp dword [0x645128], 0
jne 0x47cc9d
push esp
push 0
push 0
push 0x47cb8c
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x645128], eax
pop edx
ret
Function at 0x47d480
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x47d51f
cmp dword [ebx + 0x94], 0
jne 0x47d519
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x47d408
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x47d519
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 0x47d4df
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47d519
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.00423690
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47d4ee
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x47d738
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x645108]
cmp dword [eax + 0x30], 0
je 0x47d895
test bl, bl
jne 0x47d7e6
cmp dword [esi + 0x9c], 0
jne 0x47d7db
mov eax, esi
call fcn.00480114
push eax
push 0x47d664
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x47d7ac
mov eax, dword [0x645108]
call fcn.00480324
test al, al
je 0x47d7ac
mov eax, dword [0x64512c]
call fcn.00406e60
mov edi, eax
cmp edi, 0
jl 0x47d7ac
push 0
mov eax, dword [0x64512c]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x47d796
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x47d7db
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00423690
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x47d7bb
inc dword [esi + 0x9c]
jmp 0x47d895
cmp dword [esi + 0x9c], 0
jle 0x47d895
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x47d895
cmp dword [esi + 0x44], 0
je 0x47d841
mov eax, dword [0x645108]
call fcn.00480324
test al, al
je 0x47d841
mov eax, dword [0x64512c]
call fcn.00406e60
mov edi, eax
cmp edi, 0
jl 0x47d841
push 5
mov eax, dword [0x64512c]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x47d82b
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x47d870
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00423690
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x47d850
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x64512c
mov ecx, 1
mov edx, dword [0x47d644]
call fcn.00407034
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x47e394
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x47e3ec
mov eax, ebx
call fcn.00480324
test al, al
jne 0x47e3ec
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.00405910
mov eax, dword [esi]
call fcn.00405afc
test eax, eax
jne 0x47e3f9
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405874
jmp 0x47e3f9
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405874
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x47f8d8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x47f946
mov eax, esi
call fcn.0045f8c8
test al, al
je 0x47f946
mov eax, dword [ebx + 0x84]
call fcn.0045f528
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47f946
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x47f93a
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045f528
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004574f4
jmp 0x47f946
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0047f724
pop esi
pop ebx
ret

Function at 0x49d1b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x49d1de
mov eax, ebx
call fcn.0049dc64
cmp dword [ebx + 0x40], 0
je 0x49d1d7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x49d24f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x49d241
cmp dword [ebx + 8], 0
je 0x49d200
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 0x49d212
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x49d241
cmp dword [ebx + 8], 0
je 0x49d1f3
cmp eax, 3
je 0x49d225
dec eax
jne 0x49d1f3
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 0x49d1f3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x49d1f3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x49d26d
cmp dword [ebx + 0x14], 0xcc
je 0x49d26d
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.0049d278
pop ebx
ret
Function at 0x4ae944
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 0x4aeba4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4ae9a7
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004ae5ec
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.00411600
cmp al, 1
jne 0x4ae9a7
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004ae8b4
test al, al
je 0x4aeb33
cmp dword [ebp - 8], 0
jge 0x4ae9c5
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.004ae5ec
mov eax, dword [ebp - 0x210]
call fcn.00405afc
cmp ebx, eax
jge 0x4aea0f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004ae5ec
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x63f490]
and eax, 0xff
bt dword [edx], eax
jae 0x4aea0f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x278]
cmp eax, dword [ebp - 8]
jg 0x4aea23
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004ae920
cmp ebx, dword [ebp - 8]
je 0x4aeb25
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 0x4aea4f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc7
call fcn.00404aac
and eax, 0x7f
movzx eax, word [eax*2 + 0x62d614]
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 + 0x28c], 1
xor eax, eax
push ebp
push 0x4aeb12
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc7
call fcn.00404aac
and eax, 0x7f
movzx eax, word [eax*2 + 0x62d614]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0045f528
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc7
call fcn.00404aac
and eax, 0x7f
movzx eax, word [eax*2 + 0x62d614]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0045f528
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aeb19
mov eax, dword [ebp - 4]
mov byte [eax + 0x28c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x280], edx
jmp 0x4aeb86
cmp dword [ebp - 8], 0
jge 0x4aeb3e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004ae5ec
mov eax, dword [ebp - 0x218]
call fcn.00405afc
cmp eax, dword [ebp - 8]
jg 0x4aeb78
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004ae5ec
mov eax, dword [ebp - 0x21c]
call fcn.00405afc
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004ae920
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aebab
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00405844
ret
Function at 0x4b741c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
add edi, 0xfffffffc
push 0xcc0020
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
inc eax
push eax
mov eax, dword [edi]
call fcn.00438268
call fcn.00433af0
push eax
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
push 0
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp + 8]
sub eax, dword [edx - 8]
push eax
mov eax, dword [edi]
call fcn.00438268
call fcn.00433af0
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x14]
dec ebx
test ebx, ebx
jl 0x4b74ca
inc ebx
xor esi, esi
push 0xcc0020
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
mov eax, dword [edi]
call fcn.00438268
call fcn.00433af0
push eax
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
push 1
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add eax, esi
inc eax
push eax
mov eax, dword [edi]
call fcn.00438268
call fcn.00433af0
push eax
call sub.gdi32.dll_BitBlt
inc esi
dec ebx
jne 0x4b7483
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4ba938
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x10]
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 dword [ebp - 0x14], ecx
mov edi, eax
mov ebx, dword [ebp + 0xc]
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x28], eax
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
cmp esi, dword [ebp - 4]
jge 0x4ba96d
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x14]
call fcn.004ba790
mov dword [ebp - 0x18], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x15], al
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x1c]
mov eax, edi
call fcn.00561c24
test al, al
je 0x4baa5d
mov edx, dword [ebp - 0xc]
xor eax, eax
call fcn.0043a6a0
push eax
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0043a5dc
dec eax
pop edx
sub eax, edx
jl 0x4baa5d
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x24]
imul dword [ebp - 0x30]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x10]
xor eax, eax
call fcn.0043a6a0
push eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x28]
call fcn.0043a5dc
mov edi, eax
dec edi
pop eax
sub edi, eax
jl 0x4baa51
inc edi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
lea ecx, [eax + edx*4]
xor eax, eax
mov al, byte [ecx + 2]
xor edx, edx
mov dl, byte [ebp - 0x16]
sub eax, edx
mov esi, ebx
and esi, 0xff
imul esi
push ecx
mov ecx, 0x64
cdq
idiv ecx
pop ecx
sub byte [ecx + 2], al
xor eax, eax
mov al, byte [ecx + 1]
xor edx, edx
mov dl, byte [ebp - 0x17]
sub eax, edx
imul esi
push ecx
mov ecx, 0x64
cdq
idiv ecx
pop ecx
sub byte [ecx + 1], al
xor eax, eax
mov al, byte [ecx]
xor edx, edx
mov dl, byte [ebp - 0x18]
sub eax, edx
imul esi
mov esi, 0x64
cdq
idiv esi
sub byte [ecx], al
mov al, byte [ebp + 8]
mov byte [ecx + 3], al
inc dword [ebp - 0x2c]
dec edi
jne 0x4ba9e7
inc dword [ebp - 0x30]
dec dword [ebp - 0x34]
jne 0x4ba9b9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4d950c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x6453a4
test esi, esi
jne 0x4d9526
xor eax, eax
jmp 0x4d9628
cmp dword [ebp], 0
jne 0x4d9531
call fcn.004d949c
xor ebx, 0xffffffff
cmp edi, 8
jb 0x4d9601
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x4d953d
test edi, edi
jbe 0x4d9623
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x4d9605
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret