joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b038
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x44b098
push dword fs:[eax]
mov dword fs:[eax], esp
push 3
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0xc], eax
push 9
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
mov dx, 3
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b09f
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x44b11c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x44b192
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044ad64
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
lea edx, [ebp - 0xe]
mov eax, dword [ebp - 8]
call fcn.00433cb8
mov eax, dword [ebp - 0xc]
push eax
movzx eax, word [ebp - 0xe]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x14], 0
je 0x44b17c
mov eax, dword [ebp - 0x14]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b199
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x44b1a0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x44b217
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044ad64
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc]
lea edx, [ebp - 0xe]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 0xc]
push eax
movzx eax, word [ebp - 0xe]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x14], 0
je 0x44b201
mov eax, dword [ebp - 0x14]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b21e
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4500b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f80
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
setne byte [ebp - 5]
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x450edc
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.004034c0
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.00404f80
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.00450a80
mov edx, dword [ebp - 0xc]
mov byte [edx], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret

Function at 0x45102c
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.00450a30
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.00404f80
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x451094
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 [0x5f2250]
mov dl, 1
mov eax, dword [0x4508a0]
call fcn.0040e9fc
call fcn.00404434
mov esp, ebp
pop ebp
ret 8

Function at 0x45109c
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.00404f80
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4510fe
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 [0x5f27d4]
mov dl, 1
mov eax, dword [0x4508a0]
call fcn.0040e9fc
call fcn.00404434
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
call fcn.00450a80
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8

Function at 0x47870c
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x5f3b4c], 0
jne 0x478732
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x478654
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x5f3b4c], eax
pop ebp
ret
Function at 0x47c9f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004a013c
test al, al
je 0x47ca5a
cmp byte [ebp - 5], 7
jne 0x47ca30
push 2
lea eax, [ebp - 0xe]
push eax
push 0x100c
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
xor eax, eax
mov al, byte [ebp - 0xe]
sub eax, 0x30
mov dword [ebp - 0xc], eax
jmp 0x47ca38
xor eax, eax
mov al, byte [ebp - 5]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xd0]
test eax, eax
je 0x47ca5a
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xd0]
mov edx, dword [ebp - 0xc]
call fcn.0043a9d0
mov al, byte [ebp - 5]
mov edx, dword [ebp - 4]
mov byte [edx + 0x220], al
mov esp, ebp
pop ebp
ret
Function at 0x48eff0
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 0x48f1c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0049e654
mov eax, dword [ebp - 4]
cmp byte [eax + 0x210], 0
je 0x48f1a6
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x220]
cmp eax, 0x1f4
jb 0x48f053
mov eax, dword [ebp - 4]
add eax, 0x21c
call fcn.00404ac0
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 0x48f12e
mov eax, dword [ebp - 8]
mov al, byte [eax]
mov edx, dword [0x5f2788]
and eax, 0xff
bt dword [edx], eax
jae 0x48f0ed
push 1
push 0x102
push 0x102
mov eax, dword [ebp - 4]
call fcn.0049fc6c
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x48f172
mov eax, dword [ebp - 4]
push dword [eax + 0x21c]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.00404ca8
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.00404ca8
push dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
add eax, 0x21c
mov edx, 3
call fcn.00404e40
mov eax, dword [ebp - 8]
mov byte [eax], 0
jmp 0x48f172
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
mov dl, byte [edx]
call fcn.00404ca8
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
add eax, 0x21c
call fcn.00404d88
jmp 0x48f172
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
call fcn.00404d80
mov edx, eax
mov eax, dword [ebp - 4]
add eax, 0x21c
mov ecx, 1
call fcn.00405020
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
call fcn.00404d80
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
call fcn.0040f49c
cmp al, 2
je 0x48f10c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
call fcn.00404d80
mov edx, eax
mov eax, dword [ebp - 4]
add eax, 0x21c
mov ecx, 1
call fcn.00405020
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
call fcn.00404d80
test eax, eax
jle 0x48f18d
push ebp
call fcn.0048ef04
pop ecx
jmp 0x48f1a6
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.00403d98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f1c8
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404ae4
ret

Function at 0x49066c
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 0x4905a0
call sub.user32.dll_EnumWindows
pop ecx
pop ebp
ret
Function at 0x4907e4
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 0x49086d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00490168
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 0x490810
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0048fcd8
cmp dword [ebp - 0xc], 0
je 0x490857
push 0
push 9
mov eax, dword [ebp - 0xc]
call fcn.00404f80
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 0x490874
lea eax, [ebp - 0xc]
call fcn.00404ac0
ret

