Function at 0x4d3670
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x2828]
mov eax, 0x2828
call fcn.005f9ca0
push 0xffffffffffffffff
push 0x62c1c8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x70a308]
xor eax, ebp
mov dword [ebp + 0x2824], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x14], edi
xor eax, eax
mov word [ebp + 0x10], ax
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
push ecx
call fcn.0044a2c0
add esp, 4
cmp dword [0x70f608], edi
je 0x4d3706
mov eax, dword [0x70f784]
cmp eax, edi
mov ecx, eax
jne 0x4d36ee
mov ecx, 0x70f788
mov eax, dword [0x70f6ec]
cmp eax, edi
jne 0x4d36fc
mov eax, 0x70f6f0
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.0043a8a0
cmp dword [0x70f60c], edi
je 0x4d3736
mov eax, dword [0x70f79c]
cmp eax, edi
mov ecx, eax
jne 0x4d371e
mov ecx, 0x70f7a0
mov eax, dword [0x70f790]
cmp eax, edi
jne 0x4d372c
mov eax, 0x70f794
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.0043a8a0
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x20], edi
xor edx, edx
mov word [ebp + 0x1c], dx
mov byte [ebp - 4], 2
cmp dword [0x704d14], edi
je 0x4d387e
push 0x13ff
lea eax, [ebp + 0x24]
push eax
mov ecx, dword [esi + 0x16f4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4d37e6
push 0x663510
lea edx, [ebp + 0x24]
push edx
call fcn.005fa8fb
add esp, 8
lea ecx, [ebp + 0x18]
cmp eax, edi
je 0x4d3789
add eax, 6
jmp 0x4d378c
lea eax, [ebp + 0x24]
push eax
call fcn.004017d0
mov eax, dword [ebp + 0x18]
cmp eax, edi
jne 0x4d379c
lea eax, [ebp + 0x1c]
push 0x2f
push eax
call fcn.005fa163
add esp, 8
cmp eax, edi
je 0x4d37b0
xor ecx, ecx
mov word [eax], cx
mov esi, dword [ebp + 0x18]
cmp esi, edi
mov eax, esi
jne 0x4d37bc
lea eax, [ebp + 0x1c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4d37c0
sub eax, edx
sar eax, 1
cmp eax, 0x1e
jbe 0x4d37e3
cmp esi, edi
mov eax, esi
jne 0x4d37dd
lea eax, [ebp + 0x1c]
xor edx, edx
mov word [eax + 0x3c], dx
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
cmp eax, edi
jne 0x4d37f0
lea eax, [ebp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4d37f3
sub eax, edx
sar eax, 1
mov ecx, eax
mov dword [ebp], edi
mov dword [ebp + 8], edi
xor edx, edx
mov word [ebp + 4], dx
mov bl, 4
mov byte [ebp - 4], bl
mov eax, dword [ebp + 0xc]
cmp eax, edi
mov edx, eax
jne 0x4d3821
lea edx, [ebp + 0x10]
cmp word [edx + ecx*2 - 2], 0x5c
mov edx, 0x64f8c0
jne 0x4d3833
mov edx, 0x64fbb8
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
jne 0x4d383d
lea ecx, [ebp + 0x1c]
cmp eax, edi
jne 0x4d3844
lea eax, [ebp + 0x10]
push edi
push ecx
push edx
push eax
push str._s_s_s_
lea ecx, [ebp]
call fcn.00411bf0
mov eax, dword [ebp]
cmp dword [0x704d14], edi
je 0x4d3917
cmp eax, edi
jne 0x4d386b
lea eax, [ebp + 4]
push eax
mov eax, dword [esi + 0x5bc]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x4d394c
lea ecx, [ebp - 0x14]
call fcn.004024e0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x1758]
call fcn.005d5929
push 0x64f8d0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.005f9c10
add esp, 8
cmp eax, edi
je 0x4d38c3
add eax, 3
push eax
push 0x64edec
lea edx, [ebp - 0x14]
push edx
call fcn.00402f60
add esp, 0xc
push 0x2f
mov eax, dword [ebp - 0x14]
push eax
call fcn.005f9b50
add esp, 8
cmp eax, edi
je 0x4d38d8
mov byte [eax], 0
mov eax, dword [ebp - 0x14]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4d38e0
sub eax, edx
cmp eax, 0x1e
jbe 0x4d38f9
push edi
push 0x1d
lea ecx, [ebp - 0x14]
call fcn.00403f70
push edi
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp + 0x18]
call fcn.00401960
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00402550
jmp 0x4d37e6
cmp eax, edi
jne 0x4d391e
lea eax, [ebp + 4]
push edi
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00402a50
add esp, 0xc
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [esi + 0x5bc]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402550
mov byte [esi + 0x1a67], 0
mov byte [ebp - 4], 2
lea ecx, [ebp]
call fcn.004011f0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x18]
call fcn.004011f0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004011f0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2824]
xor ecx, ebp
call fcn.005f85e7
add ebp, 0x2828
mov esp, ebp
pop ebp
ret