Function at 0x404025
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [0x433f0c], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x5c], eax
jmp 0x404ba8
cmp dword [ebp + 0x14], 0
je 0x4041da
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
mov dword [ebp - 0x60], eax
jmp 0x40418e
push 0
push 6
push dword [ebp + 0x14]
call fcn.0041a3c3
jmp 0x4041d5
push 0x10
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_GetClassNameA]
push 0x425580
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4040b1
mov eax, dword [0x42fe44]
add eax, 4
push eax
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, eax
je 0x4040da
push 5
push dword [ebp + 0x14]
call fcn.0041a44c
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
cmp eax, 1
ja 0x4040cf
mov eax, 1
push eax
push 5
push dword [ebp + 0x14]
call fcn.0041a3c3
jmp 0x4041d5
push 5
push dword [ebp + 0x14]
call fcn.0041a44c
push 2
push 5
push dword [ebp + 0x14]
call fcn.0041a3c3
jmp 0x4041d5
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
cmp eax, 1
jne 0x40411a
mov dword [ebp - 0x34], 7
jmp 0x404121
mov dword [ebp - 0x34], 8
push 0x10
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_GetClassNameA]
push str.ListBox
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x404161
push 0
push 0
push 0x188
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x54], eax
jmp 0x404176
push 0
push 0
push 0x147
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x54], eax
push dword [ebp - 0x54]
push dword [ebp - 0x34]
push dword [ebp + 0x14]
call fcn.0041a3c3
jmp 0x4041d5
cmp dword [ebp - 0x60], 0
je 0x404060
cmp dword [ebp - 0x60], 1
jl 0x4041d5
cmp dword [ebp - 0x60], 2
jle 0x4040fa
cmp dword [ebp - 0x60], 5
je 0x404071
cmp dword [ebp - 0x60], 0x300
je 0x404071
cmp dword [ebp - 0x60], 0x501
je 0x4040df
jmp 0x4041d5
jmp 0x4041e7
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
call fcn.0041a3c3
jmp case.default.0x404cda
cmp dword [ebp + 0x10], 0x64
jb 0x40421a
cmp dword [ebp + 0x10], 0xefff
ja 0x40421a
push dword [ebp + 0x10]
push 1
push dword [ebp + 8]
call fcn.0041a3c3
mov eax, 1
jmp 0x404d2f
jmp case.default.0x404cda
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 0x64], eax
jmp 0x40437f
push 5
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.0041a44c
mov dword [ebp - 0x54], eax
push dword [ebp - 0x54]
push 5
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.0041a3c3
jmp 0x404436
push 0
push 0
push 0x130b
mov eax, dword [ebp + 0x14]
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x54], eax
push dword [ebp - 0x54]
push 7
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.0041a3c3
jmp 0x404436
mov eax, dword [ebp + 0x14]
push dword [eax + 0x10]
push 0x1f
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.0041a3c3
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov dword [0x437f6c], eax
mov eax, 1
jmp 0x404d2f
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0x1c], 0
je 0x4042ca
mov eax, dword [ebp + 0x14]
push dword [eax + 0x10]
push 0x20
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.0041a3c3
jmp 0x4042dc
mov eax, dword [ebp + 0x14]
push dword [eax + 0x10]
push 0x21
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.0041a3c3
mov dword [0x437f6c], 0
mov dword [0x433f0c], 1
mov eax, 1
jmp 0x404d2f
mov eax, dword [ebp + 0x14]
cmp dword [eax + 0xc], 2
jne 0x404323
mov eax, dword [ebp + 0x14]
push dword [eax + 0x3c]
push 0x22
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.0041a3c3
jmp 0x404335
mov eax, dword [ebp + 0x14]
push dword [eax + 0x3c]
push 0x23
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.0041a3c3
jmp 0x404436
mov eax, dword [ebp + 0x14]
push dword [eax + 0x14]
push 0x24
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.0041a3c3
mov eax, dword [ebp + 0x14]
push dword [eax + 0x3c]
push 0x25
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.0041a3c3
jmp 0x404436
mov eax, dword [ebp + 0x14]
push dword [eax + 0x3c]
push 0x26
mov eax, dword [ebp + 0x14]
push dword [eax]
call fcn.0041a3c3
jmp 0x404436
cmp dword [ebp - 0x64], 0xfffffdd9
ja 0x4043a4
je 0x404250
cmp dword [ebp - 0x64], 0x702
je 0x40422d
jmp 0x404436
cmp dword [ebp - 0x64], 0xfffffe3d
ja 0x4043f0
je 0x40433a
cmp dword [ebp - 0x64], 0xfffffe34
je 0x4042a6
cmp dword [ebp - 0x64], 0xfffffe35
je 0x40427b
cmp dword [ebp - 0x64], 0xfffffe38
je 0x404363
cmp dword [ebp - 0x64], 0xfffffe39
je 0x4042ff
jmp 0x404436
cmp dword [ebp - 0x64], 0xfffffe65
je 0x4042a6
cmp dword [ebp - 0x64], 0xfffffe66
je 0x40427b
cmp dword [ebp - 0x64], 0xfffffe69
je 0x404363
cmp dword [ebp - 0x64], 0xfffffe6a
je 0x4042ff
cmp dword [ebp - 0x64], 0xfffffe6e
je 0x40433a
jmp 0x404436
jmp case.default.0x404cda
cmp dword [ebp + 0x14], 0
je 0x404457
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x58], 2
jmp 0x40447d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
cmp dword [ebp + 0xc], 0x114
jne 0x404476
mov dword [ebp - 0x58], 0
jmp 0x40447d
mov dword [ebp - 0x58], 1
cmp dword [ebp + 0xc], 0x114
jne 0x404496
mov dword [ebp - 0x34], 0xb
jmp 0x40449d
mov dword [ebp - 0x34], 0xc
push 0x10
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_GetClassNameA]
push str.NudgeBar
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4044f1
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
call fcn.0041a44c
push 0
push 0
push 0x472
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
call fcn.0041a3c3
jmp 0x4046ca
push str.TrackBar
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x404536
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
call fcn.0041a44c
push 0
push 0
push 0x400
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
call fcn.0041a3c3
jmp 0x4046ca
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x68], eax
jmp 0x404689
mov dword [ebp - 0x50], 0x1c
mov dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x58]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_GetScrollInfo]
push 1
push dword [ebp - 0x38]
push dword [ebp - 0x58]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_SetScrollPos]
jmp 0x4046ca
push dword [ebp - 0x58]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_GetScrollPos]
mov dword [ebp - 0x30], eax
dec dword [ebp - 0x30]
push 1
push dword [ebp - 0x30]
push dword [ebp - 0x58]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_SetScrollPos]
jmp 0x4046ca
push dword [ebp - 0x58]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_GetScrollPos]
mov dword [ebp - 0x30], eax
inc dword [ebp - 0x30]
push 1
push dword [ebp - 0x30]
push dword [ebp - 0x58]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_SetScrollPos]
jmp 0x4046ca
mov dword [ebp - 0x50], 0x1c
mov dword [ebp - 0x4c], 2
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x58]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_GetScrollInfo]
push dword [ebp - 0x58]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_GetScrollPos]
mov dword [ebp - 0x30], eax
xor eax, eax
sub eax, dword [ebp - 0x40]
neg eax
sub dword [ebp - 0x30], eax
push 1
push dword [ebp - 0x30]
push dword [ebp - 0x58]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_SetScrollPos]
jmp 0x4046ca
mov dword [ebp - 0x50], 0x1c
mov dword [ebp - 0x4c], 2
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x58]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_GetScrollInfo]
push dword [ebp - 0x58]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_GetScrollPos]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x40]
add dword [ebp - 0x30], eax
push 1
push dword [ebp - 0x30]
push dword [ebp - 0x58]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_SetScrollPos]
jmp 0x4046ca
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
call fcn.0041a44c
push dword [ebp - 0x58]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_GetScrollPos]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x2c]
call fcn.0041a3c3
jmp 0x4046ca
cmp dword [ebp - 0x68], 0
je 0x404576
cmp dword [ebp - 0x68], 1
je 0x40459e
cmp dword [ebp - 0x68], 2
je 0x4045c6
cmp dword [ebp - 0x68], 3
je 0x404613
cmp dword [ebp - 0x68], 4
je 0x404542
cmp dword [ebp - 0x68], 8
je 0x40465c
jmp 0x4046ca
jmp case.default.0x404cda
push 9
push dword [ebp + 8]
call fcn.0041a44c
push dword [ebp + 0x14]
push 9
push dword [ebp + 8]
call fcn.0041a3c3
jmp case.default.0x404cda
push 0xa
push dword [ebp + 8]
call fcn.0041a44c
push dword [ebp + 0x14]
push 0xa
push dword [ebp + 8]
call fcn.0041a3c3
jmp case.default.0x404cda
push 5
push dword [ebp + 0x14]
call fcn.0041a44c
mov dword [ebp - 0x54], eax
push dword [ebp - 0x54]
push 5
push dword [ebp + 0x14]
call fcn.0041a3c3
jmp case.default.0x404cda
push 0
push 2
push dword [ebp + 8]
call fcn.0041a3c3
mov eax, 1
jmp 0x404d2f
push dword [ebp + 0x10]
push 3
push dword [ebp + 8]
call fcn.0041a3c3
jmp case.default.0x404cda
push dword [ebp + 0x10]
push 4
push dword [ebp + 8]
call fcn.0041a3c3
jmp case.default.0x404cda
mov eax, dword [ebp + 0x14]
and eax, 0xffff0000
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
or eax, ecx
push eax
push 0x1c
push dword [ebp + 8]
call fcn.0041a3c3
cmp dword [ebp + 0x10], 0x2e
jne 0x4047bb
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test al, 0x80
je 0x4047bb
call fcn.0041a534
push 0
call fcn.00405d25
mov eax, 1
jmp 0x404d2f
cmp dword [ebp + 0x10], 0x26
je 0x4047cf
cmp dword [ebp + 0x10], 0x28
jne 0x4047ec
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test al, 0x80
je 0x4047ec
mov eax, 1
jmp 0x404d2f
jmp case.default.0x404cda
mov eax, dword [ebp + 0x14]
and eax, 0xffff0000
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
or eax, ecx
push eax
push 0x1c
push dword [ebp + 8]
call fcn.0041a3c3
jmp case.default.0x404cda
push dword [ebp + 8]
call fcn.004088b2
test eax, eax
jne 0x404831
push dword [ebp + 0x14]
push 0xe
push dword [ebp + 8]
call fcn.0041a3c3
jmp case.default.0x404cda
push dword [ebp + 8]
call fcn.004088b2
test eax, eax
jne 0x404853
push dword [ebp + 0x14]
push 0xf
push dword [ebp + 8]
call fcn.0041a3c3
jmp case.default.0x404cda
push dword [ebp + 8]
call fcn.004088b2
test eax, eax
jne 0x404875
push dword [ebp + 0x14]
push 0x10
push dword [ebp + 8]
call fcn.0041a3c3
jmp case.default.0x404cda
push dword [ebp + 8]
call fcn.004088b2
test eax, eax
jne 0x404897
push dword [ebp + 0x14]
push 0x14
push dword [ebp + 8]
call fcn.0041a3c3
jmp case.default.0x404cda
push dword [ebp + 8]
call fcn.004088b2
test eax, eax
jne 0x4048b9
push dword [ebp + 0x14]
push 0x15
push dword [ebp + 8]
call fcn.0041a3c3
jmp case.default.0x404cda
push dword [ebp + 8]
call fcn.004088b2
test eax, eax
jne 0x4048db
push dword [ebp + 0x14]
push 0x16
push dword [ebp + 8]
call fcn.0041a3c3
jmp case.default.0x404cda
push dword [ebp + 8]
call fcn.004088b2
test eax, eax
jne 0x4048fd
push dword [ebp + 0x14]
push 0x11
push dword [ebp + 8]
call fcn.0041a3c3
jmp case.default.0x404cda
push dword [ebp + 8]
call fcn.004088b2
test eax, eax
jne 0x40491f
push dword [ebp + 0x14]
push 0x12
push dword [ebp + 8]
call fcn.0041a3c3
jmp case.default.0x404cda
push dword [ebp + 8]
call fcn.004088b2
test eax, eax
jne 0x404941
push dword [ebp + 0x14]
push 0x13
push dword [ebp + 8]
call fcn.0041a3c3
jmp case.default.0x404cda
push dword [ebp + 0x14]
push 0xffffffffffffffeb
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x14]
cmp dword [ebp - 0x54], eax
jne 0x40497c
mov eax, dword [ebp + 8]
cmp dword [0x437f78], eax
jne 0x40497c
mov eax, 1
jmp 0x404d2f
mov dword [ebp - 0x10], 0x10
mov dword [ebp - 0xc], 3
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_TrackMouseEvent]
mov eax, dword [ebp + 8]
cmp dword [0x437f78], eax
je 0x404a05
cmp dword [0x437f78], 0
je 0x4049e6
push 0x1a
push dword [0x437f78]
call fcn.0041a44c
push 0xffffffffffffffeb
push dword [0x437f78]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
push 0x1a
push dword [0x437f78]
call fcn.0041a3c3
mov eax, dword [ebp + 8]
mov dword [0x437f78], eax
push 0x18
push dword [ebp + 8]
call fcn.0041a44c
push dword [ebp + 0x14]
push 0x18
push dword [ebp + 8]
call fcn.0041a3c3
push dword [ebp + 8]
call fcn.004088b2
test eax, eax
jne 0x404a2c
push 0x17
push dword [ebp + 8]
call fcn.0041a44c
push dword [ebp + 0x14]
push 0x17
push dword [ebp + 8]
call fcn.0041a3c3
jmp case.default.0x404cda
push dword [ebp + 0x14]
push 0xffffffffffffffeb
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x19
push dword [ebp + 8]
call fcn.0041a44c
push dword [ebp + 0x14]
push 0x19
push dword [ebp + 8]
call fcn.0041a3c3
jmp case.default.0x404cda
mov eax, dword [ebp + 8]
cmp dword [0x437f78], eax
jne 0x404a94
mov dword [0x437f78], 0
push 0x1a
push dword [ebp + 8]
call fcn.0041a44c
push 0xffffffffffffffeb
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
push 0x1a
push dword [ebp + 8]
call fcn.0041a3c3
jmp case.default.0x404cda
mov eax, dword [ebp + 0x14]
cmp dword [eax + 4], 1
jne 0x404aef
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x24]
shl eax, 0x10
and eax, 0xffff0000
mov ecx, dword [ebp - 0x28]
and ecx, 0xffff
or eax, ecx
push eax
push 0x1d
push dword [ebp - 0x2c]
call fcn.0041a3c3
mov eax, 1
jmp 0x404d2f
movzx eax, word [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
shr eax, 0x10
and eax, 0xffff
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x24]
shl eax, 0x10
and eax, 0xffff0000
mov ecx, dword [ebp - 0x28]
and ecx, 0xffff
or eax, ecx
push eax
push 0x1e
push dword [ebp + 0x10]
call fcn.0041a3c3
mov eax, 1
jmp 0x404d2f
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.0041a3c3
mov eax, 1
jmp 0x404d2f
push dword [ebp + 0x14]
movzx eax, word [ebp + 0x10]
cmp eax, 0x10
jl 0x404b82
mov eax, 0x10
add eax, 0x50
push eax
push dword [ebp + 8]
call fcn.0041a3c3
inc dword [0x433ef0]
mov eax, 1
jmp 0x404d2f
cmp dword [ebp - 0x5c], 3
ja 0x404bc7
je 0x4046eb
cmp dword [ebp - 0x5c], 0
je 0x404b50
jmp case.default.0x404cda
cmp dword [ebp - 0x5c], 0x10
ja 0x404bfa
je 0x404726
cmp dword [ebp - 0x5c], 5
je 0x4046cf
cmp dword [ebp - 0x5c], 7
je 0x404741
cmp dword [ebp - 0x5c], 8
je 0x404753
jmp case.default.0x404cda
cmp dword [ebp - 0x5c], 0x53
ja 0x404c19
je 0x404a99
cmp dword [ebp - 0x5c], 0x4e
je 0x40421f
jmp case.default.0x404cda
cmp dword [ebp - 0x5c], 0x100
ja 0x404c3b
je 0x404765
cmp dword [ebp - 0x5c], 0x7b
je 0x404afe
jmp case.default.0x404cda
cmp dword [ebp - 0x5c], 0x105
ja 0x404c67
cmp dword [ebp - 0x5c], 0x104
jae 0x4047f1
cmp dword [ebp - 0x5c], 0x101
je 0x4047f1
jmp case.default.0x404cda
cmp dword [ebp - 0x5c], 0x133
ja 0x404cb3
je 0x404707
cmp dword [ebp - 0x5c], 0x111
je 0x404043
cmp dword [ebp - 0x5c], 0x112
je 0x4041ec
cmp dword [ebp - 0x5c], 0x114
jb case.default.0x404cda
cmp dword [ebp - 0x5c], 0x115
jbe 0x40443b
jmp case.default.0x404cda
cmp dword [ebp - 0x5c], 0x240
ja 0x404d09
je 0x404b6d
sub dword [ebp - 0x5c], 0x200
cmp dword [ebp - 0x5c], 9
ja case.default.0x404cda
mov eax, dword [ebp - 0x5c]
jmp dword [eax*4 + 0x404ce1]
cmp dword [ebp - 0x5c], 0x2a1
je 0x404a31
cmp dword [ebp - 0x5c], 0x2a3
je 0x404a5b
jmp case.default.0x404cda
xor eax, eax
jmp 0x404d2f
pop edi
pop esi
pop ebx
leave
ret 0x10