Function at 0x44d010
Capabilities:
Log keystrokes via polling

Disassembly:
movsx ecx, word [esp + 0xe]
sub esp, 0x84
push ebx
push ebp
mov ebp, dword [esp + 0x98]
push esi
mov esi, dword [esp + 0x94]
push edi
movsx eax, bp
push ecx
push eax
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.0042ebc0
mov edi, dword [0x655c2c]
cmp di, 1
je 0x44d115
cmp di, 0xffff
je 0x44d0ec
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x9c]
lea edx, [esp + 0x54]
push 0
push edx
push edi
push ecx
push eax
push esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x98], 0x444470
mov dword [esp + 0x94], ebx
call fcn.00434d10
add esp, 0x18
test ax, ax
jne 0x44db54
and edi, 0xffff
mov eax, edi
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
lea ecx, [eax + edx*2]
lea edx, [eax + ecx*2]
mov eax, dword [0x6559e0]
mov eax, dword [eax + edx*2 + 0x8a]
test eax, eax
je 0x44db54
mov cx, word [esi + 0x26c]
mov edx, dword [esp + 0x14]
push 0
push ecx
mov ecx, dword [esp + 0x18]
push edx
push ecx
push ebx
push esi
call eax
add esp, 0x18
jmp 0x44db54
mov eax, dword [esi + 0x4c]
mov edx, ebp
and edx, 0xffff
push edx
push eax
push esi
call fcn.00425100
mov ecx, dword [esi + 0x48]
shr ebp, 0x10
push ebp
push ecx
push esi
call fcn.00425100
add esp, 0x18
jmp 0x44db54
mov ax, word [esi + 0x26c]
cmp ax, 0x13
jne 0x44d1d0
mov edx, dword [esi + 0x14]
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
push 3
push 0x200
push 0x200
lea eax, [esp + 0x3c]
push edx
push eax
call edi
test eax, eax
je 0x44d16d
mov ecx, dword [esi + 0x14]
mov ebp, dword [esp + 0x3c]
push 3
push 0x200
push 0x200
lea edx, [esp + 0x3c]
push ecx
push edx
mov dword [esp + 0xb4], ebp
call edi
test eax, eax
jne 0x44d147
cmp dword [0x6559f8], ebp
je 0x44db5e
mov ecx, dword [esi + 0x14]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esp + 0x2c]
mov eax, dword [0x6559f8]
mov ecx, dword [esp + 0x28]
push 1
push edx
mov dword [esp + 0x20], eax
movsx edx, word [esp + 0xaa]
push ecx
movsx ecx, word [esp + 0x26]
sub ecx, edx
movsx edx, ax
movsx eax, bp
sub edx, eax
push ecx
push edx
push esi
call fcn.00440a20
add esp, 0x18
mov dword [0x6559f8], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
cmp ax, 2
mov edi, 0xc0000001
mov ecx, 0x3fffffff
jne 0x44d1f8
mov dword [0x6559d4], edi
mov dword [0x6559d0], edi
mov dword [0x6559dc], ecx
mov dword [0x6559d8], ecx
mov ax, word [esi + 0x26c]
xor ebx, ebx
cmp ax, bx
je 0x44d20c
cmp ax, 0xf
jne 0x44d218
cmp dword [0x656164], ebx
je 0x44db5e
cmp dword [0x65615c], ebx
je 0x44d76b
cmp ax, 0x10
je 0x44d29a
cmp ax, 0x11
je 0x44d29a
mov ecx, dword [0x655b58]
mov edx, dword [0x654f94]
sub ecx, edx
cmp ecx, 0xfa
jb 0x44db5e
mov edx, dword [esp + 0x10]
mov ecx, dword [0x6550d8]
sub edx, ecx
push edx
call fcn.0040c350
mov ecx, dword [0x655b18]
add esp, 4
lea edx, [ecx*4]
cmp eax, edx
jge 0x44d29a
mov eax, dword [esp + 0x14]
mov edx, dword [0x6550dc]
sub eax, edx
push eax
call fcn.0040c350
mov ecx, dword [0x655b1c]
add esp, 4
lea edx, [ecx*4]
cmp eax, edx
jl 0x44db5e
cmp word [0x656168], bx
je 0x44d2b6
mov eax, dword [esi + 0x14]
push 1
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov word [0x656168], bx
cmp dword [0x656158], ebx
je 0x44d629
cmp word [esi + 0x298], bx
je 0x44d3b0
mov ax, word [esi + 0x26c]
cmp ax, 0x12
je 0x44d3b0
cmp ax, 0x10
je 0x44d3b0
cmp ax, 0x11
je 0x44d3b0
mov edx, dword [0x6550dc]
mov eax, dword [0x6550d8]
lea ecx, [esp + 0x4c]
push ecx
push edx
push eax
push esi
call fcn.004444d0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
add esp, 0x10
cmp eax, ebx
jne 0x44d323
cmp ecx, ebx
je 0x44d3b0
push ecx
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.004d4880
mov eax, dword [esp + 0x28]
mov edx, ebp
shr edx, 0x10
add edx, eax
mov eax, dword [esp + 0x24]
and edx, 0xffff
add eax, ebp
shl edx, 0x10
and eax, 0xffff
add esp, 0xc
or edx, eax
lea eax, [esp + 0x18]
mov ebp, edx
push eax
mov ecx, ebp
mov dword [esp + 0xa4], ebp
and ecx, 0xffff
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x14]
shr edx, 0x10
push ecx
mov dword [esp + 0x24], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_SetCursorPos]
mov ecx, dword [esp + 0x4c]
mov edx, dword [0x6550d8]
mov eax, dword [0x6550dc]
add edx, ecx
mov dword [0x6550d8], edx
mov edx, dword [esp + 0x50]
add eax, edx
mov dword [0x6550dc], eax
lea ebx, [esi + 0x38e]
push 0
push esi
mov ecx, ebx
call fcn.0042f550
mov eax, dword [0x6550dc]
mov ecx, dword [0x6550d8]
push eax
push ecx
push 0x6559e8
mov ecx, esi
call fcn.0042f180
mov eax, dword [0x656164]
test eax, eax
je 0x44d3f0
push eax
call fcn.00432740
mov di, word [eax]
add esp, 4
jmp 0x44d40f
mov ax, word [esi + 0x26c]
cmp ax, 0x12
jne 0x44d404
mov edi, 5
jmp 0x44d40f
push eax
call fcn.0042de30
add esp, 4
mov edi, eax
mov eax, edi
and eax, 0xffff
lea edx, [eax*8]
sub edx, eax
lea ecx, [eax + edx*4]
lea edx, [eax + ecx*2]
lea ecx, [esp + 0x20]
push ecx
push 0
lea eax, [eax + edx*2]
mov edx, dword [0x6559e0]
push 0xb
push esi
call dword [edx + eax*2 + 0x16]
mov eax, dword [esp + 0x20]
mov edx, dword [0x6550d8]
sub eax, edx
push eax
call fcn.0040c350
mov ecx, dword [esp + 0x34]
add esp, 0x14
cmp ecx, eax
jle 0x44d47a
mov ecx, dword [esp + 0x14]
mov edx, dword [0x6550dc]
sub ecx, edx
push ecx
call fcn.0040c350
mov ecx, dword [esp + 0x28]
add esp, 4
cmp ecx, eax
jg 0x44db5e
mov eax, dword [0x656164]
test eax, eax
jne 0x44d592
mov ax, word [esi + 0x26c]
xor edx, edx
cmp ax, 6
sete dl
cmp ax, 0x12
mov word [esp + 0x38], dx
jne 0x44d4ab
mov word [esp + 0x4a], 0
jmp 0x44d4be
cmp ax, 0xe
jb 0x44d4b6
add eax, 0xfffffff8
jmp 0x44d4b9
add eax, 0xfffffff9
mov word [esp + 0x4a], ax
mov eax, dword [esi + 0x31e]
mov ecx, dword [0x6550dc]
mov edx, dword [0x6550d8]
push eax
push ecx
push edx
push esi
mov ecx, ebx
call fcn.0042fe70
push eax
push esi
call fcn.00429e30
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x130]
xor ecx, ecx
add esp, 8
cmp eax, ecx
mov dword [esp + 0x3a], ecx
mov dword [esp + 0x34], ecx
mov dword [0x656164], eax
jne 0x44d52a
mov edx, dword [0x6559e8]
push ecx
mov ecx, dword [0x6559ec]
lea eax, [esp + 0x34]
push eax
push ecx
push edx
push edi
push esi
call fcn.004565b0
add esp, 0x18
mov dword [0x656164], eax
jmp 0x44d5d5
mov ecx, dword [0x6559e8]
push ecx
push 0x7e00
push eax
call fcn.00455dc0
mov edx, dword [0x656164]
xor edi, edi
push edi
push 0x7e02
push edx
call fcn.00455dc0
mov eax, dword [0x6559ec]
mov ecx, dword [0x656164]
push eax
push 0x7e01
push ecx
call fcn.00455dc0
mov edx, dword [0x656164]
push edi
push 0x7e03
push edx
call fcn.00455dc0
mov eax, dword [0x656164]
push eax
call fcn.00432740
mov dword [eax + 2], edi
add esp, 0x34
mov dword [esi + 0x130], edi
jmp 0x44d5d5
mov ecx, dword [0x6559ec]
mov edx, dword [0x6559e8]
push ecx
push edx
push eax
push esi
call fcn.0044db70
mov eax, dword [esp + 0x30]
mov ecx, dword [0x656164]
push eax
push 0x7e02
push ecx
call fcn.00455dc0
mov edx, dword [esp + 0x40]
mov eax, dword [0x656164]
push edx
push 0x7e03
push eax
call fcn.00455dc0
add esp, 0x28
mov ecx, dword [0x656164]
push ecx
call fcn.00432740
mov edx, eax
xor eax, eax
push 0
mov ax, word [edx]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [eax + ecx*4]
lea ecx, [eax + edx*2]
lea edx, [eax + ecx*2]
mov ecx, dword [0x6559e0]
xor eax, eax
mov ax, word [esi + 0x26c]
push eax
push 0x33
push esi
call dword [ecx + edx*2 + 0x16]
and eax, 0xffff
add esp, 0x14
mov dword [0x655a5c], eax
xor ebx, ebx
mov edi, 0xc0000001
jmp 0x44d62e
mov eax, dword [0x655a5c]
cmp eax, ebx
jne 0x44d6b1
push 0x6544e8
mov eax, 0x3fffffff
push 0x44cfd0
push esi
mov dword [0x6544ec], eax
mov dword [0x6544e8], eax
mov dword [0x6544f4], edi
mov dword [0x6544f0], edi
call fcn.004299d0
mov eax, dword [0x6559e8]
mov ecx, dword [0x6544e8]
mov edi, dword [0x6544ec]
mov edx, eax
sub edx, ecx
mov ecx, dword [0x6559ec]
mov dword [0x6559d0], edx
mov edx, ecx
sub edx, edi
mov edi, dword [0x6544f0]
mov dword [0x6559d4], edx
mov edx, dword [esi + 0x466]
sub edx, edi
mov edi, dword [0x6544f4]
add edx, eax
add esp, 0xc
mov dword [0x6559d8], edx
mov eax, dword [esi + 0x46a]
sub eax, edi
jmp 0x44d702
mov ecx, dword [0x656164]
push ecx
call fcn.00432740
mov edx, dword [eax + 2]
add esp, 4
shr edx, 0x10
lea eax, [esp + 0x20]
push edx
push eax
lea ecx, [esi + 0x38e]
call fcn.0042f5c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
neg eax
neg ecx
mov dword [0x6559d0], eax
mov dword [0x6559d4], ecx
mov edx, dword [esi + 0x466]
add edx, eax
mov dword [0x6559d8], edx
mov eax, dword [esi + 0x46a]
add eax, ecx
mov dword [0x6559dc], eax
mov eax, dword [0x655a5c]
cmp eax, ebx
jne 0x44d71e
mov ecx, esi
call fcn.00432120
mov dword [esi + 0x60], ebx
jmp 0x44d76b
cmp dword [0x656158], ebx
jne 0x44d76b
push esi
call fcn.00429990
add esp, 4
cmp ax, 1
jne 0x44d74e
mov ecx, dword [0x656164]
push ecx
push 0x44cf90
push esi
call fcn.004299d0
add esp, 0xc
cmp eax, ebx
jne 0x44d75e
mov edx, dword [0x656164]
push edx
push esi
call fcn.00456cf0
add esp, 8
mov eax, dword [0x656164]
mov ecx, esi
push eax
call fcn.00432360
mov eax, dword [0x656164]
cmp eax, ebx
je 0x44d790
push eax
call fcn.00432740
mov edi, eax
mov eax, dword [0x656164]
add esp, 4
cmp eax, ebx
je 0x44d792
mov eax, dword [edi + 2]
shr eax, 0x10
jmp 0x44d794
xor edi, edi
xor eax, eax
push eax
push esi
lea ecx, [esi + 0x38e]
call fcn.0042f550
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
mov ecx, esi
call fcn.0042f180
cmp word [esi + 0x26c], 0x12
jne 0x44d7c7
mov dword [esp + 0x18], ebx
jmp 0x44d7dd
lea ecx, [esp + 0x10]
push ecx
push 0x6559d0
call fcn.004d48d0
add esp, 8
mov dword [esp + 0x18], eax
mov edx, dword [0x6559e8]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [0x6559ec]
sub ecx, eax
mov dword [esp + 0x14], ecx
mov cx, word [esi + 0x26c]
cmp cx, 2
je 0x44d9cb
mov ax, word [edi]
cmp ax, 6
je 0x44d9cb
cmp word [esi + 0x298], bx
je 0x44d9cb
cmp cx, 0x12
je 0x44d9cb
cmp word [esi + 0x2ba], 1
jne 0x44d9cb
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x54], ecx
mov ecx, dword [0x655a5c]
mov dword [esp + 0x58], edx
mov edx, 0x3fffffff
cmp ecx, ebx
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebx
mov word [esp + 0x38], bx
mov word [esp + 0x3a], 6
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 1
jne 0x44d8e7
mov eax, dword [0x6544e8]
mov ecx, dword [0x6544ec]
mov edx, dword [0x6544f0]
mov edi, dword [0x6544f4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], edx
mov dword [esp + 0x6c], edx
push eax
lea edx, [esp + 0x68]
push ecx
push edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x7c], edi
call fcn.0042fa30
add esp, 0xc
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
jmp 0x44d93d
and eax, 0xffff
mov edx, dword [0x656164]
mov dword [esp + 0x78], edx
lea ebx, [eax*8]
sub ebx, eax
lea ebx, [eax + ebx*4]
lea ebx, [eax + ebx*2]
lea eax, [eax + ebx*2]
lea ebx, [esp + 0x20]
push ebx
xor ebx, ebx
push ecx
mov ecx, dword [0x6559e0]
push ebx
push edx
push esi
call dword [ecx + eax*2 + 0x76]
mov ecx, dword [edi + 2]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], edx
shr ecx, 0x10
push ecx
push esi
mov dword [esp + 0x48], eax
call fcn.00426860
add esp, 0x1c
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esi + 4]
push edx
add eax, ecx
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.0042fa30
mov dx, word [esi + 0xc]
mov eax, dword [esi + 0x372]
push edx
push eax
call fcn.004017f0
mov cx, word [esi + 0xc]
mov edx, dword [esi + 0x372]
add esp, 0x14
push eax
push ecx
push edx
call fcn.004017f0
add esp, 8
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0041cf90
add esp, 0xc
lea ecx, [esp + 0x54]
lea edx, [esp + 0x30]
lea eax, [esp + 0x20]
push ecx
push 0x442ce0
push edx
push eax
mov ecx, esi
call fcn.004308f0
mov eax, dword [esp + 0x5c]
cmp eax, 0x3fffffff
je 0x44d9bc
add dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
cmp eax, 0x3fffffff
je 0x44d9cb
add dword [esp + 0x14], eax
mov ax, word [0x656160]
cmp ax, bx
je 0x44da22
mov ecx, dword [0x65431c]
xor edx, edx
cmp word [esi + 0x26c], 2
push 0x6544e8
push eax
mov eax, dword [0x6559ec]
sete dl
push ecx
mov ecx, dword [0x6559e8]
push edx
mov edx, dword [0x6550ec]
push eax
mov eax, dword [0x6550e8]
push ecx
mov ecx, dword [0x655a5c]
push edx
mov edx, dword [0x656164]
push eax
push ecx
push edx
push esi
call fcn.004252f0
add esp, 0x2c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
mov dword [0x6550e8], eax
mov dword [0x6550ec], ecx
call edi
test ah, 0x80
mov eax, dword [0x65431c]
je 0x44da4d
or al, 4
jmp 0x44da4f
and al, 0xfb
push 0x1b
mov dword [0x65431c], eax
call edi
test ah, 0x80
je 0x44da73
cmp dword [0x656158], ebx
jne 0x44daaa
mov dword [0x6550ec], ebx
mov dword [0x6550e8], ebx
jmp 0x44daaa
cmp dword [0x655a5c], ebx
jne 0x44daaa
test byte [0x65431c], 4
je 0x44daaa
mov edx, dword [0x6550e8]
push edx
call fcn.0040c350
mov edi, eax
mov eax, dword [0x6550ec]
push eax
call fcn.0040c350
add esp, 8
cmp edi, eax
jl 0x44daaa
mov dword [0x6550ec], ebx
mov ax, word [esi + 0x26c]
movsx ebx, word [esp + 0xa2]
cmp ax, 0x10
movsx edi, bp
je 0x44dac8
cmp ax, 0x11
jne 0x44daf6
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x44db4b
mov edx, dword [esi + 0x14]
lea ecx, [esp + 0x84]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
push ebx
lea eax, [esp + 0x88]
push edi
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x44db4b
mov ecx, dword [0x65431c]
mov eax, dword [0x6559ec]
xor edx, edx
cmp word [esi + 0x26c], 2
push 0x6544e8
push 0
sete dl
push ecx
mov ecx, dword [0x6559e8]
push edx
mov edx, dword [0x6550ec]
push eax
mov eax, dword [0x6550e8]
push ecx
mov ecx, dword [0x655a5c]
push edx
mov edx, dword [0x656164]
push eax
push ecx
push edx
push esi
call fcn.004252f0
add esp, 0x2c
mov word [0x656160], ax
jmp 0x44db54
mov word [0x656160], 0
mov dword [0x65615c], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret