Function at 0x6d33a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ecae0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x80
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x90]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x87fbc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
cmp dword [ebp + 8], 0
jne 0x6d3400
push 0x247
push 0x823120
call fcn.004053b0
test eax, eax
je 0x6d3400
int3
mov ecx, dword [ebp + 8]
call fcn.0041c4c0
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov esi, esp
call dword [sym.imp.USER32.dll_GetFocus]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.00436870
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x1c], 0x100
jb 0x6d3452
cmp dword [ebp - 0x1c], 0x109
jbe 0x6d346c
cmp dword [ebp - 0x1c], 0x200
jb 0x6d3592
cmp dword [ebp - 0x1c], 0x209
ja 0x6d3592
cmp dword [ebp - 0x24], 0
je 0x6d3592
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0
je 0x6d34a5
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x74], 0
jne 0x6d34a5
mov ecx, dword [ebp - 0x2c]
call fcn.0041dbe0
cmp eax, dword [ebp + 8]
je 0x6d34a5
mov ecx, dword [ebp - 0x2c]
call fcn.0041dbe0
mov dword [ebp - 0x2c], eax
jmp 0x6d347c
cmp dword [ebp - 0x2c], 0
je 0x6d3517
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x74], 0
je 0x6d3517
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x74]
cmp dword [edx + 0x58], 0
je 0x6d3517
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x74]
mov edx, dword [ecx + 0x58]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x74]
mov edx, dword [ecx + 0x58]
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x5c], ecx
mov esi, esp
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov edi, esp
mov ecx, dword [ebp - 0x60]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
call dword [ebp - 0x60]
cmp esi, esp
call fcn.00784930
test eax, eax
jne 0x6d3517
mov eax, 1
jmp 0x6d3b67
cmp dword [ebp - 0x1c], 0x101
je 0x6d3532
cmp dword [ebp - 0x1c], 0x100
je 0x6d3532
cmp dword [ebp - 0x1c], 0x102
jne 0x6d3592
cmp dword [ebp - 0x2c], 0
je 0x6d3592
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x74], 0
je 0x6d3592
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
cmp edx, 0xd
jne 0x6d3566
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x74]
mov edx, dword [ecx + 0x84]
and edx, 1
jne 0x6d358b
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
cmp edx, 0x1b
jne 0x6d3592
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x74]
mov edx, dword [ecx + 0x84]
and edx, 2
je 0x6d3592
xor eax, eax
jmp 0x6d3b67
mov dword [ebp - 0x30], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call fcn.00436870
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 2
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x64], 0x100
je 0x6d36c7
cmp dword [ebp - 0x64], 0x102
je 0x6d3620
cmp dword [ebp - 0x64], 0x106
je 0x6d35e6
jmp case.0x6d3705.1
cmp dword [ebp - 0x24], 0
jne 0x6d3607
mov esi, esp
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.00784930
cwde
test eax, eax
jl 0x6d3607
jmp case.0x6d3705.1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx eax, dx
cmp eax, 0x20
jne 0x6d3620
jmp case.0x6d3705.1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x34]
push edx
call fcn.006d4770
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x1c], 0x102
jne 0x6d3648
mov eax, dword [ebp - 0x3c]
and eax, 0x84
je 0x6d3648
jmp case.0x6d3705.1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
and edx, 0xffff
movzx eax, dx
cmp eax, 9
jne 0x6d3669
mov ecx, dword [ebp - 0x3c]
and ecx, 2
je 0x6d3669
jmp case.0x6d3705.1
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
and eax, 0xffff
movzx ecx, ax
cmp ecx, 0x20
jne 0x6d3683
xor eax, eax
jmp 0x6d3b67
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.006d47f0
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x6d36c2
mov edx, dword [ebp - 0x28]
cmp dword [edx + 4], 0
je 0x6d36c2
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x68]
call fcn.006cf6a0
mov dword [ebp - 0x30], 1
jmp case.0x6d3705.1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.006d4770
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
sub edx, 3
mov dword [ebp - 0x6c], edx
cmp dword [ebp - 0x6c], 0x28
ja case.0x6d3705.1
mov eax, dword [ebp - 0x6c]
movzx ecx, byte [eax + 0x6d3bcc]
jmp dword [ecx*4 + 0x6d3bb4]
mov edx, dword [ebp - 0x3c]
and edx, 2
je 0x6d3719
jmp case.0x6d3705.1
mov esi, esp
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.00784930
cwde
test eax, eax
jge 0x6d3738
mov dword [ebp - 0x70], 1
jmp 0x6d373f
mov dword [ebp - 0x70], 0
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
push edx
push 0
mov ecx, dword [ebp + 8]
call fcn.00448060
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x6d3815
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 0
je 0x6d37b1
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xb4]
mov dword [ebp - 0x78], eax
mov esi, esp
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], edx
mov edi, esp
mov ecx, dword [ebp - 0x7c]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 0x74]
call dword [ebp - 0x7c]
cmp esi, esp
call fcn.00784930
nop
jmp 0x6d380e
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
je 0x6d37c9
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
push edx
call fcn.00436870
mov dword [ebp - 0x80], eax
jmp 0x6d37dc
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041da50
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 0
je 0x6d380e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x70]
mov dword [ecx + 0x70], 0
mov edx, dword [ebp - 0x38]
push edx
call fcn.006d4240
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.006d3fa0
add esp, 8
mov dword [ebp - 0x30], 1
jmp case.0x6d3705.1
mov dword [ebp - 0x40], 1
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.006d4770
and eax, 1
je 0x6d3838
jmp case.0x6d3705.1
cmp dword [ebp - 0x40], 0
je 0x6d384d
push 0
mov ecx, dword [ebp + 8]
call fcn.00448420
mov dword [ebp - 0x28], eax
jmp 0x6d385a
push 0
mov ecx, dword [ebp + 8]
call fcn.00447f80
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x6d39af
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 8], 0
je 0x6d387a
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.00449260
nop
mov eax, dword [ebp - 0x28]
cmp dword [eax + 4], 0
je 0x6d38e9
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xb4]
mov dword [ebp - 0x88], eax
mov esi, esp
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], edx
mov edi, esp
mov ecx, dword [ebp - 0x8c]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 0x84]
call dword [ebp - 0x8c]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x30], 1
jmp 0x6d39af
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
je 0x6d3904
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
push edx
call fcn.00436870
mov dword [ebp - 0x90], eax
jmp 0x6d391a
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041d9b0
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 0
je 0x6d39af
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x70]
mov dword [ecx + 0x70], 0
mov edx, dword [ebp - 0x38]
push edx
call fcn.006d4240
nop
mov eax, dword [ebp - 0x28]
cmp dword [eax + 8], 0
je 0x6d39a8
mov esi, esp
push 0xfffffffffffffff4
mov ecx, dword [ebp - 0x38]
call fcn.0041c4c0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x48], eax
push 0
push 1
push 0xf1
mov ecx, dword [ebp - 0x38]
call fcn.0041f5a0
mov ecx, dword [ebp - 0x38]
call fcn.0041c4c0
push eax
mov ecx, dword [ebp - 0x48]
and ecx, 0xffff
movzx edx, cx
push edx
push 0x111
mov ecx, dword [ebp + 8]
call fcn.0041f5a0
mov eax, dword [ebp - 0x38]
push eax
call fcn.006d4240
nop
mov dword [ebp - 0x30], 1
jmp case.0x6d3705.1
mov ecx, dword [ebp - 0x3c]
and ecx, 4
je 0x6d39c1
jmp case.0x6d3705.1
mov edx, dword [ebp - 0x24]
push edx
call fcn.006d32f0
add esp, 4
and eax, 0x10
je 0x6d39e5
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
call fcn.00447a10
mov dword [ebp - 0x44], eax
jmp case.0x6d3705.0
mov ecx, dword [ebp + 8]
push ecx
call fcn.006d4b70
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x38], 0
jne 0x6d3a12
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.006d4280
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x6d3a12
jmp case.0x6d3705.1
cmp dword [ebp - 0x38], 0
jne 0x6d3a2c
push 0x31e
push 0x823120
call fcn.004053b0
test eax, eax
je 0x6d3a2c
int3
mov ecx, dword [ebp - 0x38]
call fcn.00448ae0
test eax, eax
jne 0x6d3a4c
mov esi, esp
push 0
call dword [sym.imp.USER32.dll_MessageBeep]
cmp esi, esp
call fcn.00784930
nop
jmp case.0x6d3705.1
mov edx, dword [ebp - 0x38]
cmp dword [edx + 0x74], 0
je case.0x6d3705.1
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 1
push 0xfffffdd9
mov eax, dword [ebp - 0x38]
push eax
call fcn.00448850
add esp, 0x18
jmp 0x6d3aab
mov dword [ebp - 4], 0xffffffff
jmp 0x6d3abb
mov dword [ebp - 0x30], 1
cmp dword [ebp - 0x30], 0
jne 0x6d3b10
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
and eax, 0x1000
jne 0x6d3b10
mov esi, esp
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageA]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x6d3b10
call fcn.0041d460
cmp eax, dword [ebp - 0x24]
je 0x6d3b10
call fcn.0041d460
push eax
call fcn.006d3eb0
add esp, 4
mov esi, esp
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
cmp esi, esp
call fcn.00784930
test eax, eax
je 0x6d3b64
call fcn.0041d460
push eax
mov edx, dword [ebp - 0x24]
push edx
call fcn.006d3fa0
add esp, 8
mov esi, esp
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
cmp esi, esp
call fcn.00784930
test eax, eax
je 0x6d3b64
call fcn.0041d460
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.006d40d0
nop
mov eax, dword [ebp - 0x30]
push edx
mov ecx, ebp
push eax
lea edx, [0x6d3b9c]
call fcn.007848d0
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x90
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 8