Function at 0x428e40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov ecx, dword [0x451244]
mov edx, dword [0x451240]
mov esi, dword [esp + 0xb0]
mov eax, ecx
sub eax, edx
sar eax, 2
cmp edx, ecx
je 0x428c5e
test eax, eax
je 0x428e24
mov ebx, dword [edx]
cmp esi, dword [ebx]
je 0x428c70
mov ecx, 1
jmp 0x428c5a
mov ebx, dword [edx + ecx*4]
add ecx, 1
cmp esi, dword [ebx]
je 0x428c70
cmp eax, ecx
jne 0x428c50
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, word [0x44ac32]
lea edi, [esp + 0x14]
mov ecx, 0x1f
mov word [esp + 0x10], ax
xor eax, eax
mov word [esp + 0x12], ax
xor eax, eax
rep stosd dword es:[edi], eax
lea edi, [esp + 0x10]
mov eax, dword [ebx]
mov dword [esp + 4], str._s_d
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov eax, dword [str.DWAWindowClass]
mov dword [esp + 8], eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [0x45124c]
cmp dword [ebx + 4], eax
je 0x428e01
mov eax, dword [0x451244]
mov ebp, dword [0x451240]
mov ecx, eax
sub ecx, ebp
sar ecx, 2
cmp ebp, eax
je 0x428d05
test ecx, ecx
je 0x428e24
mov edx, dword [ebp]
cmp esi, dword [edx]
je 0x428d80
mov eax, 1
jmp 0x428d01
mov edx, dword [ebp + eax*4]
add eax, 1
cmp esi, dword [edx]
je 0x428d80
cmp eax, ecx
jne 0x428cf2
mov eax, dword [ebx + 0x3c8]
mov esi, dword [ebx + 4]
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
sub esp, 4
mov dword [esp], esi
call fcn.00428810
mov dword [esp], esi
call dword [sym.imp.USER32.dll_DestroyWindow]
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.USER32.dll_UnregisterClassW]
mov ebx, dword [0x45124c]
sub esp, 8
test ebx, ebx
je 0x428db0
mov eax, dword [0x451244]
cmp dword [0x451240], eax
jne 0x428c5e
mov dword [esp], 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
sub esp, 4
jmp 0x428c5e
mov ecx, dword [edx + 0x1c]
test ecx, ecx
je 0x428d05
mov dword [edx + 0x1c], 0
add edx, 0x10
mov dword [esp + 4], edx
mov dword [esp], 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
sub esp, 8
jmp 0x428d05
mov eax, dword [0x451240]
cmp eax, dword [0x451244]
je 0x428d69
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x64
mov dword [0x45124c], eax
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [0x451244]
sub esp, 0x10
cmp dword [0x451240], eax
jne 0x428c5e
jmp 0x428d69
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [0x45124c], 0
sub esp, 8
jmp 0x428cc2
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x44abd0
call fcn.00446210
push ebp
push edi
push esi
push ebx
sub esp, 0xbc
lea eax, [esp + 0xb0]
mov dword [esp + 0x54], 0x4474b0
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x58], 0x447fa4
mov dword [esp + 0x60], 0x42a122
mov dword [esp + 0x64], esp
call fcn.00437520
mov ecx, dword [0x451244]
mov edx, dword [0x451240]
mov eax, ecx
sub eax, edx
sar eax, 2
cmp edx, ecx
je 0x4293f0
test eax, eax
je 0x429de1
mov edi, dword [edx]
mov dword [esp + 0x28], edi
mov ebx, dword [edi + 4]
cmp dword [esp + 0xd0], ebx
je 0x429940
mov ecx, 1
jmp 0x428edb
mov esi, dword [edx + ecx*4]
add ecx, 1
mov dword [esp + 0x28], esi
mov ebx, dword [esi + 4]
cmp dword [esp + 0xd0], ebx
je 0x429062
cmp eax, ecx
jne 0x428ec1
cmp dword [esp + 0xd4], 0x102
je 0x428f30
jbe 0x428ff0
cmp dword [esp + 0xd4], 0x201
je 0x428f30
jbe 0x428f64
cmp dword [esp + 0xd4], 0x204
je 0x428f30
jbe 0x428f55
cmp dword [esp + 0xd4], 0x205
je 0x428f30
cmp dword [esp + 0xd4], 0x8000
jne 0x428f90
lea esi, [esi]
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.004375b0
mov eax, dword [esp + 0x2c]
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
cmp dword [esp + 0xd4], 0x202
je 0x428f30
jmp 0x428f90
cmp dword [esp + 0xd4], 0x113
je 0x429564
cmp dword [esp + 0xd4], 0x200
je 0x428f30
cmp dword [esp + 0xd4], 0x106
je 0x428f30
nop
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.USER32.dll_IsWindowUnicode]
sub esp, 4
test eax, eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xd8]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xd0]
mov dword [esp], eax
je 0x4297a1
call dword [sym.imp.USER32.dll_DefWindowProcW]
sub esp, 0x10
mov dword [esp + 0x2c], eax
jmp 0x428f38
cmp dword [esp + 0xd4], 0xf
je 0x428f30
jbe 0x429032
cmp dword [esp + 0xd4], 0x1c
je 0x428f30
cmp dword [esp + 0xd4], 0x100
je 0x428f30
cmp dword [esp + 0xd4], 0x10
jne 0x428f90
jmp 0x428f30
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x428f90
cmp dword [esp + 0xd4], 2
jbe 0x428f30
cmp dword [esp + 0xd4], 6
je 0x428f30
jmp 0x428f90
cmp dword [esp + 0xd4], 0x102
je 0x429463
jbe 0x4292d0
cmp dword [esp + 0xd4], 0x201
je 0x4295a3
jbe 0x4291e0
cmp dword [esp + 0xd4], 0x204
je 0x429580
jbe 0x429103
cmp dword [esp + 0xd4], 0x205
jne 0x429170
mov eax, dword [0x45125c]
test eax, eax
je 0x428f30
mov edx, dword [esp + 0xdc]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x10], 2
mov dword [esp + 4], str.BUTTON_UP
sar edx, 0x10
mov dword [esp + 0xc], edx
movsx edx, word [esp + 0xdc]
mov dword [esp + 8], edx
mov edx, dword [edi]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], edx
call eax
jmp 0x428f30
cmp dword [esp + 0xd4], 0x202
jne 0x428f90
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x428f30
mov eax, dword [0x45125c]
test eax, eax
je 0x428f30
mov edx, dword [esp + 0xdc]
mov dword [esp + 0x10], 1
mov dword [esp + 4], str.BUTTON_UP
sar edx, 0x10
mov dword [esp + 0xc], edx
movsx edx, word [esp + 0xdc]
mov dword [esp + 8], edx
mov edx, dword [ebx]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], edx
call eax
jmp 0x428f30
cmp dword [esp + 0xd4], 0x8000
jne 0x428f90
cmp dword [esp + 0xdc], 0x202
je 0x4297c0
jle 0x429821
cmp dword [esp + 0xdc], 0x203
jne 0x4297f5
mov eax, dword [0x451254]
mov dword [esp + 0x2c], 1
test eax, eax
je 0x428f38
mov ebx, dword [esp + 0x28]
mov dword [esp + 4], str.NOTIFYICON_ACTIVATE
mov edx, dword [ebx]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], edx
call eax
jmp 0x428f38
cmp dword [esp + 0xd4], 0x113
je 0x429564
cmp dword [esp + 0xd4], 0x200
je 0x429600
cmp dword [esp + 0xd4], 0x106
mov eax, esi
jne 0x428f90
test eax, eax
je 0x428f30
mov ebx, dword [0x451260]
mov dword [esp + 0x2c], ebx
test ebx, ebx
je 0x428f30
mov eax, dword [eax]
mov dword [esp], 0x12
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x34], eax
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [esp + 0x28], eax
call eax
sub esp, 4
mov edi, dword [esp + 0x28]
mov word [esp + 0x38], ax
mov dword [esp], 0x11
call edi
sub esp, 4
mov edi, dword [esp + 0x28]
mov word [esp + 0x3a], ax
mov dword [esp], 0x10
call edi
sub esp, 4
cwde
movsx edx, word [esp + 0x38]
shr eax, 0x1f
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
lea eax, [esp + 0xd8]
shr edx, 0x1f
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], edx
movsx edx, word [esp + 0x3a]
mov dword [esp + 4], str.CHAR
shr edx, 0x1f
mov dword [esp], eax
mov dword [esp + 0x10], edx
call ebx
jmp 0x428f30
cmp dword [esp + 0xd4], 0xf
je 0x4296c0
jbe 0x429370
cmp dword [esp + 0xd4], 0x1c
je 0x429673
cmp dword [esp + 0xd4], 0x100
je 0x429840
cmp dword [esp + 0xd4], 0x10
mov ebx, esi
jne 0x428f90
test ebx, ebx
je 0x428f30
cmp byte [ebx + 0x3d0], 0
mov eax, dword [ebx]
je 0x429353
mov edx, dword [0x451254]
test edx, edx
je 0x429353
mov dword [esp + 4], str.ONCLOSE
mov dword [esp], eax
mov dword [esp + 0x40], 0xffffffff
call edx
test al, al
je 0x428f30
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx]
mov dword [esp], eax
mov dword [esp + 0x40], 0xffffffff
call fcn.00428c10
jmp 0x428f30
mov edx, dword [esp + 0xd4]
test edx, edx
je 0x428f90
cmp dword [esp + 0xd4], 2
jbe 0x428f30
cmp dword [esp + 0xd4], 6
jne 0x428f90
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x428f30
mov eax, dword [esp + 0xd8]
lea edx, [eax - 1]
cmp edx, 1
jbe 0x4299f1
test eax, eax
jne 0x428f30
mov eax, dword [0x451254]
test eax, eax
je 0x428f30
mov dword [esp + 4], str.INACTIVE
mov edx, dword [ebx]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], edx
call eax
jmp 0x428f30
cmp dword [esp + 0xd4], 0x102
je 0x428f30
ja 0x428ef2
cmp dword [esp + 0xd4], 0xf
je 0x428f30
ja 0x429000
cmp dword [esp + 0xd4], 2
jne 0x429442
mov dword [esp], 0
mov dword [esp + 0x40], 0xffffffff
call dword [sym.imp.USER32.dll_PostQuitMessage]
sub esp, 4
jmp 0x428f30
cmp dword [esp + 0xd4], 6
je 0x428f30
cmp dword [esp + 0xd4], 1
jne 0x428f90
jmp 0x428f30
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x428f30
mov eax, dword [esp + 0xd8]
cmp eax, 0x1b
je 0x429ad9
cmp eax, 0xd
je 0x429b85
cmp eax, 8
je 0x429cb3
cmp eax, 0x18
je 0x429e05
cmp eax, 3
je 0x429fdf
cmp eax, 0x16
je 0x42a076
cmp eax, 0x1f
jbe 0x428f30
mov eax, dword [0x451260]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x428f30
mov edi, dword [esp + 0x28]
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov ebx, dword [edi]
mov dword [esp + 0x28], eax
mov dword [esp], 0x12
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], 0xffffffff
call eax
sub esp, 4
mov ebx, dword [esp + 0x28]
mov word [esp + 0x38], ax
mov dword [esp], 0x11
call ebx
sub esp, 4
mov ebx, dword [esp + 0x28]
mov word [esp + 0x3a], ax
mov dword [esp], 0x10
call ebx
sub esp, 4
cwde
movsx edx, word [esp + 0x38]
shr eax, 0x1f
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
lea eax, [esp + 0xd8]
shr edx, 0x1f
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
movsx edx, word [esp + 0x3a]
mov dword [esp + 4], str.CHAR
shr edx, 0x1f
mov dword [esp], ebx
mov dword [esp + 0x10], edx
call eax
jmp 0x428f30
mov eax, dword [0x451258]
test eax, eax
je 0x428f30
mov dword [esp + 0x40], 0xffffffff
call eax
jmp 0x428f30
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x428f30
mov eax, dword [0x45125c]
test eax, eax
je 0x428f30
mov dword [esp + 0x10], 2
jmp 0x4295c4
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x428f30
mov eax, dword [0x45125c]
test eax, eax
je 0x428f30
mov dword [esp + 0x10], 1
mov edx, dword [esp + 0xdc]
mov dword [esp + 4], str.BUTTON_DOWN
sar edx, 0x10
mov dword [esp + 0xc], edx
movsx edx, word [esp + 0xdc]
mov dword [esp + 8], edx
mov edx, dword [ebx]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], edx
call eax
jmp 0x428f30
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x428f30
mov edx, dword [esp + 0xd8]
mov eax, 1
test dl, 1
jne 0x429627
xor eax, eax
and edx, 2
setne al
add eax, eax
mov edx, dword [0x45125c]
test edx, edx
je 0x428f30
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 4], str.MOVE
sar eax, 0x10
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xdc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], eax
call edx
jmp 0x428f30
mov eax, dword [esp + 0x28]
test eax, eax
je 0x428f30
cmp dword [esp + 0xd8], 1
mov edx, dword [eax]
mov eax, dword [0x451254]
je 0x429a20
test eax, eax
je 0x428f30
mov dword [esp + 4], str.INACTIVE
mov dword [esp], edx
mov dword [esp + 0x40], 0xffffffff
call eax
jmp 0x428f30
mov eax, dword [esp + 0x28]
test eax, eax
je 0x428f30
lea ebx, [esp + 0x70]
mov dword [esp + 4], ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], ebx
mov dword [esp], eax
mov dword [esp + 0x40], 0xffffffff
call dword [sym.imp.USER32.dll_BeginPaint]
sub esp, 8
mov ebx, dword [esp + 0x28]
mov dword [ebx + 8], eax
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
sub esp, 8
mov ebx, dword [esp + 0x28]
mov eax, dword [ebx + 0x3c8]
mov dword [esp + 4], eax
mov eax, dword [ebx + 8]
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [0x451264]
sub esp, 8
test edx, edx
je 0x42976e
mov ebx, dword [esp + 0x7c]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x78]
sub eax, ebx
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], ecx
sub eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
mov dword [esp + 0x40], 1
mov dword [esp], eax
call edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.USER32.dll_EndPaint]
sub esp, 8
mov eax, dword [esp + 0x28]
mov dword [eax + 8], 0
jmp 0x428f30
mov dword [esp + 0x40], 0xffffffff
call dword [sym.imp.USER32.dll_DefWindowProcA]
sub esp, 0x10
mov dword [esp + 0x2c], eax
jmp 0x428f38
mov eax, dword [0x451254]
mov dword [esp + 0x2c], 1
test eax, eax
je 0x428f38
mov dword [esp + 4], str.NOTIFYICON_ACTIVATE
mov edi, dword [esp + 0x28]
mov edx, dword [edi]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], edx
call eax
jmp 0x428f38
cmp dword [esp + 0xdc], 0x204
jne 0x42982b
mov eax, dword [0x451254]
mov dword [esp + 0x2c], 1
test eax, eax
je 0x428f38
mov dword [esp + 4], str.NOTIFYICON_CONTEXTMENU
jmp 0x4297dd
cmp dword [esp + 0xdc], 0x7b
je 0x429802
mov dword [esp + 0x2c], 1
jmp 0x428f38
mov esi, dword [esp + 0x28]
test esi, esi
je 0x428f30
mov eax, dword [esp + 0xd8]
cmp eax, 0x2e
je 0x429a42
cmp eax, 0x25
je 0x429c1c
cmp eax, 0x27
je 0x429d4a
cmp eax, 0x24
je 0x429eb1
cmp eax, 0x23
je 0x429f48
cmp eax, 9
jne 0x428f30
mov eax, dword [0x451260]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x428f30
mov edi, dword [esp + 0x28]
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov edi, dword [edi]
mov dword [esp + 0x28], eax
mov dword [esp], 0x12
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], 0xffffffff
call eax
sub esp, 4
mov edi, dword [esp + 0x28]
mov word [esp + 0x38], ax
mov dword [esp], 0x11
call edi
sub esp, 4
mov word [esp + 0x3a], ax
mov edi, dword [esp + 0x28]
mov dword [esp], 0x10
call edi
sub esp, 4
cwde
movsx edx, word [esp + 0x38]
shr eax, 0x1f
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
shr edx, 0x1f
mov dword [esp + 8], 0x44ad78
mov dword [esp + 0x14], edx
movsx edx, word [esp + 0x3a]
shr edx, 0x1f
mov dword [esp + 0x10], edx
nop
lea esi, [esi]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], 0x44ad48
mov dword [esp], edi
call eax
jmp 0x428f30
cmp dword [esp + 0xd4], 0x102
je 0x429463
ja 0x4299a0
cmp dword [esp + 0xd4], 0xf
je 0x4296c0
jbe 0x429370
cmp dword [esp + 0xd4], 0x1c
je 0x429673
cmp dword [esp + 0xd4], 0x100
je 0x42984c
cmp dword [esp + 0xd4], 0x10
mov ebx, edi
jne 0x428f90
jmp 0x429313
cmp dword [esp + 0xd4], 0x201
je 0x4295a3
ja 0x429090
cmp dword [esp + 0xd4], 0x113
je 0x429564
cmp dword [esp + 0xd4], 0x200
je 0x429600
cmp dword [esp + 0xd4], 0x106
mov eax, edi
jne 0x428f90
jmp 0x429215
mov eax, dword [0x451254]
test eax, eax
je 0x428f30
mov dword [esp + 4], str.ACTIVE
mov edx, dword [ebx]
mov dword [esp + 0x40], 0xffffffff
mov dword [esp], edx
call eax
jmp 0x428f30
test eax, eax
je 0x428f30
mov dword [esp + 4], str.ACTIVE
mov dword [esp], edx
mov dword [esp + 0x40], 0xffffffff
call eax
jmp 0x428f30
mov eax, dword [0x451260]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x428f30
mov ebx, dword [esp + 0x28]
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov edi, dword [ebx]
mov dword [esp + 0x28], eax
mov dword [esp], 0x12
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], 0xffffffff
call eax
sub esp, 4
mov edi, dword [esp + 0x28]
mov word [esp + 0x38], ax
mov dword [esp], 0x11
call edi
sub esp, 4
mov word [esp + 0x3a], ax
mov edi, dword [esp + 0x28]
mov dword [esp], 0x10
call edi
sub esp, 4
cwde
movsx edx, word [esp + 0x38]
shr eax, 0x1f
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
shr edx, 0x1f
mov dword [esp + 8], str.DELETE
mov dword [esp + 0x14], edx
movsx edx, word [esp + 0x3a]
shr edx, 0x1f
mov dword [esp + 0x10], edx
jmp 0x429920
mov eax, dword [0x451260]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x428f30
mov edi, dword [esp + 0x28]
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov ebx, dword [edi]
mov dword [esp + 0x28], eax
mov dword [esp], 0x12
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], 0xffffffff
call eax
sub esp, 4
mov ebx, dword [esp + 0x28]
mov word [esp + 0x38], ax
mov dword [esp], 0x11
call ebx
sub esp, 4
mov word [esp + 0x3a], ax
mov ebx, dword [esp + 0x28]
mov dword [esp], 0x10
call ebx
sub esp, 4
cwde
movsx edx, word [esp + 0x38]
shr eax, 0x1f
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
shr edx, 0x1f
mov dword [esp + 8], str.ESCAPE
mov dword [esp + 0x14], edx
movsx edx, word [esp + 0x3a]
shr edx, 0x1f
mov dword [esp + 0x10], edx
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], 0x44ad48
mov dword [esp], ebx
call eax
jmp 0x428f30
mov eax, dword [0x451260]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x428f30
mov edi, dword [esp + 0x28]
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov ebx, dword [edi]
mov dword [esp + 0x28], eax
mov dword [esp], 0x12
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], 0xffffffff
call eax
sub esp, 4
mov edi, dword [esp + 0x28]
mov word [esp + 0x38], ax
mov dword [esp], 0x11
call edi
sub esp, 4
mov word [esp + 0x3a], ax
mov edi, dword [esp + 0x28]
mov dword [esp], 0x10
call edi
sub esp, 4
cwde
movsx edx, word [esp + 0x38]
shr eax, 0x1f
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
shr edx, 0x1f
mov dword [esp + 8], str.RETURN
mov dword [esp + 0x14], edx
movsx edx, word [esp + 0x3a]
shr edx, 0x1f
mov dword [esp + 0x10], edx
jmp 0x429b6b
mov eax, dword [0x451260]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x428f30
mov ebx, dword [esp + 0x28]
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov edi, dword [ebx]
mov dword [esp + 0x28], eax
mov dword [esp], 0x12
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], 0xffffffff
call eax
sub esp, 4
mov ebx, dword [esp + 0x28]
mov word [esp + 0x38], ax
mov dword [esp], 0x11
call ebx
sub esp, 4
mov word [esp + 0x3a], ax
mov ebx, dword [esp + 0x28]
mov dword [esp], 0x10
call ebx
sub esp, 4
cwde
movsx edx, word [esp + 0x38]
shr eax, 0x1f
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
shr edx, 0x1f
mov dword [esp + 8], str.LEFT
mov dword [esp + 0x14], edx
movsx edx, word [esp + 0x3a]
shr edx, 0x1f
mov dword [esp + 0x10], edx
jmp 0x429920
mov eax, dword [0x451260]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x428f30
mov ebx, dword [esp + 0x28]
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov edi, dword [ebx]
mov dword [esp + 0x28], eax
mov dword [esp], 0x12
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], 0xffffffff
call eax
sub esp, 4
mov ebx, dword [esp + 0x28]
mov word [esp + 0x38], ax
mov dword [esp], 0x11
call ebx
sub esp, 4
mov word [esp + 0x3a], ax
mov ebx, dword [esp + 0x28]
mov dword [esp], 0x10
call ebx
sub esp, 4
cwde
movsx edx, word [esp + 0x38]
shr eax, 0x1f
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
shr edx, 0x1f
mov dword [esp + 8], str.BACKSPACE
mov dword [esp + 0x14], edx
movsx edx, word [esp + 0x3a]
shr edx, 0x1f
mov dword [esp + 0x10], edx
jmp 0x429920
mov eax, dword [0x451260]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x428f30
mov ebx, dword [esp + 0x28]
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov edi, dword [ebx]
mov dword [esp + 0x28], eax
mov dword [esp], 0x12
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], 0xffffffff
call eax
sub esp, 4
mov edi, dword [esp + 0x28]
mov word [esp + 0x38], ax
mov dword [esp], 0x11
call edi
sub esp, 4
mov word [esp + 0x3a], ax
mov edi, dword [esp + 0x28]
mov dword [esp], 0x10
call edi
sub esp, 4
cwde
movsx edx, word [esp + 0x38]
shr eax, 0x1f
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
shr edx, 0x1f
mov dword [esp + 8], str.RIGHT
mov dword [esp + 0x14], edx
movsx edx, word [esp + 0x3a]
shr edx, 0x1f
mov dword [esp + 0x10], edx
jmp 0x429920
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x44abd0
mov dword [esp + 0x40], 0xffffffff
call fcn.00446210
mov eax, dword [0x451260]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x428f30
mov edi, dword [esp + 0x28]
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov ebx, dword [edi]
mov dword [esp + 0x28], eax
mov dword [esp], 0x12
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], 0xffffffff
call eax
sub esp, 4
mov edi, dword [esp + 0x28]
mov word [esp + 0x38], ax
mov dword [esp], 0x11
call edi
sub esp, 4
mov word [esp + 0x3a], ax
mov edi, dword [esp + 0x28]
mov dword [esp], 0x10
call edi
sub esp, 4
cwde
movsx edx, word [esp + 0x38]
shr eax, 0x1f
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
shr edx, 0x1f
mov dword [esp + 8], 0x44adba
mov dword [esp + 0x14], edx
movsx edx, word [esp + 0x3a]
shr edx, 0x1f
mov dword [esp + 0x10], edx
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], str.COMMAND
mov dword [esp], ebx
call eax
jmp 0x428f30
mov eax, dword [0x451260]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x428f30
mov edi, dword [esp + 0x28]
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov ebx, dword [edi]
mov dword [esp + 0x28], eax
mov dword [esp], 0x12
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], 0xffffffff
call eax
sub esp, 4
mov ebx, dword [esp + 0x28]
mov word [esp + 0x38], ax
mov dword [esp], 0x11
call ebx
sub esp, 4
mov word [esp + 0x3a], ax
mov ebx, dword [esp + 0x28]
mov dword [esp], 0x10
call ebx
sub esp, 4
cwde
movsx edx, word [esp + 0x38]
shr eax, 0x1f
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
shr edx, 0x1f
mov dword [esp + 8], str.HOME
mov dword [esp + 0x14], edx
movsx edx, word [esp + 0x3a]
shr edx, 0x1f
mov dword [esp + 0x10], edx
jmp 0x429b6b
mov eax, dword [0x451260]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x428f30
mov edi, dword [esp + 0x28]
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov edi, dword [edi]
mov dword [esp + 0x28], eax
mov dword [esp], 0x12
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], 0xffffffff
call eax
sub esp, 4
mov ebx, dword [esp + 0x28]
mov word [esp + 0x38], ax
mov dword [esp], 0x11
call ebx
sub esp, 4
mov word [esp + 0x3a], ax
mov ebx, dword [esp + 0x28]
mov dword [esp], 0x10
call ebx
sub esp, 4
cwde
movsx edx, word [esp + 0x38]
shr eax, 0x1f
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
shr edx, 0x1f
mov dword [esp + 8], 0x44ad70
mov dword [esp + 0x14], edx
movsx edx, word [esp + 0x3a]
shr edx, 0x1f
mov dword [esp + 0x10], edx
jmp 0x429920
mov eax, dword [0x451260]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x428f30
mov edi, dword [esp + 0x28]
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov ebx, dword [edi]
mov dword [esp + 0x28], eax
mov dword [esp], 0x12
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], 0xffffffff
call eax
sub esp, 4
mov ebx, dword [esp + 0x28]
mov word [esp + 0x38], ax
mov dword [esp], 0x11
call ebx
sub esp, 4
mov word [esp + 0x3a], ax
mov ebx, dword [esp + 0x28]
mov dword [esp], 0x10
call ebx
sub esp, 4
cwde
movsx edx, word [esp + 0x38]
shr eax, 0x1f
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
shr edx, 0x1f
mov dword [esp + 8], str.COPY
mov dword [esp + 0x14], edx
movsx edx, word [esp + 0x3a]
shr edx, 0x1f
mov dword [esp + 0x10], edx
jmp 0x429e97
mov eax, dword [0x451260]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x428f30
mov ebx, dword [esp + 0x28]
mov eax, dword [sym.imp.USER32.dll_GetKeyState]
mov edi, dword [ebx]
mov dword [esp + 0x28], eax
mov dword [esp], 0x12
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], 0xffffffff
call eax
sub esp, 4
mov edi, dword [esp + 0x28]
mov word [esp + 0x38], ax
mov dword [esp], 0x11
call edi
sub esp, 4
mov edi, dword [esp + 0x28]
mov word [esp + 0x3a], ax
mov dword [esp], 0x10
call edi
sub esp, 4
cwde
movsx edx, word [esp + 0x38]
mov edi, dword [esp + 0x34]
shr eax, 0x1f
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
shr edx, 0x1f
mov dword [esp + 8], str.PASTE
mov dword [esp + 0x14], edx
movsx edx, word [esp + 0x3a]
mov dword [esp + 4], str.COMMAND
shr edx, 0x1f
mov dword [esp], edi
mov dword [esp + 0x10], edx
call eax
jmp 0x428f30