Function at 0x300920a7
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x3017f120]
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0xd0]
push esi
mov dword [0x3017f120], eax
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
push eax
call fcn.30001d18
pop ecx
test eax, eax
pop ecx
je 0x3009213c
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 4], esi
mov dword [0x3017f120], eax
je 0x30092105
push 0x100
push dword [ebp - 4]
call dword [0x3017ba7c]
cmp dword [ebp - 0x10], esi
je 0x30092118
push 0x103
push dword [ebp - 0x10]
call dword [0x3017ba7c]
push esi
push 2
call fcn.30092032
push 2
call dword [0x3017bcc8]
push 1
pop eax
mov dword [0x30179b04], eax
mov dword [0x3017de9c], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, 0x1020
push esi
push 0x100
call fcn.30028bef
push esi
mov edi, eax
mov dword [ebp - 4], edi
push 0x103
call fcn.30028bef
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov dword [0x3017f120], eax
mov eax, dword [0x30179b04]
and dword [0x30179b04], 0
mov dword [ebp - 0x64], eax
mov eax, dword [0x3017de9c]
and dword [0x3017de9c], 0
mov dword [ebp - 0x60], eax
mov eax, dword [0x3017d6d8]
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x84]
mov ecx, dword [0x3017d6d8]
or al, 0x20
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + pe_nt_image_headers32]
xor esi, esi
call dword [0x3017bd3c]
test eax, eax
je 0x300921c5
mov eax, dword [0x3017dea8]
cmp eax, esi
je 0x300921c5
push esi
push esi
push esi
push 2
push 3
call eax
cmp dword [0x3017de9c], esi
je 0x30092280
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x5c], esi
mov dword [0x3017de9c], esi
lea eax, [ebp - 0x50]
push eax
call fcn.30002d79
test eax, eax
jne 0x30092264
cmp dword [ebp - 0x4c], 0x102
jne 0x300921fc
cmp dword [ebp - 0x30], esi
je 0x30092551
call fcn.30026435
cmp dword [ebp - 0x5c], 0x100
mov dword [0x3017f8dc], eax
jne 0x30092445
mov eax, dword [ebp - 0x4c]
sub eax, 0x100
je 0x300923dd
sub eax, 4
jne 0x30092403
cmp dword [ebp - 0x48], 0x75
jne 0x300923dd
cmp dword [0x3017da60], esi
je 0x300923dd
push 0x20
push 0xf100
cmp dword [0x3017dbf4], esi
push 0x112
push dword [0x3017d99c]
jne 0x300923d2
call dword [sym.imp.USER32.dll_PostMessageA]
call fcn.30002dc4
cmp dword [ebp - 8], 2
jne 0x300927a3
mov edi, dword [ebp - 4]
xor esi, esi
mov dword [ebp - 8], esi
jmp 0x3009248f
push 0x80df
lea eax, [ebp - 0x5c]
push eax
call fcn.30002d5a
test eax, eax
jne 0x300921dd
cmp dword [0x301792f4], esi
je 0x300922b2
cmp dword [0x30179308], esi
jne 0x30092472
cmp dword [0x3017f704], esi
jne 0x30092280
call dword [0x3017bb9c]
test eax, eax
je 0x30092377
call dword [0x3017ba4c]
test eax, eax
jne 0x30092377
cmp dword [ebp - 0xc], esi
mov edx, dword [0x3017dbec]
mov eax, dword [0x3017dca8]
jne 0x300922ee
cmp eax, esi
je 0x300922ff
cmp edx, esi
jne 0x300922ff
cmp dword [0x30179328], esi
jne 0x300922ff
cmp dword [ebp - 0xc], esi
je 0x30092377
cmp eax, esi
je 0x300922ff
cmp edx, esi
je 0x30092377
mov esi, dword [0x30179b48]
test edx, edx
je 0x30092337
mov eax, dword [esi + 0x2a4]
test eax, eax
je 0x30092337
cmp dword [eax + 0x98], 0
je 0x30092337
mov ecx, dword [0x3017d170]
cmp dword [eax + 0xb4], ecx
je 0x30092337
mov eax, dword [0x3017dc14]
test eax, eax
je 0x30092377
cmp eax, ecx
jne 0x30092377
cmp dword [ebp - 0xc], 0
je 0x3009236a
test word [esi + 0x2ac], 0x1e0
je 0x3009236a
test edx, edx
jne 0x3009236a
push 4
call dword [0x3017bb9c]
push eax
call dword [0x3017ba58]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
cmp eax, dword [0x3017d99c]
jne 0x30092377
push 1
pop eax
mov dword [ebp - 0xc], eax
push eax
call dword [0x3017bb70]
push 3
xor esi, esi
push esi
call fcn.3009474b
test eax, eax
je 0x30092391
push esi
push esi
push esi
push 1
push 0x11
call fcn.3007735a
cmp dword [0x30179418], esi
jne 0x300923a1
push esi
push 2
call fcn.30003474
cmp dword [0x30179304], esi
jne 0x300923c4
push 0x80df
lea eax, [ebp - 0x5c]
push eax
call fcn.301579b2
test eax, eax
je 0x30092280
jmp 0x300921dd
lea eax, [ebp - 0x5c]
push eax
call fcn.300927d3
jmp 0x300921dd
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x30092264
cmp byte [ebp - 0x56], 0xd
jne 0x300923f9
push edi
call dword [sym.imp.USER32.dll_GetKeyboardState]
and byte [edi + 0x11], 0x7f
and byte [edi + 0x10], 0x7f
push edi
call dword [sym.imp.USER32.dll_SetKeyboardState]
cmp byte [ebp - 0x56], 0x2b
jne 0x30092403
mov byte [ebp - 0x56], 0xd
cmp dword [ebp - 0x5c], 0x100
jne 0x30092445
cmp byte [ebp - 0x56], 0x70
jne 0x3009241f
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x3009248f
cmp dword [ebp - 8], 1
jne 0x3009242c
mov dword [ebp - 8], 2
push dword [ebp - 0x56]
call fcn.30092807
test eax, eax
je 0x30092445
cmp word [ebp - 0x58], si
jne 0x30092445
mov dword [ebp - 8], 1
cmp dword [ebp - 0x5c], 0x101
jne 0x30092457
test byte [0x3017d040], 0x20
jne 0x3009248f
cmp dword [0x301792f4], 1
jne 0x30092551
xor esi, esi
cmp dword [0x30179308], esi
je 0x300924fe
push esi
push 2
call fcn.30092032
push 2
call dword [0x3017bcc8]
push 1
pop eax
mov dword [0x30179b04], eax
mov dword [0x3017de9c], eax
cmp dword [0x30179b04], esi
je 0x300921a9
mov eax, dword [0x3017d6d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x84]
mov ecx, dword [0x3017d6d8]
and al, 0xdf
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + pe_nt_image_headers32]
mov eax, dword [ebp - 0x64]
mov dword [0x30179b04], eax
mov eax, dword [ebp - 0x60]
cmp edi, esi
mov dword [0x30179bc8], 1
mov dword [0x3017de9c], eax
je 0x300924e5
push 0x100
push edi
call dword [0x3017ba7c]
cmp ebx, esi
je 0x30092137
push 0x103
push ebx
call dword [0x3017ba7c]
jmp 0x30092137
and dword [ebp - 0x14], 0
push ebx
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov cl, byte [ebx + 0x10]
lea eax, [ebx + 0x100]
lea esi, [ebx + 0x101]
mov byte [eax], cl
mov cl, byte [ebx + 0x11]
mov byte [esi], cl
mov cl, byte [ebx + 0x12]
mov byte [ebx + 0x102], cl
test byte [eax], 0x80
jne 0x30092537
test byte [esi], 0x80
jne 0x30092537
test cl, 0x80
je 0x30092551
and byte [ebx + 0x10], 0x7f
and byte [ebx + 0x11], 0x7f
and byte [ebx + 0x12], 0x7f
mov dword [ebp - 0x14], 1
push ebx
call dword [sym.imp.USER32.dll_SetKeyboardState]
mov ecx, dword [0x3017f3f0]
mov eax, dword [0x3017dc04]
test ecx, ecx
je 0x300926da
cmp eax, dword [ecx + 0x40]
jne 0x300926da
xor edi, edi
mov esi, 0x100
cmp dword [ebp - 0x5c], esi
jne 0x3009258b
call dword [0x3017be0c]
push eax
call dword [0x3017b99c]
cmp eax, 6
je 0x300925c2
cmp dword [0x301792f4], 1
je 0x300925c2
test byte [0x3017d040], 8
jne 0x300925c2
cmp dword [ebp - 0x5c], 0x201
jne 0x300925af
cmp dword [0x3017dbf8], 0
jne 0x300925c2
cmp dword [ebp - 0x5c], esi
jne 0x300926ed
cmp dword [ebp - 8], 0
je 0x300926ed
cmp byte [ebp - 0x56], 9
je 0x300926e1
cmp byte [ebp - 0x56], 0xd
je 0x300926e1
cmp byte [ebp - 0x56], 0x1b
je 0x300926ed
xor esi, esi
test edi, edi
je 0x300926fe
push edi
call fcn.3000148e
cmp dword [0x301792f4], 1
jne 0x30092621
cmp dword [ebp - 0x14], 0
je 0x30092621
mov al, byte [ebx + 0x100]
mov byte [ebx + 0x10], al
mov al, byte [ebx + 0x101]
mov byte [ebx + 0x11], al
mov al, byte [ebx + 0x102]
mov byte [ebx + 0x12], al
push ebx
call dword [sym.imp.USER32.dll_SetKeyboardState]
mov eax, esi
sub eax, 0
jne 0x30092713
cmp dword [0x30179b04], 0
jne 0x30092264
mov eax, dword [ebp - 0x5c]
sub eax, 0
je 0x300927ad
sub eax, 0x100
je 0x3009266a
sub eax, 0x101
je 0x30092728
dec eax
dec eax
je 0x30092728
sub eax, 0x1fd
jne 0x30092782
cmp byte [ebp - 0x56], 0x70
jne 0x3009267d
test byte [0x3017f8dc], 4
je 0x30092790
push 2
push dword [0x3017f8dc]
lea eax, [ebp - 0x5c]
push eax
call fcn.3008d646
cmp eax, 0xffffffff
jne 0x300927a3
push 7
pop ecx
lea esi, [ebp - 0x34]
lea edi, [ebp - 0x90]
lea eax, [ebp - 0x5c]
rep movsd dword es:[edi], dword [esi]
and dword [ebp - 0x30], 0
push eax
call fcn.30003156
cmp dword [ebp - 0x8c], 0
je 0x30092264
push 7
pop ecx
lea esi, [ebp - 0x90]
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
and dword [ebp - 0x30], 0
and dword [ebp - 0x5c], 0
jmp 0x30092551
mov edi, eax
jmp 0x3009256f
test byte [0x3017d040], 8
jmp 0x300925da
lea eax, [ebp - 0x50]
push eax
call dword [0x3017bd8c]
mov esi, eax
jmp 0x300925e2
mov eax, dword [0x3017f3f0]
test eax, eax
je 0x300925f0
push dword [eax + 0x40]
jmp 0x300925eb
dec eax
dec eax
jne 0x30092264
push 2
call dword [0x3017bcc8]
jmp 0x30092264
cmp dword [0x3017dbf8], 0
je 0x30092782
call dword [0x3017bb9c]
push eax
call dword [0x3017ba58]
mov esi, eax
test esi, esi
je 0x30092763
lea eax, [ebp - 0x74]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [sym.imp.USER32.dll_ClientToScreen]
lea eax, [ebp - 0x74]
push eax
push esi
call edi
lea eax, [ebp - 0x6c]
push eax
push esi
call edi
cmp dword [0x301792fc], 0
jne 0x30092782
lea eax, [ebp - 0x5c]
push eax
call fcn.30003156
cmp dword [0x301792fc], 0
je 0x30092264
lea eax, [ebp - 0x5c]
push eax
call fcn.30003156
jmp 0x30092264
lea eax, [ebp - 0x50]
push eax
call dword [0x3017bd8c]
test eax, eax
jne 0x300927a3
call fcn.3008bb77
mov edi, dword [ebp - 4]
xor esi, esi
jmp 0x3009248f
cmp dword [ebp - 0x4c], 0x112
jne 0x30092782
cmp dword [ebp - 0x48], 0xf120
jne 0x30092782
call dword [0x3017ba4c]
test eax, eax
jne 0x30092782
push 1
call dword [0x3017bb70]
jmp 0x30092782