Function at 0x4d0dd8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x56
push 0
push 0
dec ecx
jne 0x4d0de0
push ecx
push ebx
push esi
xor eax, eax
push ebp
push 0x4d1956
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x417d68]
call fcn.00403a74
mov ebx, eax
call fcn.004d0be4
test al, al
jne 0x4d0e18
call fcn.004d0b64
test al, al
je 0x4d0e24
mov eax, dword [0x4e77ec]
mov eax, dword [eax]
call fcn.0046ccac
push 0
mov eax, dword [0x4e79e4]
mov eax, dword [eax]
call fcn.00453a2c
push eax
call sub.user32.dll_GetWindow
mov esi, eax
test esi, esi
je 0x4d0e85
push 0xff
lea eax, [ebp - 0xff]
push eax
push esi
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x4d0e77
lea eax, [ebp - 0x104]
lea edx, [ebp - 0xff]
mov ecx, 0xff
call fcn.00404ae8
mov edx, dword [ebp - 0x104]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 2
push esi
call sub.user32.dll_GetWindow
mov esi, eax
test esi, esi
jne 0x4d0e3e
lea edx, [ebp - 0x10c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.00408bc8
mov eax, dword [ebp - 0x108]
push eax
lea edx, [ebp - 0x110]
mov eax, 0x4d196c
call fcn.00408bc8
mov eax, dword [ebp - 0x110]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x118]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x118]
lea edx, [ebp - 0x114]
call fcn.00408bc8
mov eax, dword [ebp - 0x114]
push eax
lea edx, [ebp - 0x11c]
mov eax, 0x4d197c
call fcn.00408bc8
mov eax, dword [ebp - 0x11c]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x124]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x124]
lea edx, [ebp - 0x120]
call fcn.00408bc8
mov eax, dword [ebp - 0x120]
push eax
lea edx, [ebp - 0x128]
mov eax, 0x4d198c
call fcn.00408bc8
mov eax, dword [ebp - 0x128]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x130]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x130]
lea edx, [ebp - 0x12c]
call fcn.00408bc8
mov eax, dword [ebp - 0x12c]
push eax
lea edx, [ebp - 0x134]
mov eax, 0x4d199c
call fcn.00408bc8
mov eax, dword [ebp - 0x134]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x13c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x138]
call fcn.00408bc8
mov eax, dword [ebp - 0x138]
push eax
lea edx, [ebp - 0x140]
mov eax, 0x4d19ac
call fcn.00408bc8
mov eax, dword [ebp - 0x140]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x148]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x148]
lea edx, [ebp - 0x144]
call fcn.00408bc8
mov eax, dword [ebp - 0x144]
push eax
lea edx, [ebp - 0x14c]
mov eax, 0x4d19c0
call fcn.00408bc8
mov eax, dword [ebp - 0x14c]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x154]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x150]
call fcn.00408bc8
mov eax, dword [ebp - 0x150]
push eax
lea edx, [ebp - 0x158]
mov eax, 0x4d19d0
call fcn.00408bc8
mov eax, dword [ebp - 0x158]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x160]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x160]
lea edx, [ebp - 0x15c]
call fcn.00408bc8
mov eax, dword [ebp - 0x15c]
push eax
lea edx, [ebp - 0x164]
mov eax, 0x4d19e0
call fcn.00408bc8
mov eax, dword [ebp - 0x164]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x16c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x16c]
lea edx, [ebp - 0x168]
call fcn.00408bc8
mov eax, dword [ebp - 0x168]
push eax
lea edx, [ebp - 0x170]
mov eax, 0x4d19f8
call fcn.00408bc8
mov eax, dword [ebp - 0x170]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x178]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x178]
lea edx, [ebp - 0x174]
call fcn.00408bc8
mov eax, dword [ebp - 0x174]
push eax
lea edx, [ebp - 0x17c]
mov eax, 0x4d1a08
call fcn.00408bc8
mov eax, dword [ebp - 0x17c]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x184]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0x180]
call fcn.00408bc8
mov eax, dword [ebp - 0x180]
push eax
lea edx, [ebp - 0x188]
mov eax, 0x4d1a14
call fcn.00408bc8
mov eax, dword [ebp - 0x188]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x190]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x190]
lea edx, [ebp - 0x18c]
call fcn.00408bc8
mov eax, dword [ebp - 0x18c]
push eax
lea edx, [ebp - 0x194]
mov eax, 0x4d1a28
call fcn.00408bc8
mov eax, dword [ebp - 0x194]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x19c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x19c]
lea edx, [ebp - 0x198]
call fcn.00408bc8
mov eax, dword [ebp - 0x198]
push eax
lea edx, [ebp - 0x1a0]
mov eax, 0x4d1a3c
call fcn.00408bc8
mov eax, dword [ebp - 0x1a0]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x1a8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x1a8]
lea edx, [ebp - 0x1a4]
call fcn.00408bc8
mov eax, dword [ebp - 0x1a4]
push eax
lea edx, [ebp - 0x1ac]
mov eax, 0x4d1a50
call fcn.00408bc8
mov eax, dword [ebp - 0x1ac]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x1b4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x1b4]
lea edx, [ebp - 0x1b0]
call fcn.00408bc8
mov eax, dword [ebp - 0x1b0]
push eax
lea edx, [ebp - 0x1b8]
mov eax, 0x4d1a60
call fcn.00408bc8
mov eax, dword [ebp - 0x1b8]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x1c0]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x1c0]
lea edx, [ebp - 0x1bc]
call fcn.00408bc8
mov eax, dword [ebp - 0x1bc]
push eax
lea edx, [ebp - 0x1c4]
mov eax, 0x4d1a70
call fcn.00408bc8
mov eax, dword [ebp - 0x1c4]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x1cc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x1cc]
lea edx, [ebp - 0x1c8]
call fcn.00408bc8
mov eax, dword [ebp - 0x1c8]
push eax
lea edx, [ebp - 0x1d0]
mov eax, 0x4d1a84
call fcn.00408bc8
mov eax, dword [ebp - 0x1d0]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x1d8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x1d8]
lea edx, [ebp - 0x1d4]
call fcn.00408bc8
mov eax, dword [ebp - 0x1d4]
push eax
lea edx, [ebp - 0x1dc]
mov eax, 0x4d1a98
call fcn.00408bc8
mov eax, dword [ebp - 0x1dc]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x1e4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x1e4]
lea edx, [ebp - 0x1e0]
call fcn.00408bc8
mov eax, dword [ebp - 0x1e0]
push eax
lea edx, [ebp - 0x1e8]
mov eax, 0x4d1aac
call fcn.00408bc8
mov eax, dword [ebp - 0x1e8]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x1f0]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x1f0]
lea edx, [ebp - 0x1ec]
call fcn.00408bc8
mov eax, dword [ebp - 0x1ec]
push eax
lea edx, [ebp - 0x1f4]
mov eax, 0x4d1ac0
call fcn.00408bc8
mov eax, dword [ebp - 0x1f4]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x1fc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x1fc]
lea edx, [ebp - 0x1f8]
call fcn.00408bc8
mov eax, dword [ebp - 0x1f8]
push eax
lea edx, [ebp - 0x200]
mov eax, 0x4d1ad0
call fcn.00408bc8
mov eax, dword [ebp - 0x200]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x208]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x208]
lea edx, [ebp - 0x204]
call fcn.00408bc8
mov eax, dword [ebp - 0x204]
push eax
lea edx, [ebp - 0x20c]
mov eax, 0x4d1aec
call fcn.00408bc8
mov eax, dword [ebp - 0x20c]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x214]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x210]
call fcn.00408bc8
mov eax, dword [ebp - 0x210]
push eax
lea edx, [ebp - 0x218]
mov eax, 0x4d1afc
call fcn.00408bc8
mov eax, dword [ebp - 0x218]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x220]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x21c]
call fcn.00408bc8
mov eax, dword [ebp - 0x21c]
push eax
lea edx, [ebp - 0x224]
mov eax, 0x4d1b10
call fcn.00408bc8
mov eax, dword [ebp - 0x224]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x22c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.00408bc8
mov eax, dword [ebp - 0x228]
push eax
lea edx, [ebp - 0x230]
mov eax, 0x4d1b24
call fcn.00408bc8
mov eax, dword [ebp - 0x230]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x238]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x238]
lea edx, [ebp - 0x234]
call fcn.00408bc8
mov eax, dword [ebp - 0x234]
push eax
lea edx, [ebp - 0x23c]
mov eax, 0x4d1b34
call fcn.00408bc8
mov eax, dword [ebp - 0x23c]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x244]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x244]
lea edx, [ebp - 0x240]
call fcn.00408bc8
mov eax, dword [ebp - 0x240]
push eax
lea edx, [ebp - 0x248]
mov eax, 0x4d1b48
call fcn.00408bc8
mov eax, dword [ebp - 0x248]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x250]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x250]
lea edx, [ebp - 0x24c]
call fcn.00408bc8
mov eax, dword [ebp - 0x24c]
push eax
lea edx, [ebp - 0x254]
mov eax, 0x4d1b58
call fcn.00408bc8
mov eax, dword [ebp - 0x254]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x25c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x25c]
lea edx, [ebp - 0x258]
call fcn.00408bc8
mov eax, dword [ebp - 0x258]
push eax
lea edx, [ebp - 0x260]
mov eax, 0x4d1b68
call fcn.00408bc8
mov eax, dword [ebp - 0x260]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x268]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x268]
lea edx, [ebp - 0x264]
call fcn.00408bc8
mov eax, dword [ebp - 0x264]
push eax
lea edx, [ebp - 0x26c]
mov eax, 0x4d1b74
call fcn.00408bc8
mov eax, dword [ebp - 0x26c]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x274]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x274]
lea edx, [ebp - 0x270]
call fcn.00408bc8
mov eax, dword [ebp - 0x270]
push eax
lea edx, [ebp - 0x278]
mov eax, 0x4d1b84
call fcn.00408bc8
mov eax, dword [ebp - 0x278]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x280]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x280]
lea edx, [ebp - 0x27c]
call fcn.00408bc8
mov eax, dword [ebp - 0x27c]
push eax
lea edx, [ebp - 0x284]
mov eax, 0x4d1b98
call fcn.00408bc8
mov eax, dword [ebp - 0x284]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x28c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x28c]
lea edx, [ebp - 0x288]
call fcn.00408bc8
mov eax, dword [ebp - 0x288]
push eax
lea edx, [ebp - 0x290]
mov eax, 0x4d1bac
call fcn.00408bc8
mov eax, dword [ebp - 0x290]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x298]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x298]
lea edx, [ebp - 0x294]
call fcn.00408bc8
mov eax, dword [ebp - 0x294]
push eax
lea edx, [ebp - 0x29c]
mov eax, 0x4d1bc0
call fcn.00408bc8
mov eax, dword [ebp - 0x29c]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x2a4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x2a4]
lea edx, [ebp - 0x2a0]
call fcn.00408bc8
mov eax, dword [ebp - 0x2a0]
push eax
lea edx, [ebp - 0x2a8]
mov eax, 0x4d1bd0
call fcn.00408bc8
mov eax, dword [ebp - 0x2a8]
pop edx
call fcn.00404e7c
test eax, eax
jg 0x4d18c1
lea edx, [ebp - 0x2b0]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x2b0]
lea edx, [ebp - 0x2ac]
call fcn.00408bc8
mov eax, dword [ebp - 0x2ac]
push eax
lea edx, [ebp - 0x2b4]
mov eax, 0x4d1be0
call fcn.00408bc8
mov eax, dword [ebp - 0x2b4]
pop edx
call fcn.00404e7c
test eax, eax
jle 0x4d1906
mov dl, 1
mov eax, dword [0x417d68]
call fcn.00403a74
mov esi, eax
mov edx, 0x4d1bf0
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4d1c14
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, esi
call fcn.00403aa4
mov eax, dword [0x4e77ec]
mov eax, dword [eax]
call fcn.0046ccac
call fcn.004d0c3c
mov eax, ebx
call fcn.00403aa4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d195d
lea eax, [ebp - 0x2b4]
mov edx, 0x63
call fcn.0040489c
lea eax, [ebp - 0x120]
call fcn.00404878
lea eax, [ebp - 0x128]
mov edx, 2
call fcn.0040489c
lea eax, [ebp - 0x11c]
mov edx, 7
call fcn.0040489c
ret