Function at 0x404710
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x642261
mov eax, dword fs:[0]
push eax
mov eax, 0xf130
call fcn.006222c0
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0xf12c], eax
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0xf140]
mov dword fs:[0], eax
mov ebp, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], ebp
call fcn.004024f0
mov dword [esp + 0xf148], 0
lea eax, [esp + 0x10]
push eax
lea ecx, [ebp + 0x11c]
call fcn.005fae1b
cmp dword [ebp + 0x188], 0
je 0x4048b4
mov edx, dword [ebp + 0x184]
push 0x27ff
lea ecx, [esp + 0x7940]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x4048c3
push 0x2800
lea eax, [esp + 0xc940]
push 0
push eax
call fcn.00621270
push 0x2800
lea ecx, [esp + 0xc94c]
push ecx
lea edx, [esp + 0x7950]
push edx
call fcn.00407390
lea eax, [esp + 0xc954]
push eax
lea esi, [ebp + 0x180]
push 0x678ea8
push esi
call fcn.00402f60
add esp, 0x24
lea ecx, [esp + 0x14]
call fcn.004024f0
mov byte [esp + 0xf148], 1
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xc93c]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x678de0
push eax
call fcn.00402f60
mov ecx, dword [esp + 0x24]
push 0x27ff
push ecx
lea edx, [esp + 0xc954]
push edx
call fcn.006223f0
add esp, 0x1c
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf13b], 0
call fcn.0054c120
mov byte [esp + 0xf148], 2
push 0
push 0x2800
lea eax, [esp + 0xc944]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x7942], 1
mov byte [esp + 0x7943], 1
call fcn.0054e670
test eax, eax
je 0x404890
mov ecx, dword [esp + 0x30]
push ecx
push 0x678ea8
push esi
call fcn.00402f60
add esp, 0xc
mov byte [esp + 0xf148], 1
lea ecx, [esp + 0x1c]
call fcn.0054c160
mov byte [esp + 0xf148], 0
lea ecx, [esp + 0x14]
call fcn.00402560
jmp 0x4048c3
lea edx, [ebp + 0x180]
push edx
lea ecx, [ebp + 0x74]
call fcn.005fae1b
mov eax, dword [ebp + 0x180]
lea edi, [ebp + 0x180]
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4048d4
sub ecx, esi
cmp ecx, 1
jb 0x4049bd
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4048f0
sub eax, edx
lea esi, [eax - 1]
mov eax, edi
test esi, esi
jl 0x404963
jmp 0x404908
mov ebp, dword [esp + 0x18]
mov eax, dword [eax]
cmp esi, dword [eax - 0xc]
jg 0x404963
cmp byte [eax + esi], 0x2f
jne 0x40496d
test esi, esi
jl 0x404963
mov eax, dword [edi]
mov ebp, dword [eax - 0xc]
cmp esi, ebp
jge 0x404963
cmp dword [eax - 4], 1
jle 0x404932
mov eax, ebp
push eax
mov ecx, edi
call fcn.00401710
mov ecx, dword [edi]
mov byte [esi + ecx], 0
test ebp, ebp
jl 0x404963
mov eax, dword [edi]
cmp ebp, dword [eax - 8]
jg 0x404963
mov dword [eax - 0xc], ebp
mov edx, dword [edi]
mov byte [edx + ebp], 0
mov eax, dword [edi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404951
sub eax, edx
lea esi, [eax - 1]
mov eax, edi
test esi, esi
jge 0x404904
push 0x80070057
call fcn.00401090
mov edi, dword [edi]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x404972
sub edi, ecx
cmp edi, 1
jb 0x4049bd
mov eax, dword [esp + 0x10]
push eax
call fcn.00403e40
add esp, 4
lea ecx, [esp + 0x10]
push ecx
lea ecx, [ebp + 0xc8]
mov dword [ebp + 0x170], eax
call fcn.005fae1b
mov edx, dword [esp + 0x10]
push edx
call fcn.006223c1
add esp, 4
mov ecx, ebp
mov dword [ebp + 0x174], eax
call fcn.005f67d9
mov dword [esp + 0xf148], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00402560
mov ecx, dword [esp + 0xf140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xf12c]
xor ecx, esp
call fcn.00620b8d
add esp, 0xf13c
ret