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

Disassembly:
sub esp, 8
push esi
push edi
mov esi, ecx
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call fcn.0040c9e0
mov edi, dword [esp + 8]
cmp edi, 0xffffffff
jne 0x40ede5
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 8
ret 0xc
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.00421332
cmp eax, esi
je 0x40edfc
mov ecx, esi
call fcn.0042415e
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esi]
mov eax, dword [eax + 0x25c]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push 0
push ecx
push edx
push ebx
push edi
mov ecx, esi
call eax
mov ebp, eax
cmp ebp, 2
je 0x40eecf
mov edx, dword [esi]
mov eax, dword [edx + 0x180]
push 0
push ebx
mov ecx, esi
call eax
mov ecx, esi
call fcn.0042128e
cmp dword [esi + 0x6c], ebx
je 0x40ee53
mov edx, dword [esi]
mov eax, dword [edx + 0x180]
push 0
push ebx
mov ecx, esi
call eax
xor ebp, ebp
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x1037
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test al, 0x20
jne 0x40eec0
mov edx, dword [esi + 0x20]
push 1
push 0xffffffffffffffff
push 0x100c
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, eax
je 0x40eec0
push 1
push 1
push edi
mov ecx, esi
call fcn.0041d286
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x40eec0
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x40eec0
push 2
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.0041d286
push 2
push 2
push edi
mov ecx, esi
call fcn.0041d286
mov eax, dword [esi]
mov edx, dword [eax + 0x180]
push 1
push ebx
mov ecx, esi
call edx
test ebp, ebp
je 0x40eeeb
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esi]
mov eax, dword [eax + 0x184]
push ecx
push edx
push ebx
push edi
mov ecx, esi
call eax
pop ebp
pop ebx
pop edi
pop esi
add esp, 8
ret 0xc

