Function at 0x52a3c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
push esi
push edi
push ecx
lea edi, [ebp - 0xe8]
mov ecx, 0x3a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x87fbc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
push 0x4ea
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_afxdockingmanager.cpp
mov eax, dword [ebp - 8]
push eax
call fcn.0047ca40
push 0x4eb
push str.D:_a_work1_s_src_vctoolsVC7LibsShipATLMFCSrcMFC_afxdockingmanager.cpp
mov ecx, dword [ebp + 8]
push ecx
call fcn.0047ca40
nop
mov esi, esp
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cmp esi, esp
call fcn.00784930
movsx edx, ax
test edx, edx
jge 0x52a435
mov eax, 1
jmp 0x52ab85
mov dword [ebp - 0xc], 1
mov eax, dword [ebp + 8]
push eax
push 0x87f398
call fcn.0047cc80
add esp, 8
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x1b8], 0
je 0x52a47a
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x1b8]
call fcn.00484a20
test eax, eax
je 0x52a47a
mov dword [ebp - 0x84], 1
jmp 0x52a484
mov dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x52a52e
lea ecx, [ebp - 0x28]
call fcn.00405a30
lea ecx, [ebp - 0x28]
call fcn.00405450
push eax
mov ecx, dword [ebp + 8]
call fcn.0041e360
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [edx + 0x178]
mov dword [ebp - 0x88], eax
mov edi, esp
mov ecx, dword [ebp - 0x88]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0x88]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x44]
call fcn.0040ea30
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x8882d0
call fcn.005b1bc0
push 0x15
push 0
push 0
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
push 0
mov ecx, dword [ebp - 0x10]
call fcn.00449740
nop
cmp dword [ebp - 0x10], 0
je 0x52ab82
lea ecx, [ebp - 0x54]
call fcn.00412ad0
mov esi, esp
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp esi, esp
call fcn.00784930
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [edx + 0x1b0]
mov dword [ebp - 0x8c], eax
mov edi, esp
mov ecx, dword [ebp - 0x8c]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0x8c]
cmp esi, esp
call fcn.00784930
push eax
push 0x7ff5dc
call fcn.0047cc80
add esp, 8
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x52a602
cmp dword [ebp - 0x14], 0
jne 0x52a764
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [edx + 0x1c8]
mov dword [ebp - 0x90], eax
mov edi, esp
mov ecx, dword [ebp - 0x90]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 0x5c]
call dword [ebp - 0x90]
cmp esi, esp
call fcn.00784930
and eax, 0x40
je 0x52a764
push 0x87f14c
mov ecx, dword [ebp - 0x5c]
call fcn.0047d0e0
test eax, eax
je 0x52a764
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x94], eax
mov esi, esp
push 1
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], ecx
mov edi, esp
mov ecx, dword [ebp - 0x98]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 8]
call dword [ebp - 0x98]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x52a764
mov ecx, dword [ebp - 0x60]
call fcn.00483f90
mov esi, eax
mov ecx, dword [ebp - 0x10]
call fcn.00483f90
cmp esi, eax
jne 0x52a764
mov edx, dword [ebp - 0x60]
push edx
push 0x87f5f8
call fcn.0047cc80
add esp, 8
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x52a6b8
mov eax, dword [ebp - 8]
cmp dword [eax + 0x124], 0
jne 0x52a6b8
call fcn.007a29c0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x128], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x64]
mov dword [edx + 0x124], eax
cmp dword [ebp - 0x64], 0
je 0x52a75a
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x124]
cmp edx, dword [ebp - 0x64]
jne 0x52a75a
call fcn.007a29c0
mov ecx, dword [ebp - 8]
sub eax, dword [ecx + 0x128]
cmp eax, dword [0x87f348]
jle 0x52a75a
mov edx, dword [ebp - 0x64]
mov eax, dword [edx]
mov ecx, dword [eax + 0x250]
mov dword [ebp - 0x9c], ecx
mov esi, esp
push 1
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
mov edi, esp
mov ecx, dword [ebp - 0xa0]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 0x64]
call dword [ebp - 0xa0]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0xc], eax
call fcn.007a29c0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x128], eax
mov edx, dword [ebp - 8]
mov dword [edx + 0x124], 0
mov eax, dword [ebp - 0xc]
jmp 0x52ab85
mov eax, 1
jmp 0x52ab85
mov eax, dword [ebp - 8]
mov dword [eax + 0x124], 0
cmp dword [ebp - 0x5c], 0
je 0x52ab82
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [edx + 0x1a0]
mov dword [ebp - 0xa4], eax
mov edi, esp
mov ecx, dword [ebp - 0xa4]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 0x5c]
call dword [ebp - 0xa4]
cmp esi, esp
call fcn.00784930
and eax, 0xf000
jne 0x52a7c4
mov eax, 1
jmp 0x52ab85
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2bc]
mov dword [ebp - 0xa8], eax
mov esi, esp
lea ecx, [ebp - 0x6c]
push ecx
mov edx, dword [0x87f350]
push edx
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov edi, esp
mov ecx, dword [ebp - 0xac]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 0x5c]
call dword [ebp - 0xac]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 0x6c]
jne 0x52a82c
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x6c], 0
jne 0x52a83c
cmp dword [ebp - 0x74], 2
jne 0x52a947
cmp dword [ebp - 0x14], 0
jne 0x52a947
cmp dword [ebp - 0x6c], 0
je 0x52a861
push 0x815f5c
mov ecx, dword [ebp - 0x6c]
call fcn.0047d0e0
mov dword [ebp - 0xb0], eax
jmp 0x52a86b
mov dword [ebp - 0xb0], 0
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x78], edx
cmp dword [ebp - 0x6c], 0
je 0x52a88f
push 0x87f14c
mov ecx, dword [ebp - 0x6c]
call fcn.0047d0e0
mov dword [ebp - 0xb4], eax
jmp 0x52a899
mov dword [ebp - 0xb4], 1
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x78], 0
jne 0x52a8b2
cmp dword [ebp - 0x7c], 0
je 0x52a947
cmp dword [ebp - 0x78], 0
je 0x52a8c6
mov ecx, dword [0x87f344]
mov dword [ebp - 0xb8], ecx
jmp 0x52a8d2
mov edx, dword [0x87f348]
mov dword [ebp - 0xb8], edx
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x120]
cmp edx, dword [ebp - 0x6c]
jne 0x52a8f7
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [eax + 0x12c]
je 0x52a92a
call fcn.007a29c0
mov edx, dword [ebp - 8]
mov dword [edx + 0x128], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x6c]
mov dword [eax + 0x120], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x74]
mov dword [edx + 0x12c], eax
mov ecx, dword [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.005c0340
nop
call fcn.007a29c0
mov edx, dword [ebp - 8]
sub eax, dword [edx + 0x128]
cmp eax, dword [ebp - 0x80]
jge 0x52a947
mov eax, 1
jmp 0x52ab85
mov eax, dword [ebp - 8]
mov dword [eax + 0x120], 0
call fcn.007a29c0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x128], eax
mov edx, dword [ebp - 8]
mov dword [edx + 0x12c], 0
mov ecx, dword [ebp - 0x10]
call fcn.005b7770
nop
cmp dword [ebp - 0x74], 1
jne 0x52aa2a
cmp dword [ebp - 0x6c], 0
je 0x52aa2a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x198]
mov dword [ebp - 0xbc], edx
mov esi, esp
push 1
push 0
push 0
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
mov edi, esp
mov ecx, dword [ebp - 0xc0]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0xc0]
cmp esi, esp
call fcn.00784930
nop
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2a8]
mov dword [ebp - 0xc4], eax
mov esi, esp
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], edx
mov edi, esp
mov ecx, dword [ebp - 0xc8]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 0x5c]
call dword [ebp - 0xc8]
cmp esi, esp
call fcn.00784930
test eax, eax
je 0x52aa2a
xor eax, eax
jmp 0x52ab85
cmp dword [ebp - 0x74], 2
jne 0x52aa8a
cmp dword [ebp - 0x14], 0
jne 0x52aa8a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x198]
mov dword [ebp - 0xcc], edx
mov esi, esp
push 1
mov eax, dword [ebp - 0x6c]
push eax
push 1
mov ecx, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], ecx
mov edi, esp
mov ecx, dword [ebp - 0xd0]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0xd0]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0xc], eax
jmp 0x52ab82
cmp dword [ebp - 0x74], 3
jne 0x52ab33
cmp dword [ebp - 0x14], 0
jne 0x52ab33
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0x198]
mov dword [ebp - 0xd4], ecx
mov esi, esp
push 1
mov edx, dword [ebp - 0x6c]
push edx
push 2
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], eax
mov edi, esp
mov ecx, dword [ebp - 0xd8]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0xd8]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x40]
mov dword [ebp - 0xdc], eax
mov esi, esp
push 0
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], ecx
mov edi, esp
mov ecx, dword [ebp - 0xe0]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 8]
call dword [ebp - 0xe0]
cmp esi, esp
call fcn.00784930
nop
jmp 0x52ab82
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [eax + 0x198]
mov dword [ebp - 0xe4], ecx
mov esi, esp
push 1
mov edx, dword [ebp - 0x6c]
push edx
push 0
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], eax
mov edi, esp
mov ecx, dword [ebp - 0xe8]
call dword [0x7f5aac]
cmp edi, esp
call fcn.00784930
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0xe8]
cmp esi, esp
call fcn.00784930
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push edx
mov ecx, ebp
push eax
lea edx, [0x52abb8]
call fcn.007848d0
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00783b00
add esp, 0xe8
cmp ebp, esp
call fcn.00784930
mov esp, ebp
pop ebp
ret 4