Function at 0x42a450
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4e0
mov eax, dword [0x633754]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x4a0]
push esi
push edi
mov edi, dword [ebp + 0xc]
xorps xmm0, xmm0
push 0x5c
push 0
push eax
mov dword [ebp - 0x4d8], 0
mov dword [ebp - 0x4d0], 0
movlpd qword [ebp - 0x4c8], xmm0
movlpd qword [ebp - 0x4c0], xmm0
movlpd qword [ebp - 0x4b8], xmm0
movlpd qword [ebp - 0x4b0], xmm0
mov dword [ebp - 0x4a8], 0
call fcn.00546400
push 0x20
lea eax, [ebp - 0x44]
push eax
push edi
call fcn.00429d60
add esp, 0x18
test eax, eax
je 0x42a4e3
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.00429f50
movzx edx, byte [ebp - 0x489]
test eax, eax
movzx ecx, byte [ebp - 0x4a4]
lea eax, [ebp - 0x4a4]
push eax
cmovne edx, ecx
push edi
mov byte [ebp - 0x489], dl
call fcn.0042a000
add esp, 0x10
test eax, eax
je 0x42a54e
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 0x632044
push edi
call esi
neg eax
push 0x632050
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 0x42a5c0
or dword [ebp - 0x4cc], 0x4000
lea eax, [ebp - 0x4e0]
push eax
call dword [sym.imp.COMDLG32.dll_ChooseFontW]
test eax, eax
je 0x42a887
lea eax, [ebp - 0x484]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x42a887
push 0x632060
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.00429e60
add esp, 0xc
test eax, eax
je 0x42a640
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 0x42a696
mov al, byte [ebp - 0x489]
cmp al, 1
je 0x42a696
test al, al
je 0x42a696
movzx eax, al
cmp eax, dword [0x63c340]
je 0x42a696
push str.__charset:
lea eax, [ebp - 0x444]
push eax
call esi
movzx eax, byte [ebp - 0x489]
push eax
lea eax, [ebp - 0x44]
push 0x6320a0
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, 0x66666667
imul dword [ebp - 0x4d0]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
lea eax, [ebp - 0x44]
push 0x6320b8
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 0x42a6f6
push str.__bold
lea eax, [ebp - 0x444]
push eax
call esi
mov eax, dword [ebp - 0x4b0]
test eax, 0x200
je 0x42a70b
push str.__italic
lea eax, [ebp - 0x444]
push eax
call esi
push 0x6320e4
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x42a729
push str.__underline
lea eax, [ebp - 0x444]
push eax
call esi
lea eax, [ebp - 0x4a4]
push eax
push edi
push 1
call fcn.0042a1b0
add esp, 0xc
test eax, eax
je 0x42a774
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.0042a1b0
add esp, 0xc
test eax, eax
je 0x42a7bf
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 0x63213c
push eax
call ebx
add esp, 0x14
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x444]
push eax
call esi
push 0x632168
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x42a7dd
push 0x63217c
lea eax, [ebp - 0x444]
push eax
call esi
lea eax, [ebp - 0x4a4]
push eax
push edi
call fcn.0042a2b0
add esp, 8
test eax, eax
je 0x42a81d
push 0x632194
lea eax, [ebp - 0x444]
push eax
call esi
cmp dword [ebp - 0x4a4], 1
mov ecx, 0x63980c
mov eax, 0x6321a4
cmovne eax, ecx
push eax
lea eax, [ebp - 0x444]
push eax
call esi
lea eax, [ebp - 0x4a4]
push eax
push edi
call fcn.0042a380
add esp, 8
test eax, eax
je 0x42a860
push 0x6321a8
lea eax, [ebp - 0x444]
push eax
call esi
push dword [ebp - 0x4a4]
lea eax, [ebp - 0x44]
push 0x6321bc
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x444]
push eax
call esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x444]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052a352
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052a352
mov esp, ebp
pop ebp
ret