Function at 0x53e7a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566076
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x5a0440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + 0xf0]
call eax
movzx ecx, al
test ecx, ecx
jne 0x53e82c
mov edx, dword [ebp + 8]
cmp dword [edx], 0xb
jle 0x53e82c
mov eax, dword [ebp + 8]
cmp dword [eax], 0x17
jge 0x53e82c
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + 0x2c], 0
je 0x53e81b
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ebp - 0x44]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x2c]
mov edx, dword [eax + 0x128]
call edx
jmp 0x53e827
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x44]
call fcn.004fa4e0
jmp 0x53f93b
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + 0x318], 0
je 0x53e854
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x318]
mov edx, dword [ebp - 0x44]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x318]
mov edx, dword [eax]
call edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
sub edx, 6
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x64], 0x16
ja case.0x53e879.1
mov eax, dword [ebp - 0x64]
movzx ecx, byte [eax + 0x53f988]
jmp dword [ecx*4 + 0x53f958]
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x31c]
call fcn.0054ab40
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x14]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
sub edx, 0xd
mov dword [ebp - 0x68], edx
cmp dword [ebp - 0x68], 0x34
ja case.0x53e8b5.1
mov eax, dword [ebp - 0x68]
movzx ecx, byte [eax + 0x53f9c4]
jmp dword [ecx*4 + 0x53f9a0]
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x53e8d0
jmp 0x53f93b
push 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x744]
sub ecx, 1
push ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x44]
mov edx, dword [eax + 0x17c]
call edx
mov dword [ebp - 0x9c], eax
push 0
push 1
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x2e0
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x2e0]
mov edx, dword [eax + 0xc]
call edx
push 0
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0x44]
call fcn.00542570
jmp 0x53f93b
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x53e941
jmp 0x53f93b
push 1
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x744]
add eax, 1
push eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + 0x17c]
call eax
mov dword [ebp - 0x90], eax
push 0
push 1
mov ecx, dword [ebp - 0x90]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 0x2e0
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x2e0]
mov edx, dword [eax + 0xc]
call edx
push 0
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x44]
call fcn.00542570
jmp 0x53f93b
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + 0x194]
call eax
jmp 0x53f93b
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + 0x198]
call eax
jmp 0x53f93b
push 0
push 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + 0x17c]
call eax
mov dword [ebp - 0x94], eax
push 0
push 1
mov ecx, dword [ebp - 0x94]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 0x2e0
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x2e0]
mov edx, dword [eax + 0xc]
call edx
push 0
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x44]
call fcn.00542570
jmp 0x53f93b
push 1
mov ecx, dword [ebp - 0x44]
add ecx, 0x254
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x254]
mov edx, dword [eax + 0xc]
call edx
sub eax, 1
push eax
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + 0x17c]
call eax
mov dword [ebp - 0xc8], eax
push 0
push 1
mov ecx, dword [ebp - 0xc8]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 0x2e0
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x2e0]
mov edx, dword [eax + 0xc]
call edx
push 0
mov eax, dword [ebp - 0xc8]
push eax
mov ecx, dword [ebp - 0x44]
call fcn.00542570
jmp 0x53f93b
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x308]
mov dword [ebp - 0x100], edx
cmp dword [ebp - 0x100], 1
jne 0x53eb0b
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x304]
mov edx, dword [ecx]
mov dword [ebp - 0xf4], edx
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0xd0], edx
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xd0]
mov eax, dword [edx]
call eax
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x254
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x254]
mov edx, dword [eax]
call edx
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xc4]
mov eax, dword [edx + 0x2c]
call eax
jmp 0x53f93b
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge case.0x53e8b5.1
mov edx, dword [ebp - 0x44]
movzx eax, byte [edx + 0x6e2]
test eax, eax
je case.0x53e8b5.1
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x6c], 0
jmp 0x53eb6c
mov ecx, dword [ebp - 0x6c]
add ecx, 1
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x44]
add ecx, 0x254
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x254]
mov edx, dword [eax + 0xc]
call edx
cmp dword [ebp - 0x6c], eax
jge 0x53eb99
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x118]
call fcn.0051f5e0
jmp 0x53eb63
push 0
push 0
lea ecx, [ebp - 0x118]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 0x2e0
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x2e0]
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.00509310
jmp case.0x53e879.1
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x77c]
and ecx, 1
jne 0x53ec32
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0xb0], ecx
cmp dword [ebp - 0xb0], 0
je 0x53ec08
cmp dword [ebp - 0xb0], 1
je 0x53ec1d
jmp 0x53ec32
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x44]
mov edx, dword [eax + 0x18c]
call edx
jmp 0x53f93b
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + 0x190]
call eax
jmp 0x53f93b
jmp case.0x53e879.1
push 1
mov ecx, dword [ebp - 0x44]
add ecx, 0x2e0
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x2e0]
mov edx, dword [eax + 0x50]
call edx
jmp case.0x53e879.1
push 0
mov ecx, dword [ebp - 0x44]
add ecx, 0x2e0
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x2e0]
mov eax, dword [edx + 0x50]
call eax
jmp case.0x53e879.1
mov ecx, dword [ebp - 0x44]
mov byte [ecx + 0x90], 1
jmp case.0x53e879.1
mov edx, dword [ebp - 0x44]
mov byte [edx + 0x90], 0
jmp case.0x53e879.1
mov ecx, dword [ebp - 0x44]
add ecx, 0x2e8
call fcn.00553520
test eax, eax
jne 0x53ecb6
mov ecx, dword [ebp - 0x44]
call fcn.00544820
movzx eax, al
test eax, eax
je case.0x53e879.12
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ecx + 0xc]
push eax
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 0x28]
call fcn.004d8a80
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je case.0x53e879.12
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x54]
sub ecx, dword [eax + 0xc]
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x31c]
mov ecx, dword [ebp - 0x44]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x31c]
mov eax, dword [edx + 0x1c0]
call eax
test eax, eax
je 0x53ed84
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x31c]
mov eax, dword [ebp - 0x44]
mov edx, dword [edx]
mov ecx, dword [eax + 0x31c]
mov eax, dword [edx + 0x1c0]
call eax
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x98]
mov eax, dword [edx + 0xdc]
call eax
movzx ecx, al
test ecx, ecx
je 0x53ed84
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x31c]
mov ecx, dword [ebp - 0x44]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x31c]
mov eax, dword [edx + 0x1c0]
call eax
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb8]
mov eax, dword [edx + 0x54]
call eax
mov ecx, dword [ebp - 0x70]
sub ecx, eax
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x44]
mov ecx, dword [edx + 0xc]
sub ecx, dword [eax + 0x4c]
cmp ecx, 0x14
jle 0x53ede0
cmp dword [ebp - 0x70], 2
jle 0x53ede0
push 0x5808bc
mov edx, dword [ebp - 0x78]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x78]
mov edx, dword [eax + 0x24]
call edx
test eax, eax
je 0x53ede0
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
lea ecx, [ebp - 0x144]
call fcn.004e0690
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x144]
mov dword [ecx + 0x74c], edx
mov eax, dword [ebp - 0x140]
mov dword [ecx + 0x750], eax
jmp case.0x53e879.12
mov ecx, dword [ebp - 0x44]
call fcn.00544820
movzx ecx, al
test ecx, ecx
je case.0x53e879.12
mov edx, dword [ebp + 8]
add edx, 0xc
push edx
lea ecx, [ebp - 0x154]
call fcn.004e0690
lea eax, [ebp - 0x154]
push eax
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 0x764]
call fcn.0054a460
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x31c]
call fcn.0054ab40
jmp case.0x53e879.1
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [ebp - 0x164]
call fcn.004e07b0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x74c], ecx
mov dword [eax + 0x750], edx
mov ecx, dword [ebp - 0x44]
call fcn.00544820
movzx ecx, al
test ecx, ecx
je 0x53eeca
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x764]
call fcn.00544af0
movzx eax, al
test eax, eax
je 0x53eeca
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [ebp - 0x174]
call fcn.004e07b0
push eax
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 0x764]
call fcn.0054a460
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x44]
mov edx, dword [eax + 0xfc]
call edx
mov eax, dword [ebp - 0x44]
movzx ecx, byte [eax + 0x768]
test ecx, ecx
je 0x53eeca
push 0x857
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x28]
call fcn.004d9140
mov ecx, dword [ebp - 0x44]
mov byte [ecx + 0x768], 0
mov ecx, dword [ebp - 0x44]
add ecx, 0x2e8
call fcn.00553590
test eax, eax
je 0x53ef47
lea ecx, [ebp - 0x14c]
call fcn.004e06c0
lea edx, [ebp - 0x14c]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 0x28]
call fcn.00553590
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x44]
add ecx, 0x2e8
call fcn.00553130
mov edx, dword [ebp - 0x44]
movzx eax, byte [edx + 0x759]
test eax, eax
je 0x53ef47
push 0x856
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x28]
call fcn.004d9140
mov eax, dword [ebp - 0x44]
mov byte [eax + 0x759], 0
jmp case.0x53e879.1
mov ecx, dword [ebp - 0x44]
add ecx, 0x2e8
call fcn.00553520
test eax, eax
je 0x53f0d0
mov ecx, dword [ebp - 0x44]
add ecx, 0x2e8
call fcn.00553590
test eax, eax
je 0x53efa2
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
and edx, 1
je 0x53ef8f
mov ecx, dword [ebp - 0x44]
add ecx, 0x2e8
call fcn.005531f0
jmp 0x53ef9d
mov ecx, dword [ebp - 0x44]
add ecx, 0x2e8
call fcn.005530a0
jmp 0x53f0d0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
and ecx, 1
je 0x53f0d0
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0x74c], 0xffffffff
je 0x53f0d0
mov eax, dword [ebp - 0x44]
cmp dword [eax + 0x318], 0
je 0x53f0d0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x74c]
sub eax, dword [edx + 0xc]
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
push ecx
call fcn.00559be2
add esp, 4
cmp eax, 0xa
jg 0x53f027
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + 0x750]
sub ecx, dword [eax + 0x10]
mov dword [ebp - 0x13c], ecx
mov edx, dword [ebp - 0x13c]
push edx
call fcn.00559be2
add esp, 4
cmp eax, 0xa
jle 0x53f0d0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x2e0
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x2e0]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0x5c], 0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x128]
push ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x318]
mov ecx, dword [ebp - 0x44]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x318]
mov eax, dword [edx + 0xc]
call eax
cmp dword [ebp - 0x5c], 0
je 0x53f0be
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [eax + 0x18]
call edx
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x2e8
call fcn.00552e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.00509310
mov ecx, dword [ebp - 0x44]
call fcn.00544820
movzx ecx, al
test ecx, ecx
je 0x53f1b8
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x764]
call fcn.00544af0
movzx eax, al
test eax, eax
je 0x53f1b8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
and edx, 1
je 0x53f17c
mov eax, dword [ebp - 0x44]
movzx ecx, byte [eax + 0x768]
test ecx, ecx
jne 0x53f153
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x44]
mov ecx, dword [edx + 0x10]
cmp ecx, dword [eax + 0x50]
jl 0x53f131
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x44]
mov ecx, dword [edx + 0x10]
cmp ecx, dword [eax + 0x58]
jle 0x53f153
push 0x1e
push 0x857
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x28]
call fcn.004dce50
mov ecx, dword [ebp - 0x44]
mov byte [ecx + 0x768], 1
jmp 0x53f17a
mov edx, dword [ebp + 8]
add edx, 0xc
push edx
lea ecx, [ebp - 0x15c]
call fcn.004e0690
lea eax, [ebp - 0x15c]
push eax
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 0x764]
call fcn.0054a0c0
jmp 0x53f1b8
push 0xffffffffffffffff
push 0xffffffffffffffff
lea ecx, [ebp - 0x16c]
call fcn.004e07b0
push eax
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x764]
call fcn.0054a460
push 0x857
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 0x28]
call fcn.004d9140
mov edx, dword [ebp - 0x44]
mov byte [edx + 0x768], 0
jmp case.0x53e879.1
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x856
jne 0x53f5b6
lea ecx, [ebp - 0x50]
call fcn.004e06c0
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x28]
call fcn.00553590
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x138], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x134], edx
mov eax, dword [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x138]
push ecx
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x28]
call fcn.004d8a80
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x60], 1
cmp dword [ebp - 0x74], 0
je 0x53f58d
push 0x58096c
mov eax, dword [ebp - 0x74]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x74]
mov eax, dword [edx + 0x24]
call eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x53f58d
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x48]
mov edx, dword [eax + 0x58]
call edx
mov ecx, eax
call fcn.004e1860
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x50]
add ecx, dword [ebp - 0xbc]
push ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x50]
push edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x4c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004e0730
mov ecx, dword [ebp - 0x44]
call fcn.00543820
test eax, eax
je 0x53f30c
mov ecx, dword [ebp - 0x44]
call fcn.00543820
mov dword [ebp - 0xc0], eax
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc0]
mov edx, dword [eax + 0xdc]
call edx
movzx eax, al
test eax, eax
je 0x53f30c
mov ecx, dword [ebp - 0x44]
call fcn.00543820
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xa4]
mov eax, dword [edx + 0x58]
call eax
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp - 0x12c]
push ecx
push 0
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x58]
push ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x54]
push eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x58]
sub edx, dword [ebp - 0xbc]
push edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x4c]
push ecx
lea ecx, [ebp - 0x30]
call fcn.004e0730
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x44]
mov edx, dword [eax + 0x1c4]
call edx
test eax, eax
je 0x53f3c1
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + 0x1c4]
call eax
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xac]
mov eax, dword [edx + 0xdc]
call eax
movzx ecx, al
test ecx, ecx
je 0x53f3c1
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x44]
mov edx, dword [eax + 0x1c4]
call edx
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xcc]
mov eax, dword [edx + 0x58]
call eax
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0x104]
neg ecx
push ecx
push 0
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x108], ecx
mov edx, dword [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x53f488
mov edx, dword [ebp - 0x48]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x48]
mov edx, dword [eax]
call edx
test eax, eax
jl 0x53f488
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx]
call eax
test eax, eax
jne 0x53f42c
push 0
push 0
mov ecx, dword [ebp - 0x44]
call fcn.00542570
mov dword [ebp - 0x60], 1
jmp 0x53f44d
push 0
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx]
call eax
sub eax, 1
push eax
mov ecx, dword [ebp - 0x44]
call fcn.00542570
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp - 0x50]
and ecx, 0xffff
movzx edx, cx
mov eax, dword [ebp - 0x4c]
and eax, 0xffff
movzx ecx, ax
shl ecx, 0x10
or edx, ecx
push edx
push 1
push 0x200
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x28]
call fcn.00553590
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x53f58d
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0xe4], ecx
mov edx, dword [ebp - 0xe4]
push edx
mov eax, dword [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x53f58d
mov edx, dword [ebp - 0x48]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x48]
mov edx, dword [eax]
call edx
mov esi, eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x254
mov eax, dword [ebp - 0x44]
mov edx, dword [eax + 0x254]
mov eax, dword [edx + 0xc]
call eax
sub eax, 1
cmp esi, eax
jg 0x53f58d
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx]
call eax
mov esi, eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x254
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x254]
mov edx, dword [eax + 0xc]
call edx
sub eax, 1
cmp esi, eax
jne 0x53f536
push 0
mov eax, dword [ebp - 0x48]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx]
call eax
push eax
mov ecx, dword [ebp - 0x44]
call fcn.00542570
mov dword [ebp - 0x60], 1
jmp 0x53f557
push 0
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x48]
mov eax, dword [edx]
call eax
add eax, 1
push eax
mov ecx, dword [ebp - 0x44]
call fcn.00542570
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp - 0x50]
and ecx, 0xffff
movzx edx, cx
mov eax, dword [ebp - 0x4c]
and eax, 0xffff
movzx ecx, ax
shl ecx, 0x10
or edx, ecx
push edx
push 1
push 0x200
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x28]
call fcn.00553590
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
cmp dword [ebp - 0x60], 0
je 0x53f5b1
push 0x856
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 0x28]
call fcn.004d9140
mov edx, dword [ebp - 0x44]
mov byte [edx + 0x759], 0
jmp case.0x53e879.1
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x857
jne case.0x53e879.1
lea ecx, [ebp - 0x88]
call fcn.004e06c0
lea ecx, [ebp - 0x88]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x28]
call fcn.00553590
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x84]
cmp edx, dword [ecx + 0x50]
jge 0x53f73c
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x50]
add ecx, 5
push ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x4c]
add eax, 5
push eax
lea ecx, [ebp - 0xd8]
call fcn.004e07b0
mov ecx, dword [ebp - 0x44]
call fcn.00543820
test eax, eax
je 0x53f68c
mov ecx, dword [ebp - 0x44]
call fcn.00543820
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [edx + 0xdc]
call eax
movzx ecx, al
test ecx, ecx
je 0x53f68c
mov ecx, dword [ebp - 0x44]
call fcn.00543820
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [eax + 0x58]
call edx
add eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xec], ecx
mov edx, dword [ebp - 0xec]
push edx
mov eax, dword [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 0x28]
call fcn.004d8a80
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x53f737
push 0x580a7c
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x80]
mov edx, dword [eax + 0x24]
call edx
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x53f737
mov eax, dword [ebp - 0x54]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx]
call eax
test eax, eax
jle 0x53f70d
push 0
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x54]
mov eax, dword [edx]
call eax
sub eax, 1
push eax
mov ecx, dword [ebp - 0x44]
call fcn.00542570
jmp 0x53f737
push 0
push 0
mov ecx, dword [ebp - 0x44]
call fcn.00542570
push 0x857
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x44]
mov ecx, dword [edx + 0x28]
call fcn.004d9140
mov eax, dword [ebp - 0x44]
mov byte [eax + 0x768], 0
jmp 0x53f8f3
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x84]
cmp edx, dword [ecx + 0x58]
jle 0x53f8d5
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x58]
sub ecx, 5
push ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x4c]
add eax, 5
push eax
lea ecx, [ebp - 0xe0]
call fcn.004e07b0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + 0x1c4]
call eax
test eax, eax
je 0x53f7eb
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x44]
mov eax, dword [edx + 0x1c4]
call eax
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0xa0]
mov eax, dword [edx + 0xdc]
call eax
movzx ecx, al
test ecx, ecx
je 0x53f7eb
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x44]
mov edx, dword [eax + 0x1c4]
call edx
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x58]
call eax
mov ecx, dword [ebp - 0xdc]
sub ecx, eax
mov dword [ebp - 0xdc], ecx
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
push ecx
mov edx, dword [ebp - 0xfc]
push edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x28]
call fcn.004d8a80
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x53f8d3
push 0x580b14
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x24]
call eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x53f8d3
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x58]
mov eax, dword [edx]
call eax
mov esi, eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x254
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x254]
mov edx, dword [eax + 0xc]
call edx
sub eax, 1
cmp esi, eax
jge 0x53f890
push 0
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x58]
mov eax, dword [edx]
call eax
add eax, 1
push eax
mov ecx, dword [ebp - 0x44]
call fcn.00542570
jmp 0x53f8d3
push 0
mov ecx, dword [ebp - 0x44]
add ecx, 0x254
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x254]
mov edx, dword [eax + 0xc]
call edx
sub eax, 1
push eax
mov ecx, dword [ebp - 0x44]
call fcn.00542570
push 0x857
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 0x28]
call fcn.004d9140
mov edx, dword [ebp - 0x44]
mov byte [edx + 0x768], 0
jmp 0x53f8f3
push 0x857
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 0x28]
call fcn.004d9140
mov edx, dword [ebp - 0x44]
mov byte [edx + 0x768], 0
mov eax, dword [ebp - 0x88]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x84]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
push 1
push 0x200
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 0x28]
call fcn.00553590
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x44]
call fcn.004fa4e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b8605
mov esp, ebp
pop ebp
ret 4