Function at 0x433924
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4a1d78]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [0x4a4978]
lea eax, [ebp - 0x18]
push edi
lea edi, [ebp - 0x18]
mov ebx, ecx
push eax
lea esi, [esi + 4]
mov dword [ebp - 0x28], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00432980
mov eax, dword [ebp + 8]
sub eax, 0x200
je 0x433a76
dec eax
sub eax, 1
je 0x433980
sub eax, 0x1fe
jne 0x433c36
call fcn.004338c7
jmp 0x433c36
mov eax, dword [ebx + 0x40]
xor edi, edi
cmp eax, dword [0x4a2d60]
je 0x4339a0
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x4339a0
push 1
push edi
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.004338c7
cmp dword [0x4a2d60], edi
jne 0x433a3c
call fcn.0041e987
mov ecx, eax
call dword [sym.imp.MFC42u.dll_CFrameWnd::GetActiveView]
mov esi, edi
test eax, eax
je 0x4339c7
mov esi, dword [eax + 0x40]
test esi, esi
je 0x433a65
push 1
push 0x40f474
call fcn.004665e0
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4339fb
mov ecx, dword [esi + 0xec]
push edi
push 1
push 0x20d
call fcn.0041da4c
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push 0x4a3c98
mov dword [0x4a3c98], ecx
mov dword [0x4a3c9c], eax
push ecx
mov ecx, dword [esi + 0xec]
call fcn.0041dea8
mov ecx, dword [esi + 0xec]
push edi
push edi
push 0x20d
call fcn.0041da4c
call fcn.004666c2
jmp 0x433a65
call fcn.0042bd90
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x18]
sub eax, dword [ebp - 0x14]
push eax
push ecx
push ecx
mov ecx, 0x4a2cd0
call fcn.004284b0
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.00434f9a
push 1
push edi
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x433c36
mov eax, dword [0x4a4974]
add eax, 0xfffffffd
cmp eax, 7
ja case.0x433a87.3
jmp dword [eax*4 + 0x433c4c]
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], edi
cmp edi, ecx
jl 0x433aa1
lea edi, [ecx - 1]
mov dword [ebp - 0x18], edi
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x14]
jmp 0x433b85
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
cmp ecx, edi
jg 0x433aa1
lea ecx, [edi + 1]
mov dword [ebp - 0x10], ecx
jmp 0x433aa1
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0xc], esi
jmp 0x433b5d
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
cmp ebx, esi
jl 0x433aeb
lea ebx, [esi - 1]
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
jl 0x433b85
lea edi, [ecx - 1]
mov dword [ebp - 0x18], edi
jmp 0x433b85
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ecx
cmp ebx, esi
jl 0x433b1a
lea ebx, [esi - 1]
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp - 0x18]
cmp ecx, edi
jg 0x433b85
lea ecx, [edi + 1]
mov dword [ebp - 0x10], ecx
jmp 0x433b85
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], esi
cmp edi, ecx
jl 0x433b5d
lea edi, [ecx - 1]
mov dword [ebp - 0x18], edi
jmp 0x433b5d
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], esi
cmp ecx, edi
jg 0x433b5d
lea ecx, [edi + 1]
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp - 0x14]
cmp esi, ebx
jg 0x433b85
lea esi, [ebx + 1]
mov dword [ebp - 0xc], esi
jmp 0x433b85
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
cmp ebx, esi
jl 0x433b85
lea ebx, [esi - 1]
mov dword [ebp - 0x14], ebx
cmp dword [0x4a2d60], 0
jne 0x433c07
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x20], eax
cmp dword [eax + 0x4c], 0
je 0x433bec
mov edx, dword [eax + 0x50]
mov dword [ebp - 0x1c], edx
cmp edx, 1
je 0x433bc6
cmp edx, dword [eax + 0x2c]
jg 0x433bc6
mov eax, edx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
cdq
idiv dword [ebp - 0x1c]
mov ecx, eax
mov eax, dword [ebp - 0x20]
imul ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], ecx
mov edx, dword [eax + 0x54]
mov dword [ebp - 0x1c], edx
cmp edx, 1
je 0x433bec
cmp edx, dword [eax + 0x30]
jg 0x433bec
mov eax, edx
cdq
sub eax, edx
sar eax, 1
add eax, esi
cdq
idiv dword [ebp - 0x1c]
mov esi, eax
imul esi, dword [ebp - 0x1c]
mov dword [ebp - 0xc], esi
sub ecx, edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], ecx
sub esi, ebx
mov ecx, dword [0x4a2b54]
push eax
mov dword [ebp - 0x20], esi
call fcn.0041b8e9
jmp 0x433c20
sub ecx, edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], ecx
sub esi, ebx
mov ecx, dword [0x4a2b54]
push eax
mov dword [ebp - 0x20], esi
call fcn.0041b3d0
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push eax
call fcn.00432a52
push ecx
lea eax, [ebp - 0x18]
push eax
call fcn.0045f06e
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048e170
mov esp, ebp
pop ebp
ret 0xc