Function at 0x49430c
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 [0x5f3bc0], 0
je 0x494467
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x5f23a8]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x494467
mov eax, dword [0x5f3bc4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x5f3bc0]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x494436
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x5f3bc0]
call fcn.00420ba4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x49442a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x49442a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x49442a
mov eax, dword [ebp - 0x14]
call fcn.0049fc6c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x49442a
push ebp
call fcn.004942c0
pop ecx
test al, al
jne 0x49442a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4943e6
mov eax, dword [ebp - 0x14]
call fcn.0049e06c
dec eax
jle 0x49442a
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.00403d98
cmp byte [ebp - 1], 0
je 0x49442a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x49442a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x5f3bc4]
call fcn.00493788
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x494378
mov eax, dword [0x5f3bc4]
cmp dword [eax + 8], 0
jle 0x49444e
mov eax, dword [0x5f3bc4]
call fcn.00493834
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x494467
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004940fc
pop ecx
test al, al
jne 0x494467
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 0x498bfc
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 0x498c4f
mov eax, dword [ebp - 0x14]
call fcn.004b5954
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x498c4f
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x498c4f
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 0x498dde
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x498c98
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x498c98
mov eax, dword [ebp - 0x14]
call fcn.004b5954
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x498dd3
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 0x498dde
jmp 0x498dd3
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x498dae
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x498dae
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x498cdb
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x498cd5
sub eax, 3
je 0x498cd5
sub eax, 3
jne 0x498cdb
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x498cf2
dec eax
je 0x498d09
dec eax
je 0x498d30
dec eax
je 0x498d09
jmp 0x498d3d
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x5f23a8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.004c1cbc
jmp 0x498dd3
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x498d23
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.00403d98
jmp 0x498dde
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x498dd3
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x498dd3
mov eax, dword [0x5f3b7c]
cmp byte [eax + 0x20], 0
je 0x498dd3
mov eax, dword [0x5f3b7c]
cmp dword [eax + 0x1c], 0
je 0x498dd3
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x5f3b7c]
cmp eax, dword [edx + 0x1c]
jne 0x498dd3
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.004b5844
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.00403d98
jmp 0x498dde
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x498dd3
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.00496c38
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 0x49d354
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 0x49d375
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x49d3aa
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x49d39a
mov eax, dword [ebp - 4]
call fcn.0049b8cc
test eax, eax
jne 0x49d39a
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x49d4d4
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0049ccc4
jmp 0x49d4d4
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 0x49d4cd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0049fc6c
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.00498ab0
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.0049d354
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.0049fc6c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49d4d4
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 0x4a5acc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x5f27c8]
cmp byte [eax + 0xc], 0
je 0x4a5c3e
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a5c37
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5f3bd0], 0
jne 0x4a5b25
push 0x4a5c44
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x4a5c4c
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5f3bd0], eax
cmp dword [0x5f034c], 0
jne 0x4a5c20
push 0x4a5c5c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x5f034c], eax
cmp dword [0x5f034c], 0
je 0x4a5c20
push 0x4a5c68
mov eax, dword [0x5f034c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5f3bd4], eax
push 0x4a5c78
mov eax, dword [0x5f034c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5f3bd8], eax
push 0x4a5c8c
mov eax, dword [0x5f034c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5f3bdc], eax
push 0x4a5ca4
mov eax, dword [0x5f034c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5f3be0], eax
push 0x4a5cbc
mov eax, dword [0x5f034c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5f3be4], eax
push 0x4a5cd0
mov eax, dword [0x5f034c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5f3be8], eax
push 0x4a5ce8
mov eax, dword [0x5f034c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5f3bec], eax
push 0x4a5d00
mov eax, dword [0x5f034c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5f3bf0], eax
push 0x4a5d1c
mov eax, dword [0x5f034c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5f3bf4], eax
push 0x4a5d28
mov eax, dword [0x5f034c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5f3bf8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5c3e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

Function at 0x4ab670
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.00404ac0
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 0x4ab6c9
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.00404d30
mov esp, ebp
pop ebp
ret
Function at 0x4b57a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x4b57f8]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x4b57ba
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x4b57c4
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x4b57ce
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x4b57d8
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x4b57e2
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4b57f2
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x4b57fc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x4b5840]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4b581d
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4b582d
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x4b5837
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b58b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [ebp - 0x101]
call fcn.004b5844
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret