Function at 0x10003440
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x100bdc7e], 0
mov ecx, dword [0x384841ac]
push ebx
mov ebx, dword [0x38452e7c]
push esi
mov dword [ebp - 4], ebx
jne 0x100034ba
test ecx, ecx
je 0x100034b3
push edi
mov edi, dword [ecx + 0x15e4]
xor edx, edx
test edi, edi
jle 0x100034b2
mov ebx, dword [ecx + 0x15e0]
mov esi, dword [ebx + edx*4]
test esi, esi
je 0x100034aa
movd xmm0, dword [esi + 0x258]
mov eax, dword [esi + 0x2bc]
cvtdq2ps xmm0, xmm0
mov dword [edx*4 + 0x100bdc88], eax
mov eax, dword [esi + 0x328]
mov dword [edx*4 + 0x100bfbc8], eax
movss dword [edx*4 + 0x100c1b08], xmm0
inc edx
cmp edx, edi
jl 0x10003475
mov ebx, dword [ebp - 4]
pop edi
mov byte [0x100bdc7e], 1
cmp byte [0x100bdc7c], 0
je 0x10003509
cmp byte [0x100bdc4b], 0
je 0x1000354a
test ecx, ecx
je 0x10003500
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10003500
nop word [eax + eax]
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x100034f7
mov dword [eax + 0x2bc], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x100034e0
mov byte [0x100bdc4b], 0
jmp 0x1000354a
cmp byte [0x100bdc4b], 0
jne 0x1000354a
test ecx, ecx
je 0x10003543
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10003543
mov eax, dword [ecx + 0x15e0]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x1000353a
mov eax, dword [edx*4 + 0x100bdc88]
mov dword [esi + 0x2bc], eax
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10003520
mov byte [0x100bdc4b], 1
cmp byte [0x100bdc48], 0
je 0x10003599
cmp byte [0x100bdc49], 0
je 0x100035da
test ecx, ecx
je 0x10003590
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10003590
nop word [eax + eax]
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10003587
mov dword [eax + 0x328], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10003570
mov byte [0x100bdc49], 0
jmp 0x100035da
cmp byte [0x100bdc49], 0
jne 0x100035da
test ecx, ecx
je 0x100035d3
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x100035d3
mov eax, dword [ecx + 0x15e0]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x100035ca
mov eax, dword [edx*4 + 0x100bfbc8]
mov dword [esi + 0x328], eax
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x100035b0
mov byte [0x100bdc49], 1
cmp byte [0x100bdc7f], 0
je 0x10003629
cmp byte [0x100bdc80], 0
je 0x1000366c
test ecx, ecx
je 0x10003620
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10003620
nop
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10003617
mov dword [eax + 0x258], 1
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10003600
mov byte [0x100bdc80], 0
jmp 0x1000366c
cmp byte [0x100bdc80], 0
jne 0x1000366c
test ecx, ecx
je 0x10003665
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10003665
mov eax, dword [ecx + 0x15e0]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x1000365c
cvttss2si eax, dword [edx*4 + 0x100c1b08]
mov dword [esi + 0x258], eax
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10003640
mov byte [0x100bdc80], 1
test ecx, ecx
je 0x100036a0
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x100036a0
nop word [eax + eax]
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x10003697
mov dword [eax + 0x35c], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x10003680
mov eax, dword [0x100e4dd8]
test eax, eax
jne 0x100036e2
test ecx, ecx
je 0x10003739
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10003739
nop
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x100036d7
mov dword [eax + 0x308], 0
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x100036c0
jmp 0x10003739
cmp eax, 1
jne 0x10003717
test ecx, ecx
je 0x10003739
xor edx, edx
cmp dword [ecx + 0x15e4], edx
jle 0x10003739
mov eax, dword [ecx + 0x15e0]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x1000370c
mov dword [eax + 0x308], 0x3f800000
inc edx
cmp edx, dword [ecx + 0x15e4]
jl 0x100036f5
jmp 0x10003739
cmp eax, 2
jne 0x10003739
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10003739
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x10]
mov dword [eax + 0x138], 1
cmp byte [0x100bdc4a], 0
jne 0x10003779
test ebx, ebx
je 0x10003772
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x10]
movd xmm0, dword [eax + 0x150]
cvtdq2ps xmm0, xmm0
movss dword [0x100e4d88], xmm0
movd xmm0, dword [eax + 0x148]
cvtdq2ps xmm0, xmm0
movss dword [0x100e4d8c], xmm0
mov byte [0x100bdc4a], 1
cmp byte [0x100bdc7d], 0
mov eax, dword [ebx + 0x18]
pop esi
pop ebx
mov ecx, dword [eax + 0x10]
je 0x10003798
mov dword [ecx + 0x148], 0xffffffff
mov esp, ebp
pop ebp
ret
cvttss2si eax, dword [0x100e4d8c]
mov dword [ecx + 0x148], eax
mov esp, ebp
pop ebp
ret