Function at 0x4d9670
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
sub esp, 0x68
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x20], ebp
call fcn.004e48f0
mov ebx, eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.USER32.dll_GetFocus]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x1c], eax
test edi, edi
je 0x4da826
push edi
lea ecx, [ebp + 0x428]
call fcn.0042a940
test eax, eax
jne 0x4da3ee
lea esi, [ebp + 0x4a8]
push edi
mov ecx, esi
call fcn.004235b0
test eax, eax
jne 0x4da3ee
mov ecx, dword [ebp + 4]
mov eax, dword [0x55e1bc]
cmp eax, ecx
jne 0x4d9700
cmp dword [edi + 4], 0xd1d
jne 0x4d9700
mov eax, dword [edi + 0xc]
push 1
push 0
sub esp, 8
mov ecx, esp
push eax
call fcn.0050fe10
mov ecx, ebp
call fcn.004e4880
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x4da826
mov eax, dword [edi + 4]
cmp eax, 0x20b
jne 0x4d978b
mov eax, dword [edi + 0xc]
lea edx, [esp + 0x40]
mov ecx, eax
push edx
shr eax, 0x10
mov dword [esp + 0x48], eax
mov eax, dword [edi]
and ecx, 0xffff
push eax
mov dword [esp + 0x48], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
xor ecx, ecx
lea edx, [esp + 0x24]
mov dword [esp + 0x28], ecx
push edx
mov dword [esp + 0x30], ecx
push ebx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x38], ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4d97ee
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
cmp eax, 0x20c
jne 0x4d97ee
cmp edx, ebx
jne 0x4d97ee
mov eax, dword [edi + 8]
shr eax, 0x10
cmp eax, 2
jne 0x4d97c3
push 0
push 0xa76d
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
cmp eax, 1
jne 0x4da3ee
push 0
push 0xa76c
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
mov ebx, dword [edi + 8]
mov ecx, esi
call fcn.00423cf0
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 4]
cmp eax, 0x100
jne 0x4d9980
mov eax, dword [ebp + 0xf0]
test eax, eax
je 0x4d9980
mov ecx, dword [eax + 0x290]
test ecx, ecx
je 0x4d9980
cmp ebx, 0x71
jne 0x4d9837
mov eax, dword [esp + 0x1c]
mov ecx, ebp
push eax
call fcn.004dbaa0
mov eax, dword [0x55e188]
test eax, eax
jne 0x4d9980
cmp ebx, 0x26
je 0x4d9852
cmp ebx, 0x28
jne 0x4d9980
call fcn.005186e0
test eax, eax
jne 0x4d9980
mov ecx, ebp
call fcn.004da9f0
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
je 0x4d9980
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push eax
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x40]
cmp eax, 4
je 0x4d9895
cmp eax, 3
jne 0x4d9980
mov eax, dword [esp + 0x14]
push 0
push 0
push 0x1042
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4d9980
cmp ebx, 0x26
jne 0x4d98c7
test esi, esi
jle 0x4da3ee
mov edi, dword [esp + 0x14]
jmp 0x4d98ed
cmp ebx, 0x28
jne 0x4da3ee
mov edi, dword [esp + 0x14]
push 0
push 0
push 0x1004
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
dec eax
cmp esi, eax
jge 0x4da3ee
cmp dword [0x54e8c8], esi
jne 0x4d992a
call fcn.005327ff
mov ecx, dword [0x54e8cc]
sub ecx, eax
cmp ecx, 0x64
jge 0x4d992a
call fcn.005327ff
mov dword [0x54e8cc], eax
mov dword [0x54e8c8], 0xffffffff
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
mov dword [0x54e8c8], esi
call fcn.005327ff
mov dword [0x54e8cc], eax
mov edx, dword [ebp + 0xf0]
push edi
mov dword [edx + 0x290], 0
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
push 0
push ebx
push 0x100
push edi
call esi
mov eax, dword [ebp + 4]
push 0
push 0x71
push 0x100
push eax
call esi
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x6b0]
cmp eax, ecx
je 0x4d9996
cmp eax, dword [0x55aae8]
jne 0x4d99c0
call fcn.005186e0
mov ecx, dword [edi + 0xc]
mov esi, eax
push ecx
call fcn.005187c0
add esp, 4
and eax, 0xff
mov ecx, ebp
push eax
push esi
push edi
call fcn.004d91f0
test eax, eax
jne 0x4da3ee
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
cmp esi, eax
je 0x4d9a07
cmp dword [esp + 0x14], esi
je 0x4d9a07
cmp dword [ebp + 0x264], esi
je 0x4d9a07
lea edx, [ebp + 0x2b8]
test edx, edx
je 0x4d99ec
lea eax, [ebp + 0x2bc]
jmp 0x4d99ee
xor eax, eax
cmp dword [eax], esi
je 0x4d9a07
push 0
mov ecx, ebp
call fcn.004e3690
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
push 1
mov ecx, ebp
call fcn.004e3690
mov eax, dword [edi + 4]
cmp eax, 0x100
jb 0x4d9a21
cmp eax, 0x108
jbe 0x4d9a37
cmp eax, 0x200
jb 0x4da826
cmp eax, 0x20d
ja 0x4da826
mov eax, dword [esp + 0x3c]
mov ebp, dword [sym.imp.USER32.dll_GetAsyncKeyState]
cmp esi, eax
jne 0x4d9a67
call fcn.005186e0
mov eax, dword [edi + 0xc]
push eax
call fcn.005187c0
add esp, 4
cmp al, 1
jne 0x4d9a67
push 0xd
call ebp
test ah, 0x80
jne 0x4da3ee
mov ecx, dword [edi + 0xc]
push ecx
call fcn.005187c0
and eax, 0xff
add esp, 4
mov dword [esp + 0x38], eax
call fcn.005186e0
cmp eax, 6
mov dword [esp + 0x40], eax
jne 0x4d9c29
cmp dword [esp + 0x38], 1
jne 0x4d9c29
mov edx, dword [0x546560]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0x12]
mov byte [esp + 0x12], bl
test eax, eax
mov byte [esp + 0x13], 0
mov dword [esp + 0x18], edx
je 0x4d9b27
lea ecx, [esp + 0x12]
push ecx
call edi
mov esi, eax
test esi, esi
je 0x4d9b27
lea edx, [esi + esi + 0xe]
push edx
call fcn.00531ba5
add esp, 4
test eax, eax
je 0x4d9b27
mov dword [eax], 1
mov word [eax + esi*2 + 0xc], 0
mov dword [eax + 4], esi
mov dword [eax + 8], esi
add eax, 0xc
inc esi
lea ecx, [esp + 0x12]
push esi
push ecx
push eax
mov dword [esp + 0x24], eax
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.004055c0
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x18]
mov dword [ecx - 8], eax
mov edx, dword [esp + 0x18]
mov word [edx + eax*2], 0
mov eax, dword [0x55a518]
xor esi, esi
test eax, eax
jle 0x4d9b5a
mov eax, dword [0x55a510]
mov ecx, dword [esp + 0x18]
push ecx
mov eax, dword [eax + esi*4]
push eax
call fcn.00531809
add esp, 8
test eax, eax
je 0x4d9c46
mov eax, dword [0x55a518]
inc esi
cmp esi, eax
jl 0x4d9b32
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp ebx, 0x74
jne 0x4d9bfe
push 0x74
call ebp
test ah, 0x80
je 0x4d9bfe
mov edx, dword [0x55e1b0]
xor eax, eax
test edx, edx
mov ecx, dword [0x546560]
sete al
xor edx, edx
mov dword [0x55e1b0], eax
test eax, eax
sete dl
push edx
lea eax, [esp + 0x28]
push str.Ico:_d
push eax
mov dword [esp + 0x30], ecx
call fcn.00405cb0
add esp, 0xc
push 0x1388
sub esp, 8
mov ecx, esp
push 0
call fcn.00429fc0
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
push edx
call fcn.00405440
mov ecx, dword [esp + 0x30]
call fcn.004eaaf0
mov eax, dword [esp + 0x24]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4d9bfe
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4d9bfe
mov edx, dword [esp + 0x24]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4d9c29
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4d9c29
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov edi, dword [esp + 0x20]
lea esi, [edi + 0x2b8]
test esi, esi
je 0x4d9d5f
lea eax, [edi + 0x2bc]
jmp 0x4d9d61
cmp esi, 0xffffffff
je 0x4d9b5a
mov edx, dword [0x546560]
mov eax, 0x54e98c
test eax, eax
mov dword [esp + 0x7c], edx
je 0x4d9ccb
push eax
call edi
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x4d9ccb
lea ecx, [esi + esi + 0xe]
push ecx
call fcn.00531ba5
add esp, 4
cmp eax, edi
je 0x4d9ccb
mov dword [eax], 1
mov word [eax + esi*2 + 0xc], di
mov dword [eax + 4], esi
mov dword [eax + 8], esi
lea ecx, [esi + 1]
add eax, 0xc
cmp ecx, edi
mov dword [esp + 0x7c], eax
mov esi, eax
jne 0x4d9ca3
cmp eax, edi
jne 0x4d9cbd
push ecx
push eax
push 0xffffffffffffffff
push 0x54e98c
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
jle 0x4d9cbd
mov word [esi + eax*2 - 2], di
push 0xffffffffffffffff
lea ecx, [esp + 0x80]
call fcn.00405bb0
push 0
push ecx
lea eax, [esp + 0x84]
mov edx, esp
lea ecx, [esp + 0x20]
push eax
push ecx
push edx
call fcn.00412dc0
mov ecx, dword [esp + 0x28]
call fcn.004defb0
mov eax, dword [esp + 0x7c]
mov ecx, dword [0x546564]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4d9d1d
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4d9d1d
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff4
push eax
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4da3ee
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x4da3ee
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
cmp ecx, edx
jne 0x4d9e05
mov eax, dword [esp + 0x7c]
cmp dword [eax + 4], 0x208
jne 0x4d9e05
mov eax, dword [0x54a2f4]
test eax, eax
je 0x4d9e05
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [edi + 0x2bc]
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0x24]
xor ecx, ecx
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], edx
mov edx, dword [edi + 0x2bc]
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x54], eax
push ecx
push 0
push 0x1111
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4d9e01
push eax
mov ecx, esi
call fcn.005167a0
test eax, eax
je 0x4d9e01
push 0xffffffffffffffff
sub esp, 8
mov ecx, esp
push eax
call fcn.0050fe10
mov ecx, edi
call fcn.004eec70
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x14], ecx
je 0x4d9e1d
cmp ecx, dword [esp + 0x3c]
je 0x4d9e1d
cmp ecx, dword [edi + 0x264]
jne 0x4d9f93
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x40]
push eax
push ebx
push esi
mov ecx, edi
call fcn.004f0c70
cmp dword [esp + 0x38], 1
jne 0x4d9f97
cmp esi, 2
jne 0x4d9eaa
cmp ebx, 0x4d
jne 0x4d9e55
push ebx
call ebp
test ah, 0x80
je 0x4d9ee1
jmp 0x4d9f6e
cmp ebx, 0x46
jne 0x4d9e78
push ebx
call ebp
test ah, 0x80
je 0x4d9ee1
mov ecx, edi
call fcn.004ed310
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
cmp ebx, 0x51
jne 0x4d9ee1
push ebx
call ebp
test ah, 0x80
je 0x4d9ee1
mov edx, dword [edi + 4]
push 0
push 0x804a
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
cmp esi, 3
jne 0x4d9ee1
cmp ebx, 0x51
jne 0x4d9ee1
push ebx
call ebp
test ah, 0x80
je 0x4d9ee1
mov eax, dword [edi + 4]
push 0
push 0x804a
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
mov eax, dword [edi + 0x264]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jne 0x4d9f97
test eax, eax
je 0x4d9f97
test esi, esi
jne 0x4d9f97
push edi
call fcn.004d8f10
add esp, 4
push 0x2e
call ebp
test ah, 0x80
je 0x4d9f24
mov ecx, edi
call fcn.004e9df0
test eax, eax
jne 0x4da3ee
push 0x1b
call ebp
test ah, 0x80
je 0x4d9f3c
mov ecx, edi
call fcn.004e9bb0
test eax, eax
jne 0x4da3ee
cmp ebx, 0xd
jne 0x4d9f61
push ebx
call ebp
test ah, 0x80
je 0x4d9f97
push 1
mov ecx, edi
call fcn.004ea200
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
cmp ebx, 0x1b
jne 0x4d9f97
push ebx
call ebp
test ah, 0x80
je 0x4d9f97
mov ecx, dword [edi + 4]
push 0
push 0x805e
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + 0x264]
cmp edx, eax
jne 0x4d9fd3
test esi, esi
jne 0x4d9fd3
cmp dword [esp + 0x38], 1
jne 0x4d9fd3
cmp ebx, 0x74
jne 0x4d9fd3
push ebx
call ebp
test ah, 0x80
je 0x4d9fd3
mov ecx, edi
call fcn.004e4870
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jne 0x4da826
cmp dword [esp + 0x38], 1
jne 0x4da826
cmp esi, 5
jne 0x4da02d
cmp ebx, 8
jne 0x4da0c7
push ebx
call ebp
test ah, 0x80
je 0x4da0c7
mov ecx, dword [edi + 4]
push 0
push 0xa76d
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
cmp esi, 4
jne 0x4da230
cmp ebx, 0x25
jne 0x4da03e
push ebx
jmp 0x4da072
cmp ebx, 0x27
jne 0x4da061
push ebx
call ebp
test ah, 0x80
je 0x4da0c7
mov ecx, edi
call fcn.004def50
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
cmp ebx, 0x26
jne 0x4da06c
push ebx
jmp 0x4da336
cmp ebx, 8
jne 0x4da08f
push ebx
call ebp
test ah, 0x80
je 0x4da0c7
mov ecx, edi
call fcn.004def10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
cmp ebx, 0x72
jne 0x4da0b2
push ebx
call ebp
test ah, 0x80
je 0x4da0c7
mov ecx, edi
call fcn.004ed300
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
cmp ebx, 0x53
jne 0x4da171
push ebx
call ebp
test ah, 0x80
jne 0x4da182
mov edx, dword [esp + 0x7c]
cmp dword [edx + 4], 0x203
jne 0x4da69c
mov eax, dword [0x55e1ac]
test eax, eax
je 0x4da69c
mov eax, dword [0x55e1b4]
test eax, eax
je 0x4da69c
mov eax, dword [0x55e194]
test eax, eax
je 0x4da69c
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_GetMessagePos]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x24]
movsx esi, ax
shr eax, 0x10
movsx edi, ax
push ecx
push ebx
push 0x1012
push edx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x30]
cmp eax, ebx
jl 0x4da69c
lea ecx, [esp + 0x50]
test ecx, ecx
je 0x4da5ff
mov dword [esp + 0x50], 2
lea ecx, [esp + 0x50]
jmp 0x4da601
cmp ebx, 0x44
jne 0x4da1ab
push ebx
call ebp
test ah, 0x80
je 0x4da0c7
push ebx
call fcn.00480640
add esp, 4
test eax, eax
jne 0x4da1ab
mov eax, dword [0x54e8b4]
test eax, eax
je 0x4da1ab
lea ecx, [edi + 0x4a8]
call fcn.00423e90
test eax, eax
jne 0x4da3ee
cmp ebx, 0xd
jne 0x4da1f1
push ebx
call ebp
test ah, 0x80
je 0x4da0c7
lea edx, [esp + 0x40]
mov ecx, edi
push edx
push 0
push 0
push 0
mov dword [esp + 0x50], 0
call fcn.004e1080
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4da0c7
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
cmp ebx, 0x4b
jne 0x4da1fd
mov eax, 0x701e
jmp 0x4da210
cmp ebx, 0x56
je 0x4da20b
cmp ebx, 0x4d
jne 0x4da0c7
mov eax, 0x701f
push 0
push eax
push 0x111
mov ecx, edi
call fcn.004e48d0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
test esi, esi
jne 0x4da38a
mov esi, dword [esp + 0x7c]
mov eax, dword [esi + 0xc]
push eax
call fcn.005187c0
add esp, 4
and eax, 0xff
mov ecx, edi
push eax
push 0
push esi
call fcn.004d91f0
test eax, eax
jne 0x4da3ee
cmp ebx, 0x28
je 0x4da26e
cmp ebx, 0x26
jne 0x4da330
mov ecx, dword [esp + 0x14]
push 0
push 0
push 0x1032
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x4da330
mov edx, dword [esp + 0x14]
push eax
push eax
push 0x1042
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4da330
mov eax, dword [esp + 0x14]
push 2
push esi
push 0x102c
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 2
jne 0x4da330
cmp ebx, 0x26
jne 0x4da2fe
lea eax, [esi - 1]
test eax, eax
jl 0x4da2cc
mov esi, eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push esi
mov eax, 3
push 0x102b
push edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
mov ecx, dword [esp + 0x14]
mov eax, 3
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x50]
push eax
push esi
push 0x102b
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
cmp ebx, 8
jne 0x4da357
push ebx
call ebp
test ah, 0x80
je 0x4da0c7
mov ecx, edi
call fcn.004def30
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
cmp ebx, 0x2a
jne 0x4da35f
push ebx
jmp 0x4da369
cmp ebx, 0x79
jne 0x4da0c7
push ebx
call ebp
test ah, 0x80
je 0x4da0c7
mov ecx, edi
call fcn.004edfc0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
cmp esi, 1
jne 0x4da42a
cmp ebx, 0x76
jne 0x4da3b7
push ebx
call ebp
test ah, 0x80
je 0x4da0c7
mov eax, dword [0x55a1fc]
push esi
cmp eax, 6
jb 0x4da3b3
push 0x57
jmp 0x4da3e3
push 0x4e
jmp 0x4da3e3
cmp ebx, 0x77
jne 0x4da3ce
push ebx
call ebp
test ah, 0x80
je 0x4da0c7
push 1
push 0x41
jmp 0x4da3e3
cmp ebx, 0x74
jne 0x4da3fd
push ebx
call ebp
test ah, 0x80
je 0x4da0c7
push 1
push 0
push 0
push 0
mov ecx, edi
call fcn.004db5c0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
cmp ebx, 0x75
jne 0x4da0c7
push ebx
call ebp
test ah, 0x80
je 0x4da0c7
push 1
mov ecx, edi
call fcn.004ea880
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
cmp esi, 2
jne 0x4da561
cmp ebx, 0x4e
jne 0x4da465
push ebx
call ebp
test ah, 0x80
je 0x4da488
mov edx, dword [edi + 4]
push 0
push 0xa772
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
cmp ebx, 0x45
jne 0x4da4be
push ebx
call ebp
test ah, 0x80
je 0x4da488
mov eax, dword [edi + 4]
push 0
push 0xa773
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x7c]
cmp dword [edx + 8], 0x4b
jne 0x4da536
push 0x4b
call ebp
test ah, 0x80
je 0x4da536
push 0xb25a
mov ecx, edi
call fcn.004e5310
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
cmp ebx, 0x53
jne 0x4da4f0
push ebx
call ebp
test ah, 0x80
je 0x4da488
mov ecx, dword [edi + 4]
push 0
push 0x8069
push 0x111
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
cmp ebx, 0x50
jne 0x4da506
push ebx
call ebp
test ah, 0x80
je 0x4da488
mov ecx, edi
call fcn.004edfc0
jmp 0x4da488
cmp ebx, 0x54
jne 0x4da488
push ebx
call ebp
test ah, 0x80
je 0x4da488
push 0xb25b
mov ecx, edi
call fcn.004e5310
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
cmp ebx, 0x57
jne 0x4da0c7
push ebx
call ebp
test ah, 0x80
je 0x4da0c7
mov ecx, edi
call fcn.004ef9e0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
cmp esi, 3
jne 0x4da0c7
cmp ebx, 0x41
jne 0x4da58d
push ebx
call ebp
test ah, 0x80
je 0x4da5b4
mov ecx, edi
call fcn.004ed2a0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
cmp ebx, 0x54
jne 0x4da5b4
push ebx
call ebp
test ah, 0x80
je 0x4da5b4
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.004ef800
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.005187c0
add esp, 4
cmp al, 1
jne 0x4da0c7
cmp ebx, 0x43
jne 0x4da0c7
push ebx
call ebp
test ah, 0x80
je 0x4da0c7
mov ecx, dword [edi + 0xf0]
push 0
push 0
call fcn.004a1d80
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
xor ecx, ecx
mov ebp, dword [esp + 0x14]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ecx
push eax
push 0x100e
push ebp
call ebx
lea edx, [esp + 0x40]
test edx, edx
je 0x4da62b
mov dword [esp + 0x40], 1
lea eax, [esp + 0x40]
jmp 0x4da62d
xor eax, eax
push eax
mov eax, dword [esp + 0x34]
push eax
push 0x100e
push ebp
call ebx
push edi
lea ecx, [esp + 0x54]
push esi
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4da69c
push edi
lea edx, [esp + 0x44]
push esi
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4da69c
mov eax, dword [0x55e194]
cmp eax, 1
jne 0x4da67f
mov ecx, dword [esp + 0x20]
call fcn.004def30
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
cmp eax, 2
jne 0x4da69c
mov ecx, dword [esp + 0x20]
call fcn.004ed2e0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
mov eax, dword [0x54a2f0]
test eax, eax
je 0x4da722
mov esi, dword [esp + 0x7c]
cmp dword [esi + 4], 0x208
jne 0x4da71c
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x40]
push ecx
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
xor edx, edx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x54], edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x58], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x58], edx
lea edx, [esp + 0x50]
push edx
push 0
push 0x1012
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x5c]
test eax, eax
jl 0x4da72a
mov ecx, dword [esp + 0x20]
push eax
push 0
call fcn.004ef800
jmp 0x4da72a
mov edi, dword [esp + 0x14]
jmp 0x4da72a
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x7c]
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xf0]
test ecx, ecx
je 0x4da751
push esi
call fcn.004ab050
test eax, eax
je 0x4da751
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
mov eax, dword [0x55e194]
test eax, eax
je 0x4da826
cmp dword [esi + 4], 0x203
jne 0x4da826
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x50]
push ecx
push edi
call ebx
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov ebp, dword [sym.imp.USER32.dll_PtInRect]
push eax
lea edx, [esp + 0x54]
push ecx
push edx
call ebp
test eax, eax
je 0x4da826
push 0
push 0
push 0x101f
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
test esi, esi
je 0x4da7e1
lea eax, [esp + 0x24]
push eax
push esi
call ebx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call ebp
test eax, eax
je 0x4da7e1
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4da826
test edi, edi
je 0x4da826
push 0
push 0
push 0x1032
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
ja 0x4da826
mov eax, dword [0x55e194]
cmp eax, 1
jne 0x4da818
mov ecx, dword [esp + 0x20]
call fcn.004def30
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret 4
cmp eax, 2
jne 0x4da826
mov ecx, dword [esp + 0x20]
call fcn.004ed2e0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x68
ret 4