Function at 0x40f860
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.00421332
cmp eax, esi
je 0x40f87a
mov ecx, esi
call fcn.0042415e
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00421819
cmp byte [esi + 0x94], 0
jne 0x40f8d5
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x40f8d5
mov eax, dword [esi + 0x20]
push 0
push 0
push 0x1037
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test al, 1
je 0x40f8d5
mov ecx, dword [esi + 0x20]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [esi + 0x20]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
ret 0xc
Function at 0x40fd50
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
push esi
add eax, 0xffffffe0
cmp eax, 0x51
push edi
mov esi, ecx
ja case.0x40fd6e.33
movzx eax, byte [eax + 0x40ff4c]
jmp dword [eax*4 + 0x40ff2c]
mov edx, dword [esi]
mov eax, dword [edx + 0x224]
push 1
call eax
pop edi
pop esi
add esp, 0x10
ret 0xc
mov edx, dword [esi]
mov eax, dword [edx + 0x224]
push 0
call eax
pop edi
pop esi
add esp, 0x10
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge case.0x40fd6e.33
mov ecx, esi
call fcn.00423fdf
test al, 4
jne case.0x40fd6e.33
push 2
push 2
push 0xffffffffffffffff
mov ecx, esi
call fcn.0041d286
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge case.0x40fd6e.33
mov edx, dword [esi]
mov eax, dword [edx + 0x280]
mov ecx, esi
call eax
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge case.0x40fd6e.33
mov edx, dword [esi]
mov eax, dword [edx + 0x14c]
push 0
push 0xffffffffffffffff
mov ecx, esi
call eax
pop edi
pop esi
add esp, 0x10
ret 0xc
mov ecx, dword [esi + 0x20]
mov edi, dword [esi + 0x6c]
push 1
push 0xffffffffffffffff
push 0x100c
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi]
push edi
push eax
mov eax, dword [edx + 0x188]
mov ecx, esi
call eax
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl case.0x40fd6e.33
mov ecx, esi
call fcn.00409a10
test al, 4
mov ecx, esi
je 0x40fecc
call fcn.00423fdf
test eax, 0x1000
je case.0x40fd6e.33
mov ecx, esi
call fcn.0040dc90
mov edi, eax
cmp edi, 0xffffffff
je case.0x40fd6e.33
mov edx, dword [esi]
mov eax, dword [edx + 0x214]
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x218]
test al, al
sete al
mov ecx, esi
push eax
push edi
call edx
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
call fcn.0040dc90
cmp eax, 0xffffffff
je case.0x40fd6e.33
mov eax, dword [esi + 0x6c]
cmp eax, 0xffffffff
je case.0x40fd6e.33
lea ecx, [esp + 8]
push ecx
push 1
push eax
mov ecx, esi
call fcn.0040dc90
push eax
mov ecx, esi
call fcn.0040fba0
test eax, eax
je case.0x40fd6e.33
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov eax, dword [esi + 0x6c]
mov edi, dword [esi]
push edx
push ecx
push eax
mov ecx, esi
call fcn.0040dc90
mov edx, dword [edi + 0x184]
push eax
mov ecx, esi
call edx
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x40fd9d
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
push esi
add eax, 0xffffffe0
cmp eax, 0x51
push edi
mov esi, ecx
ja case.0x40fd6e.33
movzx eax, byte [eax + 0x40ff4c]
jmp dword [eax*4 + 0x40ff2c]
mov edx, dword [esi]
mov eax, dword [edx + 0x224]
push 1
call eax
pop edi
pop esi
add esp, 0x10
ret 0xc
mov edx, dword [esi]
mov eax, dword [edx + 0x224]
push 0
call eax
pop edi
pop esi
add esp, 0x10
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge case.0x40fd6e.33
mov ecx, esi
call fcn.00423fdf
test al, 4
jne case.0x40fd6e.33
push 2
push 2
push 0xffffffffffffffff
mov ecx, esi
call fcn.0041d286
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge case.0x40fd6e.33
mov edx, dword [esi]
mov eax, dword [edx + 0x280]
mov ecx, esi
call eax
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge case.0x40fd6e.33
mov edx, dword [esi]
mov eax, dword [edx + 0x14c]
push 0
push 0xffffffffffffffff
mov ecx, esi
call eax
pop edi
pop esi
add esp, 0x10
ret 0xc
mov ecx, dword [esi + 0x20]
mov edi, dword [esi + 0x6c]
push 1
push 0xffffffffffffffff
push 0x100c
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi]
push edi
push eax
mov eax, dword [edx + 0x188]
mov ecx, esi
call eax
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl case.0x40fd6e.33
mov ecx, esi
call fcn.00409a10
test al, 4
mov ecx, esi
je 0x40fecc
call fcn.00423fdf
test eax, 0x1000
je case.0x40fd6e.33
mov ecx, esi
call fcn.0040dc90
mov edi, eax
cmp edi, 0xffffffff
je case.0x40fd6e.33
mov edx, dword [esi]
mov eax, dword [edx + 0x214]
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x218]
test al, al
sete al
mov ecx, esi
push eax
push edi
call edx
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
call fcn.0040dc90
cmp eax, 0xffffffff
je case.0x40fd6e.33
mov eax, dword [esi + 0x6c]
cmp eax, 0xffffffff
je case.0x40fd6e.33
lea ecx, [esp + 8]
push ecx
push 1
push eax
mov ecx, esi
call fcn.0040dc90
push eax
mov ecx, esi
call fcn.0040fba0
test eax, eax
je case.0x40fd6e.33
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov eax, dword [esi + 0x6c]
mov edi, dword [esi]
push edx
push ecx
push eax
mov ecx, esi
call fcn.0040dc90
mov edx, dword [edi + 0x184]
push eax
mov ecx, esi
call edx
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x40fdd9
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
push esi
add eax, 0xffffffe0
cmp eax, 0x51
push edi
mov esi, ecx
ja case.0x40fd6e.33
movzx eax, byte [eax + 0x40ff4c]
jmp dword [eax*4 + 0x40ff2c]
mov edx, dword [esi]
mov eax, dword [edx + 0x224]
push 1
call eax
pop edi
pop esi
add esp, 0x10
ret 0xc
mov edx, dword [esi]
mov eax, dword [edx + 0x224]
push 0
call eax
pop edi
pop esi
add esp, 0x10
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge case.0x40fd6e.33
mov ecx, esi
call fcn.00423fdf
test al, 4
jne case.0x40fd6e.33
push 2
push 2
push 0xffffffffffffffff
mov ecx, esi
call fcn.0041d286
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge case.0x40fd6e.33
mov edx, dword [esi]
mov eax, dword [edx + 0x280]
mov ecx, esi
call eax
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge case.0x40fd6e.33
mov edx, dword [esi]
mov eax, dword [edx + 0x14c]
push 0
push 0xffffffffffffffff
mov ecx, esi
call eax
pop edi
pop esi
add esp, 0x10
ret 0xc
mov ecx, dword [esi + 0x20]
mov edi, dword [esi + 0x6c]
push 1
push 0xffffffffffffffff
push 0x100c
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi]
push edi
push eax
mov eax, dword [edx + 0x188]
mov ecx, esi
call eax
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl case.0x40fd6e.33
mov ecx, esi
call fcn.00409a10
test al, 4
mov ecx, esi
je 0x40fecc
call fcn.00423fdf
test eax, 0x1000
je case.0x40fd6e.33
mov ecx, esi
call fcn.0040dc90
mov edi, eax
cmp edi, 0xffffffff
je case.0x40fd6e.33
mov edx, dword [esi]
mov eax, dword [edx + 0x214]
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x218]
test al, al
sete al
mov ecx, esi
push eax
push edi
call edx
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
call fcn.0040dc90
cmp eax, 0xffffffff
je case.0x40fd6e.33
mov eax, dword [esi + 0x6c]
cmp eax, 0xffffffff
je case.0x40fd6e.33
lea ecx, [esp + 8]
push ecx
push 1
push eax
mov ecx, esi
call fcn.0040dc90
push eax
mov ecx, esi
call fcn.0040fba0
test eax, eax
je case.0x40fd6e.33
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov eax, dword [esi + 0x6c]
mov edi, dword [esi]
push edx
push ecx
push eax
mov ecx, esi
call fcn.0040dc90
mov edx, dword [edi + 0x184]
push eax
mov ecx, esi
call edx
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x40fe05
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
push esi
add eax, 0xffffffe0
cmp eax, 0x51
push edi
mov esi, ecx
ja case.0x40fd6e.33
movzx eax, byte [eax + 0x40ff4c]
jmp dword [eax*4 + 0x40ff2c]
mov edx, dword [esi]
mov eax, dword [edx + 0x224]
push 1
call eax
pop edi
pop esi
add esp, 0x10
ret 0xc
mov edx, dword [esi]
mov eax, dword [edx + 0x224]
push 0
call eax
pop edi
pop esi
add esp, 0x10
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge case.0x40fd6e.33
mov ecx, esi
call fcn.00423fdf
test al, 4
jne case.0x40fd6e.33
push 2
push 2
push 0xffffffffffffffff
mov ecx, esi
call fcn.0041d286
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge case.0x40fd6e.33
mov edx, dword [esi]
mov eax, dword [edx + 0x280]
mov ecx, esi
call eax
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge case.0x40fd6e.33
mov edx, dword [esi]
mov eax, dword [edx + 0x14c]
push 0
push 0xffffffffffffffff
mov ecx, esi
call eax
pop edi
pop esi
add esp, 0x10
ret 0xc
mov ecx, dword [esi + 0x20]
mov edi, dword [esi + 0x6c]
push 1
push 0xffffffffffffffff
push 0x100c
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi]
push edi
push eax
mov eax, dword [edx + 0x188]
mov ecx, esi
call eax
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl case.0x40fd6e.33
mov ecx, esi
call fcn.00409a10
test al, 4
mov ecx, esi
je 0x40fecc
call fcn.00423fdf
test eax, 0x1000
je case.0x40fd6e.33
mov ecx, esi
call fcn.0040dc90
mov edi, eax
cmp edi, 0xffffffff
je case.0x40fd6e.33
mov edx, dword [esi]
mov eax, dword [edx + 0x214]
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x218]
test al, al
sete al
mov ecx, esi
push eax
push edi
call edx
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
call fcn.0040dc90
cmp eax, 0xffffffff
je case.0x40fd6e.33
mov eax, dword [esi + 0x6c]
cmp eax, 0xffffffff
je case.0x40fd6e.33
lea ecx, [esp + 8]
push ecx
push 1
push eax
mov ecx, esi
call fcn.0040dc90
push eax
mov ecx, esi
call fcn.0040fba0
test eax, eax
je case.0x40fd6e.33
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov eax, dword [esi + 0x6c]
mov edi, dword [esi]
push edx
push ecx
push eax
mov ecx, esi
call fcn.0040dc90
mov edx, dword [edi + 0x184]
push eax
mov ecx, esi
call edx
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x40fe61
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
push esi
add eax, 0xffffffe0
cmp eax, 0x51
push edi
mov esi, ecx
ja case.0x40fd6e.33
movzx eax, byte [eax + 0x40ff4c]
jmp dword [eax*4 + 0x40ff2c]
mov edx, dword [esi]
mov eax, dword [edx + 0x224]
push 1
call eax
pop edi
pop esi
add esp, 0x10
ret 0xc
mov edx, dword [esi]
mov eax, dword [edx + 0x224]
push 0
call eax
pop edi
pop esi
add esp, 0x10
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge case.0x40fd6e.33
mov ecx, esi
call fcn.00423fdf
test al, 4
jne case.0x40fd6e.33
push 2
push 2
push 0xffffffffffffffff
mov ecx, esi
call fcn.0041d286
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge case.0x40fd6e.33
mov edx, dword [esi]
mov eax, dword [edx + 0x280]
mov ecx, esi
call eax
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge case.0x40fd6e.33
mov edx, dword [esi]
mov eax, dword [edx + 0x14c]
push 0
push 0xffffffffffffffff
mov ecx, esi
call eax
pop edi
pop esi
add esp, 0x10
ret 0xc
mov ecx, dword [esi + 0x20]
mov edi, dword [esi + 0x6c]
push 1
push 0xffffffffffffffff
push 0x100c
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esi]
push edi
push eax
mov eax, dword [edx + 0x188]
mov ecx, esi
call eax
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl case.0x40fd6e.33
mov ecx, esi
call fcn.00409a10
test al, 4
mov ecx, esi
je 0x40fecc
call fcn.00423fdf
test eax, 0x1000
je case.0x40fd6e.33
mov ecx, esi
call fcn.0040dc90
mov edi, eax
cmp edi, 0xffffffff
je case.0x40fd6e.33
mov edx, dword [esi]
mov eax, dword [edx + 0x214]
push edi
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x218]
test al, al
sete al
mov ecx, esi
push eax
push edi
call edx
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
call fcn.0040dc90
cmp eax, 0xffffffff
je case.0x40fd6e.33
mov eax, dword [esi + 0x6c]
cmp eax, 0xffffffff
je case.0x40fd6e.33
lea ecx, [esp + 8]
push ecx
push 1
push eax
mov ecx, esi
call fcn.0040dc90
push eax
mov ecx, esi
call fcn.0040fba0
test eax, eax
je case.0x40fd6e.33
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov eax, dword [esi + 0x6c]
mov edi, dword [esi]
push edx
push ecx
push eax
mov ecx, esi
call fcn.0040dc90
mov edx, dword [edi + 0x184]
push eax
mov ecx, esi
call edx
mov ecx, esi
call fcn.0042128e
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x410ec0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4551c8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x46ec3c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00425e9e
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410f00
push 0x80004005
call fcn.00401790
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov edx, dword [edi]
mov edx, dword [edx + 0x20c]
push 1
lea eax, [esp + 0x14]
push eax
mov ecx, edi
mov dword [esp + 0x24], 0
call edx
test al, al
jne 0x410f6e
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411011
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
lea ebx, [eax + 1]
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x410fa5
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x410f4b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x410f2f
mov ecx, dword [esp + 0x10]
push ebx
push ecx
push eax
call fcn.0043b9a0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test eax, eax
jne 0x411008
mov edx, dword [edi + 0x20]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x410fec
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x410ff5
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x411008
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x410fe6
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x10]
call fcn.00401060
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x411e10
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
mov esi, ecx
cmp dword [esi + 0x6c], 0
jg 0x411e28
call fcn.0042128e
pop esi
add esp, 8
ret 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x411e55
push 0
push 0x458b51
lea ecx, [esi + 0x70]
call fcn.00402760
mov dword [esi + 0x84], 0
pop esi
add esp, 8
ret 0xc
push ebx
push edi
push 2
push 0
push 0
push 0
lea ecx, [esp + 0x1c]
call fcn.0040d6c0
mov ecx, dword [eax]
mov ebx, dword [esi + 0x74]
mov eax, dword [eax + 4]
mov edi, dword [esi + 0x78]
add ebx, ecx
push 0
adc edi, eax
call fcn.0043b8fb
add esp, 4
cmp edx, edi
jl 0x411ea1
jg 0x411e8b
cmp eax, ebx
jb 0x411ea1
mov eax, dword [esi + 0x70]
cmp dword [eax - 0xc], 0
lea ecx, [esi + 0x70]
jle 0x411ea1
push 0x458b51
call fcn.00403660
mov ecx, dword [esi + 0x7c]
cmp ecx, dword [esi + 0x6c]
je 0x411eb6
push 0x458b51
lea ecx, [esi + 0x70]
call fcn.00403660
mov edx, dword [esi + 0x20]
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 1
push 0xffffffffffffffff
push 0x100c
push edx
call ebp
cmp dword [esi + 0x80], eax
je 0x411ee1
push 0x458b51
lea ecx, [esi + 0x70]
call fcn.00403660
mov eax, dword [esi + 0x70]
lea edi, [esi + 0x70]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
jne 0x411ef4
mov dword [esi + 0x84], ebx
mov ecx, dword [esi + 0x6c]
push ebx
mov dword [esi + 0x7c], ecx
call fcn.0043b8fb
mov dword [esi + 0x78], edx
mov edx, dword [edi]
mov ecx, 1
add esp, 4
mov dword [esi + 0x74], eax
cmp dword [edx - 0xc], ecx
jne 0x411f36
mov eax, edx
cmp dword [eax - 0xc], ebx
jge 0x411f26
push 0x80070057
call fcn.00401790
mov al, byte [eax]
cmp al, byte [esp + 0x1c]
jne 0x411f36
add dword [esi + 0x84], ecx
jmp 0x411f7d
cmp dword [esi + 0x84], ebx
jle 0x411f67
mov edi, edi
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jl 0x411f1c
movzx ecx, byte [eax]
mov edx, eax
mov eax, dword [edx - 0xc]
push ecx
add eax, 1
push eax
mov ecx, edi
call fcn.00411630
add ebx, 1
cmp ebx, dword [esi + 0x84]
jl 0x411f40
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, edi
mov dword [esi + 0x84], 0
call fcn.004114c0
mov edx, dword [esi + 0x20]
push 1
push 0xffffffffffffffff
push 0x100c
push edx
call ebp
mov ebx, eax
test ebx, ebx
jge 0x411f94
xor ebx, ebx
mov eax, dword [esi + 0x6c]
test eax, eax
jge 0x411fa7
mov eax, dword [esi]
mov edx, dword [eax + 0x168]
mov ecx, esi
call edx
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 1
mov edx, dword [esi]
push edi
mov ecx, esi
jne 0x411fb7
add ebx, 1
push ebx
push eax
mov eax, dword [edx + 0x21c]
call eax
cmp eax, 0xffffffff
mov dword [esi + 0x80], eax
je 0x412011
push 2
push 0
push 0xffffffffffffffff
mov ecx, esi
call fcn.0041d286
mov ecx, dword [esi + 0x80]
push 2
push 2
push ecx
mov ecx, esi
call fcn.0041d286
mov edx, dword [esi + 0x80]
push 1
push 1
push edx
mov ecx, esi
call fcn.0041d286
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x20]
push 0
push eax
push 0x1013
push ecx
call ebp
pop ebp
pop edi
pop ebx
pop esi
add esp, 8
ret 0xc
Function at 0x417640
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x455928
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x46ec3c]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esp + 0x24]
fld qword [esp + 0x1c]
mov eax, dword [esi]
mov eax, dword [eax + 0x14]
push ecx
sub esp, 8
lea edx, [esp + 0x30]
fstp qword [esp]
push edx
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x5c]
push eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x18], 0
call edx
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x10], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4176bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 0x10

Function at 0x4179b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x455988
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x46ec3c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x38]
push edx
lea ecx, [esi + 8]
push edi
lea edx, [esp + 0x30]
push edx
mov dword [esp + 0x18], 0
call eax
push eax
push edi
mov edi, dword [esp + 0x28]
push edi
mov ecx, esi
mov dword [esp + 0x24], 0
call fcn.00417200
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417a35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc