Function at 0x574100
Capabilities:
Check for unmoving mouse cursor
Get graphical window text
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
sub esp, 0x508
cmp eax, ecx
push ebx
push ebp
push esi
push edi
jne case.default.0x574e09
mov ebp, dword [esp + 0x528]
xor ebx, ebx
cmp ebp, ebx
je case.default.0x574e09
mov eax, dword [ebp + 8]
cmp eax, 0xfffffff4
ja 0x574dfd
je 0x574346
add eax, 0x19c
cmp eax, 0xa
ja case.default.0x574e09
movzx ecx, byte [eax + 0x57518c]
jmp dword [ecx*4 + 0x575178]
mov eax, dword [esp + 0x51c]
mov dword [0x644918], 1
mov edx, dword [ebp + 8]
push edx
push ebx
push 0x805d
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [ebp + 0xc]
test al, 2
je 0x574199
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov dword [esp + 0x44], 0x2000
jmp 0x5741b6
test al, 1
je 0x575003
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov dword [esp + 0x44], 0x1000
mov eax, dword [ebp]
mov ecx, dword [ebp + 0x3c]
lea edx, [esp + 0x3c]
push edx
push ebx
push 0x110d
push eax
mov dword [esp + 0x58], 0xf000
mov dword [esp + 0x50], ecx
mov dword [esp + 0x4c], 0x18
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x575003
mov dword [0x644918], ebx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x508
ret
cmp dword [0x644914], ebx
jne case.default.0x574e09
mov edx, dword [ebp]
push 0xffffffffffffffeb
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, eax
jne 0x5742a2
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
test ah, ah
js 0x5742cd
push 0x10
call esi
test ah, ah
jns 0x57427d
mov eax, dword [0x644910]
cmp eax, ebx
je 0x57425d
mov ecx, dword [ebp]
push ebx
push ebx
push eax
mov eax, dword [ebp + 0x3c]
push eax
push ecx
call fcn.00573560
mov edx, dword [0x644910]
mov eax, dword [ebp + 0x3c]
push 1
push 1
push edx
jmp 0x5742c0
mov edx, dword [ebp + 0x14]
push 1
mov dword [0x644910], edx
mov eax, dword [ebp + 0x3c]
push 1
push eax
push eax
mov eax, dword [ebp]
push eax
call fcn.00573560
add esp, 0x14
jmp 0x5742cd
push ebx
mov dword [0x644910], ebx
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebp]
push ebx
push eax
push eax
push ecx
call fcn.00573560
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp]
push 1
push 1
push eax
push eax
push edx
jmp 0x5742c5
push ebx
mov dword [0x644910], ebx
mov eax, dword [ebp + 0x3c]
push ebx
push eax
push eax
mov eax, dword [ebp]
push eax
call fcn.00573560
mov eax, dword [ebp + 0x3c]
push 1
push 1
push eax
mov ecx, dword [ebp]
push eax
push ecx
call fcn.00573560
add esp, 0x28
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x3c]
mov ecx, dword [esp + 0x51c]
push edx
push eax
push 0x805d
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [ebp]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x508
ret
mov eax, dword [ebp]
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [ebp + 8]
movzx edx, word [ebp + 0xc]
mov eax, dword [esp + 0x51c]
push ecx
push edx
push 0x805d
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
cmp word [ebp + 0xc], 0x20
sete al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x508
ret
cmp dword [0x64491c], ebx
jne case.default.0x574e09
mov eax, dword [ebp + 0xc]
dec eax
je 0x574ded
sub eax, 0x10000
jne case.default.0x574e09
mov eax, dword [ebp + 0x24]
mov edx, dword [ebp]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 3
push 0x110a
push edx
mov dword [esp + 0xa0], eax
call esi
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x64], eax
lea eax, [ebp + 0x14]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x574ddd
mov ecx, dword [ebp]
mov edi, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xfffffffffffffff0
push ecx
call edi
mov edx, dword [ebp]
push 0
push 0
push 0x1106
push edx
mov dword [esp + 0x9c], eax
call esi
mov dword [esp + 0x20], eax
mov eax, dword [ebp]
push 0xffffffffffffffeb
push eax
call edi
mov edi, eax
push 8
mov dword [esp + 0x9c], edi
call dword [sym.imp.USER32.dll_GetSysColor]
push 5
mov dword [esp + 0xb0], eax
call dword [sym.imp.USER32.dll_GetSysColor]
cmp edi, 1
mov dword [esp + 0x24], eax
jne 0x574449
mov ecx, dword [0x6136fc]
push ecx
call fcn.0043bf80
mov edx, dword [eax*4 + 0x612870]
mov eax, dword [0x613700]
push eax
mov dword [esp + 0xb4], edx
call fcn.0043bf80
mov ecx, dword [eax*4 + 0x612870]
add esp, 8
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
add eax, 2
mov dword [esp + 0x10], eax
mov eax, dword [ebp]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x34], ecx
push 0
add ecx, 2
push eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_GetScrollPos]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x130]
sub edx, eax
push 0x3e7
push ecx
mov dword [esp + 0x18], edx
call fcn.00423a00
mov edx, dword [esp + 0x98]
xor eax, eax
add esp, 8
mov ecx, 0xa
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x3c]
push ecx
push 0
mov dword [esp + 0x48], edx
mov edx, dword [ebp]
push 0x110c
lea eax, [esp + 0x13c]
push edx
mov dword [esp + 0x4c], 0x7f
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x3e7
call esi
mov ecx, dword [esp + 0x58]
or eax, 0xffffffff
cmp ecx, eax
je 0x574508
cmp dword [esp + 0x54], eax
je 0x574508
cmp dword [esp + 0x4c], eax
je 0x574508
cmp dword [esp + 0x5c], eax
jne 0x5745b0
xor eax, eax
mov ecx, 0xd
lea edi, [esp + 0xfc]
rep stosd dword es:[edi], eax
mov eax, dword [ebp]
mov ecx, 0xa
lea esi, [esp + 0x3c]
lea edi, [esp + 0x108]
rep movsd dword es:[edi], dword [esi]
push eax
mov dword [esp + 0x100], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edx, dword [esp + 0x51c]
lea ecx, [esp + 0xfc]
push ecx
push eax
push 0x4e
push edx
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], 0xfffffe6d
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esp + 0x58], 0xffffffff
jne 0x574578
mov eax, dword [esp + 0x124]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x54]
or eax, 0xffffffff
cmp ecx, eax
jne 0x57458e
mov ecx, dword [esp + 0x120]
mov dword [esp + 0x54], ecx
cmp dword [esp + 0x4c], eax
jne 0x57459f
mov edx, dword [esp + 0x118]
mov dword [esp + 0x4c], edx
cmp dword [esp + 0x5c], eax
jne 0x5745b0
mov eax, dword [esp + 0x128]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x98]
xor edi, edi
xor esi, esi
cmp eax, 1
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x7c], edi
jne 0x574620
mov ecx, dword [esp + 0x60]
shr ecx, 0x10
push ecx
call fcn.00582800
mov esi, eax
add esp, 4
cmp esi, edi
mov dword [esp + 0x6c], esi
je 0x5745f2
mov edx, dword [esi + 0xbf4]
mov dword [esp + 0x68], edx
jmp 0x57460b
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x68]
push eax
shr ecx, 0x10
push ecx
call fcn.00507bc0
add esp, 8
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 0x68]
push edx
call fcn.00502a60
add esp, 4
test eax, eax
jne 0x574620
mov dword [esp + 0x68], edi
push 6
push ebx
call dword [sym.imp.GDI32.dll_GetCurrentObject]
mov edx, eax
xor eax, eax
mov ecx, 0xf
lea edi, [esp + 0xc0]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc0]
push eax
push 0x3c
push edx
mov dword [esp + 0xa0], edx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0xc0]
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0xc0], eax
mov eax, dword [0x60a514]
test eax, eax
mov dword [esp + 0xa0], 0
jne 0x574688
test esi, esi
je 0x5746ec
mov eax, dword [esi + 0xa08]
test eax, eax
je 0x5746ec
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0057ab30
add esp, 4
cmp eax, 2
jne 0x5746ec
test esi, esi
mov eax, 1
mov dword [esp + 0xa0], eax
je 0x5746b4
mov ecx, dword [esi + 0xa08]
test ecx, ecx
jne 0x5746b6
xor eax, eax
movzx edx, byte [esp + 0xd7]
mov ecx, dword [esp + 0xc0]
push 0
push esi
push eax
mov eax, dword [esp + 0xdc]
push 5
push edx
push eax
mov eax, dword [esp + 0x64]
push ecx
lea edx, [esp + 0xf8]
push edx
push eax
call fcn.00486bc0
add esp, 0x24
jmp 0x574702
mov ecx, dword [esp + 0x4c]
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
push ebx
call fcn.00522d60
add esp, 0x18
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0xa4], eax
xor eax, eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x38]
sub eax, edx
sub esi, edi
push ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x84], esi
mov dword [esp + 0x7c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
mov dword [esp + 0x9c], edi
je 0x5747db
mov edx, dword [esp + 0x78]
push edx
push esi
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [esp + 0x88], eax
je 0x5747c9
mov eax, dword [esp + 0x94]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push edi
call ebx
mov ecx, dword [esp + 0x88]
push ecx
push edi
mov dword [esp + 0xb0], eax
call ebx
mov edx, dword [esp + 0x24]
push edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x7c]
push eax
push esi
push 0
push 0
push edi
call fcn.0055e470
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
add esp, 0x18
sub eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
mov ebx, edi
jmp 0x5747f9
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [esp + 0x9c], 0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
push esi
push ecx
push edx
push ebx
call fcn.0055e470
add esp, 0x18
mov eax, dword [esp + 0x8c]
mov edi, eax
and edi, 2
mov dword [esp + 0x94], edi
je 0x574822
test al, 4
jne 0x574834
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
sub ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x574834
test al, 1
je 0x574834
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
sub eax, ecx
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x64]
test esi, esi
je 0x57484f
mov eax, dword [ebp]
lea edx, [esp + 0x10]
push edx
push ebx
push esi
push eax
call fcn.00572900
add esp, 0x10
test edi, edi
mov edi, dword [esp + 0x90]
je 0x574873
mov ecx, dword [esp + 0x6c]
mov eax, dword [ebp]
push ecx
lea edx, [esp + 0x14]
push edx
push ebx
push esi
push edi
push eax
call fcn.005729f0
add esp, 0x18
test byte [esp + 0x8c], 1
je 0x5748e4
test esi, esi
jne 0x57488c
mov eax, dword [esp + 0x94]
test eax, eax
je 0x5748e4
mov eax, dword [esp + 0x5c]
cmp eax, 1
jne 0x5748b4
mov ecx, dword [ebp]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push 4
push 0x110a
push ecx
call esi
mov edx, dword [esp + 0x44]
push eax
and edx, 0x20
push edx
jmp 0x5748d0
cmp eax, 0xffffffff
jne 0x5748e4
mov edx, dword [ebp]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edi
push 4
push 0x110a
push edx
call esi
push eax
push 0
mov ecx, dword [ebp]
lea eax, [esp + 0x18]
push eax
push ebx
push ecx
call fcn.00572b30
add esp, 0x14
jmp 0x5748ea
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
test byte [esp + 0x8c], 3
je 0x574902
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
add eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
test ah, 0xf0
je 0x57497c
mov eax, dword [ebp]
push 0
push 2
push 0x1108
push eax
call esi
mov edi, eax
test edi, edi
je 0x57497c
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x24]
xor eax, eax
push edx
push edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x70], eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
mov al, byte [esp + 0x60]
test al, al
je 0x57497c
test byte [esp + 0x44], 0x20
mov ecx, 1
je 0x574954
mov ecx, 2
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push 0
push edx
inc eax
push eax
push ebx
push ecx
push edi
mov dword [esp + 0x28], eax
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
add ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp]
push 0
push 0
push 0x1108
push ecx
call esi
mov edi, eax
test edi, edi
je 0x574af4
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x24]
push eax
xor esi, esi
push edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x70], esi
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
cmp dword [esp + 0x98], 1
jne 0x574ac6
mov eax, dword [esp + 0x6c]
cmp eax, esi
je 0x5749f2
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ecx
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
call fcn.00553db0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
add esp, 0x1c
add eax, ecx
jmp 0x574af8
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x574aa5
mov ecx, dword [esp + 0x68]
xor eax, eax
test ecx, ecx
je 0x574a12
push ecx
push esi
call fcn.00503170
add esp, 8
mov ecx, dword [esi + 0x40c]
mov edx, dword [esp + 0x24]
test ecx, ecx
mov ecx, dword [esp + 0x10]
push edx
je 0x574a68
test eax, eax
mov eax, dword [esp + 0x18]
push eax
push ecx
push ebx
push 0
je 0x574a4d
push 0xc
push 0
call fcn.00553db0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
add esp, 0x1c
add eax, ecx
jmp 0x574af8
push 0xa
push 0
call fcn.00553db0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
add esp, 0x1c
add eax, ecx
jmp 0x574af8
test eax, eax
mov eax, dword [esp + 0x18]
push eax
push ecx
push ebx
push 0
je 0x574a8d
push 0xd
push 0
call fcn.00553db0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
add esp, 0x1c
add eax, ecx
jmp 0x574af8
push 0xb
push 0
call fcn.00553db0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
add esp, 0x1c
add eax, ecx
jmp 0x574af8
test byte [esp + 0x44], 0x20
mov eax, 1
je 0x574ab6
mov eax, 2
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0
push edx
push ecx
push ebx
push eax
jmp 0x574ae3
mov al, byte [esp + 0x61]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
push esi
push edx
test al, al
mov eax, dword [esp + 0x18]
push eax
push ebx
jne 0x574ae2
mov ecx, dword [esp + 0x64]
push ecx
push edi
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x20]
jmp 0x574af8
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xa4]
add eax, 4
lea ecx, [edx + eax]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
sub eax, 2
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xb0], eax
mov al, byte [esp + 0x61]
mov dword [esp + 0x18], ecx
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x1c]
add ecx, 5
test al, al
mov dword [esp + 0xbc], edx
mov dword [esp + 0xb8], ecx
je 0x574b76
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xe
call esi
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xd
call esi
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xd
call esi
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
jmp 0x574c6a
mov eax, dword [esp + 0xac]
mov edi, dword [sym.imp.GDI32.dll_SetTextColor]
push eax
push ebx
call edi
mov esi, dword [esp + 0x24]
push esi
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
push esi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
cmp dword [esp + 0x98], 1
jne 0x574c6a
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x574bbc
mov eax, dword [eax + 0x724]
test eax, eax
jne 0x574bf1
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x574bce
mov eax, dword [eax + 0x41c]
test eax, eax
jne 0x574bf1
mov eax, dword [esp + 0x60]
test al, al
je 0x574c6a
test byte [esp + 0x44], 0x20
jne 0x574c6a
shr eax, 0x10
push eax
call fcn.00570df0
add esp, 4
cmp eax, 1
jne 0x574c19
mov eax, dword [0x60a100]
cmp eax, 1
jl 0x574c6a
cmp eax, 0x10
jg 0x574c6a
dec eax
push eax
call fcn.0043bf80
mov ecx, dword [eax*4 + 0x612870]
add esp, 4
push ecx
jmp 0x574c67
cmp eax, 2
jne 0x574c41
mov eax, dword [0x60a104]
cmp eax, 1
jl 0x574c6a
cmp eax, 0x10
jg 0x574c6a
dec eax
push eax
call fcn.0043bf80
mov edx, dword [eax*4 + 0x612870]
add esp, 4
push edx
jmp 0x574c67
cmp eax, 3
jne 0x574c6a
mov eax, dword [0x60a108]
cmp eax, 1
jl 0x574c6a
cmp eax, 0x10
jg 0x574c6a
dec eax
push eax
call fcn.0043bf80
mov eax, dword [eax*4 + 0x612870]
add esp, 4
push eax
push ebx
call edi
push esi
lea ecx, [esp + 0xb4]
push ecx
push ebx
call dword [sym.imp.USER32.dll_FillRect]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call edi
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x574d14
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x574cab
mov eax, dword [ecx + 0xa08]
test eax, eax
je 0x574cab
mov eax, 1
jmp 0x574cad
xor eax, eax
movzx edx, byte [esp + 0xd7]
push 2
push ecx
mov ecx, dword [esp + 0xc8]
push eax
mov eax, dword [esp + 0xdc]
push 4
push 1
push 1
push 0
push edx
mov esi, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x104]
push edx
push 0
push 0
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov dword [edx + 4], ecx
inc ecx
push ecx
push eax
mov eax, dword [esp + 0x98]
mov dword [edx + 8], esi
mov esi, dword [esp + 0x68]
push eax
push ebx
mov dword [edx + 0xc], esi
call fcn.00485c90
add esp, 0x54
jmp 0x574d46
mov edx, dword [esp + 0x4c]
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x574d20
push 0
sub eax, esi
push eax
mov eax, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push 4
inc edx
push edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_ExtTextOutA]
test byte [ebp + 0x28], 0x10
je 0x574d79
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 8
call esi
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push 5
call esi
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
lea ecx, [esp + 0xb0]
push ecx
push ebx
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov esi, dword [esp + 0x9c]
test esi, esi
je 0x574ddd
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x30]
push 0xcc0020
push 0
push 0
push esi
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x88]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0xa8]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push ecx
push esi
call ebx
mov edx, dword [esp + 0x28]
push edx
push esi
call ebx
mov eax, dword [esp + 0x88]
push eax
call edi
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x508
ret
mov eax, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x508
ret
add eax, 5
cmp eax, 3
ja case.default.0x574e09
jmp dword [eax*4 + 0x575198]
mov ecx, dword [ebp]
push 0xffffffffffffffeb
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
lea edx, [esp + 0x80]
push edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov esi, dword [ebp]
push eax
push ecx
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, esi
jne case.default.0x574e09
lea edx, [esp + 0x80]
push edx
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
xor edi, edi
push edi
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp]
push 0x1111
push ecx
mov dword [esp + 0x40], edx
call esi
mov ebx, eax
cmp ebx, edi
mov al, byte [esp + 0x34]
je 0x57501a
test al, 0x46
je 0x57501a
mov edx, dword [ebp]
push edi
push 9
push 0x110a
push edx
call esi
mov dword [esp + 0x70], eax
xor eax, eax
mov ecx, 0xa
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp]
lea eax, [esp + 0x3c]
push eax
push 0
push 0x110c
push ecx
mov dword [esp + 0x4c], 0x14
mov dword [esp + 0x50], ebx
call esi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call edi
test ah, ah
jns 0x574f7e
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x574f7e
mov eax, dword [0x644910]
test eax, eax
jne 0x574f17
mov dword [0x644910], ebx
mov eax, dword [esp + 0x60]
test ah, ah
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], 0x14
je 0x574f53
mov edx, eax
shr edx, 0x10
movzx eax, al
shl edx, 0x10
lea ecx, [esp + 0x3c]
push ecx
or edx, eax
push 0
mov dword [esp + 0x68], edx
mov edx, dword [ebp]
push 0x110d
push edx
call esi
jmp 0x574feb
mov ecx, eax
shr ecx, 0x10
movzx edx, al
shl ecx, 0x10
or ecx, edx
lea eax, [esp + 0x3c]
push eax
or ecx, 0x100
push 0
mov dword [esp + 0x68], ecx
mov ecx, dword [ebp]
push 0x110d
push ecx
call esi
jmp 0x574feb
push 0x10
call edi
test ah, ah
jns 0x574fc0
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x574fc0
mov eax, dword [0x644910]
test eax, eax
jne 0x574fa0
mov eax, dword [esp + 0x70]
mov dword [0x644910], eax
mov edx, dword [ebp]
push 0
push 0
push ebx
push eax
push edx
call fcn.00573560
mov eax, dword [0x644910]
mov ecx, dword [ebp]
push 1
push 1
push ebx
push eax
push ecx
jmp 0x574fe3
push 0
push 0
push ebx
mov dword [0x644910], 0
mov edx, dword [ebp]
push ebx
push edx
call fcn.00573560
mov eax, dword [ebp]
push 1
push 1
push ebx
push ebx
push eax
call fcn.00573560
add esp, 0x28
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x51c]
push ecx
push ebx
push 0x805d
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [ebp]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x508
ret
test al, 0x20
je 0x575041
call dword [sym.imp.USER32.dll_GetFocus]
cmp dword [ebp], eax
jne 0x575003
push edi
push edi
push ebx
mov dword [0x644910], edi
mov eax, dword [ebp]
push ebx
push eax
call fcn.00573560
add esp, 0x14
jmp 0x575003
mov dword [0x644910], edi
jmp 0x575003
lea edx, [esp + 0x70]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov esi, dword [ebp]
push eax
push ecx
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, esi
jne case.default.0x574e09
lea edx, [esp + 0x70]
push edx
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
push ebx
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp]
push 0x1111
push ecx
mov dword [esp + 0x40], edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
je 0x575003
test byte [esp + 0x34], 0x46
je 0x575003
mov edx, dword [ebp + 8]
push edx
push eax
mov eax, dword [esp + 0x524]
push 0x805d
push eax
jmp 0x574ffd
mov edx, dword [ebp]
push 0xffffffffffffffeb
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp eax, ebx
je case.default.0x574e09
cmp eax, 1
je 0x5750fa
cmp eax, 2
je case.default.0x574e09
mov eax, dword [ebp]
push ebx
push 9
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
cmp esi, ebx
je 0x57515b
mov eax, dword [ebp]
lea ecx, [esp + 0x70]
push ecx
push ebx
push ebx
lea edx, [esp + 0x34]
push edx
push ebx
push esi
push eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x8c], ebx
call fcn.005737d0
add esp, 0x1c
test eax, eax
je 0x57515b
mov al, byte [esp + 0x29]
test al, al
je 0x57515b
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x51c]
push ecx
push esi
push 0x805d
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [ebp]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x508
ret