Function at 0x443c10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
push ebx
xor ebx, ebx
cmp word [0x656168], bx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_KillTimer]
mov dword [esp + 0x18], ebx
je 0x443c46
mov eax, dword [esi + 0x14]
push 1
push eax
call edi
mov word [0x656168], bx
cmp word [0x655c20], bx
je 0x443c5e
mov ecx, dword [esi + 0x14]
push 2
push ecx
call edi
mov word [0x655c20], bx
mov ax, word [0x656160]
cmp ax, bx
je 0x443cbc
mov edx, dword [0x65431c]
mov ecx, dword [0x6559ec]
push 0x6544e8
push eax
xor eax, eax
cmp word [esi + 0x26c], 2
push edx
mov edx, dword [0x6559e8]
sete al
push eax
mov eax, dword [0x6550ec]
push ecx
mov ecx, dword [0x6550e8]
push edx
mov edx, dword [0x655a5c]
push eax
mov eax, dword [0x656164]
push ecx
push edx
push eax
push esi
call fcn.004252f0
add esp, 0x2c
mov word [0x656160], bx
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov edi, 1
mov dword [esi + 0x60], edi
cmp word [0x655c2c], 0xffff
jne 0x443d3f
movsx ecx, word [ebp + 0x12]
movsx eax, word [ebp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.0042ebc0
xor eax, eax
mov ax, word [esi + 0x2ba]
lea edx, [eax*8]
sub edx, eax
lea ecx, [eax + edx*4]
lea edx, [eax + ecx*2]
mov ecx, dword [0x6559e0]
lea eax, [eax + edx*2]
mov eax, dword [ecx + eax*2 + 0x96]
cmp eax, ebx
je 0x44442e
mov dx, word [esi + 0x26c]
mov ecx, dword [esp + 0x1c]
push ebx
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push ecx
push esi
call eax
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esp + 0x10], edi
mov ax, word [esi + 0x26c]
dec eax
cmp eax, 0x11
ja case.0x443d5e.6
xor edx, edx
mov dl, byte [eax + 0x444450]
jmp dword [edx*4 + 0x444438]
movsx ecx, word [ebp + 0x12]
movsx eax, word [ebp + 0x10]
push ecx
push eax
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.0042ebc0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edi, dword [ebp + 0xc]
lea edx, [esp + 0x60]
push ebx
push edx
mov dx, word [0x655c2c]
mov dword [esp + 0x68], eax
push edx
push ecx
push eax
push esi
mov dword [esp + 0x7c], ecx
mov dword [esp + 0xa4], 0x443a50
mov dword [esp + 0xa0], edi
call fcn.00434d10
add esp, 0x18
test ax, ax
jne 0x4443cd
mov eax, dword [0x655c2c]
and eax, 0xffff
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 + 0x96]
cmp eax, ebx
je 0x4443cd
mov cx, word [esi + 0x26c]
mov edx, dword [esp + 0x14]
push ebx
push ecx
mov ecx, dword [esp + 0x18]
push edx
push ecx
push edi
push esi
call eax
add esp, 0x18
jmp 0x4443cd
push esi
call fcn.00420cc0
mov edx, dword [0x6559ec]
mov eax, dword [0x6559e8]
add esp, 4
mov ecx, esi
push edx
push eax
call fcn.00433ad0
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x60], ebx
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, esi
mov dword [esp + 0x18], edi
mov dword [esi + 0x60], edi
call fcn.00432120
jmp 0x4443cd
mov eax, dword [0x656164]
cmp eax, ebx
je 0x443e75
push eax
mov ecx, esi
call fcn.00432360
mov edx, dword [0x656164]
push edx
push esi
call fcn.00456830
add esp, 8
mov dword [0x656164], ebx
mov eax, dword [0x6559ec]
mov ecx, dword [0x6550ec]
mov edx, dword [0x6550e8]
add ecx, eax
push ecx
mov ecx, dword [0x6559e8]
add edx, ecx
push edx
push eax
lea eax, [esp + 0x34]
push ecx
push eax
call fcn.004caf30
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
add esp, 0x14
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x50], edx
lea edx, [esp + 0x4c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
push edx
lea eax, [esp + 0x3c]
push 0x443ab0
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x48], 0x3fffffff
mov word [esp + 0x50], bx
mov dword [esp + 0x4c], ebx
mov word [esp + 0x52], 0xffff
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x6c], ebx
call fcn.004308f0
mov edx, dword [esp + 0x5c]
push ebx
push esi
mov dword [esp + 0x20], edx
call fcn.004384e0
add esp, 8
jmp 0x4443cd
cmp dword [0x656164], ebx
je 0x44442e
movsx ecx, word [ebp + 0x12]
movsx eax, word [ebp + 0x10]
push ecx
push eax
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.0042ebc0
cmp dword [0x656164], ebx
je case.0x443d5e.2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
push esi
lea ecx, [esi + 0x38e]
call fcn.0042f380
test eax, eax
jne case.0x443d5e.2
cmp dword [0x656158], ebx
je 0x443f78
mov eax, dword [0x656164]
mov ecx, 0x651a58
push eax
call fcn.0041a860
jmp 0x4443cd
mov edx, dword [0x656164]
lea ecx, [esp + 0x10]
push 0x2e
push ecx
push edx
push esi
call fcn.00429ec0
add esp, 0x10
jmp 0x4443cd
mov dword [esp + 0x10], ebx
cmp word [esi + 0x26c], bx
je 0x443fd0
cmp dword [0x656158], ebx
je 0x443fd0
mov eax, dword [0x656164]
cmp eax, ebx
je 0x443fd0
push eax
push ebx
mov ecx, esi
call fcn.004349d0
mov eax, dword [0x656164]
mov ecx, dword [esi + 0x130]
cmp eax, ecx
jne 0x443fd0
mov dword [esi + 0x130], ebx
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x1b
call edi
test ah, 0x80
je 0x443ff8
cmp dword [0x656158], ebx
jne 0x44402d
mov dword [0x6550ec], ebx
mov dword [0x6550e8], ebx
jmp 0x44430d
cmp dword [ebp + 0xc], ebx
jne 0x44402d
push 0x10
call edi
test ah, 0x80
je 0x44402d
mov ecx, dword [0x6550e8]
push ecx
call fcn.0040c350
mov edx, dword [0x6550ec]
mov edi, eax
push edx
call fcn.0040c350
add esp, 8
cmp edi, eax
jl 0x44402d
mov dword [0x6550ec], ebx
cmp dword [0x6550e8], ebx
jne 0x444049
cmp dword [0x6550ec], ebx
jne 0x444049
cmp dword [0x656158], ebx
je 0x44430d
mov ax, word [esi + 0x26c]
cmp ax, 0x10
je 0x4440c9
cmp ax, 0x11
je 0x4440c9
mov ax, word [esi + 0x2ba]
cmp ax, 1
je 0x4440c9
and eax, 0xffff
push ebx
mov word [esi + 0xa04], 1
push ebx
lea ecx, [eax*8]
push 0x27
sub ecx, eax
push esi
lea edx, [eax + ecx*4]
lea ecx, [eax + edx*2]
lea edx, [eax + ecx*2]
mov eax, dword [0x6559e0]
call dword [eax + edx*2 + 0x16]
xor eax, eax
mov ax, word [esi + 0x2ba]
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 [0x656164]
mov ecx, dword [0x6559e0]
push eax
push ebx
push 0x44
push esi
call dword [ecx + edx*2 + 0x16]
add esp, 0x20
mov eax, dword [0x656164]
cmp eax, ebx
je 0x4440da
push eax
mov ecx, esi
call fcn.00431d70
mov eax, dword [0x656164]
mov ecx, dword [0x6550e8]
mov edx, dword [0x655a5c]
mov dword [esp + 0x68], eax
mov eax, dword [0x65431c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x74], eax
mov ax, word [esi + 0x26c]
mov dword [esp + 0x64], edx
mov edx, dword [0x6550ec]
mov dword [esp + 0x78], ecx
xor ecx, ecx
cmp ax, 2
mov dword [esp + 0x70], edx
mov edx, dword [0x656158]
sete cl
mov dword [esp + 0x7c], edx
mov edx, dword [0x6559e8]
mov dword [esp + 0x80], ecx
mov ecx, dword [0x6559ec]
cmp ax, 2
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
jne 0x44422d
fild dword [0x6550e8]
push 0x40000000
push ebx
sub esp, 8
fstp qword [esp]
call fcn.00402340
fstp qword [esp + 0x28]
fild dword [0x6550ec]
add esp, 0x10
push 0x40000000
push ebx
sub esp, 8
fstp qword [esp]
call fcn.00402340
fadd qword [esp + 0x28]
add esp, 8
fstp qword [esp]
call fcn.00402350
mov dx, word [esi + 0xc]
fstp qword [esp + 0x30]
push edx
push 0x3e80
call fcn.004017f0
mov dword [esp + 0x28], eax
add esp, 0x10
fild dword [esp + 0x18]
fcomp qword [esp + 0x28]
fnstsw ax
test ah, 0x41
je 0x44421f
cmp dword [0x6550e8], ebx
je 0x444200
fild dword [0x6550e8]
sub esp, 8
fstp qword [esp]
fild dword [0x6550ec]
sub esp, 8
fstp qword [esp]
call fcn.00402310
fchs
fmul qword [0x4dcaf8]
add esp, 0x10
fmul qword [0x4dcaf0]
call fcn.004d7580
jmp 0x444218
mov ecx, dword [0x6550ec]
xor eax, eax
cmp ecx, ebx
setge al
dec eax
and eax, 0xfffd40e0
add eax, 0x41eb0
mov dword [esp + 0x80], eax
lea ecx, [esp + 0x60]
push ecx
push esi
call fcn.0045ad60
add esp, 8
cmp dword [0x656164], ebx
je 0x444243
lea edx, [esp + 0x60]
push edx
push esi
call fcn.0045ad60
add esp, 8
mov eax, dword [0x655a5c]
mov dword [esp + 0x18], 1
cmp eax, ebx
je 0x444261
mov eax, dword [0x656164]
mov ecx, esi
push eax
call fcn.00432360
mov ax, word [esi + 0x26c]
cmp ax, 0x10
je 0x4442d9
cmp ax, 0x11
je 0x4442d9
mov ax, word [esi + 0x2ba]
cmp ax, 1
je 0x4442d9
and eax, 0xffff
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 [0x656164]
mov ecx, dword [0x6559e0]
push eax
push ebx
push 0x45
push esi
call dword [ecx + edx*2 + 0x16]
xor eax, eax
push ebx
mov ax, word [esi + 0x2ba]
push ebx
push 0x28
push esi
lea edx, [eax*8]
sub edx, eax
lea ecx, [eax + edx*4]
lea edx, [eax + ecx*2]
mov ecx, dword [0x6559e0]
lea eax, [eax + edx*2]
call dword [ecx + eax*2 + 0x16]
add esp, 0x20
cmp dword [0x656158], ebx
je 0x44430d
mov eax, dword [0x656164]
cmp eax, ebx
je 0x44430d
cmp word [esi + 0x26c], 3
je 0x44430d
xor edx, edx
cmp word [0x656172], bx
push eax
sete dl
push edx
push 0x46
push esi
call fcn.0042f000
add esp, 0x10
cmp word [esi + 0x2ba], 1
jne 0x4443cd
cmp dword [esp + 0x10], ebx
jne 0x444339
push esi
call fcn.00420cc0
mov eax, dword [0x656164]
add esp, 4
mov ecx, esi
push eax
call fcn.00432360
jmp 0x4443b5
cmp dword [0x65615c], ebx
jne 0x44438d
cmp dword [0x655a5c], ebx
jne 0x44434c
mov dword [esi + 0x60], ebx
mov ecx, dword [esi + 0x14]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp dword [0x655a5c], ebx
jne 0x44436e
mov ecx, esi
mov dword [esi + 0x60], 1
call fcn.00432120
jmp 0x4443cd
mov edx, dword [0x656164]
push edx
push esi
call fcn.00456cf0
mov eax, dword [0x656164]
add esp, 8
mov ecx, esi
push eax
call fcn.00431d70
jmp 0x4443cd
cmp word [esi + 0x26c], bx
jne 0x4443cd
test byte [0x65431c], 4
je 0x4443cd
cmp dword [0x65614c], ebx
jne 0x4443cd
mov ecx, dword [0x656164]
push ecx
mov ecx, esi
call fcn.00432040
push esi
call fcn.004322a0
add esp, 4
mov word [esi + 0x2a6], ax
mov dword [esp + 0x18], 1
mov word [0x655c2c], 0xffff
mov dword [0x656158], ebx
cmp word [esi + 0x36], bx
je 0x4443f8
cmp word [esi + 0x26c], 3
je 0x4443f8
push ebx
push ebx
push ebx
push esi
call fcn.0042b6b0
add esp, 0x10
push esi
mov dword [0x656164], ebx
call fcn.00434c60
mov eax, dword [esp + 0x1c]
add esp, 4
cmp eax, ebx
je 0x444422
cmp word [esi + 0x2ba], 1
jne 0x444422
push esi
call fcn.0042dac0
add esp, 4
mov dword [0x6550ec], ebx
mov dword [0x6550e8], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret