Function at 0x41b0c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x100
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x18]
cmp eax, dword [esi + 0x417c]
jne 0x41b0fb
cmp edi, dword [esi + 0x4180]
jne 0x41b0fb
mov ecx, 0x3c00
test word [esi + 0x4148], cx
jne 0x41b0fb
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [esi + 0x40d0]
push ebx
push 0
mov dword [esi + 0x417c], eax
mov dword [esi + 0x4180], edi
call fcn.004373b0
test byte [esi + 0x4148], 0x80
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
je 0x41b140
push 1
call ebx
mov edx, 0x8000
and ax, dx
mov ecx, edx
cmp ax, cx
je 0x41b140
push 0
mov ecx, esi
call fcn.00416b10
test byte [esi + 0x4148], 0x30
je 0x41b162
call fcn.004b6da0
test al, al
je 0x41b20b
mov edx, 0xc3cc
and word [esi + 0x4148], dx
test byte [esi + 0x4148], 3
je 0x41b180
call fcn.004b6da0
test al, al
je 0x41b180
mov ecx, 0xc3cc
and word [esi + 0x4148], cx
movzx eax, word [esi + 0x4148]
test eax, 0x3c00
je 0x41b1ad
mov edx, dword [0x52fe30]
cmp byte [edx + 0x1128f], 0
jne 0x41b26b
and eax, 0xc3ff
mov word [esi + 0x4148], ax
test byte [esi + 0x4148], 3
mov eax, dword [0x52fe30]
mov dl, byte [eax + 0x11289]
mov ecx, 0
setne cl
test dl, cl
je 0x41b48a
call fcn.004b9e10
test al, al
jne 0x41b485
cmp dword [esi + 0x4848], 0
jne 0x41b2d8
push 0
push str.DnD:_Drag_n_Drop_is_null
mov ecx, esi
call fcn.0041a5b0
xor eax, eax
cmp byte [esi + 0x414b], al
pop ebx
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret 0x20
movzx eax, word [esi + 0x4148]
test al, 0x10
je 0x41b228
test byte [ebp + 0x14], 1
jne 0x41b228
and eax, 0xffee
mov word [esi + 0x4148], ax
movzx eax, word [esi + 0x4148]
test al, 0x20
je 0x41b245
test byte [ebp + 0x14], 2
jne 0x41b245
and eax, 0xffdd
mov word [esi + 0x4148], ax
mov eax, 0xc3ff
and word [esi + 0x4148], ax
movzx eax, word [esi + 0x4148]
test al, 0x30
je 0x41b180
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x20
push 1
call ebx
mov ecx, 0x8000
and ax, cx
mov edx, ecx
cmp ax, dx
je 0x41b295
pop ebx
mov eax, 0xc3ff
and word [esi + 0x4148], ax
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x20
mov eax, dword [ebp + 0x24]
cmp ax, word [esi + 0x4152]
jne 0x41b2b2
mov cx, word [ebp + 0x26]
cmp cx, word [esi + 0x4154]
je 0x41b566
mov edx, dword [0x52fe30]
cmp byte [edx + 0x1128f], 1
jne 0x41b566
push eax
mov ecx, esi
call fcn.0040ea70
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x20
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [esi + 0x47fc]
push 5
push eax
mov eax, dword [esi + 0x47f8]
push ecx
push edx
push eax
mov ecx, esi
mov byte [esi + 0x414b], 1
call fcn.00409ef0
test al, al
jne 0x41b1f7
mov ecx, esi
call fcn.0040a9a0
test al, al
jne 0x41b1f7
push 0
mov ecx, esi
call fcn.0041aac0
test al, al
jne 0x41b1f7
movzx eax, word [esi + 0x4148]
test al, 0x40
je 0x41b38f
push 5
and eax, 0xffbf
mov ecx, edi
shr ecx, 0x10
movsx edx, cx
mov ecx, dword [esi + 0x4804]
push edx
mov edx, dword [esi + 0x4800]
mov word [esi + 0x4148], ax
movsx eax, di
push eax
mov eax, dword [esi + 0x47fc]
push ecx
mov ecx, dword [esi + 0x47f8]
push edx
push eax
push ecx
lea edx, [ebp - 0x100]
push str.Right_drag_started__MOUSE_R_LOCKED_cleared:_cursor_i__i__Rcursor_i__i__Now_i__i__MinDelta_i
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
push 1
push 1
lea eax, [ebp - 0x100]
push eax
mov ecx, esi
call fcn.004092b0
mov cl, byte [esi + 0x4148]
xor edx, edx
and cl, 1
cmp cl, 1
sete dl
mov eax, str.Left_drag_about_to_start
mov edi, edx
test edi, edi
jne 0x41b3b0
mov eax, str.Right_drag_about_to_start
push 1
push 1
push eax
mov ecx, esi
call fcn.004092b0
push 0
call fcn.004b6f20
add esp, 4
push 0
mov ecx, esi
test al, al
jne 0x41b402
push str.DnD:_not_file_panel
call fcn.0041a5b0
mov ecx, dword [ebp + 0x14]
push 0
mov eax, 0xffcc
and word [esi + 0x4148], ax
mov eax, dword [ebp + 0x1c]
push 0
push eax
push eax
push ecx
mov byte [esi + 0x414b], 0
push 0x202
jmp 0x41b557
mov edx, 0xffce
and word [esi + 0x4148], dx
cmp dword [esi + 0x4848], 0
je 0x41b469
push str.DnD:_Drag_n_Drop_starting
call fcn.0041a5b0
test edi, edi
je 0x41b42d
mov eax, dword [esi + 0x414e]
jmp 0x41b433
mov eax, dword [esi + 0x4164]
mov ecx, dword [esi + 0x4848]
push eax
xor eax, eax
test edi, edi
sete al
push eax
call fcn.00433820
push 0
lea ecx, [esi + 0x4a68]
push ecx
mov ecx, esi
call fcn.0041a5b0
pop ebx
pop edi
mov byte [esi + 0x414b], 0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x20
push str.DnD:_Drag_n_Drop_is_null
call fcn.0041a5b0
pop ebx
pop edi
mov byte [esi + 0x414b], 0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x20
mov eax, dword [0x52fe30]
cmp byte [eax + 0x123a], 0
jne 0x41b1f7
cmp byte [eax + 0x11273], 0
je 0x41b1f7
movzx edx, word [esi + 0x4148]
test dl, 0x40
je 0x41b1f7
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
push 3
push eax
mov eax, dword [esi + 0x4804]
push ecx
mov ecx, dword [esi + 0x4800]
push eax
push ecx
mov ecx, esi
call fcn.00409ef0
test al, al
jne 0x41b566
and edx, 0xff9d
cmp dword [esi + 0x78a8], 0
mov word [esi + 0x4148], dx
je 0x41b4f8
mov ecx, esi
call fcn.00410a00
mov edx, edi
shr edx, 0x10
push 3
movsx eax, dx
mov edx, dword [esi + 0x4804]
push eax
mov eax, dword [esi + 0x4800]
movsx ecx, di
push ecx
push edx
push eax
lea ecx, [ebp - 0x100]
push str.Mouse_was_moved__MOUSE_R_LOCKED_cleared:_Rcursor_i__i__Now_i__i__MinDelta_i
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
push 1
push 1
lea edx, [ebp - 0x100]
push edx
mov ecx, esi
call fcn.004092b0
movsx eax, word [esi + 0x4166]
movsx ecx, word [esi + 0x4164]
push 0
push 0
push eax
push ecx
push 0
push 0x204
mov ecx, dword [ebp + 8]
call fcn.004bcc80
mov ecx, eax
call fcn.00492af0
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x20