Function at 0x4d9b80
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5aa7d2
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 0x4d9bca
mov ecx, dword [ecx + 0x294]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4d9efc
jmp 0x4d9c29
mov eax, dword [ecx + 0x294]
lea edx, [esp + 0x250]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x4d9efc
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.00402600
mov eax, dword [esp + 8]
cmp eax, ebp
jne 0x4d9c12
lea eax, [esp + 0xc]
lea edx, [esp + 0x44]
push eax
push edx
call fcn.0056ca09
add esp, 8
lea ecx, [esp + 8]
call fcn.00401070
cmp dword [0x663684], ebp
je 0x4d9e11
mov eax, dword [0x663520]
cmp eax, ebp
jne 0x4d9c43
mov eax, 0x663524
push eax
lea eax, [esp + 0x48]
push eax
call fcn.0056cea7
lea ecx, [esp + 0x4c]
add esp, 8
cmp eax, ecx
jne 0x4d9e11
mov eax, dword [0x663520]
cmp eax, ebp
jne 0x4d9c6b
mov eax, 0x663524
push edi
push eax
call fcn.0056ca2e
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.00402e10
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 0x4d9cba
lea edi, [esp + 0x28]
mov esi, dword [0x663530]
cmp esi, ebp
jne 0x4d9cc9
mov esi, 0x663534
mov edx, 0x639028
test edx, edx
je 0x4d9dd5
cmp esi, ebp
je 0x4d9dd5
cmp edi, ebp
je 0x4d9dd5
push edx
lea ecx, [esp + 0x40]
call fcn.004039e0
push esi
lea ecx, [esp + 0x34]
mov byte [esp + 0x360], 2
call fcn.004039b0
push edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x360], 3
call fcn.004039b0
lea ecx, [esp + 0xc]
mov byte [esp + 0x35c], 4
call fcn.00401070
mov esi, dword [esp + 0x44]
lea ecx, [esp + 0x18]
call fcn.00403a60
push eax
call fcn.0056ca2e
add esp, 4
lea ecx, [esp + 0x30]
mov edi, eax
call fcn.00403a60
push eax
call fcn.0056ca2e
add esi, edi
add eax, esi
lea eax, [eax + eax + 2]
push eax
call fcn.00584a5c
add esp, 8
cmp eax, ebp
mov dword [esp + 0xc], eax
je 0x4d9d9e
lea ecx, [esp + 0x18]
call fcn.00403a60
push eax
lea ecx, [esp + 0x34]
call fcn.00403a60
push eax
lea ecx, [esp + 0x44]
call fcn.00403a60
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.0056ca74
mov edx, dword [esp + 0x1c]
push edx
call fcn.0056ca2e
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 0x4d9dde
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.0056ca09
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 0x63c160
push ecx
call fcn.0056cea7
add esp, 8
test eax, eax
jne 0x4d9eeb
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.00430400
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, ebp
jne 0x4d9e5c
lea eax, [esp + 0x18]
push eax
call fcn.0056ca2e
mov ecx, dword [esp + 0x18]
add esp, 4
cmp ecx, ebp
mov edx, ecx
jne 0x4d9e73
lea edx, [esp + 0x18]
cmp word [edx + eax*2 - 2], 0x5c
mov eax, 0x639030
jne 0x4d9e85
mov eax, 0x66318c
cmp ecx, ebp
jne 0x4d9e8d
lea ecx, [esp + 0x18]
mov esi, dword [esp + 0x360]
lea edx, [esp + 0x44]
push edx
push eax
push ecx
push 0x6399cc
mov ecx, esi
call fcn.0042c7b0
mov eax, dword [esi]
cmp eax, ebp
jne 0x4d9eb0
lea eax, [esi + 4]
push 0x63c158
push eax
call fcn.0056cea7
add esp, 8
test eax, eax
je 0x4d9ed5
push 0x639030
push 0x63c158
mov ecx, esi
call fcn.0042c990
jmp 0x4d9ea7
lea ecx, [esp + 0x14]
mov dword [esp + 0x358], 0xffffffff
call fcn.00401070
jmp 0x4d9efc
mov ecx, dword [esp + 0x360]
lea eax, [esp + 0x44]
push eax
call fcn.00402e10
mov ecx, dword [esp + 0x350]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x354
ret 4