Function at 0x100d0220
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x18c
push esi
mov ecx, 0x10164164
call fcn.100384e0
mov ecx, eax
call fcn.100d21a0
movzx eax, al
test eax, eax
je 0x100d09bf
mov ecx, 0x10164164
call fcn.100384e0
mov ecx, eax
call fcn.100d21a0
movzx ecx, al
test ecx, ecx
je 0x100d09bf
mov ecx, 0x10164164
call fcn.100384e0
mov ecx, eax
call fcn.1003ff10
mov edx, dword [eax]
and edx, 1
jne 0x100d09bf
mov ecx, 0x10164164
call fcn.100384e0
mov ecx, eax
call fcn.1003a9c0
push eax
lea ecx, [ebp - 8]
call fcn.1003b240
lea ecx, [ebp - 8]
call fcn.1003b520
test eax, eax
je 0x100d09bf
lea ecx, [ebp - 8]
call fcn.1003b520
mov ecx, eax
call fcn.100d21d0
movzx eax, al
test eax, eax
je 0x100d02dd
mov cl, byte [0x10162271]
mov byte [0x10162860], cl
lea ecx, [ebp - 8]
call fcn.1003b520
mov ecx, eax
call fcn.100d21d0
movzx edx, al
test edx, edx
je 0x100d02fd
mov eax, dword [0x10162274]
mov dword [0x10162864], eax
lea ecx, [ebp - 8]
call fcn.1003b520
mov ecx, eax
call fcn.100d21d0
movzx ecx, al
test ecx, ecx
je 0x100d031f
mov dl, byte [0x10162278]
mov byte [0x10162868], dl
lea ecx, [ebp - 8]
call fcn.1003b520
mov ecx, eax
call fcn.100d21d0
movzx eax, al
test eax, eax
je 0x100d0341
mov cl, byte [0x10162279]
mov byte [0x10162869], cl
lea ecx, [ebp - 8]
call fcn.1003b520
mov ecx, eax
call fcn.100d21d0
movzx edx, al
test edx, edx
je 0x100d0361
mov al, byte [0x1016227c]
mov byte [0x1016286a], al
lea ecx, [ebp - 8]
call fcn.1003b520
mov ecx, eax
call fcn.100d21d0
movzx ecx, al
test ecx, ecx
je 0x100d0383
mov dl, byte [0x1016227a]
mov byte [0x1016286b], dl
lea ecx, [ebp - 8]
call fcn.1003b520
mov ecx, eax
call fcn.100d21d0
movzx eax, al
test eax, eax
je 0x100d03a5
mov cl, byte [0x1016227b]
mov byte [0x1016286c], cl
lea ecx, [ebp - 8]
call fcn.1003b520
mov ecx, eax
call fcn.100d23b0
movzx edx, al
test edx, edx
je 0x100d03c0
jmp 0x100d09bf
lea ecx, [ebp - 0xfc]
call fcn.10039340
lea ecx, [ebp - 0x5c]
call fcn.10039340
lea ecx, [ebp - 0x94]
call fcn.10039340
lea ecx, [ebp - 0x50]
call fcn.10039340
lea ecx, [ebp - 0xf0]
call fcn.10039190
lea ecx, [ebp - 0x180]
call fcn.100392b0
lea ecx, [ebp - 0x44]
call fcn.1003b350
mov eax, dword [ebx + 8]
add eax, 0xc
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x38], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x34], eax
mov ecx, 0x10164164
call fcn.100384e0
mov ecx, eax
call fcn.1003dff0
mov dword [ebp - 0x24], eax
push ecx
movss xmm0, dword [0x100de86c]
movss dword [esp], xmm0
lea ecx, [ebp - 0x108]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.1003b540
push eax
lea ecx, [ebp - 0x3c]
call fcn.10039520
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.10065680
add esp, 8
mov ecx, 0x10164164
call fcn.100384e0
mov ecx, eax
call fcn.1003a9c0
mov ecx, eax
call fcn.1003b520
mov ecx, eax
call fcn.100d13f0
push ecx
movss xmm0, dword [eax + 0x108]
movss dword [esp], xmm0
lea ecx, [ebp - 0x50]
call fcn.1003b700
mov ecx, 0x10164164
call fcn.100384e0
mov dword [ebp - 0x40], eax
mov ecx, 0x10164164
call fcn.100384e0
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x114]
push ecx
mov ecx, dword [ebp - 0x28]
call fcn.100d1420
push eax
lea ecx, [ebp - 0x5c]
call fcn.10039380
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x5c]
call fcn.100394c0
push eax
lea ecx, [ebp - 0x94]
call fcn.10039380
lea ecx, [ebp - 0x94]
push ecx
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x180]
call fcn.10039800
mov eax, dword [0x101640d4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0x44]
push ecx
push 0x46004003
lea edx, [ebp - 0x180]
push edx
mov ecx, dword [0x101640d4]
call dword [ebp - 0x2c]
cmp dword [ebp - 0xa4], 0
jne 0x100d053c
jmp 0x100d09bf
push 0x101526a0
mov ecx, 0x101621f0
call fcn.1003b4d0
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x64], eax
mov byte [ebp - 1], 0
movzx ecx, byte [0x10162868]
test ecx, ecx
je 0x100d056f
cmp dword [ebp - 0xac], 1
je 0x100d05d1
movzx edx, byte [0x1016286a]
test edx, edx
je 0x100d0583
cmp dword [ebp - 0xac], 2
je 0x100d05d1
movzx eax, byte [0x1016286b]
test eax, eax
je 0x100d0597
cmp dword [ebp - 0xac], 3
je 0x100d05d1
movzx ecx, byte [0x10162869]
test ecx, ecx
je 0x100d05b4
cmp dword [ebp - 0xac], 4
je 0x100d05d1
cmp dword [ebp - 0xac], 5
je 0x100d05d1
movzx edx, byte [0x1016286c]
test edx, edx
je 0x100d05d5
cmp dword [ebp - 0xac], 6
je 0x100d05d1
cmp dword [ebp - 0xac], 7
jne 0x100d05d5
mov byte [ebp - 1], 1
mov ecx, 0x10164164
call fcn.100384e0
mov dword [ebp - 0x30], eax
sub esp, 0xc
mov eax, esp
mov ecx, dword [ebp - 0xe4]
mov dword [eax], ecx
mov edx, dword [ebp - 0xe0]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xdc]
mov dword [eax + 8], ecx
lea edx, [ebp - 0x12c]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.100d1420
sub esp, 0xc
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, 0x10154d10
call fcn.1003ca40
movzx ecx, al
test ecx, ecx
je 0x100d0646
movzx edx, byte [0x1016227e]
test edx, edx
je 0x100d0646
jmp 0x100d09bf
mov ecx, 0x10164164
call fcn.100384e0
mov ecx, eax
call fcn.100d22c0
movzx eax, al
test eax, eax
je 0x100d066e
movzx ecx, byte [0x1016227f]
test ecx, ecx
je 0x100d066e
jmp 0x100d09bf
mov ecx, 0x10164164
call fcn.100384e0
mov ecx, eax
call fcn.1003e1b0
mov edx, dword [eax]
and edx, 1
mov byte [ebp - 9], dl
movzx eax, byte [0x10162282]
test eax, eax
je 0x100d069f
movzx ecx, byte [ebp - 9]
test ecx, ecx
jne 0x100d069f
jmp 0x100d09bf
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x100d06e4
mov ecx, dword [ebp - 0x10]
add ecx, 8
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x24]
call eax
movzx ecx, al
test ecx, ecx
jne 0x100d06e4
mov ecx, dword [ebp - 0x10]
call fcn.100d21a0
movzx edx, al
test edx, edx
je 0x100d06e4
mov ecx, dword [ebp - 0x10]
call fcn.100d2510
movzx eax, al
test eax, eax
jne 0x100d06e9
jmp 0x100d09bf
mov ecx, dword [ebp - 0x10]
call fcn.1003ab80
mov esi, eax
mov ecx, 0x10164164
call fcn.100384e0
mov ecx, eax
call fcn.1003ab80
mov ecx, dword [esi]
cmp ecx, dword [eax]
jne 0x100d070f
jmp 0x100d09bf
movzx edx, byte [ebp - 1]
test edx, edx
je 0x100d086d
push ecx
movss xmm0, dword [0x10162288]
movss dword [esp], xmm0
call fcn.100d09d0
add esp, 4
movzx eax, al
test eax, eax
je 0x100d086d
cmp dword [0x10162864], 0
jle 0x100d086b
mov ecx, dword [0x10162864]
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
and edx, 0x8000
je 0x100d086b
movzx eax, byte [0x10162860]
test eax, eax
je 0x100d086b
movzx ecx, byte [0x10162858]
test ecx, ecx
jne 0x100d07e0
movzx edx, byte [0x10162859]
test edx, edx
jne 0x100d07e0
movss xmm0, dword [0x10162284]
comiss xmm0, dword [0x100de864]
jbe 0x100d07e0
mov byte [0x10162858], 1
mov byte [0x10162859], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14], eax
cvtsi2sd xmm0, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100e1390]
movsd qword [ebp - 0x70], xmm0
cvtsd2ss xmm0, qword [ebp - 0x70]
addss xmm0, dword [0x10162284]
movss dword [0x1016285c], xmm0
movzx ecx, byte [0x10162859]
test ecx, ecx
je 0x100d0822
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
cvtsi2sd xmm0, dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x100e1390]
movsd qword [ebp - 0x78], xmm0
cvtsd2ss xmm0, qword [ebp - 0x78]
comiss xmm0, dword [0x1016285c]
jb 0x100d0822
mov byte [0x10162859], 0
movzx eax, byte [0x10162859]
test eax, eax
jne 0x100d084a
mov byte [0x10162858], 0
mov byte [0x10162859], 0
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x30]
or edx, 1
mov eax, dword [ebx + 8]
mov dword [eax + 0x30], edx
movzx ecx, byte [0x1016227d]
test ecx, ecx
je 0x100d086b
mov edx, dword [ebx + 8]
xorps xmm0, xmm0
movss dword [edx + 0x28], xmm0
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movss dword [eax + 0x24], xmm0
jmp 0x100d0886
xorps xmm0, xmm0
movss dword [0x1016285c], xmm0
mov byte [0x10162858], 0
mov byte [0x10162859], 0
movzx ecx, byte [0x1016228c]
test ecx, ecx
je 0x100d09bf
movzx edx, byte [ebp - 1]
test edx, edx
je 0x100d09bf
push ecx
movss xmm0, dword [0x10162288]
movss dword [esp], xmm0
call fcn.100d09d0
add esp, 4
movzx eax, al
test eax, eax
je 0x100d09bf
movzx ecx, byte [0x10162858]
test ecx, ecx
jne 0x100d092e
movzx edx, byte [0x10162859]
test edx, edx
jne 0x100d092e
movss xmm0, dword [0x10162284]
comiss xmm0, dword [0x100de864]
jbe 0x100d092e
mov byte [0x10162858], 1
mov byte [0x10162859], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
cvtsi2sd xmm0, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100e1390]
movsd qword [ebp - 0x80], xmm0
cvtsd2ss xmm0, qword [ebp - 0x80]
addss xmm0, dword [0x10162284]
movss dword [0x1016285c], xmm0
movzx ecx, byte [0x10162859]
test ecx, ecx
je 0x100d0976
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x20], eax
cvtsi2sd xmm0, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
shr edx, 0x1f
addsd xmm0, qword [edx*8 + 0x100e1390]
movsd qword [ebp - 0x88], xmm0
cvtsd2ss xmm0, qword [ebp - 0x88]
comiss xmm0, dword [0x1016285c]
jb 0x100d0976
mov byte [0x10162859], 0
movzx eax, byte [0x10162859]
test eax, eax
jne 0x100d099e
mov byte [0x10162858], 0
mov byte [0x10162859], 0
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x30]
or edx, 1
mov eax, dword [ebx + 8]
mov dword [eax + 0x30], edx
movzx ecx, byte [0x1016227d]
test ecx, ecx
je 0x100d09bf
mov edx, dword [ebx + 8]
xorps xmm0, xmm0
movss dword [edx + 0x28], xmm0
mov eax, dword [ebx + 8]
xorps xmm0, xmm0
movss dword [eax + 0x24], xmm0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret