joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b6b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffedc
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.004081f0
lea edx, [esp + 0x11c]
call fcn.004092bc
lea edx, [esp + 0x11c]
mov ecx, esp
mov eax, esi
call fcn.00456300
test ebx, ebx
jne 0x45b6fc
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0045b5ec
mov ebx, eax
test ebx, ebx
je 0x45b7e7
cmp esi, ebx
je 0x45b725
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x10c], eax
jmp 0x45b73a
mov eax, dword [esp]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x10c], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x110], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x45b772
add eax, 0xffffff5f
sub eax, 2
jb 0x45b78a
dec eax
sub eax, 2
jb 0x45b79e
dec eax
sub eax, 2
jb 0x45b794
jmp 0x45b7a8
add eax, 0xfffffdff
sub eax, 2
jb 0x45b78a
dec eax
sub eax, 2
jb 0x45b79e
dec eax
sub eax, 2
jb 0x45b794
jmp 0x45b7a8
mov byte [esp + 0x114], 0
jmp 0x45b7b0
mov byte [esp + 0x114], 2
jmp 0x45b7b0
mov byte [esp + 0x114], 1
jmp 0x45b7b0
mov byte [esp + 0x114], 0
lea eax, [esp + 8]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 8]
call fcn.00472830
mov byte [esp + 0x115], al
lea eax, [esp + 0x108]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00457aa8
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x45b7e9
xor eax, eax
add esp, 0x124
pop edi
pop esi
pop ebx
ret
Function at 0x463b34
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x63d440]
cmp byte [eax + 0xc], 0
je 0x463ca1
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x463c9a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x6430b0], 0
jne 0x463b88
push 0x463ca8
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x463cb0
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6430b0], eax
cmp dword [0x62a53c], 0
jne 0x463c83
push 0x463cc0
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x62a53c], eax
cmp dword [0x62a53c], 0
je 0x463c83
push 0x463ccc
mov eax, dword [0x62a53c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6430b4], eax
push 0x463cdc
mov eax, dword [0x62a53c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6430b8], eax
push 0x463cf0
mov eax, dword [0x62a53c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6430bc], eax
push 0x463d08
mov eax, dword [0x62a53c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6430c0], eax
push 0x463d20
mov eax, dword [0x62a53c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6430c4], eax
push 0x463d34
mov eax, dword [0x62a53c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6430c8], eax
push 0x463d4c
mov eax, dword [0x62a53c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6430cc], eax
push 0x463d64
mov eax, dword [0x62a53c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6430d0], eax
push 0x463d80
mov eax, dword [0x62a53c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6430d4], eax
push 0x463d8c
mov eax, dword [0x62a53c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x6430d8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463ca1
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x468a70
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.00405964
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x468abf
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.00405bd4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46dc28
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 0x46dd61
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 [0x42fbe8]
call fcn.0042fcb8
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x46dd37
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0042fd58
lea eax, [ebp - 0x24]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00405bd4
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 0x46dd78
call fcn.00405c8c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.0042fdbc
lea ecx, [ebp - 4]
mov edx, 0x46ddb4
mov eax, dword [ebp - 0xc]
call fcn.00430004
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0041264c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46dd1a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x46ddc0
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 [0x62a680]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46dd21
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_FreeLibrary
ret

Function at 0x46de0c
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 0x46de54
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46de37
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46de48
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x46de54
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x47236c
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 0x47238d
test edi, 0x40000
je 0x4723a3
test bl, bl
jne 0x472422
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x472422
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 0x4723d5
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x4723ea
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x4723f9
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
mov al, byte [esp]
and al, byte [esp + 1]
jne 0x472409
cmp byte [esp + 2], 0
je 0x472422
cmp byte [esp + 2], 0
je 0x47241a
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x472422
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4726dc
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 0x472702
mov eax, esp
push eax
push 0x4726a4
call sub.user32.dll_EnumWindows
jmp 0x472715
mov eax, esp
push eax
push 0x472684
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 0x4727a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4727f0]
test si, 4
je 0x4727b4
or bl, 1
test si, 8
je 0x4727be
or bl, 4
test si, 1
je 0x4727c8
or bl, 8
test si, 2
je 0x4727d2
or bl, 0x10
test si, 0x10
je 0x4727dc
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4727eb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4727f4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x47282c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47280d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47281c
or bl, 4
test esi, 0x20000000
je 0x472827
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x47ad08
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x47ad1a
add esp, 0xfffffff0
call fcn.00404d80
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042ccc4
mov eax, dword [0x63cc64]
mov dword [eax + 4], ebx
mov dword [eax], 0x47b0ac
mov eax, dword [0x63cc70]
mov dword [eax + 4], ebx
mov dword [eax], 0x47b0b8
mov eax, ebx
call fcn.0047b0c4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x420a0c]
call fcn.004049d8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x420a0c]
call fcn.004049d8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x420a0c]
call fcn.004049d8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x420a0c]
call fcn.004049d8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x420a0c]
call fcn.004049d8
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, 0x476374
push eax
push 0
push 0
mov eax, dword [0x63cf5c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x430918]
call fcn.004321fc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x430918]
call fcn.004321fc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x430918]
call fcn.004321fc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0047b648
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47b4c8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47b4c8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47b4c8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47ae57
call fcn.00404dd8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x47b2ac
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 0x47b457
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x47b438
mov dl, 1
mov eax, dword [0x421078]
call fcn.004049d8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405964
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x47b427
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.00463e94
test al, al
je 0x47b41a
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, 0x47b468
lea eax, [ebp - 0x254]
call fcn.0040d8f0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47b41a
xor eax, eax
push ebp
push 0x47b413
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 0x47b4a0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47b3fc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405bd4
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 0x47b3fc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405bd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b41a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x47b31d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00425f94
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 0x47b45e
lea eax, [ebp - 0x260]
call fcn.00405964
ret

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

Disassembly:
push ecx
mov eax, dword [0x6430fc]
cmp byte [eax + 0xad], 0
jne 0x47be89
cmp dword [0x643118], 0
jne 0x47be4a
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x47bdd4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x643118], eax
cmp dword [0x643114], 0
jne 0x47be65
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x643114], eax
cmp dword [0x64311c], 0
jne 0x47be89
push esp
push 0
push 0
push 0x47bd78
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x64311c], eax
pop edx
ret
Function at 0x47c66c
Capabilities:
Enumerate gui resources

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

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x6430fc]
cmp dword [eax + 0x30], 0
je 0x47ca81
test bl, bl
jne 0x47c9d2
cmp dword [esi + 0x9c], 0
jne 0x47c9c7
mov eax, esi
call fcn.0047f300
push eax
push 0x47c850
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x47c998
mov eax, dword [0x6430fc]
call fcn.0047f510
test al, al
je 0x47c998
mov eax, dword [0x643120]
call fcn.00406fa4
mov edi, eax
cmp edi, 0
jl 0x47c998
push 0
mov eax, dword [0x643120]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x47c982
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x47c9c7
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00423470
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x47c9a7
inc dword [esi + 0x9c]
jmp 0x47ca81
cmp dword [esi + 0x9c], 0
jle 0x47ca81
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x47ca81
cmp dword [esi + 0x44], 0
je 0x47ca2d
mov eax, dword [0x6430fc]
call fcn.0047f510
test al, al
je 0x47ca2d
mov eax, dword [0x643120]
call fcn.00406fa4
mov edi, eax
cmp edi, 0
jl 0x47ca2d
push 5
mov eax, dword [0x643120]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x47ca17
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x47ca5c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00423470
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x47ca3c
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x643120
mov ecx, 1
mov edx, dword [0x47c830]
call fcn.00407178
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x47d580
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 0x47d5d8
mov eax, ebx
call fcn.0047f510
test al, al
jne 0x47d5d8
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.00405a54
mov eax, dword [esi]
call fcn.00405c40
test eax, eax
jne 0x47d5e5
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004059b8
jmp 0x47d5e5
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004059b8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x47eac4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x47eb32
mov eax, esi
call fcn.0045eab4
test al, al
je 0x47eb32
mov eax, dword [ebx + 0x84]
call fcn.0045e714
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47eb32
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x47eb26
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045e714
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004566e0
jmp 0x47eb32
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0047e910
pop esi
pop ebx
ret

Function at 0x49c39c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x49c3ca
mov eax, ebx
call fcn.0049ce50
cmp dword [ebx + 0x40], 0
je 0x49c3c3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x49c43b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x49c42d
cmp dword [ebx + 8], 0
je 0x49c3ec
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 0x49c3fe
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x49c42d
cmp dword [ebx + 8], 0
je 0x49c3df
cmp eax, 3
je 0x49c411
dec eax
jne 0x49c3df
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 0x49c3df
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x49c3df
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x49c459
cmp dword [ebx + 0x14], 0xcc
je 0x49c459
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.0049c464
pop ebx
ret
Function at 0x4adb30
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 0x4add90
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4adb93
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004ad7d8
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.00411438
cmp al, 1
jne 0x4adb93
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004adaa0
test al, al
je 0x4add1f
cmp dword [ebp - 8], 0
jge 0x4adbb1
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.004ad7d8
mov eax, dword [ebp - 0x210]
call fcn.00405c40
cmp ebx, eax
jge 0x4adbfb
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004ad7d8
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x63d40c]
and eax, 0xff
bt dword [edx], eax
jae 0x4adbfb
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x278]
cmp eax, dword [ebp - 8]
jg 0x4adc0f
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004adb0c
cmp ebx, dword [ebp - 8]
je 0x4add11
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 0x4adc3b
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc7
call fcn.00404c10
and eax, 0x7f
movzx eax, word [eax*2 + 0x62b5bc]
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 0x4adcfe
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc7
call fcn.00404c10
and eax, 0x7f
movzx eax, word [eax*2 + 0x62b5bc]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0045e714
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc7
call fcn.00404c10
and eax, 0x7f
movzx eax, word [eax*2 + 0x62b5bc]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0045e714
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4add05
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 0x4add72
cmp dword [ebp - 8], 0
jge 0x4add2a
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004ad7d8
mov eax, dword [ebp - 0x218]
call fcn.00405c40
cmp eax, dword [ebp - 8]
jg 0x4add64
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004ad7d8
mov eax, dword [ebp - 0x21c]
call fcn.00405c40
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004adb0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4add97
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00405988
ret
Function at 0x4b65c0
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.00437ef4
call fcn.0043377c
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.00437ef4
call fcn.0043377c
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x14]
dec ebx
test ebx, ebx
jl 0x4b666e
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.00437ef4
call fcn.0043377c
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.00437ef4
call fcn.0043377c
push eax
call sub.gdi32.dll_BitBlt
inc esi
dec ebx
jne 0x4b6627
pop edi
pop esi
pop ebx
pop ebp
ret