Function at 0x4d8530
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a8b72
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 0x29c]
sub esp, 0x348
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push 0x104
je 0x4d857a
mov ecx, dword [ecx + 0x294]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4d88ac
jmp 0x4d85d9
mov eax, dword [ecx + 0x294]
lea edx, [esp + 0x250]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4d88ac
lea ecx, [esp + 0x24c]
push ebp
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
mov word [esp + 0x14], bp
call fcn.00402610
mov eax, dword [esp + 8]
cmp eax, ebp
jne 0x4d85c2
lea eax, [esp + 0xc]
lea edx, [esp + 0x44]
push eax
push edx
call fcn.0056ae89
add esp, 8
lea ecx, [esp + 8]
call fcn.00401070
cmp dword [0x6614ec], ebp
je 0x4d87c1
mov eax, dword [0x661390]
cmp eax, ebp
jne 0x4d85f3
mov eax, 0x661394
push eax
lea eax, [esp + 0x48]
push eax
call fcn.0056b327
lea ecx, [esp + 0x4c]
add esp, 8
cmp eax, ecx
jne 0x4d87c1
mov eax, dword [0x661390]
cmp eax, ebp
jne 0x4d861b
mov eax, 0x661394
push edi
push eax
call fcn.0056aeae
add esp, 4
lea eax, [esp + eax*2 + 0x48]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebp
push eax
mov dword [esp + 0x30], ebp
mov word [esp + 0x2c], bp
call fcn.00402e20
xor eax, eax
mov dword [esp + 0x35c], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ebp
mov word [esp + 0x10], bp
mov edi, dword [esp + 0x24]
mov byte [esp + 0x35c], 1
cmp edi, ebp
jne 0x4d866a
lea edi, [esp + 0x28]
mov esi, dword [0x6613a0]
cmp esi, ebp
jne 0x4d8679
mov esi, 0x6613a4
mov edx, 0x637020
test edx, edx
je 0x4d8785
cmp esi, ebp
je 0x4d8785
cmp edi, ebp
je 0x4d8785
push edx
lea ecx, [esp + 0x40]
call fcn.004039f0
push esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x360], 2
call fcn.004039c0
push edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x360], 3
call fcn.004039c0
lea ecx, [esp + 0xc]
mov byte [esp + 0x35c], 4
call fcn.00401070
mov esi, dword [esp + 0x44]
lea ecx, [esp + 0x18]
call fcn.00403a70
push eax
call fcn.0056aeae
add esp, 4
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.00403a70
push eax
call fcn.0056aeae
add esi, edi
add eax, esi
lea eax, [eax + eax + 2]
push eax
call fcn.00582ecc
add esp, 8
cmp eax, ebp
mov dword [esp + 0xc], eax
je 0x4d874e
lea ecx, [esp + 0x18]
call fcn.00403a70
push eax
lea ecx, [esp + 0x34]
call fcn.00403a70
push eax
lea ecx, [esp + 0x44]
call fcn.00403a70
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.0056aef4
mov edx, dword [esp + 0x1c]
push edx
call fcn.0056aeae
add esp, 0x14
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x35c], 3
call fcn.00401070
lea ecx, [esp + 0x30]
mov byte [esp + 0x35c], 2
call fcn.00401070
lea ecx, [esp + 0x3c]
mov byte [esp + 0x35c], 1
call fcn.00401070
mov eax, dword [esp + 0xc]
cmp eax, ebp
pop edi
jne 0x4d878e
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.0056ae89
add esp, 8
lea ecx, [esp + 8]
mov byte [esp + 0x358], 0
call fcn.00401070
lea ecx, [esp + 0x20]
mov dword [esp + 0x358], 0xffffffff
call fcn.00401070
lea ecx, [esp + 0x44]
push 0x63a128
push ecx
call fcn.0056b327
add esp, 8
test eax, eax
jne 0x4d889b
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebp
mov word [esp + 0x18], bp
lea edx, [esp + 0x14]
mov dword [esp + 0x358], 5
push edx
call fcn.004302c0
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, ebp
jne 0x4d880c
lea eax, [esp + 0x18]
push eax
call fcn.0056aeae
mov ecx, dword [esp + 0x18]
add esp, 4
cmp ecx, ebp
mov edx, ecx
jne 0x4d8823
lea edx, [esp + 0x18]
cmp word [edx + eax*2 - 2], 0x5c
mov eax, 0x637028
jne 0x4d8835
mov eax, 0x660ffc
cmp ecx, ebp
jne 0x4d883d
lea ecx, [esp + 0x18]
mov esi, dword [esp + 0x360]
lea edx, [esp + 0x44]
push edx
push eax
push ecx
push 0x6379c4
mov ecx, esi
call fcn.0042c670
mov eax, dword [esi]
cmp eax, ebp
jne 0x4d8860
lea eax, [esi + 4]
push 0x63a120
push eax
call fcn.0056b327
add esp, 8
test eax, eax
je 0x4d8885
push 0x637028
push 0x63a120
mov ecx, esi
call fcn.0042c850
jmp 0x4d8857
lea ecx, [esp + 0x14]
mov dword [esp + 0x358], 0xffffffff
call fcn.00401070
jmp 0x4d88ac
mov ecx, dword [esp + 0x360]
lea eax, [esp + 0x44]
push eax
call fcn.00402e20
mov ecx, dword [esp + 0x350]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x354
ret 4