joyce8/EMBER2024-capa huggingface dataset:
Function at 0x473cbc
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
xor eax, eax
push ebp
push 0x473df5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4dee54]
mov eax, dword [eax]
call fcn.004575f4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x473d35
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0040c25c
mov eax, dword [ebp - 8]
call fcn.004051fc
push eax
push 0x473e00
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004051fc
push eax
push 0x473e10
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004051fc
push eax
push 0x473e20
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
call fcn.004576ac
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x473d96
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0040c25c
mov eax, dword [ebp - 0xc]
call fcn.004051fc
push eax
push 0x473e30
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.004051fc
push eax
push 0x473e44
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004051fc
push eax
push 0x473e58
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x10]
call fcn.0046dd28
pop ecx
mov eax, dword [ebp - 0x10]
call fcn.004051fc
push eax
push 0x473e6c
call sub.kernel32.dll_SetEnvironmentVariableA
mov eax, dword [0x4e3778]
call fcn.004051fc
push eax
push 0x473e78
call sub.kernel32.dll_SetEnvironmentVariableA
push 0x473e84
push 0x473e88
call sub.kernel32.dll_SetEnvironmentVariableA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473dfc
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404d44
ret
Function at 0x475348
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4754b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404d20
call sub.user32.dll_GetFocus
mov ebx, eax
push ebx
call sub.user32.dll_IsWindowUnicode
test eax, eax
jne 0x47548f
lea eax, [ebp - 0x10c]
call fcn.004752ec
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.0040b4e4
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 4]
call fcn.0040b77c
mov edx, dword [ebp - 4]
mov eax, 0x4754cc
call fcn.00405340
test eax, eax
jg 0x4753e9
mov edx, dword [ebp - 4]
mov eax, 0x4754dc
call fcn.00405340
test eax, eax
jle 0x4753fd
push 0xfffffffffffffff0
push ebx
call sub.user32.dll_GetWindowLongA
test eax, 4
jg 0x47548f
mov esi, pe_nt_image_headers32
push esi
lea eax, [ebp - 0x104]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x47548f
mov eax, edi
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404f90
lea eax, [ebp - 0x114]
call fcn.004752ec
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.0040b4e4
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 4]
call fcn.0040b77c
mov edx, dword [ebp - 4]
mov eax, 0x4754cc
call fcn.00405340
test eax, eax
jle 0x47548f
push 0xfffffffffffffff0
push ebx
call sub.user32.dll_GetWindowLongA
test al, 0x20
je 0x47548f
mov eax, dword [edi]
call fcn.00404ffc
mov ebx, eax
test ebx, ebx
jbe 0x47548f
mov esi, 1
mov eax, edi
call fcn.00405254
mov byte [eax + esi - 1], 0x2a
inc esi
dec ebx
jne 0x47547f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4754bc
lea eax, [ebp - 0x114]
mov edx, 4
call fcn.00404d44
lea eax, [ebp - 4]
call fcn.00404d20
ret

Function at 0x478a10
Capabilities:
Terminate thread

Disassembly:
call fcn.0042a984
test al, al
jne 0x478a6d
cmp dword [0x4e374c], 0
je 0x478a6d
mov eax, dword [0x4e374c]
call fcn.004256dc
mov eax, dword [0x4e0668]
call fcn.004576c8
test al, al
jne 0x478a4c
push 0xffffffffffffffff
mov eax, dword [0x4e374c]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x478a5c
push 1
mov eax, dword [0x4e374c]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [0x4e374c]
call fcn.00403d88
xor eax, eax
mov dword [0x4e374c], eax
ret
Function at 0x479a6c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
lea edi, [ebp - 0x10]
call fcn.00458f7c
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [0x41c80c]
call fcn.00403d58
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x479b9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, 0x10
call fcn.0045abc0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x479ab6
mov dword [ebp - 0x1c], 1
jmp 0x479ac1
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0041ec24
mov al, 0x13
call fcn.0045abc0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x479ada
mov dword [ebp - 0x14], 1
jmp 0x479ae5
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.0041ec24
mov al, 0x11
call fcn.0045abc0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x479afe
mov dword [ebp - 0x18], 1
jmp 0x479b09
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0041ec24
mov eax, dword [ebp - 4]
mov esi, dword [eax]
dec esi
test esi, esi
jl 0x479b45
inc esi
xor ebx, ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx*8 + 4]
mov dword [edi], eax
mov eax, dword [edi]
cmp eax, dword [ebp - 0x18]
je 0x479b41
mov eax, dword [edi]
cmp eax, dword [ebp - 0x14]
je 0x479b41
mov eax, dword [edi]
cmp eax, dword [ebp - 0x1c]
je 0x479b41
mov edx, dword [edi]
mov eax, dword [ebp - 0xc]
call fcn.0041ec24
inc ebx
dec esi
jne 0x479b16
mov eax, dword [ebp - 4]
mov esi, dword [eax]
dec esi
test esi, esi
jl 0x479b87
inc esi
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
lea eax, [eax + ebx*8 + 4]
call fcn.004798fc
push eax
call sub.kernel32.dll_VirtualProtect
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0041ed80
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov dword [edx + ebx*8 + 4], eax
inc ebx
dec esi
jne 0x479b52
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x479ba4
mov eax, dword [ebp - 0xc]
call fcn.00403d88
ret
Function at 0x479c44
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
lea esi, [ebp - 8]
call fcn.00458f7c
mov dword [esi], eax
mov eax, dword [esi]
mov ebx, dword [eax]
dec ebx
jmp 0x479c5e
dec ebx
test ebx, ebx
jl 0x479c6d
mov eax, dword [esi]
mov eax, dword [eax + 4]
cmp dword [eax + ebx*8], 0
je 0x479c5d
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx*8]
test eax, eax
je 0x479cb8
mov dword [0x4e36cc], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov eax, dword [esi]
mov eax, dword [eax + 4]
lea eax, [eax + ebx*8]
call fcn.004798fc
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
mov eax, dword [eax + 4]
lea eax, [eax + ebx*8]
call fcn.004798fc
mov dword [0x4e3718], eax
mov eax, 0x479bac
mov edx, dword [0x4e3718]
mov dword [edx], eax
mov eax, dword [esi]
mov ebx, dword [eax]
dec ebx
jmp 0x479cc0
dec ebx
test ebx, ebx
jl 0x479cd0
mov eax, dword [esi]
mov eax, dword [eax + 4]
cmp dword [eax + ebx*8 + 4], 0
je 0x479cbf
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx*8 + 4]
test eax, eax
je 0x479d0c
mov dword [0x4e36d0], eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov eax, dword [esi]
mov eax, dword [eax + 4]
lea eax, [eax + ebx*8 + 4]
call fcn.004798fc
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, 0x479c34
mov edx, dword [esi]
mov edx, dword [edx + 4]
mov dword [edx + ebx*8 + 4], eax
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x47b5bc
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47b651
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00404d20
lea eax, [ebp - 0x10]
mov edx, 1
call fcn.00405388
push 1
mov eax, dword [ebp - 0x10]
call fcn.004051fc
push eax
mov eax, dword [ebp - 4]
call fcn.004051fc
push eax
call sub.kernel32.dll_GetEnvironmentVariableA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x47b63b
mov edx, dword [ebp - 0xc]
dec edx
mov eax, dword [ebp - 8]
call fcn.00405388
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004051fc
push eax
mov eax, dword [ebp - 4]
call fcn.004051fc
push eax
call sub.kernel32.dll_GetEnvironmentVariableA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b658
lea eax, [ebp - 0x10]
call fcn.00404d20
ret
Function at 0x47e56c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
je 0x47e589
mov eax, dword [ebp - 4]
call fcn.0047e678
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
cmp byte [ebp - 5], 0
je 0x47e5bf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
cmp word [eax], 0x25ff
jne 0x47e5bf
mov eax, dword [ebp - 4]
add dword [eax + 0x18], 2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x18]
sub eax, 5
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0xe9
mov al, byte [ebp - 0xc]
and al, 0xff
mov edx, dword [ebp - 4]
mov byte [edx + 0xd], al
mov eax, dword [ebp - 0xc]
shr eax, 8
and al, 0xff
mov edx, dword [ebp - 4]
mov byte [edx + 0xe], al
mov eax, dword [ebp - 0xc]
shr eax, 0x10
and al, 0xff
mov edx, dword [ebp - 4]
mov byte [edx + 0xf], al
mov eax, dword [ebp - 0xc]
shr eax, 0x18
and al, 0xff
mov edx, dword [ebp - 4]
mov byte [edx + 0x10], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov al, byte [eax]
mov edx, dword [ebp - 4]
mov byte [edx + 0x11], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov al, byte [eax + 1]
mov edx, dword [ebp - 4]
mov byte [edx + 0x12], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov al, byte [eax + 2]
mov edx, dword [ebp - 4]
mov byte [edx + 0x13], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov al, byte [eax + 3]
mov edx, dword [ebp - 4]
mov byte [edx + 0x14], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov al, byte [eax + 4]
mov edx, dword [ebp - 4]
mov byte [edx + 0x15], al
lea eax, [ebp - 0x10]
push eax
push 0x40
push 5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x47e674
call fcn.0041162c
mov esp, ebp
pop ebp
ret
Function at 0x4804a4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4804aa
ret

Function at 0x4829e4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x482a35
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x482a1c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x482a0c
jmp 0x482a35
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x482a1d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x493960
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x4938ac
call sub.user32.dll_EnumWindows
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x493afd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004934e0
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x493aa5
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004930e0
cmp dword [ebp - 4], 0
je 0x493ae7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004051fc
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x493b04
lea eax, [ebp - 4]
call fcn.00404d20
ret

Function at 0x496dd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4e478c], 0
je 0x496f1f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4df0b0]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x496f1f
mov eax, dword [0x4e4790]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4e478c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x496eee
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4e478c]
call fcn.0041ed80
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x496ee6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x496ee6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x496ee6
mov eax, dword [ebp - 0x14]
call fcn.0049fa94
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x496ee6
push ebp
call fcn.00496d8c
pop ecx
test al, al
jne 0x496ee6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x496ea2
mov eax, dword [ebp - 0x14]
call fcn.0049e58c
dec eax
jle 0x496ee6
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403f90
cmp byte [ebp - 1], 0
je 0x496ee6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x496ee6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4e4790]
call fcn.00496558
inc edi
dec ebx
jne 0x496e35
mov eax, dword [0x4e4790]
cmp dword [eax + 8], 0
jle 0x496f06
mov eax, dword [0x4e4790]
call fcn.004965e8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x496f1f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00496bf4
pop ecx
test al, al
jne 0x496f1f
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49a4f4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x49a540
mov eax, esi
call fcn.004b00dc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x49a540
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x49a540
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x49a67f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x49a580
cmp eax, 0x108
ja 0x49a580
mov eax, esi
call fcn.004b00dc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x49a676
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x49a67f
jmp 0x49a676
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x49a65f
cmp eax, 0x20a
ja 0x49a65f
test byte [esi + 0x50], 0x80
jne 0x49a5b2
sub eax, 0x203
je 0x49a5af
sub eax, 3
je 0x49a5af
sub eax, 3
jne 0x49a5b2
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x49a5c6
dec eax
je 0x49a5db
dec eax
je 0x49a5f8
dec eax
je 0x49a5db
jmp 0x49a5ff
mov ecx, ebx
mov eax, dword [0x4df0b0]
mov eax, dword [eax]
mov edx, esi
call fcn.004b98d8
jmp 0x49a676
cmp byte [esi + 0x5d], 1
jne 0x49a5f1
mov eax, esi
mov si, 0xffed
call fcn.00403f90
jmp 0x49a67f
or word [esi + 0x54], 1
jmp 0x49a676
and word [esi + 0x54], 0xfffe
jmp 0x49a676
mov eax, dword [0x4e4748]
cmp byte [eax + 0x20], 0
je 0x49a676
mov eax, dword [0x4e4748]
cmp dword [eax + 0x1c], 0
je 0x49a676
mov eax, dword [ebx]
mov edx, dword [0x4e4748]
cmp eax, dword [edx + 0x1c]
jne 0x49a676
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.004b0020
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403f90
jmp 0x49a67f
cmp eax, 0xb00b
jne 0x49a676
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00498e20
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49dbec
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 0x49dc08
cmp dword [esi + 4], 0
je 0x49dc35
test byte [ebx + 0x55], 1
jne 0x49dc27
mov eax, ebx
call fcn.0049c78c
test eax, eax
jne 0x49dc27
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x49dd45
mov edx, esi
mov eax, ebx
call fcn.0049d710
jmp 0x49dd45
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 0x49dd3e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0049fa94
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.0049a428
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0049dbec
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.0049fa94
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49dd45
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 0x4a4494
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4df2f0]
cmp byte [eax + 0xc], 0
je 0x4a4601
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a45fa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4e479c], 0
jne 0x4a44e8
push 0x4a4608
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x4a4610
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e479c], eax
cmp dword [0x4ddcf0], 0
jne 0x4a45e3
push 0x4a4620
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4ddcf0], eax
cmp dword [0x4ddcf0], 0
je 0x4a45e3
push 0x4a462c
mov eax, dword [0x4ddcf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e47a0], eax
push 0x4a463c
mov eax, dword [0x4ddcf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e47a4], eax
push 0x4a4650
mov eax, dword [0x4ddcf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e47a8], eax
push 0x4a4668
mov eax, dword [0x4ddcf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e47ac], eax
push 0x4a4680
mov eax, dword [0x4ddcf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e47b0], eax
push 0x4a4694
mov eax, dword [0x4ddcf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e47b4], eax
push 0x4a46ac
mov eax, dword [0x4ddcf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e47b8], eax
push 0x4a46c4
mov eax, dword [0x4ddcf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e47bc], eax
push 0x4a46e0
mov eax, dword [0x4ddcf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e47c0], eax
push 0x4a46ec
mov eax, dword [0x4ddcf0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4e47c4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4601
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

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

Function at 0x4aff90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4affe0]
test si, 4
je 0x4affa4
or bl, 1
test si, 8
je 0x4affae
or bl, 4
test si, 1
je 0x4affb8
or bl, 8
test si, 2
je 0x4affc2
or bl, 0x10
test si, 0x10
je 0x4affcc
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4affdb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret