Function at 0x10053300
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], ecx
mov byte [0x101d96e4], 0
mov eax, dword [0x101d96d0]
cmp dword [eax], 0
je 0x10053329
mov dword [ebp - 0x10], 1
jmp 0x10053330
mov dword [ebp - 0x10], 0
movzx ecx, byte [ebp - 0x10]
test ecx, ecx
jne 0x1005333d
jmp 0x10053adc
mov edx, dword [0x101d84b8]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0xb4]
cmp dword [ecx], 0
je 0x100533ac
mov edx, dword [0x101d84b8]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0xb4]
mov edx, dword [ecx]
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x118], 0xd69f9ba8
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x101d84cc]
mov dword [ebp - 0x14], ecx
push 0xd69f9ba8
mov ecx, dword [ebp - 0x14]
call fcn.1003fbc0
movzx edx, ax
add edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x68]
movzx ecx, byte [eax]
test ecx, ecx
je 0x100533ac
jmp 0x10053adc
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
and eax, 0x20
jne 0x100533e5
mov ecx, dword [0x101d96d0]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, 4
imul ecx, eax, 0x9b
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ecx + eax]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x18]
call dword [ebp - 0x6c]
movzx edx, al
test edx, edx
jne 0x100533ea
jmp 0x10053adc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x30]
and ecx, 0x800
je 0x100533fe
mov byte [ebp - 5], 1
jmp 0x10053402
mov byte [ebp - 5], 0
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x30]
and ecx, 1
mov dl, byte [ebp - 5]
call fcn.10078a20
movzx eax, al
test eax, eax
je 0x1005341f
jmp 0x10053adc
mov ecx, dword [0x101d96d0]
mov edx, dword [ecx]
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x120], 0xc84de670
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x1c], eax
mov ecx, dword [0x101d84cc]
mov dword [ebp - 0x1c], ecx
push 0xc84de670
mov ecx, dword [ebp - 0x1c]
call fcn.1003fbc0
movzx edx, ax
mov eax, dword [ebp - 0x70]
lea ecx, [eax + edx + 1]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
cmp dword [edx], 8
je 0x100534af
mov eax, dword [0x101d96d0]
mov ecx, dword [eax]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x128], 0xc84de670
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x20], edx
mov eax, dword [0x101d84cc]
mov dword [ebp - 0x20], eax
push 0xc84de670
mov ecx, dword [ebp - 0x20]
call fcn.1003fbc0
movzx ecx, ax
mov edx, dword [ebp - 0x78]
lea eax, [edx + ecx + 1]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
cmp dword [ecx], 9
jne 0x100534b4
jmp 0x10053adc
mov byte [0x101d96e4], 1
mov edx, dword [0x101d84bc]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x1890], 0
je 0x10053612
mov ecx, dword [0x101d84bc]
mov dword [ebp - 0x84], ecx
mov edx, dword [ebp - 0x84]
add edx, 0x1888
push edx
mov ecx, 0x101d3adc
call fcn.1004c2b0
movzx eax, al
test eax, eax
je 0x10053612
mov ecx, dword [0x101d84c4]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x24], eax
mov ecx, 4
imul edx, ecx, 0x4e
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [edx + ecx]
mov dword [ebp - 0x8c], edx
mov ecx, dword [ebp - 0x24]
call dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov eax, dword [0x101d84bc]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x94]
mov eax, dword [ecx + 0x2c]
cmp eax, dword [edx + 0x1890]
jl 0x1005356a
mov dword [ebp - 0x28], 1
jmp 0x10053571
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp + 8]
mov dl, byte [ebp - 0x28]
mov byte [ecx], dl
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x30]
or ecx, 0x400000
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x30]
and ecx, 0xfffffffb
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], ecx
mov eax, dword [0x101d84c4]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x2c], edx
mov eax, 4
imul ecx, eax, 0x4e
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov ecx, dword [ecx + eax]
mov dword [ebp - 0x9c], ecx
mov ecx, dword [ebp - 0x2c]
call dword [ebp - 0x9c]
mov dword [ebp - 0xa4], eax
mov edx, dword [0x101d84bc]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax + 0x1890]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0xa4]
cmp dword [ecx + 0x2c], eax
jle 0x1005360d
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x30]
or eax, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x30], eax
jmp 0x100536d1
mov edx, dword [0x101d84bc]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
add eax, 0x1898
push eax
mov ecx, 0x101d3ad8
call fcn.1004c2b0
movzx ecx, al
test ecx, ecx
je 0x100536d1
mov edx, dword [0x101d84bc]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0xac]
cmp dword [eax + 0x1894], 0
je 0x100536d1
mov ecx, dword [0x101d84c4]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x30], eax
mov ecx, 4
imul edx, ecx, 0x4e
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [edx + ecx]
mov dword [ebp - 0xb4], edx
mov ecx, dword [ebp - 0x30]
call dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
mov eax, dword [0x101d84bc]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xbc]
mov eax, dword [ecx + 0x2c]
cmp eax, dword [edx + 0x1894]
jl 0x100536c2
mov dword [ebp - 0x34], 1
jmp 0x100536c9
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp + 8]
mov dl, byte [ebp - 0x34]
mov byte [ecx], dl
mov eax, dword [0x101d84bc]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
movzx edx, byte [ecx + 0x187d]
test edx, edx
je 0x10053758
mov eax, dword [0x101d96d0]
mov ecx, dword [eax]
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0x130], 0xad2bbff4
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x38], edx
mov eax, dword [0x101d84cc]
mov dword [ebp - 0x38], eax
push 0xad2bbff4
mov ecx, dword [ebp - 0x38]
call fcn.1003fbc0
movzx ecx, ax
add ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], ecx
mov ecx, dword [ebp - 0xc8]
call fcn.100531a0
fstp dword [ebp - 0xcc]
movss xmm0, dword [ebp - 0xcc]
comiss xmm0, dword [0x101ca47c]
jbe 0x10053758
jmp 0x10053adc
mov edx, dword [0x101d84bc]
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xd0]
cmp dword [eax + 0x1884], 0
je 0x100537bd
mov ecx, dword [0x101d84bc]
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x1884]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
and ecx, 1
je 0x100537bd
movzx edx, byte [0x101d3ad6]
test edx, edx
jne 0x100537ae
mov dword [ebp - 0x3c], 1
jmp 0x100537b5
mov dword [ebp - 0x3c], 0
mov al, byte [ebp - 0x3c]
mov byte [0x101d3ad6], al
mov ecx, dword [0x101d84bc]
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0xd8]
movzx eax, byte [edx + 0x186c]
test eax, eax
je 0x1005380b
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x40]
movss xmm0, dword [ecx + 0xc]
ucomiss xmm0, dword [edx]
lahf
test ah, 0x44
jp 0x1005380b
mov eax, dword [0x101d84bc]
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xdc]
mov eax, dword [edx + 0x1870]
mov dword [ecx + 0xc], eax
mov ecx, dword [0x101d84bc]
mov dword [ebp - 0xe0], ecx
mov edx, dword [ebp - 0xe0]
movzx eax, byte [edx + 0x187c]
test eax, eax
je 0x10053a75
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x40]
movss xmm0, dword [ecx + 0x10]
ucomiss xmm0, dword [edx + 4]
lahf
test ah, 0x44
jp 0x10053a75
mov eax, dword [0x101d84bc]
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
movzx edx, byte [ecx + 0x187e]
test edx, edx
je 0x10053870
movss xmm0, dword [0x101ca4cc]
movss dword [ebp - 0x44], xmm0
jmp 0x10053878
xorps xmm0, xmm0
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [ebp - 0x44]
movss dword [ebp - 0x48], xmm0
movzx eax, byte [0x101d3ad6]
test eax, eax
je 0x100538c0
mov ecx, dword [0x101d96d0]
mov edx, dword [ecx]
mov dword [ebp - 0xe8], edx
mov ecx, dword [ebp - 0xe8]
call fcn.10051c70
fstp dword [ebp - 0xec]
movss xmm0, dword [ebp - 0xec]
subss xmm0, dword [ebp - 0x48]
movss dword [ebp - 0x4c], xmm0
jmp 0x100538f7
mov eax, dword [0x101d96d0]
mov ecx, dword [eax]
mov dword [ebp - 0xf0], ecx
mov ecx, dword [ebp - 0xf0]
call fcn.10051c70
fstp dword [ebp - 0xf4]
movss xmm0, dword [ebp - 0xf4]
xorps xmm0, xmmword [0x101ca7c0]
addss xmm0, dword [ebp - 0x48]
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [ebp - 0x4c]
movss dword [ebp - 0xc], xmm0
mov edx, dword [0x101d84bc]
mov dword [ebp - 0xf8], edx
mov eax, dword [ebp - 0xf8]
movzx ecx, byte [eax + 0x187f]
test ecx, ecx
je 0x1005396b
call fcn.100531f0
movzx edx, al
test edx, edx
je 0x10053947
mov eax, dword [ebp - 4]
movss xmm0, dword [eax + 0x10]
subss xmm0, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movss dword [ecx + 0x10], xmm0
mov edx, dword [ebp + 8]
mov byte [edx], 0
jmp 0x10053966
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
test ecx, ecx
jne 0x10053966
mov edx, dword [ebp - 4]
movss xmm0, dword [edx + 0x10]
addss xmm0, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
movss dword [eax + 0x10], xmm0
jmp 0x10053a75
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
test edx, edx
jne 0x1005398a
mov eax, dword [ebp - 4]
movss xmm0, dword [eax + 0x10]
addss xmm0, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
movss dword [ecx + 0x10], xmm0
mov edx, dword [ebp - 4]
movss xmm0, dword [edx + 0x28]
movss dword [ebp - 0xfc], xmm0
movss xmm0, dword [ebp - 0xfc]
andps xmm0, xmmword [0x101ca790]
movss xmm1, dword [0x101ca44c]
comiss xmm1, xmm0
jbe 0x10053a75
mov eax, dword [0x101d96d0]
mov ecx, dword [eax]
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0x138], 0x394634f0
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x50], edx
mov eax, dword [0x101d84cc]
mov dword [ebp - 0x50], eax
push 0x394634f0
mov ecx, dword [ebp - 0x50]
call fcn.1003fbc0
movzx ecx, ax
add ecx, dword [ebp - 0x100]
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x104]
mov eax, dword [edx]
and eax, 2
je 0x10053a41
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
and edx, 1
je 0x10053a25
movss xmm0, dword [0x101ca410]
movss dword [ebp - 0x54], xmm0
jmp 0x10053a32
movss xmm0, dword [0x101ca67c]
movss dword [ebp - 0x54], xmm0
mov eax, dword [ebp - 4]
movss xmm0, dword [ebp - 0x54]
movss dword [eax + 0x28], xmm0
jmp 0x10053a75
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
and edx, 1
je 0x10053a5b
movss xmm0, dword [0x101ca388]
movss dword [ebp - 0x58], xmm0
jmp 0x10053a68
movss xmm0, dword [0x101ca66c]
movss dword [ebp - 0x58], xmm0
mov eax, dword [ebp - 4]
movss xmm0, dword [ebp - 0x58]
movss dword [eax + 0x28], xmm0
mov ecx, dword [0x101d84bc]
mov dword [ebp - 0x108], ecx
mov edx, dword [ebp - 0x108]
movzx eax, byte [edx + 0x1874]
test eax, eax
je 0x10053adc
mov ecx, dword [0x101d84bc]
mov dword [ebp - 0x10c], ecx
mov edx, dword [ebp - 0x10c]
movss xmm0, dword [edx + 0x1878]
movss dword [ebp - 0x114], xmm0
mov eax, dword [ebp - 4]
movss xmm0, dword [eax + 0x10]
movss dword [ebp - 0x110], xmm0
movss xmm0, dword [ebp - 0x110]
addss xmm0, dword [ebp - 0x114]
mov ecx, dword [ebp - 4]
movss dword [ecx + 0x10], xmm0
mov esp, ebp
pop ebp
ret 4