Function at 0x565e10
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x69ea44]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x1531
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxribbonbar.cpp
mov eax, dword [ebp + 0x20]
push eax
call fcn.004332a0
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], 0
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x34], 0
jmp 0x565e5a
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp + 0xc]
call fcn.00551db0
cmp dword [ebp - 0x34], eax
jge 0x565e84
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00558000
mov ecx, dword [eax]
cmp ecx, dword [ebp + 0x20]
jne 0x565e82
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x30], edx
jmp 0x565e84
jmp 0x565e51
cmp dword [ebp - 0x30], 0
jge 0x565e91
xor eax, eax
jmp 0x566521
push 0x65ef8c
mov ecx, dword [ebp + 0x20]
call fcn.00433170
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
cmp dword [ebp + 8], 9
jne 0x56610d
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0xffffffff
cmp dword [ebp - 0x3c], 0
je 0x565fe8
mov ecx, dword [ebp - 0x30]
sub ecx, 1
mov dword [ebp - 0x40], ecx
jmp 0x565ee8
mov edx, dword [ebp - 0x40]
sub edx, 1
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x38], 0
jge 0x565fe3
cmp dword [ebp - 0x40], 0
jge 0x565f34
cmp dword [ebp + 0x24], 0
je 0x565f10
mov eax, dword [ebp + 0x2c]
mov dword [eax], 0xffffffff
xor eax, eax
jmp 0x566521
cmp dword [ebp + 0x28], 0
je 0x565f26
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], 2
xor eax, eax
jmp 0x566521
mov ecx, dword [ebp + 0xc]
call fcn.00551db0
sub eax, 1
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
cmp edx, dword [ebp - 0x30]
jne 0x565f43
xor eax, eax
jmp 0x566521
push 0x1567
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxribbonbar.cpp
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00558000
mov ecx, dword [eax]
push ecx
call fcn.004332a0
cmp dword [ebp - 0x2c], 0
je 0x565f88
push 0x65ef8c
mov edx, dword [ebp - 0x40]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00558000
mov ecx, dword [eax]
call fcn.00433170
test eax, eax
je 0x565f88
jmp 0x565edf
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00558000
mov ecx, dword [eax]
mov dword [ebp - 0xc4], ecx
mov edx, dword [ebp - 0xc4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc4]
mov edx, dword [eax + 0x80]
call edx
test eax, eax
je 0x565fde
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00558000
mov ecx, dword [eax]
call fcn.00538c00
mov ecx, eax
call fcn.00620d80
test eax, eax
jne 0x565fde
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x38], edx
jmp 0x565edf
jmp 0x5660f7
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x44], eax
jmp 0x565ffc
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x38], 0
jge 0x5660f7
mov ecx, dword [ebp + 0xc]
call fcn.00551db0
cmp dword [ebp - 0x44], eax
jl 0x566048
cmp dword [ebp + 0x28], 0
je 0x56602b
mov edx, dword [ebp + 0x2c]
mov dword [edx], 1
xor eax, eax
jmp 0x566521
cmp dword [ebp + 0x24], 0
je 0x566041
mov eax, dword [ebp + 0x2c]
mov dword [eax], 0xfffffffe
xor eax, eax
jmp 0x566521
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp - 0x30]
jne 0x566057
xor eax, eax
jmp 0x566521
push 0x158d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxribbonbar.cpp
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00558000
mov eax, dword [eax]
push eax
call fcn.004332a0
cmp dword [ebp - 0x2c], 0
je 0x56609c
push 0x65ef8c
mov ecx, dword [ebp - 0x44]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00558000
mov ecx, dword [eax]
call fcn.00433170
test eax, eax
je 0x56609c
jmp 0x565ff3
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00558000
mov eax, dword [eax]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xc8]
mov eax, dword [edx + 0x80]
call eax
test eax, eax
je 0x5660f2
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00558000
mov ecx, dword [eax]
call fcn.00538c00
mov ecx, eax
call fcn.00620d80
test eax, eax
jne 0x5660f2
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x38], eax
jmp 0x565ff3
mov ecx, dword [ebp - 0x38]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00558000
mov edx, dword [eax]
mov dword [ebp - 0x28], edx
jmp case.default.0x566166
mov eax, dword [ebp + 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x20]
mov eax, dword [edx + 0xc8]
call eax
test eax, eax
je 0x566128
xor eax, eax
jmp 0x566521
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp + 0x20]
call fcn.00538c00
mov dword [ebp - 0x58], 5
mov edx, dword [ebp + 8]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0xcc]
sub eax, 0x25
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 3
ja case.default.0x566166
mov ecx, dword [ebp - 0xcc]
jmp dword [ecx*4 + 0x566530]
cmp dword [ebp + 8], 0x27
jne 0x566181
mov edx, dword [ebp - 0x4c]
add edx, 1
mov dword [ebp - 0xd0], edx
jmp 0x56618d
mov eax, dword [ebp - 0x54]
sub eax, 6
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp + 8]
sub edx, 0x27
neg edx
sbb edx, edx
and edx, 0xfffffff6
add edx, 5
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
jmp 0x5661ba
mov ecx, dword [ebp - 0x64]
add ecx, dword [ebp - 0x60]
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x28], 0
jne 0x566368
cmp dword [ebp + 8], 0x27
jne 0x566208
mov edx, dword [ebp - 0x64]
cmp edx, dword [ebp + 0x18]
jle 0x566206
cmp dword [ebp + 0x28], 0
je 0x5661ea
mov eax, dword [ebp + 0x2c]
mov dword [eax], 1
xor eax, eax
jmp 0x566521
cmp dword [ebp + 0x24], 0
je 0x566200
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], 0xfffffffe
xor eax, eax
jmp 0x566521
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x64], edx
jmp 0x566244
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp + 0x10]
jge 0x566244
cmp dword [ebp + 0x24], 0
je 0x566228
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], 0xffffffff
xor eax, eax
jmp 0x566521
cmp dword [ebp + 0x28], 0
je 0x56623e
mov edx, dword [ebp + 0x2c]
mov dword [edx], 2
xor eax, eax
jmp 0x566521
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
cmp ecx, dword [ebp - 0x54]
jl 0x566259
mov edx, dword [ebp - 0x64]
cmp edx, dword [ebp - 0x4c]
jg 0x566259
jmp 0x566368
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x64]
add ecx, 5
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.00620bb0
mov ecx, dword [ebp + 0x20]
call fcn.00566540
test eax, eax
jne 0x566294
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x20]
mov eax, dword [edx + 0xac]
call eax
test eax, eax
je 0x5662af
lea ecx, [ebp - 0x74]
call fcn.00620c70
cdq
mov ecx, 3
idiv ecx
push eax
push 0
lea ecx, [ebp - 0x74]
call fcn.00620ea0
lea ecx, [ebp - 0x84]
call fcn.00620b70
mov dword [ebp - 0x88], 0
jmp 0x5662d5
mov edx, dword [ebp - 0x88]
add edx, 1
mov dword [ebp - 0x88], edx
mov ecx, dword [ebp + 0xc]
call fcn.00551db0
cmp dword [ebp - 0x88], eax
jge 0x566363
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00558000
mov ecx, dword [eax]
mov dword [ebp - 0x8c], ecx
push 0x15e9
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxribbonbar.cpp
mov edx, dword [ebp - 0x8c]
push edx
call fcn.004332a0
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x80]
call eax
test eax, eax
je 0x56635e
lea ecx, [ebp - 0x74]
call fcn.00408d50
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0x18
call fcn.00408d50
push eax
lea ecx, [ebp - 0x84]
call fcn.00620f00
test eax, eax
je 0x56635e
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x28], ecx
jmp 0x566363
jmp 0x5662c6
jmp 0x5661b1
jmp case.default.0x566166
lea edx, [ebp - 0xb0]
push edx
lea ecx, [ebp - 0x54]
call fcn.00620cf0
mov eax, dword [eax]
mov dword [ebp - 0x90], eax
cmp dword [ebp + 8], 0x28
jne 0x566398
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0xd4], ecx
jmp 0x5663a4
mov edx, dword [ebp - 0x50]
sub edx, 1
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp + 8]
sub ecx, 0x28
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff6
add ecx, 5
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x9c], 0
jmp 0x5663e1
mov edx, dword [ebp - 0x9c]
add edx, 1
mov dword [ebp - 0x9c], edx
cmp dword [ebp - 0x28], 0
jne case.default.0x566166
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x9c]
imul ecx, ecx, 5
mov edx, dword [ebp - 0x90]
sub edx, ecx
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0x9c]
imul eax, eax, 5
add eax, dword [ebp - 0x90]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa8]
cmp ecx, dword [ebp + 0x10]
jge 0x56643e
mov edx, dword [ebp - 0xa0]
cmp edx, dword [ebp + 0x18]
jle 0x56643e
jmp case.default.0x566166
cmp dword [ebp - 0x28], 0
jne 0x566519
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa8]
push edx
lea ecx, [ebp - 0xb8]
call fcn.00470bb0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
call fcn.00565d90
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x5664ac
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
lea ecx, [ebp - 0xc0]
call fcn.00470bb0
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
call fcn.00565d90
add esp, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x5664e0
push 0x1615
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxribbonbar.cpp
mov eax, dword [ebp - 0x28]
push eax
call fcn.004332a0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 0x80]
call eax
test eax, eax
jne 0x5664e0
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0xa4]
add ecx, dword [ebp - 0x98]
mov dword [ebp - 0xa4], ecx
cmp dword [ebp + 8], 0x28
jne 0x566507
mov edx, dword [ebp - 0xa4]
cmp edx, dword [ebp + 0x1c]
jle 0x566505
jmp 0x566519
jmp 0x566514
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp + 0x14]
jge 0x566514
jmp 0x566519
jmp 0x56643e
jmp 0x5663d2
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005f3100
mov esp, ebp
pop ebp
ret