Function at 0x5792e9
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x6912e0]
xor eax, ebp
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x8c]
cmp dword [eax + 0xb7c], 0
jge 0x578d5d
mov dword [ebp - 0x90], 0
jmp 0x578d81
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0xb7c]
push edx
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.0050a760
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x578d9c
mov dword [ebp - 0x94], 0
jmp 0x578db9
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.004086e0
mov edx, dword [eax]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0xb7c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 9
jne 0x578e07
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x80
je 0x578e00
mov dword [ebp + 8], 0x26
jmp 0x578e07
mov dword [ebp + 8], 0x28
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
sub ecx, 0xd
mov dword [ebp - 0x98], ecx
cmp dword [ebp - 0x98], 0x1b
ja case.0x578e3f.1
mov edx, dword [ebp - 0x98]
movzx eax, byte [edx + 0x5796c4]
jmp dword [eax*4 + 0x5796a8]
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 0x18]
push ecx
push 0x68f7d0
call fcn.00439c20
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x578ec9
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + 0xf4]
call edx
test eax, eax
jne 0x578e91
push 0
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x20]
mov eax, dword [edx + 0xd0]
call eax
test eax, eax
jne 0x578ec9
push 0
push 0xe001
push 0x362
mov ecx, dword [ebp - 0x8c]
call fcn.00404620
mov ecx, eax
call fcn.004046a0
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [eax + 0x3ec]
call edx
jmp 0x579506
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x8c]
cmp dword [eax + 0xd08], 0
je 0x578f0a
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00585190
cmp dword [ebp - 0x14], eax
jne 0x578f0a
cmp dword [ebp + 8], 0x24
je 0x578f0a
mov eax, 1
jmp 0x579696
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.0047bc30
test eax, eax
je 0x578f2b
jmp 0x579506
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 0
je 0x578f4c
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.004085c0
cmp dword [ebp - 0x28], 0
jne 0x578f6f
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00407e20
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0
jmp 0x578f78
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x10]
je 0x57902f
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.004085c0
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
push 0x48f
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxpopupmenubar.cpp
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00439c90
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x24]
and ecx, 1
jne 0x578fe7
mov ecx, dword [ebp - 0x2c]
call fcn.0049c660
mov ecx, eax
call fcn.00611da0
test eax, eax
jne 0x578fe7
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x20], 0xfffffffe
je 0x578fe7
jmp 0x57902f
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x28], 0
jne 0x57902a
mov ecx, dword [ebp - 0x8c]
cmp dword [ecx + 0xd08], 0
je 0x57900f
mov eax, 1
jmp 0x579696
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00407e20
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 0
jmp 0x578f7f
cmp dword [ebp - 0x24], 0
je 0x579056
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.004086e0
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 1
jmp 0x579506
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x8c]
cmp dword [ecx + 0xd08], 0
je 0x579097
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00407e20
cmp dword [ebp - 0x14], eax
jne 0x579097
cmp dword [ebp + 8], 0x23
je 0x579097
mov eax, 1
jmp 0x579696
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.0047bc30
test eax, eax
je 0x5790b8
jmp 0x579506
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0
je 0x5790d9
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00408680
cmp dword [ebp - 0x34], 0
jne 0x57910c
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00585190
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00488de0
sub eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x579115
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x10]
je 0x5791dc
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00408680
mov edx, dword [eax]
mov dword [ebp - 0x38], edx
push 0x4d2
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxpopupmenubar.cpp
mov eax, dword [ebp - 0x38]
push eax
call fcn.00439c90
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x24]
and edx, 1
jne 0x579184
mov ecx, dword [ebp - 0x38]
call fcn.0049c660
mov ecx, eax
call fcn.00611da0
test eax, eax
jne 0x579184
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x20], 0xfffffffe
je 0x579184
jmp 0x5791dc
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x34], 0
jne 0x5791d7
mov edx, dword [ebp - 0x8c]
cmp dword [edx + 0xd08], 0
je 0x5791ac
mov eax, 1
jmp 0x579696
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00585190
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00488de0
sub eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x57911c
cmp dword [ebp - 0x30], 0
je 0x579203
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.004086e0
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 1
jmp 0x579506
mov edx, dword [ebp - 0x8c]
cmp dword [edx + 0xd08], 0
je 0x5792e4
mov eax, dword [ebp - 0x8c]
cmp dword [eax + 0xd0c], 0
jle 0x5792e4
mov ecx, dword [ebp - 0x8c]
mov dword [ecx + 0xd10], 1
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0xb7c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], 0
jmp 0x57925f
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x40]
cmp eax, dword [edx + 0xd0c]
jge 0x579296
xor ecx, ecx
cmp dword [ebp + 8], 0x21
setne cl
lea ecx, [ecx + ecx + 0x26]
push ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [eax + 0x404]
call edx
jmp 0x579256
mov eax, dword [ebp - 0x8c]
mov dword [eax + 0xd10], 0
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ecx + 0xb7c]
je 0x5792da
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0xb7c]
push ecx
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [eax + 0x260]
call edx
mov eax, 1
jmp 0x579696
jmp 0x579506
call fcn.0049d960
test eax, eax
jne 0x579506
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
jne 0x579506
mov ecx, dword [ebp + 8]
push ecx
call fcn.004c3f90
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x4c], 0
je 0x57932e
mov eax, dword [ebp + 8]
push eax
call fcn.004c4050
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x4c], 0
je 0x5794af
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x48]
push edx
mov ecx, dword [ebp - 0x8c]
add ecx, 0xcac
call fcn.004ac2e0
test eax, eax
je 0x5794af
push 0x514
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxpopupmenubar.cpp
mov eax, dword [ebp - 0x44]
push eax
call fcn.00439c90
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00407e20
mov dword [ebp - 0x58], eax
jmp 0x579398
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x58], 0
je 0x5793ff
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.004085c0
mov ecx, dword [eax]
mov dword [ebp - 0x5c], ecx
xor edx, edx
cmp dword [ebp - 0x5c], 0
setne dl
mov dword [ebp - 0x60], edx
cmp dword [ebp - 0x60], 0
jne 0x5793de
push 0x51d
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxpopupmenubar.cpp
call fcn.0043fd50
test eax, eax
je 0x5793de
int3
cmp dword [ebp - 0x60], 0
jne 0x5793e9
call fcn.0041b400
xor ecx, ecx
jne 0x5793b8
mov edx, dword [ebp - 0x5c]
cmp edx, dword [ebp - 0x44]
jne 0x5793fd
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x1c], eax
jmp 0x5793ff
jmp 0x57938f
mov ecx, dword [ebp - 0x44]
push ecx
push 0x68f7d0
call fcn.00439c20
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x5794ad
push 0
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x50]
mov edx, dword [eax + 0xd0]
call edx
test eax, eax
je 0x579458
mov eax, dword [ebp - 0x50]
cmp dword [eax + 0x8c], 0
je 0x579456
push 0
push 0x24
push 0x100
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx + 0x8c]
call fcn.004046a0
jmp 0x5794ad
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x24]
and eax, 0x40000
je 0x579480
mov ecx, dword [ebp - 0x44]
push ecx
push 0
mov ecx, dword [ebp - 0x8c]
call fcn.00576a90
mov eax, 1
jmp 0x579696
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x3ec]
call eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x5794ad
mov eax, 1
jmp 0x579696
jmp 0x579506
cmp dword [0x68f938], 0
je 0x579506
mov ecx, dword [ebp - 0x8c]
cmp dword [ecx + 0xcf0], 0
jne 0x579506
mov dword [ebp - 0x64], 0
lea edx, [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x8c]
add ecx, 0xd3c
call fcn.005b0360
test eax, eax
je 0x579506
push 0
mov ecx, dword [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x8c]
call fcn.00576a90
mov eax, 1
jmp 0x579696
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x18]
je 0x579693
push 0x554
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxpopupmenubar.cpp
mov eax, dword [ebp - 4]
push eax
call fcn.00439c90
cmp dword [ebp - 0x1c], 0
jl 0x579541
mov ecx, dword [ebp - 0x8c]
add ecx, 0xbc8
call fcn.00488de0
cmp dword [ebp - 0x1c], eax
jl 0x579555
push 0x555
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxpopupmenubar.cpp
call fcn.0043fd50
test eax, eax
je 0x579555
int3
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x8c]
call fcn.0049db70
cmp eax, dword [ebp - 4]
je 0x57957d
push 0x556
push str.f:dd_vctools_vc7libs_ship_atlmfc_srcmfc_afxpopupmenubar.cpp
call fcn.0043fd50
test eax, eax
je 0x57957d
int3
cmp dword [ebp - 8], 0
je 0x5795ac
mov ecx, dword [ebp - 0x8c]
cmp dword [ecx + 0xd10], 0
jne 0x5795ac
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x260]
call eax
call fcn.0049d960
test eax, eax
je 0x5795c4
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0xb80], edx
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0xb7c], ecx
lea ecx, [ebp - 0x88]
call fcn.00611b80
lea ecx, [ebp - 0x88]
call fcn.00611d90
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.00404af0
mov ecx, dword [ebp - 4]
call fcn.0049c660
mov edx, dword [eax]
mov dword [ebp - 0x78], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x74], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x70], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [ebp - 0x84]
jl 0x579627
mov edx, dword [ebp - 0x6c]
cmp edx, dword [ebp - 0x7c]
jle 0x579629
jmp 0x57966d
cmp dword [ebp - 0x18], 0
je 0x57964c
push 1
mov ecx, dword [ebp - 0x18]
call fcn.0049c660
mov ecx, eax
call fcn.00611d90
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.00404e50
push 1
lea ecx, [ebp - 0x78]
call fcn.00611d90
push eax
mov ecx, dword [ebp - 0x8c]
call fcn.00404e50
mov ecx, dword [ebp - 0x8c]
call fcn.00404d20
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20], 0xffffffff
je 0x579693
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
push edx
mov eax, dword [ebp - 0x8c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x41c]
call eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x68]
xor ecx, ebp
call fcn.005e33b0
mov esp, ebp
pop ebp
ret 4