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

Disassembly:
mov eax, 0x1188
call fcn.005d9990
mov eax, dword [esp + 0x1190]
cmp eax, dword [esp + 0x1194]
push ebx
push ebp
push esi
push edi
jne case.default.0x57f519
mov ebp, dword [esp + 0x11a8]
xor ebx, ebx
cmp ebp, ebx
je case.default.0x57f519
mov eax, dword [ebp + 8]
cmp eax, 0xfffffff4
ja 0x57f50d
je 0x57ea2e
add eax, 0x19c
cmp eax, 0xa
ja case.default.0x57f519
movzx ecx, byte [eax + 0x57f8a0]
jmp dword [ecx*4 + 0x57f88c]
mov eax, dword [esp + 0x119c]
mov dword [0x698ed8], 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 0x57e881
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x3c]
rep stosd dword es:[edi], eax
mov dword [esp + 0x44], 0x2000
jmp 0x57e89e
test al, 1
je 0x57f717
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 0x57f717
mov dword [0x698ed8], ebx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1188
ret
cmp dword [0x698ed4], ebx
jne case.default.0x57f519
mov edx, dword [ebp]
push 0xffffffffffffffeb
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, eax
jne 0x57e98a
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
test ah, ah
js 0x57e9b5
push 0x10
call esi
test ah, ah
jns 0x57e965
mov eax, dword [0x698ed0]
cmp eax, ebx
je 0x57e945
mov ecx, dword [ebp]
push ebx
push ebx
push eax
mov eax, dword [ebp + 0x3c]
push eax
push ecx
call fcn.0057dc10
mov edx, dword [0x698ed0]
mov eax, dword [ebp + 0x3c]
push 1
push 1
push edx
jmp 0x57e9a8
mov edx, dword [ebp + 0x14]
push 1
mov dword [0x698ed0], edx
mov eax, dword [ebp + 0x3c]
push 1
push eax
push eax
mov eax, dword [ebp]
push eax
call fcn.0057dc10
add esp, 0x14
jmp 0x57e9b5
push ebx
mov dword [0x698ed0], ebx
mov eax, dword [ebp + 0x3c]
mov ecx, dword [ebp]
push ebx
push eax
push eax
push ecx
call fcn.0057dc10
mov eax, dword [ebp + 0x3c]
mov edx, dword [ebp]
push 1
push 1
push eax
push eax
push edx
jmp 0x57e9ad
push ebx
mov dword [0x698ed0], ebx
mov eax, dword [ebp + 0x3c]
push ebx
push eax
push eax
mov eax, dword [ebp]
push eax
call fcn.0057dc10
mov eax, dword [ebp + 0x3c]
push 1
push 1
push eax
mov ecx, dword [ebp]
push eax
push ecx
call fcn.0057dc10
add esp, 0x28
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x3c]
mov ecx, dword [esp + 0x119c]
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, 0x1188
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 + 0x119c]
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, 0x1188
ret
cmp dword [0x698edc], ebx
jne case.default.0x57f519
mov eax, dword [ebp + 0xc]
dec eax
je 0x57f4fd
sub eax, 0x10000
jne case.default.0x57f519
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 + 0x94], eax
call esi
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x68], 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 0x57f4ed
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 + 0x84], 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 0x57eb31
mov ecx, dword [0x63cafc]
push ecx
call fcn.0043c610
mov edx, dword [eax*4 + 0x638070]
mov eax, dword [0x63cb00]
push eax
mov dword [esp + 0xb4], edx
call fcn.0043c610
mov ecx, dword [eax*4 + 0x638070]
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]
sub dword [esp + 0x10], eax
lea ecx, [esp + 0x130]
push 0x1068
push ecx
call fcn.004232e0
mov edx, dword [esp + 0x8c]
xor eax, eax
mov ecx, 0xa
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x138]
lea eax, [esp + 0x138]
push 0x1068
push ecx
mov dword [esp + 0x4c], 0x7f
mov dword [esp + 0x50], edx
mov dword [esp + 0x5c], eax
call fcn.00423310
add esp, 0x10
lea edx, [esp + 0x3c]
push edx
push 0
mov dword [esp + 0x58], eax
mov eax, dword [ebp]
push 0x110c
push eax
call esi
mov ecx, dword [esp + 0x58]
or eax, 0xffffffff
cmp ecx, eax
je 0x57ebf8
cmp dword [esp + 0x54], eax
je 0x57ebf8
cmp dword [esp + 0x4c], eax
je 0x57ebf8
cmp dword [esp + 0x5c], eax
jne 0x57eca0
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 + 0x119c]
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 0x57ec68
mov eax, dword [esp + 0x124]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x54]
or eax, 0xffffffff
cmp ecx, eax
jne 0x57ec7e
mov ecx, dword [esp + 0x120]
mov dword [esp + 0x54], ecx
cmp dword [esp + 0x4c], eax
jne 0x57ec8f
mov edx, dword [esp + 0x118]
mov dword [esp + 0x4c], edx
cmp dword [esp + 0x5c], eax
jne 0x57eca0
mov eax, dword [esp + 0x128]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x80]
xor edi, edi
xor esi, esi
cmp eax, 1
mov dword [esp + 0x70], edi
mov dword [esp + 0x64], esi
mov dword [esp + 0x6c], edi
jne 0x57ed10
mov ecx, dword [esp + 0x60]
shr ecx, 0x10
push ecx
call fcn.0058ea60
mov esi, eax
add esp, 4
cmp esi, edi
mov dword [esp + 0x64], esi
je 0x57ece2
mov edx, dword [esi + 0x1e90]
mov dword [esp + 0x70], edx
jmp 0x57ecfb
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x70]
push eax
shr ecx, 0x10
push ecx
call fcn.0050dd90
add esp, 8
mov dword [esp + 0x6c], eax
mov edx, dword [esp + 0x70]
push edx
call fcn.00508aa0
add esp, 4
test eax, eax
jne 0x57ed10
mov dword [esp + 0x70], 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 + 0xa4], 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 [0x61b5c4]
test eax, eax
mov dword [esp + 0xa0], 0
jne 0x57ed78
test esi, esi
je 0x57eddc
mov eax, dword [esi + 0x18a4]
test eax, eax
je 0x57eddc
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.005868a0
add esp, 4
cmp eax, 2
jne 0x57eddc
test esi, esi
mov eax, 1
mov dword [esp + 0xa0], eax
je 0x57eda4
mov ecx, dword [esi + 0x18a4]
test ecx, ecx
jne 0x57eda6
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.00488340
add esp, 0x24
jmp 0x57edf2
mov ecx, dword [esp + 0x4c]
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
push ebx
call fcn.0052a000
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 + 0x78], ebx
mov dword [esp + 0x94], esi
mov dword [esp + 0x80], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
mov dword [esp + 0x9c], edi
je 0x57eed1
mov edx, dword [esp + 0x7c]
push edx
push esi
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
test eax, eax
mov dword [esp + 0x88], eax
je 0x57eebf
mov eax, dword [esp + 0x98]
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 + 0x80]
push eax
push esi
push 0
push 0
push edi
call fcn.00567c00
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 0x57eeef
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [esp + 0x9c], 0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
push esi
push ecx
push edx
push ebx
call fcn.00567c00
add esp, 0x18
mov eax, dword [esp + 0x8c]
mov edi, eax
and edi, 2
mov dword [esp + 0x98], edi
je 0x57ef18
test al, 4
jne 0x57ef2a
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
sub ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x57ef2a
test al, 1
je 0x57ef2a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
sub eax, ecx
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x68]
test esi, esi
je 0x57ef45
mov eax, dword [ebp]
lea edx, [esp + 0x10]
push edx
push ebx
push esi
push eax
call fcn.0057cf80
add esp, 0x10
test edi, edi
mov edi, dword [esp + 0x84]
je 0x57ef69
mov ecx, dword [esp + 0x64]
mov eax, dword [ebp]
push ecx
lea edx, [esp + 0x14]
push edx
push ebx
push esi
push edi
push eax
call fcn.0057d070
add esp, 0x18
test byte [esp + 0x8c], 1
je 0x57efda
test esi, esi
jne 0x57ef82
mov eax, dword [esp + 0x98]
test eax, eax
je 0x57efda
mov eax, dword [esp + 0x5c]
cmp eax, 1
jne 0x57efaa
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 0x57efc6
cmp eax, 0xffffffff
jne 0x57efda
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.0057d1b0
add esp, 0x14
jmp 0x57efe0
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
test byte [esp + 0x8c], 3
je 0x57eff8
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 0x57f072
mov eax, dword [ebp]
push 0
push 2
push 0x1108
push eax
call esi
mov edi, eax
test edi, edi
je 0x57f072
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x24]
xor eax, eax
push edx
push edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x74], eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
mov al, byte [esp + 0x60]
test al, al
je 0x57f072
test byte [esp + 0x44], 0x20
mov ecx, 1
je 0x57f04a
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 0x57f207
mov eax, dword [0x62b304]
xor esi, esi
test eax, eax
je 0x57f09b
mov esi, 1
xor eax, eax
lea edx, [esp + 0x68]
mov dword [esp + 0x20], eax
mov dword [esp + 0x68], eax
push edx
lea eax, [esp + 0x24]
push eax
push edi
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
cmp dword [esp + 0x80], 1
jne 0x57f1d6
mov eax, dword [esp + 0x64]
test eax, eax
je 0x57f0f8
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.0055c9e0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
add esp, 0x1c
add eax, ecx
jmp 0x57f20b
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x57f1b3
mov ecx, dword [esp + 0x70]
xor eax, eax
test ecx, ecx
je 0x57f11c
mov edx, dword [esp + 0x6c]
push ecx
push edx
call fcn.005091b0
add esp, 8
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0xe70]
mov ecx, dword [esp + 0x10]
test edx, edx
mov edx, dword [esp + 0x24]
push edx
je 0x57f176
test eax, eax
mov eax, dword [esp + 0x18]
push eax
push ecx
push ebx
push 0
je 0x57f15b
push 0xc
push 0
call fcn.0055c9e0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
add esp, 0x1c
add eax, ecx
jmp 0x57f20b
push 0xa
push 0
call fcn.0055c9e0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
add esp, 0x1c
add eax, ecx
jmp 0x57f20b
test eax, eax
mov eax, dword [esp + 0x18]
push eax
push ecx
push ebx
push 0
je 0x57f19b
push 0xd
push 0
call fcn.0055c9e0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
add esp, 0x1c
add eax, ecx
jmp 0x57f20b
push 0xb
push 0
call fcn.0055c9e0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
add esp, 0x1c
add eax, ecx
jmp 0x57f20b
test byte [esp + 0x44], 0x20
mov eax, 1
je 0x57f1c4
mov eax, 2
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0
add esi, edx
push esi
push ecx
push ebx
push eax
jmp 0x57f1f6
mov al, byte [esp + 0x61]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
push 0
add esi, edx
push esi
test al, al
mov eax, dword [esp + 0x18]
push eax
push ebx
jne 0x57f1f5
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 0x57f20b
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 0x57f289
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 0x57f37d
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 + 0x80], 1
jne 0x57f37d
mov eax, dword [esp + 0x64]
test eax, eax
je 0x57f2cf
mov eax, dword [eax + 0x131c]
test eax, eax
jne 0x57f304
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x57f2e1
mov eax, dword [eax + 0xe80]
test eax, eax
jne 0x57f304
mov eax, dword [esp + 0x60]
test al, al
je 0x57f37d
test byte [esp + 0x44], 0x20
jne 0x57f37d
shr eax, 0x10
push eax
call fcn.0057b280
add esp, 4
cmp eax, 1
jne 0x57f32c
mov eax, dword [0x61a9f0]
cmp eax, 1
jl 0x57f37d
cmp eax, 0x10
jg 0x57f37d
dec eax
push eax
call fcn.0043c610
mov ecx, dword [eax*4 + 0x638070]
add esp, 4
push ecx
jmp 0x57f37a
cmp eax, 2
jne 0x57f354
mov eax, dword [0x61a9f4]
cmp eax, 1
jl 0x57f37d
cmp eax, 0x10
jg 0x57f37d
dec eax
push eax
call fcn.0043c610
mov edx, dword [eax*4 + 0x638070]
add esp, 4
push edx
jmp 0x57f37a
cmp eax, 3
jne 0x57f37d
mov eax, dword [0x61a9f8]
cmp eax, 1
jl 0x57f37d
cmp eax, 0x10
jg 0x57f37d
dec eax
push eax
call fcn.0043c610
mov eax, dword [eax*4 + 0x638070]
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 0x57f427
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x57f3be
mov eax, dword [ecx + 0x18a4]
test eax, eax
je 0x57f3be
mov eax, 1
jmp 0x57f3c0
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.004872b0
add esp, 0x54
jmp 0x57f456
mov edx, dword [esp + 0x4c]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x57f430
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 0x57f489
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 0x57f4ed
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x90]
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 + 0x8c]
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, 0x1188
ret
mov eax, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1188
ret
add eax, 5
cmp eax, 3
ja case.default.0x57f519
jmp dword [eax*4 + 0x57f8ac]
mov ecx, dword [ebp]
push 0xffffffffffffffeb
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
lea edx, [esp + 0x90]
push edx
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov esi, dword [ebp]
push eax
push ecx
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, esi
jne case.default.0x57f519
lea edx, [esp + 0x90]
push edx
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
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 0x57f72e
test al, 0x46
je 0x57f72e
mov edx, dword [ebp]
push edi
push 9
push 0x110a
push edx
call esi
mov dword [esp + 0x74], 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 0x57f692
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x57f692
mov eax, dword [0x698ed0]
test eax, eax
jne 0x57f62b
mov dword [0x698ed0], ebx
mov eax, dword [esp + 0x60]
test ah, ah
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], 0x14
je 0x57f667
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 0x57f6ff
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 0x57f6ff
push 0x10
call edi
test ah, ah
jns 0x57f6d4
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x57f6d4
mov eax, dword [0x698ed0]
test eax, eax
jne 0x57f6b4
mov eax, dword [esp + 0x74]
mov dword [0x698ed0], eax
mov edx, dword [ebp]
push 0
push 0
push ebx
push eax
push edx
call fcn.0057dc10
mov eax, dword [0x698ed0]
mov ecx, dword [ebp]
push 1
push 1
push ebx
push eax
push ecx
jmp 0x57f6f7
push 0
push 0
push ebx
mov dword [0x698ed0], 0
mov edx, dword [ebp]
push ebx
push edx
call fcn.0057dc10
mov eax, dword [ebp]
push 1
push 1
push ebx
push ebx
push eax
call fcn.0057dc10
add esp, 0x28
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x119c]
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, 0x1188
ret
test al, 0x20
je 0x57f755
call dword [sym.imp.USER32.dll_GetFocus]
cmp dword [ebp], eax
jne 0x57f717
push edi
push edi
push ebx
mov dword [0x698ed0], edi
mov eax, dword [ebp]
push ebx
push eax
call fcn.0057dc10
add esp, 0x14
jmp 0x57f717
mov dword [0x698ed0], edi
jmp 0x57f717
lea edx, [esp + 0x74]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov esi, dword [ebp]
push eax
push ecx
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, esi
jne case.default.0x57f519
lea edx, [esp + 0x74]
push edx
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
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 0x57f717
test byte [esp + 0x34], 0x46
je 0x57f717
mov edx, dword [ebp + 8]
push edx
push eax
mov eax, dword [esp + 0x11a4]
push 0x805d
push eax
jmp 0x57f711
mov edx, dword [ebp]
push 0xffffffffffffffeb
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp eax, ebx
je case.default.0x57f519
cmp eax, 1
je 0x57f80e
cmp eax, 2
je case.default.0x57f519
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 0x57f86f
mov eax, dword [ebp]
lea ecx, [esp + 0x74]
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 + 0x90], ebx
call fcn.0057de80
add esp, 0x1c
test eax, eax
je 0x57f86f
mov al, byte [esp + 0x29]
test al, al
je 0x57f86f
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x119c]
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, 0x1188
ret