joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47b7a0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47b915
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.004051ec
mov eax, dword [ebp - 0x1c]
call fcn.0047b2cc
mov byte [ebp - 0x15], al
cmp byte [ebp - 0x15], 0
jne 0x47b7f3
lea eax, [ebp - 0x1c]
mov ecx, 1
mov edx, 1
call fcn.004056c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0047c0c8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x47b8d2
xor eax, eax
push ebp
push 0x47b8cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.0047b568
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.0047b954
test al, al
je 0x47b8a9
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00405244
mov eax, dword [ebp - 0x44]
dec eax
cmp eax, 0
jl 0x47b8a9
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00405624
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x47b8a0
mov eax, dword [ebp - 0x20]
call fcn.00405624
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.0040535c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.0047b7a0
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffff
jne 0x47b856
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b8d2
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0047b568
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x1c]
call fcn.00405624
push eax
mov dl, byte [ebp - 0x15]
mov eax, dword [ebp - 4]
call fcn.0047b530
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b91c
lea eax, [ebp - 0x48]
call fcn.00405154
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00405178
ret

Function at 0x47b924
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405624
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegDeleteValueA
test eax, eax
sete byte [ebp - 9]
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret
Function at 0x47b954
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 0x1c
call fcn.004037f0
mov eax, dword [ebp - 8]
add eax, 0x14
push eax
push 0
mov eax, dword [ebp - 8]
add eax, 0x10
push eax
mov eax, dword [ebp - 8]
add eax, 0xc
push eax
mov eax, dword [ebp - 8]
add eax, 8
push eax
push 0
mov eax, dword [ebp - 8]
add eax, 4
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete byte [ebp - 9]
mov eax, dword [0x74cf2c]
cmp byte [eax + 0xc], 0
je 0x47b9df
mov eax, dword [0x74cef8]
cmp dword [eax], 2
jne 0x47b9df
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 8]
add dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
add dword [edx + 0xc], eax
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret

Function at 0x47b9e8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47bab1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.0047b954
test al, al
je 0x47ba93
mov ecx, dword [ebp - 0x30]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00405244
mov eax, dword [ebp - 0x34]
dec eax
test eax, eax
jl 0x47ba93
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00405624
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0x14]
call fcn.00405624
mov edx, eax
lea eax, [ebp - 0x38]
call fcn.0040535c
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x47ba42
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47bab8
lea eax, [ebp - 0x38]
call fcn.00405154
lea eax, [ebp - 0x14]
call fcn.00405154
ret
Function at 0x47babc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47bb85
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.0047b954
test al, al
je 0x47bb67
mov ecx, dword [ebp - 0x28]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00405244
mov eax, dword [ebp - 0x2c]
dec eax
test eax, eax
jl 0x47bb67
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00405624
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0x14]
call fcn.00405624
mov edx, eax
lea eax, [ebp - 0x38]
call fcn.0040535c
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x47bb16
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47bb8c
lea eax, [ebp - 0x38]
call fcn.00405154
lea eax, [ebp - 0x14]
call fcn.00405154
ret

Function at 0x47bb90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edx, 8
call fcn.004037f0
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00405624
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete byte [ebp - 0xd]
mov eax, dword [ebp - 0x14]
call fcn.0047b344
mov edx, dword [ebp - 0xc]
mov byte [edx], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret

Function at 0x47bfb4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
call fcn.0047b2f4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00405624
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x47c01c
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [0x74c728]
mov dl, 1
mov eax, dword [0x47b0ac]
call fcn.0040ff68
call fcn.00404aa8
mov esp, ebp
pop ebp
ret 8
Function at 0x47c024
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00405624
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x47c086
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [0x74cf38]
mov dl, 1
mov eax, dword [0x47b0ac]
call fcn.0040ff68
call fcn.00404aa8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
call fcn.0047b344
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8
Function at 0x490898
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push esi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x490a69
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0049f848
mov eax, dword [ebp - 4]
cmp byte [eax + 0x210], 0
je 0x490a4e
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x220]
cmp eax, 0x1f4
jb 0x4908fb
mov eax, dword [ebp - 4]
add eax, 0x21c
call fcn.00405154
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x220], eax
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 8
je 0x4909d6
mov eax, dword [ebp - 8]
mov al, byte [eax]
mov edx, dword [0x74cec8]
and eax, 0xff
bt dword [edx], eax
jae 0x490995
push 1
push 0x102
push 0x102
mov eax, dword [ebp - 4]
call fcn.004a0e60
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x490a1a
mov eax, dword [ebp - 4]
push dword [eax + 0x21c]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.0040533c
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.0040533c
push dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
add eax, 0x21c
mov edx, 3
call fcn.004054e4
mov eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x490a1a
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.0040533c
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
add eax, 0x21c
call fcn.0040542c
jmp 0x490a1a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
call fcn.00405424
mov edx, eax
mov eax, dword [ebp - 4]
add eax, 0x21c
mov ecx, 1
call fcn.004056c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
call fcn.00405424
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
call fcn.00410a08
cmp al, 2
je 0x4909b4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
call fcn.00405424
mov edx, eax
mov eax, dword [ebp - 4]
add eax, 0x21c
mov ecx, 1
call fcn.004056c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
call fcn.00405424
test eax, eax
jle 0x490a35
push ebp
call fcn.004907ac
pop ecx
jmp 0x490a4e
xor edx, edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0xd0]
mov eax, dword [ebp - 4]
mov si, 0xffeb
call fcn.0040440c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490a70
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00405178
ret

