Function at 0x511b12
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x54], 0
je 0x51215d
cmp dword [ebp + 0xc], 0
je 0x511f58
xor edx, edx
mov dword [0x56e724], edx
imul ecx, dword [ebp + 0x14], 0x17
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + ecx*4 + 0x38]
lea ebx, [eax + 0x2d]
mov esi, eax
cmp ebx, esi
jle 0x511c92
push esi
push edi
call sub.USER32.dll_GetDlgItem
mov edx, dword [0x56e724]
mov dword [edx*8 + 0x588de4], eax
mov eax, dword [0x56e724]
cmp dword [eax*8 + 0x588de4], 0
je 0x511c92
mov ecx, dword [0x56e724]
mov dword [ecx*8 + 0x588de8], esi
mov eax, dword [0x55fdc0]
test eax, eax
je 0x511bb6
cmp edi, eax
jne 0x511bb6
mov edx, dword [0x56e724]
mov ecx, dword [edx*8 + 0x588de8]
sub ecx, 0xbb
jne 0x511c0a
inc dword [0x56e724]
jmp 0x511c89
mov eax, dword [0x56c1fc]
test eax, eax
je 0x511c0a
cmp edi, eax
jne 0x511c0a
mov edx, dword [0x56e724]
mov ecx, dword [edx*8 + 0x588de8]
cmp ecx, 0x1a7
jg 0x511bee
je 0x511c02
sub ecx, 0x116
je 0x511c02
sub ecx, 0x3b
je 0x511c02
sub ecx, 0x42
je 0x511c02
jmp 0x511c0a
sub ecx, 0x1e7
je 0x511c02
sub ecx, 0x54
je 0x511c02
sub ecx, 2
je 0x511c02
jmp 0x511c0a
inc dword [0x56e724]
jmp 0x511c89
push 0
push 0
push 0xc1
mov eax, dword [0x56e724]
push dword [eax*8 + 0x588de4]
call sub.USER32.dll_SendMessageA
test eax, eax
jle 0x511c30
inc dword [0x56e724]
jmp 0x511c89
push 0x588f74
push 0x3e7
push 0xd
mov edx, dword [0x56e724]
push dword [edx*8 + 0x588de4]
call sub.USER32.dll_SendMessageA
test eax, eax
jle 0x511c83
push 1
push 0x588f74
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x511c83
mov byte [eax], 0x26
push 0x588f74
push 0
push 0xc
mov ecx, dword [0x56e724]
push dword [ecx*8 + 0x588de4]
call sub.USER32.dll_SendMessageA
inc dword [0x56e724]
inc esi
cmp ebx, esi
jg 0x511b55
lea eax, [ebp - 0x24]
push eax
push dword [0x588de4]
call sub.USER32.dll_GetWindowRect
lea edx, [ebp - 0x34]
push edx
push 0x69
push edi
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_GetWindowRect
xor esi, esi
mov ebx, 0x588de4
jmp 0x511cfa
lea eax, [ebp - 0x44]
push eax
push dword [ebx]
call sub.USER32.dll_GetWindowRect
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x20]
jge 0x511cd2
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x18]
jle 0x511cdd
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x24]
jge 0x511ce8
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x1c]
jle 0x511cf6
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], ecx
inc esi
add ebx, 8
cmp esi, dword [0x56e724]
jl 0x511cbc
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x48], 0
je 0x511d67
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
sub edx, ecx
sar edx, 1
jns 0x511d20
adc edx, 0
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x34]
sub eax, edx
imul edx, dword [ebp + 0x14], 0x17
mov ecx, dword [ebp + 0x10]
sub eax, dword [ecx + edx*4 + 0x3c]
dec eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x20]
sub eax, edx
sar eax, 1
jns 0x511d4c
adc eax, 0
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x30]
sub ecx, eax
imul eax, dword [ebp + 0x14], 0x17
mov edx, dword [ebp + 0x10]
sub ecx, dword [edx + eax*4 + 0x40]
add ecx, 0xfffffffd
mov dword [ebp - 8], ecx
jmp 0x511da7
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
sub ecx, eax
sar ecx, 1
jns 0x511d7c
adc ecx, 0
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x34]
sub edx, ecx
imul ecx, dword [ebp + 0x14], 0x17
mov eax, dword [ebp + 0x10]
sub edx, dword [eax + ecx*4 + 0x3c]
dec edx
mov dword [ebp - 4], edx
imul edx, dword [ebp + 0x14], 0x17
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x30]
sub eax, dword [ecx + edx*4 + 0x40]
mov dword [ebp - 8], eax
xor esi, esi
mov ebx, 0x588de4
jmp 0x511e00
lea eax, [ebp - 0x24]
push eax
push dword [ebx]
call sub.USER32.dll_GetWindowRect
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0xc], edx
lea ecx, [ebp - 0x10]
push ecx
push edi
call sub.USER32.dll_ScreenToClient
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
lea ecx, [ebp - 0x10]
push ecx
push edi
call sub.USER32.dll_ScreenToClient
push 0x15
push 0
push 0
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push 0
push dword [ebx]
call sub.USER32.dll_SetWindowPos
inc esi
add ebx, 8
cmp esi, dword [0x56e724]
jl 0x511db0
xor esi, esi
mov ebx, 0x588de8
jmp 0x511f3b
mov eax, dword [0x55fdc0]
test eax, eax
je 0x511e3b
cmp edi, eax
jne 0x511e3b
cmp dword [ebx], 0x79
je 0x511f37
cmp dword [ebx], 0x8b
je 0x511f37
jmp 0x511f2d
mov eax, dword [0x56c1fc]
test eax, eax
je 0x511eea
cmp edi, eax
jne 0x511eea
mov edx, dword [ebx]
cmp edx, 0x1e8
je 0x511f37
xor eax, eax
cmp edx, 0x190
jne 0x511e6f
mov eax, 1
jmp 0x511ed6
cmp edx, 0x191
jne 0x511e7e
mov eax, 1
jmp 0x511ed6
cmp edx, 0x194
jne 0x511e8d
mov eax, 1
jmp 0x511ed6
cmp edx, 0x18f
jne 0x511e9c
mov eax, 1
jmp 0x511ed6
cmp edx, 0x21e
jne 0x511eab
mov eax, 1
jmp 0x511ed6
cmp edx, 0x21f
jne 0x511eba
mov eax, 1
jmp 0x511ed6
cmp edx, 0x1c3
jne 0x511ec9
mov eax, 1
jmp 0x511ed6
cmp edx, 0x1c8
jne 0x511ed6
mov eax, 2
test eax, eax
je 0x511f2d
cmp dword [0x560770], 0
jne 0x511f2d
cmp eax, 2
je 0x511f37
jmp 0x511f2d
mov eax, dword [0x560b10]
test eax, eax
je 0x511f2d
cmp edi, eax
jne 0x511f2d
cmp dword [ebx], 0x87
jne 0x511f2d
xor edx, edx
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0x8055
push eax
call sub.USER32.dll_SendMessageA
push dword [ebp - 0x14]
call fcn.0041261f
test eax, eax
je 0x511f2d
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1a09], 1
jne 0x511f37
push 8
push dword [ebx - 4]
call sub.USER32.dll_ShowWindow
inc esi
add ebx, 8
cmp esi, dword [0x56e724]
jl 0x511e14
mov dword [0x56e720], edi
push edi
call sub.USER32.dll_UpdateWindow
jmp 0x51215d
imul edx, dword [ebp + 0x14], 0x17
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + edx*4 + 0x38]
lea ebx, [eax + 0x64]
cmp dword [0x56e720], 0
je 0x511fc0
cmp edi, dword [0x56e720]
je 0x511fc0
xor edx, edx
mov dword [0x56e724], edx
mov esi, eax
cmp ebx, esi
jle 0x511fc0
push esi
push edi
call sub.USER32.dll_GetDlgItem
mov edx, dword [0x56e724]
mov dword [edx*8 + 0x588de4], eax
mov eax, dword [0x56e724]
cmp dword [eax*8 + 0x588de4], 0
je 0x511fc0
mov ecx, dword [0x56e724]
mov dword [ecx*8 + 0x588de8], esi
inc dword [0x56e724]
inc esi
cmp ebx, esi
jg 0x511f85
xor esi, esi
mov ebx, 0x588de4
jmp 0x512010
mov eax, dword [ebx]
test eax, eax
je 0x512018
push 0
push eax
call sub.USER32.dll_ShowWindow
lea edx, [ebp - 0x54]
push edx
push dword [ebx]
call sub.USER32.dll_GetWindowRect
push 2
lea ecx, [ebp - 0x54]
push ecx
push edi
push 0
call sub.USER32.dll_MapWindowPoints
sub dword [ebp - 0x50], 2
add dword [ebp - 0x48], 2
sub dword [ebp - 0x54], 2
add dword [ebp - 0x4c], 4
push 0
lea eax, [ebp - 0x54]
push eax
push edi
call sub.USER32.dll_InvalidateRect
inc esi
add ebx, 8
cmp esi, dword [0x56e724]
jl 0x511fc9
xor esi, esi
mov ebx, 0x588de4
jmp 0x512145
cmp dword [ebx], 0
je 0x512151
mov eax, dword [0x55fdc0]
test eax, eax
je 0x51204e
cmp edi, eax
jne 0x51204e
mov edx, dword [ebx + 4]
sub edx, 0xbb
je 0x512141
jmp 0x5120f0
mov eax, dword [0x56c1fc]
test eax, eax
je 0x5120f0
cmp edi, eax
jne 0x5120f0
mov edx, dword [ebx + 4]
cmp edx, 0x1e7
jg 0x51209d
je 0x512141
sub edx, 0x116
je 0x512141
sub edx, 0x3b
je 0x512141
sub edx, 0x42
je 0x512141
sub edx, 0x14
je 0x512141
jmp 0x5120f0
sub edx, 0x1e8
je 0x5120b9
sub edx, 0x53
je 0x512141
sub edx, 2
je 0x512141
jmp 0x5120f0
lea ecx, [ebp - 0x64]
push ecx
push 0x1e8
push edi
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_GetWindowRect
push 2
lea eax, [ebp - 0x64]
push eax
push edi
push 0
call sub.USER32.dll_MapWindowPoints
push 1
lea edx, [ebp - 0x64]
push edx
push edi
call sub.USER32.dll_InvalidateRect
push edi
call sub.USER32.dll_UpdateWindow
jmp 0x512141
push 0
push 0
push 0xc1
push dword [ebx]
call sub.USER32.dll_SendMessageA
test eax, eax
jg 0x512141
push 0x588f74
push 0x3e7
push 0xd
push dword [ebx]
call sub.USER32.dll_SendMessageA
test eax, eax
jle 0x512141
push 0x26
push 0x588f74
call fcn.0054e1ec
add esp, 8
test eax, eax
je 0x512141
mov byte [eax], 1
push 0x588f74
push 0
push 0xc
push dword [ebx]
call sub.USER32.dll_SendMessageA
inc esi
add ebx, 8
cmp esi, dword [0x56e724]
jl 0x512024
mov dword [0x56e720], edi
push edi
call sub.USER32.dll_UpdateWindow
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10