Function at 0x100495c2
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008f5ea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push esi
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x10], 0xffffffff
cmp dword [ebp - 0x14], 0x26ff23b1
jne 0x1004960c
mov dword [ebp - 0xa4], 1
jmp 0x10049613
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0x14], 0x7084
jl 0x10049628
mov dword [ebp - 0xf4], 1
jmp 0x1004962f
and dword [ebp - 0xf4], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xf4]
cmp dword [ebp - 0x14], eax
jl 0x10049649
mov dword [ebp - 0x12c], 1
jmp 0x10049650
and dword [ebp - 0x12c], 0
cmp dword [ebp - 0x12c], 0x4cb8
jne 0x10049668
mov dword [ebp - 0xe8], 1
jmp 0x1004966f
and dword [ebp - 0xe8], 0
cmp dword [ebp - 0xe8], 0x4b0b
jle 0x10049687
mov dword [ebp - 0x108], 1
jmp 0x1004968e
and dword [ebp - 0x108], 0
cmp dword [ebp - 0x108], 0xfffffffd
jle 0x100496a3
mov dword [ebp - 0xe0], 1
jmp 0x100496aa
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0xe0]
jge 0x100496c4
mov dword [ebp - 0xac], 1
jmp 0x100496cb
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jb 0x100496e6
mov dword [ebp - 0xec], 1
jmp 0x100496ed
and dword [ebp - 0xec], 0
cmp dword [ebp - 0xec], 0x52cb
jge 0x10049705
mov dword [ebp - 0xb4], 1
jmp 0x1004970c
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xb4], eax
jl 0x10049723
mov dword [ebp - 0x98], 1
jmp 0x1004972a
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
jmp 0x10049743
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffe3
jl 0x100499a3
push 3
lea ecx, [ebp - 0x84]
call fcn.10014de1
and dword [ebp - 4], 0
mov dword [ebp - 0x68], 0
jmp 0x1004976e
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 3
jge 0x1004978a
push dword [ebp - 0x68]
lea ecx, [ebp - 0x84]
call fcn.10014e7f
mov dword [eax], 0xfffffffa
jmp 0x10049767
mov dword [ebp - 0x10], 0
jmp 0x1004979a
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jg 0x10049975
mov dword [ebp - 0x70], 2
push dword [ebp - 0x10]
lea ecx, [ebp - 0x84]
call fcn.10014e7f
push 2
lea ecx, [ebp - 0x84]
call fcn.10014e7f
push dword [ebp - 0x10]
lea ecx, [ebp - 0x84]
call fcn.10014e7f
cmp dword [eax], 0
jne 0x100497e8
cmp dword [ebp - 0x10], 0
jne 0x100497e8
and dword [ebp - 0xbc], 0
jmp 0x100497f2
mov dword [ebp - 0xbc], 1
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0xbc], eax
jge 0x10049809
mov dword [ebp - 0xfc], 1
jmp 0x10049810
and dword [ebp - 0xfc], 0
cmp dword [ebp - 0xfc], 0x8b9628ea
ja 0x10049828
mov dword [ebp - 0xc4], 1
jmp 0x1004982f
and dword [ebp - 0xc4], 0
push 2
lea ecx, [ebp - 0x84]
call fcn.10014e7f
imul eax, dword [eax], 0x37b3
cmp eax, dword [ebp - 0xc4]
jl 0x10049856
mov dword [ebp - 0x104], 1
jmp 0x1004985d
and dword [ebp - 0x104], 0
push 1
lea ecx, [ebp - 0x84]
call fcn.10014e7f
mov ecx, dword [ebp - 0x104]
cmp ecx, dword [eax]
je 0x10049880
mov dword [ebp - 0xcc], 1
jmp 0x10049887
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xcc], eax
je 0x1004989e
mov dword [ebp - 0x10c], 1
jmp 0x100498a5
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x70], eax
mov esi, dword [ebp - 0x70]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x84]
call fcn.10014e7f
cmp dword [eax], esi
jle 0x100498cf
mov dword [ebp - 0xd4], 1
jmp 0x100498d6
and dword [ebp - 0xd4], 0
mov esi, dword [ebp - 0xd4]
neg esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x84]
call fcn.10014e7f
sub esi, dword [eax]
je 0x10049902
cmp dword [ebp - 0x70], 0
je 0x10049902
mov dword [ebp - 0x114], 1
jmp 0x10049909
and dword [ebp - 0x114], 0
push dword [ebp - 0x10]
lea ecx, [ebp - 0x84]
call fcn.10014e7f
mov ecx, dword [ebp - 0x114]
cmp ecx, dword [eax]
jl 0x1004992d
mov dword [ebp - 0xdc], 1
jmp 0x10049934
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1c], 0
jmp 0x1004994d
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jg 0x10049970
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x1004996e
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MapDialogRect]
jmp 0x10049946
jmp 0x10049793
cmp dword [ebp - 0x14], 0
je 0x1004998f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.10014e63
jmp 0x1004973c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.10014e63
jmp 0x1004973c
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x18], 0xfffc
mov dword [ebp - 0xf8], 0x54c97515
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0x110], 0x3e52509e
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x13c], 0xfffffff6
mov dword [ebp - 0x50], 0
jmp 0x100499f3
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
jge 0x10049a06
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x74], 0xffffffff
jmp 0x100499ec
cmp dword [ebp - 0x64], 0
jne 0x10049a1b
cmp dword [ebp - 0x64], 0
jne 0x10049a1b
and dword [ebp - 0x120], 0
jmp 0x10049a25
mov dword [ebp - 0x120], 1
cmp dword [ebp - 0xf8], 0x65420764
jne 0x10049a42
xor eax, eax
inc eax
je 0x10049a42
mov dword [ebp - 0x11c], 1
jmp 0x10049a49
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x11c]
sub eax, dword [ebp - 0x64]
cmp dword [ebp - 0x18], eax
je 0x10049a63
mov dword [ebp - 0x124], 1
jmp 0x10049a6a
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xe4], eax
jge 0x10049a8d
mov dword [ebp - 0x128], 1
jmp 0x10049a94
and dword [ebp - 0x128], 0
cmp dword [ebp - 0x128], 0
jbe 0x10049aa9
mov dword [ebp - 0xf0], 1
jmp 0x10049ab0
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x10049ad7
cmp dword [ebp - 0xf8], 0
jne 0x10049ad7
and dword [ebp - 0x100], 0
jmp 0x10049ae1
mov dword [ebp - 0x100], 1
mov eax, dword [ebp - 0x120]
cmp eax, dword [ebp - 0x100]
je 0x10049afb
mov dword [ebp - 0x118], 1
jmp 0x10049b02
and dword [ebp - 0x118], 0
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x118], eax
je 0x10049b1c
mov dword [ebp - 0x9c], 1
jmp 0x10049b23
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x88]
jge 0x10049b43
mov dword [ebp - 0xa0], 1
jmp 0x10049b4a
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0xa0], eax
jg 0x10049b61
mov dword [ebp - 0xa8], 1
jmp 0x10049b68
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x18], 0
jmp 0x10049b84
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x10049bcc
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x74], 0
je 0x10049baa
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x10049ba8
push 0
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
jmp 0x10049bb8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + eax*4 - 0x74]
mov dword [ebp + ecx*4 - 0x74], eax
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x10049bca
call dword [sym.imp.USER32.dll_GetCaretBlinkTime]
jmp 0x10049b7d
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x58], 0xffffffff
jmp 0x10049be3
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x19
je 0x10049c33
mov dword [ebp - 0x6c], 0xfffffff7
mov dword [ebp - 0x6c], 2
jmp 0x10049c00
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x16
jg 0x10049c31
mov byte [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x2c]
test eax, eax
je 0x10049c2f
push 0
push 0x25c1
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
jmp 0x10049bf9
jmp 0x10049bdc
mov dword [ebp - 0x38], 0xfffffff6
mov dword [ebp - 0x170], 0xa6847dfa
mov dword [ebp - 0x188], 2
mov dword [ebp - 0x180], 0xb96ca2c
mov dword [ebp - 0x17c], 1
mov dword [ebp - 0x174], 0x50e6da50
mov dword [ebp - 0x160], 1
mov dword [ebp - 0x15c], 1
mov dword [ebp - 0x158], 1
mov dword [ebp - 0x154], 1
lea ecx, [ebp - 0x75]
call fcn.10009f53
push eax
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.10014e8e
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x194]
call fcn.10014e3d
mov dword [ebp - 0xb0], 0x39e22401
mov eax, dword [ebp - 0xb0]
dec eax
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x10049cfa
push 0
push 0
push 0x1fe9
push 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea ecx, [ebp - 0x194]
call fcn.10014e63
call fcn.10047185
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x28], 6
jmp 0x10049d21
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 6
jge 0x10049f68
push 2
lea ecx, [ebp - 0x94]
call fcn.10014de1
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], 0x137b1891
mov dword [ebp - 0x60], 0
jmp 0x10049d56
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 2
jge 0x10049d72
push dword [ebp - 0x60]
lea ecx, [ebp - 0x94]
call fcn.10014e7f
mov dword [eax], 0xfffffff7
jmp 0x10049d4f
mov byte [ebp - 0x30], 0
movzx eax, byte [ebp - 0x30]
test eax, eax
je 0x10049d86
push 0
call dword [sym.imp.COMDLG32.dll_FindTextW]
mov dword [ebp - 0x20], 1
jmp 0x10049d96
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x10049f54
mov dword [ebp - 0x24], 0x1dfe4b28
mov dword [ebp - 0x24], 0
jmp 0x10049db7
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jg 0x10049f4f
mov dword [ebp - 0x44], 0x5613717b
push dword [ebp - 0x20]
lea ecx, [ebp - 0x94]
call fcn.10014e7f
mov esi, eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x94]
call fcn.10014e7f
mov ecx, dword [esi]
mov dword [eax], ecx
mov dword [ebp - 0x44], 0
jmp 0x10049dfa
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jg 0x10049f4a
mov dword [ebp - 0x3c], 0x28a062b0
mov dword [ebp - 0x3c], 1
jmp 0x10049e1b
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x10049f45
mov byte [ebp - 0x32], 0
movzx eax, byte [ebp - 0x32]
test eax, eax
je 0x10049e3c
push 0xea4
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push dword [ebp - 0x24]
lea ecx, [ebp - 0x94]
call fcn.10014e7f
mov esi, eax
push 0
lea ecx, [ebp - 0x94]
call fcn.10014e7f
mov ecx, dword [esi]
cmp ecx, dword [eax]
jne 0x10049e6b
mov dword [ebp - 0xb8], 1
jmp 0x10049e72
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x178], eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x94]
call fcn.10014e7f
mov ecx, dword [ebp - 0xb8]
cmp ecx, dword [eax]
jle 0x10049efc
mov eax, dword [ebp - 0x3c]
add eax, 0xf915
je 0x10049ead
xor eax, eax
je 0x10049ead
mov dword [ebp - 0xc0], 1
jmp 0x10049eb4
and dword [ebp - 0xc0], 0
cmp dword [ebp - 0xc0], 0xe5809974
jae 0x10049ecc
mov dword [ebp - 0xc8], 1
jmp 0x10049ed3
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0xc8], eax
jne 0x10049eea
mov dword [ebp - 0xd0], 1
jmp 0x10049ef1
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0xd0], eax
jne 0x10049f1b
mov byte [ebp - 0x34], 0
movzx eax, byte [ebp - 0x34]
test eax, eax
je 0x10049f19
push 0
push 0
push 0x5e7
push 0
call dword [sym.imp.USER32.dll_AppendMenuA]
jmp 0x10049f40
push dword [ebp - 0x24]
lea ecx, [ebp - 0x94]
call fcn.10014e7f
mov dword [eax], 1
push dword [ebp - 0x20]
lea ecx, [ebp - 0x94]
call fcn.10014e7f
or dword [eax], 0xffffffff
jmp 0x10049e14
jmp 0x10049df3
jmp 0x10049db0
jmp 0x10049d8f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10014e63
jmp 0x10049d1a
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0
jmp 0x10049f7e
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 5
jne 0x1004a15b
push 1
lea ecx, [ebp - 0x16c]
call fcn.10014de1
mov dword [ebp - 4], 2
mov dword [ebp - 0x40], 0x81c2900
mov dword [ebp - 0x48], 0
jmp 0x10049fb3
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jge 0x10049fcf
push dword [ebp - 0x48]
lea ecx, [ebp - 0x16c]
call fcn.10014e7f
mov dword [eax], 0x1713b910
jmp 0x10049fac
mov dword [ebp - 0x40], 0
jmp 0x10049fdf
mov eax, dword [ebp - 0x40]
dec eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jl 0x1004a127
mov dword [ebp - 0x4c], 0x751c76d7
mov dword [ebp - 0x4c], 0
jmp 0x1004a000
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jg 0x1004a122
push 2
lea ecx, [ebp - 0x138]
call fcn.10014de1
mov byte [ebp - 4], 3
mov dword [ebp - 0x54], 0
jmp 0x1004a02b
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 2
jge 0x1004a047
push dword [ebp - 0x54]
lea ecx, [ebp - 0x138]
call fcn.10014e7f
mov dword [eax], 0xe1b61bab
jmp 0x1004a024
push 0
lea ecx, [ebp - 0x138]
call fcn.10014e7f
and dword [eax], 0
jmp 0x1004a07d
push 0
lea ecx, [ebp - 0x138]
call fcn.10014e7f
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0xd8]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x138]
call fcn.10014e7f
cmp dword [eax], 0
jl 0x1004a0e7
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x5c], 0
jmp 0x1004a0a6
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jg 0x1004a0c2
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x1004a0c0
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x1004a09f
mov byte [ebp - 0x33], 0
movzx eax, byte [ebp - 0x33]
test eax, eax
je 0x1004a0e2
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_UpdateColors]
jmp 0x1004a059
push dword [ebp - 0x40]
lea ecx, [ebp - 0x16c]
call fcn.10014e7f
cmp dword [eax], 0
je 0x1004a10e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x138]
call fcn.10014e63
jmp 0x10049ff9
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x138]
call fcn.10014e63
jmp 0x10049ff9
jmp 0x10049fd8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x16c]
call fcn.10014e63
mov dword [ebp - 0x140], 0xb4e1265a
cmp dword [ebp - 0x38], 0
je 0x1004a148
jmp 0x1004a15b
cmp dword [ebp - 0x140], 0
je 0x1004a156
jmp 0x10049f77
jmp 0x10049f77
mov dword [ebp - 0x184], 0
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x1004a17c
push 0x19e4
call dword [sym.imp.USER32.dll_GetKeyState]
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x1004a192
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push 1
lea eax, [ebp - 0x1b4]
push eax
xor edx, edx
inc edx
xor ecx, ecx
call fcn.100469ea
pop ecx
pop ecx
mov esi, eax
lea edi, [ebp - 0x1a0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x1a0]
lea edi, [ebp - 0x14c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x14c], 0
je 0x1004a1de
push 2
push dword [ebp - 0x144]
push dword [ebp - 0x148]
call dword [ebp - 0x14c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret