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

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x54]
xor ecx, ecx
sub esp, 0x438
cmp edx, ecx
je 0x559f98
cmp dword [esp + 0x440], ecx
push ebx
push ebp
push esi
push edi
je 0x559e24
mov dword [0x643c40], ecx
mov ecx, dword [esp + 0x458]
imul ecx, ecx, 0x5c
add eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0x38]
lea edi, [eax + 0x2d]
cmp eax, edi
mov dword [esp + 0x4c], edi
mov esi, eax
jge 0x559c25
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x559b90
mov ebx, dword [esp + 0x44c]
push esi
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
mov edx, dword [0x643c40]
lea ecx, [edx*8 + 0x643ab0]
mov dword [ecx], eax
je 0x559c2c
mov dword [edx*8 + 0x643ab4], esi
mov edx, dword [ecx]
push esi
push edx
push ebx
call fcn.005599e0
add esp, 0xc
test eax, eax
jne 0x559c0f
mov eax, dword [0x643c40]
mov edi, dword [eax*8 + 0x643ab0]
lea ecx, [esp + 0x60]
push ecx
push 0x3e7
push 0xd
push edi
call ebp
test eax, eax
jle 0x559c0b
lea edx, [esp + 0x60]
push 1
push edx
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x559c0b
mov byte [eax], 0x26
lea eax, [esp + 0x60]
push eax
push 0
push 0xc
push edi
call ebp
mov edi, dword [esp + 0x4c]
mov eax, dword [0x643c40]
inc eax
inc esi
cmp esi, edi
mov dword [0x643c40], eax
jl 0x559b90
jmp 0x559c2c
mov ebx, dword [esp + 0x44c]
mov edx, dword [0x643ab0]
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x14]
push ecx
push edx
call ebp
lea eax, [esp + 0x3c]
push eax
push 0x66
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebp
mov eax, dword [0x643c40]
xor edi, edi
test eax, eax
jle 0x559cc3
lea esp, [esp]
mov edx, dword [edi*8 + 0x643ab0]
lea ecx, [esp + 0x50]
push ecx
push edx
call ebp
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x18]
cmp eax, esi
jge 0x559c81
mov esi, eax
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x5c]
mov ebx, dword [esp + 0x20]
cmp eax, ebx
jle 0x559c93
mov ebx, eax
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jge 0x559ca5
mov ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x1c]
cmp eax, edx
jle 0x559cb7
mov edx, eax
mov dword [esp + 0x1c], edx
mov eax, dword [0x643c40]
inc edi
cmp edi, eax
jl 0x559c60
jmp 0x559cd3
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x454]
mov edi, dword [eax + 0x48]
mov eax, dword [esp + 0x44]
test edi, edi
mov edi, dword [esp + 0x3c]
sub eax, edi
sub eax, edx
add eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
sub ecx, eax
sub ecx, dword [edx + 0x3c]
mov eax, dword [esp + 0x48]
sub ecx, edi
mov ebp, ecx
mov ecx, dword [esp + 0x40]
sub eax, ecx
sub eax, ebx
add eax, esi
cdq
sub eax, edx
sar eax, 1
sub esi, eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x40]
mov eax, dword [0x643c40]
sub esi, edx
sub esi, ecx
xor edi, edi
test eax, eax
jle 0x559da7
mov ebx, dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [edi*8 + 0x643ab0]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x44c]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
push edx
mov dword [esp + 0x30], eax
call ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub eax, ebp
lea edx, [esp + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x44c]
push edx
sub ecx, esi
push eax
mov dword [esp + 0x30], ecx
call ebx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [edi*8 + 0x643ab0]
push 0x15
push 0
push 0
push ecx
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x643c40]
inc edi
cmp edi, eax
jl 0x559d30
mov eax, dword [0x643c40]
xor esi, esi
test eax, eax
jle 0x559e06
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x63dcd0]
mov edi, edi
test ecx, ecx
je 0x559dea
cmp ecx, dword [esp + 0x44c]
jne 0x559dea
mov eax, dword [esi*8 + 0x643ab4]
cmp eax, 0xba
jne 0x559de5
mov edx, dword [0x643108]
test edx, edx
je 0x559dfc
cmp eax, 0x7f
je 0x559dfc
mov ecx, dword [esi*8 + 0x643ab0]
push 8
push ecx
call edi
mov ecx, dword [0x63dcd0]
mov eax, dword [0x643c40]
inc esi
cmp esi, eax
jl 0x559dc0
mov eax, dword [esp + 0x44c]
push eax
mov dword [0x643aac], eax
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x438
ret
mov edx, dword [esp + 0x458]
mov edi, dword [esp + 0x44c]
imul edx, edx, 0x5c
mov esi, dword [edx + eax + 0x38]
mov eax, dword [0x643aac]
cmp eax, ecx
lea ebx, [esi + 0x64]
je 0x559e8a
cmp eax, edi
je 0x559e8a
cmp esi, ebx
mov dword [0x643c40], ecx
jge 0x559e90
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
lea esp, [esp]
push esi
push edi
call ebp
test eax, eax
mov ecx, dword [0x643c40]
mov dword [ecx*8 + 0x643ab0], eax
je 0x559e90
mov dword [ecx*8 + 0x643ab4], esi
inc ecx
inc esi
cmp esi, ebx
mov dword [0x643c40], ecx
jl 0x559e60
jmp 0x559e90
mov ecx, dword [0x643c40]
xor esi, esi
test ecx, ecx
jle 0x559f12
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi*8 + 0x643ab0]
test eax, eax
je 0x559f12
push 0
push eax
call ebp
mov ecx, dword [esi*8 + 0x643ab0]
lea eax, [esp + 0x2c]
push eax
push ecx
call ebx
push 2
lea edx, [esp + 0x30]
push edx
push edi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov eax, 2
sub ecx, eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x2c]
add edx, eax
sub ecx, eax
add dword [esp + 0x34], 4
push 0
lea eax, [esp + 0x30]
push eax
push edi
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [0x643c40]
inc esi
cmp esi, ecx
jl 0x559ea2
xor ebp, ebp
test ecx, ecx
jle 0x559f87
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, edi
mov eax, dword [ebp*8 + 0x643ab0]
test eax, eax
je 0x559f87
mov ecx, dword [ebp*8 + 0x643ab4]
push ecx
push eax
push edi
call fcn.005599e0
add esp, 0xc
test eax, eax
jne 0x559f7d
mov esi, dword [ebp*8 + 0x643ab0]
lea edx, [esp + 0x60]
push edx
push 0x3e7
push 0xd
push esi
call ebx
test eax, eax
jle 0x559f7d
lea eax, [esp + 0x60]
push 0x26
push eax
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x559f7d
lea ecx, [esp + 0x60]
push ecx
push 0
push 0xc
push esi
mov byte [eax], 1
call ebx
mov eax, dword [0x643c40]
inc ebp
cmp ebp, eax
jl 0x559f20
push edi
mov dword [0x643aac], edi
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x438
ret