Function at 0x419cc4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4e0
mov eax, dword [0x5b41f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x4e0]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x3c
push 0
push eax
call fcn.004cbf40
push 0x5c
lea eax, [ebp - 0x4a0]
push 0
push eax
call fcn.004cbf40
push 0x20
lea eax, [ebp - 0x44]
push eax
push edi
call fcn.00419b38
add esp, 0x24
test eax, eax
je 0x419d26
push 0x20
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x484]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea eax, [ebp - 0x4a4]
push eax
push edi
call fcn.00419b3e
mov ecx, dword [ebp - 0x4a4]
test eax, eax
movzx edx, byte [ebp - 0x489]
lea eax, [ebp - 0x4a4]
movzx ecx, cl
push eax
cmovne edx, ecx
push edi
mov byte [ebp - 0x489], dl
call fcn.00419b41
add esp, 0x10
test eax, eax
je 0x419d93
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push 0x48
mov esi, eax
push 0x5a
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push dword [ebp - 0x4a4]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push esi
neg eax
push ebx
mov dword [ebp - 0x4a0], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push 0x5b33a4
push edi
call esi
neg eax
push 0x5b33b0
sbb eax, eax
and eax, 0x12c
add eax, 0x190
push edi
mov dword [ebp - 0x490], eax
call esi
test eax, eax
mov dword [ebp - 0x4e0], 0x3c
lea eax, [ebp - 0x4a0]
mov dword [ebp - 0x4dc], ebx
push 0x10
setne byte [ebp - 0x48c]
mov dword [ebp - 0x4d4], eax
mov dword [ebp - 0x4cc], 0x41
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x419e05
or dword [ebp - 0x4cc], 0x4000
lea eax, [ebp - 0x4e0]
push eax
call dword [sym.imp.COMDLG32.dll_ChooseFontW]
test eax, eax
je 0x41a0af
lea eax, [ebp - 0x484]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x41a0af
push 0x5b33c0
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x484]
push eax
lea eax, [ebp - 0x444]
push eax
call esi
push 0x20
lea eax, [ebp - 0x44]
push eax
push edi
call fcn.00419b3b
add esp, 0xc
test eax, eax
je 0x419e85
push str.__smoothing:
lea eax, [ebp - 0x444]
push eax
call esi
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x444]
push eax
call esi
cmp dword [ebp + 0x14], 0
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
je 0x419edb
mov al, byte [ebp - 0x489]
cmp al, 1
je 0x419edb
test al, al
je 0x419edb
movzx eax, al
cmp eax, dword [0x5bcd40]
je 0x419edb
push str.__charset:
lea eax, [ebp - 0x444]
push eax
call esi
movzx eax, byte [ebp - 0x489]
push eax
lea eax, [ebp - 0x44]
push 0x5b3400
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x444]
push eax
call esi
push str.__size:
lea eax, [ebp - 0x444]
push eax
call esi
mov eax, dword [ebp - 0x4d0]
push 0xa
pop ecx
cdq
idiv ecx
push eax
lea eax, [ebp - 0x44]
push 0x5b3418
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x444]
push eax
call esi
mov eax, dword [ebp - 0x4b0]
test eax, 0x100
je 0x419f32
push str.__bold
lea eax, [ebp - 0x444]
push eax
call esi
mov eax, dword [ebp - 0x4b0]
test eax, 0x200
je 0x419f47
push str.__italic
lea eax, [ebp - 0x444]
push eax
call esi
push 0x5b3444
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x419f65
push str.__underline
lea eax, [ebp - 0x444]
push eax
call esi
lea eax, [ebp - 0x4a4]
push eax
push edi
push 1
call fcn.00419bc9
add esp, 0xc
test eax, eax
je 0x419fb0
mov ecx, dword [ebp - 0x4a4]
mov eax, ecx
sar eax, 0x10
movzx eax, al
push eax
movzx eax, cx
shr eax, 8
push eax
movzx eax, cl
push eax
lea eax, [ebp - 0x44]
push str.__fore:_02X_02X_02X
push eax
call ebx
add esp, 0x14
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x444]
push eax
call esi
lea eax, [ebp - 0x4a4]
push eax
push edi
push 0
call fcn.00419bc9
mov ebx, dword [ebp - 0x4a4]
add esp, 0xc
test eax, eax
je 0x419fff
mov eax, ebx
sar eax, 0x10
movzx eax, al
push eax
movzx eax, bx
shr eax, 8
push eax
movzx eax, bl
push eax
lea eax, [ebp - 0x44]
push 0x5b349c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x444]
push eax
call esi
push 0x5b34c8
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x41a01d
push 0x5b34dc
lea eax, [ebp - 0x444]
push eax
call esi
lea eax, [ebp - 0x4a4]
push eax
push edi
call fcn.00419cbe
pop ecx
pop ecx
test eax, eax
je 0x41a058
push 0x5b34f4
lea eax, [ebp - 0x444]
push eax
call esi
cmp ebx, 1
mov ecx, 0x5ba228
mov eax, 0x5b3504
cmovne eax, ecx
push eax
lea eax, [ebp - 0x444]
push eax
call esi
lea eax, [ebp - 0x4a4]
push eax
push edi
call fcn.00419cc1
pop ecx
pop ecx
test eax, eax
je 0x41a099
push 0x5b3508
lea eax, [ebp - 0x444]
push eax
call esi
push ebx
lea eax, [ebp - 0x44]
push 0x5b351c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x444]
push eax
push ecx
call esi
push dword [ebp + 0x10]
lea ecx, [ebp - 0x444]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
xor eax, eax
inc eax
jmp 0x41a0b1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004afcaa
leave
ret