Function at 0x491984
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0xd], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
push eax
push 0x4918b8
call sub.user32.dll_EnumWindows
pop ecx
pop ebp
ret
Function at 0x491afc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x491b85
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00491480
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp eax, 0x3e8
jbe 0x491b28
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00490ff0
cmp dword [ebp - 0xc], 0
je 0x491b6f
push 0
push 9
mov eax, dword [ebp - 0xc]
call fcn.00405624
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 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 0x491b8c
lea eax, [ebp - 0xc]
call fcn.00405154
ret

Function at 0x495624
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
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 [0x74dc30], 0
je 0x49577f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x74c914]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x49577f
mov eax, dword [0x74dc34]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x74dc30]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x49574e
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x74dc30]
call fcn.0042610c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x495742
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x495742
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x495742
mov eax, dword [ebp - 0x14]
call fcn.004a0e60
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x495742
push ebp
call fcn.004955d8
pop ecx
test al, al
jne 0x495742
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4956fe
mov eax, dword [ebp - 0x14]
call fcn.0049f260
dec eax
jle 0x495742
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.0040440c
cmp byte [ebp - 1], 0
je 0x495742
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x495742
mov edx, dword [ebp - 0x14]
mov eax, dword [0x74dc34]
call fcn.00494aa0
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x495690
mov eax, dword [0x74dc34]
cmp dword [eax + 8], 0
jle 0x495766
mov eax, dword [0x74dc34]
call fcn.00494b4c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x49577f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00495414
pop ecx
test al, al
jne 0x49577f
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x499ee0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1c], 0x10
je 0x499f33
mov eax, dword [ebp - 0x14]
call fcn.004b4f38
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x499f33
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x499f33
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
jne 0x49a0c2
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x499f7c
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x499f7c
mov eax, dword [ebp - 0x14]
call fcn.004b4f38
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x49a0b7
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xf0]
test al, al
jne 0x49a0c2
jmp 0x49a0b7
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x49a092
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x49a092
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x499fbf
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x499fb9
sub eax, 3
je 0x499fb9
sub eax, 3
jne 0x499fbf
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x499fd6
dec eax
je 0x499fed
dec eax
je 0x49a014
dec eax
je 0x499fed
jmp 0x49a021
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x74c914]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.004c0cd4
jmp 0x49a0b7
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x49a007
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.0040440c
jmp 0x49a0c2
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x49a0b7
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x49a0b7
mov eax, dword [0x74dbec]
cmp byte [eax + 0x20], 0
je 0x49a0b7
mov eax, dword [0x74dbec]
cmp dword [eax + 0x1c], 0
je 0x49a0b7
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x74dbec]
cmp eax, dword [edx + 0x1c]
jne 0x49a0b7
lea eax, [ebp - 0x11c]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.004b4e54
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffc9
call fcn.0040440c
jmp 0x49a0c2
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x49a0b7
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.00497f20
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49e5d4
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1f8], 0
je 0x49e5f5
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x49e62a
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x49e61a
mov eax, dword [ebp - 4]
call fcn.0049cbb0
test eax, eax
jne 0x49e61a
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x49e754
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0049dfa8
jmp 0x49e754
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x49e74d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.004a0e60
push eax
call sub.user32.dll_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.00499d94
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0049e5d4
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.004a0e60
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e754
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x4a6cc0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x74cf2c]
cmp byte [eax + 0xc], 0
je 0x4a6e32
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a6e2b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x74dc40], 0
jne 0x4a6d19
push 0x4a6e38
call sub.kernel32.dll_GetModuleHandleA_3
mov dword [ebp - 4], eax
push 0x4a6e40
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x74dc40], eax
cmp dword [0x7454f0], 0
jne 0x4a6e14
push 0x4a6e50
call sub.kernel32.dll_LoadLibraryA
mov dword [0x7454f0], eax
cmp dword [0x7454f0], 0
je 0x4a6e14
push 0x4a6e5c
mov eax, dword [0x7454f0]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x74dc44], eax
push 0x4a6e6c
mov eax, dword [0x7454f0]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x74dc48], eax
push 0x4a6e80
mov eax, dword [0x7454f0]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x74dc4c], eax
push 0x4a6e98
mov eax, dword [0x7454f0]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x74dc50], eax
push 0x4a6eb0
mov eax, dword [0x7454f0]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x74dc54], eax
push 0x4a6ec4
mov eax, dword [0x7454f0]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x74dc58], eax
push 0x4a6edc
mov eax, dword [0x7454f0]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x74dc5c], eax
push 0x4a6ef4
mov eax, dword [0x7454f0]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x74dc60], eax
push 0x4a6f10
mov eax, dword [0x7454f0]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x74dc64], eax
push 0x4a6f1c
mov eax, dword [0x7454f0]
push eax
call sub.kernel32.dll_GetProcAddress_2
mov dword [0x74dc68], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6e32
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

Function at 0x4abefc
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.00405154
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4abf55
push pe_nt_image_headers32
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.004053d4
mov esp, ebp
pop ebp
ret