Function at 0x41a300
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
call fcn.004b9e10
test al, al
je 0x41a342
mov ecx, dword [edi + 0x47dc]
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov edx, dword [edi + 0x47e0]
mov dword [eax + 4], edx
mov ecx, dword [edi + 0x47e4]
mov dword [eax + 8], ecx
mov edx, dword [edi + 0x47e8]
mov dword [eax + 0xc], edx
jmp 0x41a4ff
cmp byte [edi + 0x4808], 0
jne 0x41a4ff
push 0
call fcn.004b6f50
add esp, 4
test al, al
jne 0x41a4ff
mov ecx, edi
call fcn.00409940
test al, al
je 0x41a4ff
mov ecx, dword [0x52fe14]
lea eax, [ebp - 0x44]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov dx, word [edi + 0x4148]
mov eax, 0x180
and dx, ax
mov ecx, 0x80
cmp dx, cx
jne 0x41a3c2
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, 0x8000
and ax, dx
mov ecx, edx
cmp ax, cx
jne 0x41a3c2
mov eax, dword [0x52fe2c]
mov edx, 0x100
or word [eax + 0x4148], dx
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x10], ecx
mov ecx, dword [0x52fe34]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
call fcn.0045c5a0
mov ecx, dword [0x52fe34]
mov ebx, eax
call fcn.0045c5c0
mov ecx, eax
test ebx, ebx
je 0x41a414
test ecx, ecx
je 0x41a414
lea eax, [ebx - 1]
cdq
sub eax, edx
sar eax, 1
add dword [ebp - 0xc], eax
lea eax, [ecx - 1]
cdq
sub eax, edx
sar eax, 1
add dword [ebp - 8], eax
mov ecx, dword [0x52fe30]
call fcn.0044d6b0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push 0
sub esp, 0x10
mov bl, al
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov dword [eax + 8], ecx
mov ecx, edi
mov dword [eax + 0xc], edx
call fcn.0040e240
push 0x10
push 0
push 0
lea eax, [ebp - 0x14]
push eax
push 7
lea ecx, [ebp - 0x34]
push ecx
mov ecx, edi
call fcn.0040dbe0
mov edx, dword [eax]
mov dword [ebp - 0x24], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov ecx, dword [eax + 8]
cmp ecx, 4
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
jge 0x41a482
mov dword [ebp - 0x1c], 4
mov bl, 1
cmp eax, 2
jge 0x41a490
mov dword [ebp - 0x18], 2
jmp 0x41a494
test bl, bl
je 0x41a4ff
push 0x10
push 0
push 7
lea edx, [ebp - 0x24]
push edx
push 0
lea eax, [ebp - 0x54]
push eax
mov ecx, edi
call fcn.0040dbe0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov edi, dword [esi + 8]
mov dword [ebp - 0x34], ecx
mov ecx, dword [esi]
mov dword [ebp - 0x30], edx
mov edx, dword [esi + 4]
add ecx, ebx
sub edi, ebx
mov ebx, dword [ebp + 8]
add edx, eax
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xc]
sub eax, dword [ebp - 0x28]
dec ebx
cmp ebx, 7
ja case.default.0x41a4dc
jmp dword [ebx*4 + 0x41a528]
mov dword [esi + 8], ecx
jmp 0x41a4f9
mov dword [esi], edi
mov dword [esi + 4], eax
jmp case.default.0x41a4dc
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
jmp case.default.0x41a4dc
mov dword [esi], edi
mov dword [esi + 0xc], edx
mov edi, dword [ebp - 4]
mov eax, dword [0x52fe34]
cmp byte [eax + 0x125fa], 0
je 0x41a519
push str.OnSizing.end
mov ecx, edi
call fcn.00417c50
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8