Function at 0x537ebc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x537ec4
push ebx
push esi
push edi
mov eax, 0x5379bc
call fcn.0040695c
xor eax, eax
push ebp
push 0x538277
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x538252
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00402ce8
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004098f8
lea eax, [ebp - 0x14]
mov edx, 0x538290
call fcn.0040479c
mov eax, dword [ebp - 0x14]
call fcn.00409690
test al, al
je 0x53815f
push 0x53829c
push 0
push 0
call fcn.00406c00
mov edx, dword [0x53bd58]
mov dword [edx], eax
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
jne 0x53815f
lea edx, [ebp - 0x20]
xor eax, eax
call fcn.00402ce8
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.004098f8
lea eax, [ebp - 0x1c]
mov edx, 0x538290
call fcn.0040479c
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x43ba90]
call fcn.0043bb40
mov dword [0x53e65c], eax
xor eax, eax
push ebp
push 0x538158
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5382c0
lea eax, [ebp - 0x24]
push eax
mov ecx, 0x5382cc
mov edx, 0x5382dc
mov eax, dword [0x53e65c]
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x24]
mov eax, 0x53e664
call fcn.00404528
lea edx, [ebp - 0x28]
mov eax, dword [0x53e664]
call fcn.00408d68
mov eax, dword [ebp - 0x28]
mov edx, 0x5382c0
call fcn.004048e0
jne 0x538140
push 0
push 0x5382e4
call sub.user32.dll_FindWindowA
mov dword [0x53e660], eax
cmp dword [0x53e660], 0
je 0x538140
push 0
push 0
push 0x402
mov eax, dword [0x53e660]
push eax
call sub.user32.dll_SendMessageA
cmp eax, 0x15b43
jne 0x538140
xor eax, eax
push ebp
push 0x538139
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x53c47c]
mov byte [eax], 1
xor eax, eax
push ebp
push 0x538115
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0xd
mov dword [0x53e66c], ebx
mov eax, ebx
call fcn.00402814
mov esi, eax
mov dword [0x53e670], esi
mov edx, 0x5382e4
mov eax, esi
call fcn.00409bec
push 0x53e668
mov eax, dword [0x53c33c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
push 0x4a
mov eax, dword [0x53e660]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [0x53e670]
call fcn.00402834
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53811f
call fcn.00402c88
mov esi, eax
test esi, esi
jle 0x538114
mov ebx, 1
lea edx, [ebp - 0x2c]
mov eax, ebx
call fcn.00402ce8
mov eax, dword [ebp - 0x2c]
call fcn.00404794
mov edi, eax
inc edi
mov dword [0x53e66c], edi
mov eax, edi
call fcn.00402814
mov dword [0x53e670], eax
lea edx, [ebp - 0x30]
mov eax, ebx
call fcn.00402ce8
mov eax, dword [ebp - 0x30]
call fcn.00404994
mov edx, eax
mov eax, dword [0x53e670]
call fcn.00409bec
push 0x53e668
mov eax, dword [0x53c33c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
push 0x4a
mov eax, dword [0x53e660]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [0x53e670]
call fcn.00402834
inc ebx
dec esi
jne 0x5380a4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53815f
mov eax, dword [0x53e65c]
call fcn.0040363c
ret
mov eax, dword [0x53c33c]
mov eax, dword [eax]
call fcn.0048b718
mov eax, dword [0x53c33c]
mov eax, dword [eax]
mov edx, 0x5382fc
call fcn.0048b310
mov ecx, dword [0x53be4c]
mov eax, dword [0x53c33c]
mov eax, dword [eax]
mov edx, dword [0x519430]
call fcn.0048b730
mov ecx, dword [0x53c470]
mov eax, dword [0x53c33c]
mov eax, dword [eax]
mov edx, dword [0x4f6f4c]
call fcn.0048b730
mov ecx, dword [0x53c414]
mov eax, dword [0x53c33c]
mov eax, dword [eax]
mov edx, dword [0x4d9788]
call fcn.0048b730
mov ecx, dword [0x53c4f8]
mov eax, dword [0x53c33c]
mov eax, dword [eax]
mov edx, dword [0x4cca28]
call fcn.0048b730
mov ecx, dword [0x53c70c]
mov eax, dword [0x53c33c]
mov eax, dword [eax]
mov edx, dword [0x4c3e00]
call fcn.0048b730
mov ecx, dword [0x53c76c]
mov eax, dword [0x53c33c]
mov eax, dword [eax]
mov edx, dword [0x4dcbc4]
call fcn.0048b730
mov ecx, dword [0x53c3a8]
mov eax, dword [0x53c33c]
mov eax, dword [eax]
mov edx, dword [0x518f40]
call fcn.0048b730
mov ecx, dword [0x53c370]
mov eax, dword [0x53c33c]
mov eax, dword [eax]
mov edx, dword [0x4f578c]
call fcn.0048b730
mov eax, dword [0x53c33c]
mov eax, dword [eax]
call fcn.0048b7b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53825c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53827e
lea eax, [ebp - 0x30]
mov edx, 8
call fcn.004044f8
ret