Function at 0x5e0b8c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe34
push ebx
xor ecx, ecx
mov dword [ebp - 0x1cc], ecx
mov dword [ebp - 0x1c8], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
test dl, dl
je 0x5e0bb9
add esp, 0xfffffff0
call fcn.00408460
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5e0f2d
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00407f0c
mov dl, 1
mov eax, dword [0x5dfbd8]
call fcn.005e3828
mov dword [0x5fa6cc], eax
mov eax, dword [ebp - 4]
mov word [eax + 4], 0
call fcn.00407574
test eax, eax
jle 0x5e0c8e
call fcn.00407574
test eax, eax
jle 0x5e0c8e
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.004075d8
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x5e0f60
call fcn.0042d01c
lea eax, [ebp - 0x18]
xor ecx, ecx
mov edx, 0x5e0f70
call fcn.0042d6e8
mov byte [ebp - 0x29], al
cmp byte [ebp - 0x29], 0
je 0x5e0c86
lea eax, [ebp - 0x18]
mov edx, 0x5e0f90
call fcn.0042cc64
test al, al
je 0x5e0c86
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
xor ecx, ecx
mov edx, 0x5e0fa0
call fcn.0042d01c
mov eax, dword [ebp - 0x28]
call fcn.0042d95c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
mov word [edx + 4], ax
jmp 0x5e0c8e
inc dword [ebp - 0xc]
dec dword [ebp - 0x20]
jne 0x5e0c15
mov eax, dword [ebp - 4]
cmp word [eax + 4], 0
jne 0x5e0caf
mov edx, 0x5e0fc4
mov eax, 0x5e0fdc
call fcn.005e0b60
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 4]
push 0x5e100c
mov eax, dword [ebp - 4]
mov ax, word [eax + 4]
push eax
mov ecx, 0x5e1024
mov dl, 1
mov eax, dword [0x5db1e8]
call fcn.005dc13c
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 4]
mov dword [eax + 0x14], edx
mov dword [eax + 0x10], 0x5e113c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x78]
test al, al
jne 0x5e0d15
mov edx, 0x5e0fc4
mov eax, 0x5e1040
call fcn.005e0b60
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
mov dword [eax + 0xb4], edx
mov dword [eax + 0xb0], 0x5e15bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x18]
push eax
mov cx, 8
mov dl, 1
mov eax, dword [0x5db3d4]
call fcn.005dc294
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.005e10b0
mov edx, eax
pop eax
call fcn.005e3a90
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x24]
mov edx, dword [edx + 0x28]
mov edx, dword [edx + 4]
mov cl, 1
mov ebx, dword [eax]
call dword [ebx + 4]
call fcn.00407f3c
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + 0x18]
push eax
mov cx, 9
mov dl, 1
mov eax, dword [0x5db3d4]
call fcn.005dc294
lea edx, [ebp - 0x1c]
mov ecx, 8
call fcn.005dc360
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x24]
mov edx, dword [edx + 0x28]
mov edx, dword [edx + 4]
mov cl, 1
mov ebx, dword [eax]
call dword [ebx + 4]
call fcn.00407f3c
mov eax, dword [ebp - 4]
mov byte [eax + 0x18], 0x80
mov dl, 1
mov eax, dword [0x5debec]
call fcn.005e292c
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
push 4
call sub.user32.dll_GetSystemMetrics
cmp eax, 0x13
jg 0x5e0dfe
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 5
jmp 0x5e0e08
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 7
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
push eax
call sub.user32.dll_GetWindowDC
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
push 0x31
call sub.user32.dll_GetSystemMetrics
mov ebx, eax
push 0x20
call sub.user32.dll_GetSystemMetrics
add ebx, eax
add ebx, 3
add ebx, 0x14
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], ebx
push 0x21
call sub.user32.dll_GetSystemMetrics
mov ebx, eax
push 4
call sub.user32.dll_GetSystemMetrics
add ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], ebx
push 0xc8
lea eax, [ebp - 0x1c4]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
push eax
call sub.user32.dll_GetWindowTextW
lea eax, [ebp - 0x1c8]
lea edx, [ebp - 0x1c4]
mov ecx, 0xc8
call fcn.0040a814
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x5e0e98
mov eax, dword [ebp - 0x34]
mov eax, dword [eax - 4]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x1cc]
lea edx, [ebp - 0x1c4]
mov ecx, 0xc8
call fcn.0040a814
mov eax, dword [ebp - 0x1cc]
call fcn.0040a760
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
call sub.gdi32.dll_GetTextExtentPoint32W
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
sub eax, dword [ebp - 0x10]
sar eax, 1
jns 0x5e0ede
adc eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
push eax
call sub.user32.dll_ReleaseDC
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e0f34
lea eax, [ebp - 0x1cc]
mov edx, 2
call fcn.00409d40
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00409d40
lea eax, [ebp - 0x18]
call fcn.00409ce0
pop eax
jmp eax