Function at 0x10048b76
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082244
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10048bb9
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10048bb4
push 0x18b2
call dword [sym.imp.USER32.dll_GetKeyState]
jmp 0x100492d2
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
push 2
lea ecx, [ebp - 0xe8]
call fcn.1000e8cf
and dword [ebp - 4], 0
mov dword [ebp - 0x3c], 0
jmp 0x10048bec
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x10048c08
push dword [ebp - 0x3c]
lea ecx, [ebp - 0xe8]
call fcn.1000e93c
mov dword [eax], 1
jmp 0x10048be5
push 0
lea ecx, [ebp - 0xe8]
call fcn.1000e93c
mov dword [eax], 0xfffffff3
jmp 0x10048c41
push 0
lea ecx, [ebp - 0xe8]
call fcn.1000e93c
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x84]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0xe8]
call fcn.1000e93c
cmp dword [eax], 4
je 0x10048ccd
push 2
lea ecx, [ebp - 0x10c]
call fcn.1000e8cf
mov byte [ebp - 4], 1
mov dword [ebp - 0x40], 1
push 0
push 0x443b
push 0x426b
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.10049f3e
add esp, 0x14
mov dword [ebp - 0x40], 0
jmp 0x10048c9d
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jg 0x10048cb9
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x10048cb7
push 0
call fcn.10045ac4
pop ecx
jmp 0x10048c96
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10c]
call fcn.1000e937
jmp 0x10048c1d
mov byte [ebp - 0x19], 0
push 0xc5f
lea eax, [ebp - 0x19]
push eax
push 1
push 0x5fbc
call fcn.10045a6b
add esp, 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe8]
call fcn.1000e937
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx + 0x10]
mov dword [eax], ecx
push 1
call fcn.10045ac4
pop ecx
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
jne 0x100492d2
push 2
lea ecx, [ebp - 0x34]
call fcn.1000e8cf
mov dword [ebp - 4], 2
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x24], 0xffff
mov dword [ebp - 0x20], 3
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x65f2
push 0x204
push 0
call fcn.1004893b
add esp, 0x14
mov dword [ebp - 0x28], 0
jmp 0x10048d69
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jge 0x10048d7f
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0xd8], 0x6488a973
jmp 0x10048d62
mov dword [ebp - 0x10], 1
jmp 0x10048d8f
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x1004915a
mov dword [ebp - 0x48], 0x225189d9
mov dword [ebp - 0x74], 0x5b4d633c
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x68], 0x464f6128
push 2
lea ecx, [ebp - 0xf4]
call fcn.1000e8cf
mov byte [ebp - 4], 3
push 0x5dee
lea eax, [ebp - 0xf4]
push eax
push 0
lea eax, [ebp - 0xfc]
push eax
call fcn.10046c00
add esp, 0x10
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.1000e93c
cmp dword [eax], 0
je 0x10048e59
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.1000e93c
cmp dword [eax], 0x8fb0b44c
jb 0x10048e15
mov dword [ebp - 0x90], 1
jmp 0x10048e1c
and dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 0x2eda
jge 0x10048e34
mov dword [ebp - 0xb0], 1
jmp 0x10048e3b
and dword [ebp - 0xb0], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.1000e93c
mov ecx, dword [ebp - 0xb0]
cmp ecx, dword [eax]
jne 0x10048e59
mov dword [ebp - 0x5c], 1
jmp 0x10048e5d
and dword [ebp - 0x5c], 0
cmp dword [ebp - 0x5c], 0x1874da8
jg 0x10048e72
mov dword [ebp - 0x88], 1
jmp 0x10048e79
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0xffff
jne 0x10048e91
mov dword [ebp - 0xcc], 1
jmp 0x10048e98
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x110], eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.1000e93c
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x10], eax
jl 0x10048ebd
mov dword [ebp - 0x64], 1
jmp 0x10048ec1
and dword [ebp - 0x64], 0
mov esi, dword [ebp - 0x24]
imul esi, dword [ebp - 0x64]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.1000e93c
add esi, dword [eax]
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0xd8], esi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x20], eax
jl 0x10048efc
mov dword [ebp - 0x94], 1
jmp 0x10048f03
and dword [ebp - 0x94], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.1000e93c
mov eax, dword [eax]
cmp eax, dword [ebp - 0x94]
jle 0x10048f21
mov dword [ebp - 0x6c], 1
jmp 0x10048f25
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x48], 0x71e9942c
mov esi, dword [ebp - 0x48]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.1000e93c
cmp esi, dword [eax]
jl 0x10048f50
mov dword [ebp - 0xb4], 1
jmp 0x10048f57
and dword [ebp - 0xb4], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.1000e93c
mov ecx, dword [ebp - 0x20]
cmp dword [eax], ecx
jl 0x10048f75
mov dword [ebp - 0xd0], 1
jmp 0x10048f7c
and dword [ebp - 0xd0], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.1000e93c
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.1000e93c
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.1000e93c
mov ecx, dword [ebp - 0x20]
cmp dword [eax], ecx
jne 0x10048fb0
mov dword [ebp - 0x9c], 1
jmp 0x10048fb7
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x74], eax
jge 0x10048fd4
mov dword [ebp - 0xa4], 1
jmp 0x10048fdb
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0xa4]
jle 0x10048ff2
mov dword [ebp - 0xac], 1
jmp 0x10048ff9
and dword [ebp - 0xac], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xd8]
mov dword [ebp - 0x7c], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x7c]
mov dword [ebp + eax - 0xd8], ecx
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0xac]
jne 0x1004902d
mov dword [ebp - 0x50], 1
jmp 0x10049031
and dword [ebp - 0x50], 0
imul eax, dword [ebp - 0x50], 0
cmp dword [ebp - 0xb4], eax
je 0x10049049
mov dword [ebp - 0xbc], 1
jmp 0x10049050
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x10049074
cmp dword [ebp - 0x10], 0
jne 0x10049074
and dword [ebp - 0xa8], 0
jmp 0x1004907e
mov dword [ebp - 0xa8], 1
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xa8], eax
jg 0x10049095
mov dword [ebp - 0x98], 1
jmp 0x1004909c
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x98], eax
jg 0x100490b3
mov dword [ebp - 0xb8], 1
jmp 0x100490ba
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xb8], eax
jne 0x100490d1
mov dword [ebp - 0xa0], 1
jmp 0x100490d8
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xa0], eax
jl 0x100490ec
mov dword [ebp - 0x54], 1
jmp 0x100490f0
and dword [ebp - 0x54], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.1000e93c
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [eax]
jge 0x1004910b
mov dword [ebp - 0x58], 1
jmp 0x1004910f
and dword [ebp - 0x58], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.1000e93c
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [eax]
jge 0x1004912a
mov dword [ebp - 0x60], 1
jmp 0x1004912e
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov esi, dword [ebp - 0x68]
push 1
lea ecx, [ebp - 0xf4]
call fcn.1000e93c
mov dword [eax], esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf4]
call fcn.1000e937
jmp 0x10048d88
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.1000e937
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x24]
and eax, 0x40
je 0x100492a9
push 1
lea ecx, [ebp - 0xc8]
call fcn.1000e8cf
mov dword [ebp - 4], 4
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x100]
push eax
push 0x264
push 0x19ae
lea eax, [ebp - 0xc8]
push eax
push 1
push 0x226f
call fcn.10045bd5
add esp, 0x18
mov dword [ebp - 0x18], 0
jmp 0x100491c7
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x1004928b
mov dword [ebp - 0xdc], 0xfffffffa
mov dword [ebp - 0x44], 0
jmp 0x100491eb
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 3
jge 0x10049201
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0x11c], 1
jmp 0x100491e4
push dword [ebp - 0x18]
lea ecx, [ebp - 0xc8]
call fcn.1000e93c
push 4
pop ecx
shl ecx, 0
mov ecx, dword [ebp + ecx - 0x11c]
imul ecx, dword [eax]
cmp ecx, 0x55059b8b
jl 0x10049230
mov dword [ebp - 0x70], 1
jmp 0x10049234
and dword [ebp - 0x70], 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0xc8]
call fcn.1000e93c
mov eax, dword [eax]
cmp eax, dword [ebp - 0x70]
jl 0x10049252
mov dword [ebp - 0x78], 1
jmp 0x10049256
and dword [ebp - 0x78], 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0xc8]
call fcn.1000e93c
mov ecx, dword [ebp - 0x78]
mov dword [eax], ecx
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xc8]
push eax
push 0
push 0x5a2a
call fcn.1004bfb3
add esp, 0x10
jmp 0x100491c0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.1000e937
mov eax, dword [ebp - 0x80]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x38]
mov eax, dword [eax + 0x20]
mov dword [ecx], eax
jmp 0x100492d2
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x24]
and eax, 0x80
je 0x100492d2
push 0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x1941
push 0x75c6
call fcn.10046820
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret