Function at 0x4313d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5af880
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x240
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], edi
mov word [ebp - 0x18], di
mov eax, dword [ebx + 0x434]
mov byte [ebp - 4], 1
cmp eax, edi
push 0x104
je 0x431448
mov ecx, dword [ebx + 0x428]
lea eax, [ebp - 0x24c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x43174d
lea edx, [ebp - 0x24c]
lea ecx, [ebp - 0x1c]
push edx
call fcn.00401fb0
jmp 0x431474
mov ecx, dword [ebx + 0x428]
lea eax, [ebp - 0x148]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x43174d
lea edx, [ebp - 0x148]
push edi
push edx
lea ecx, [ebp - 0x1c]
call fcn.004028d0
cmp dword [0x67a044], edi
je 0x4315e3
mov eax, dword [0x679eb0]
cmp eax, edi
jne 0x43148e
mov eax, 0x679eb4
mov esi, dword [ebp - 0x1c]
cmp esi, edi
je 0x431499
mov ecx, esi
jmp 0x43149f
lea ecx, [ebp - 0x18]
lea esi, [ebp - 0x18]
push eax
push ecx
call fcn.0057f137
add esp, 8
cmp eax, esi
jne 0x4315e3
mov esi, dword [ebp - 0x1c]
cmp esi, edi
jne 0x4314bb
lea esi, [ebp - 0x18]
mov eax, dword [0x679eb0]
cmp eax, edi
jne 0x4314c9
mov eax, 0x679eb4
push eax
call fcn.0057e90a
lea edi, [esi + eax*2]
mov eax, dword [0x679ec0]
add esp, 4
mov esi, eax
test eax, eax
jne 0x4314e5
mov esi, 0x679ec4
mov eax, 0x64f028
test eax, eax
je 0x4315e1
test esi, esi
je 0x4315e1
test edi, edi
je 0x4315e1
push eax
lea ecx, [ebp - 0x38]
call fcn.00401f20
push esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00403ba0
mov ebx, 3
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00403ba0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00401070
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.00401fa0
push eax
call fcn.0057e90a
add esp, 4
lea ecx, [ebp - 0x44]
mov edi, eax
call fcn.00401fa0
push eax
call fcn.0057e90a
add esi, edi
lea esi, [eax + esi + 3]
lea edi, [esi + esi]
push edi
call fcn.005970d9
mov edx, eax
add esp, 8
test edx, edx
mov dword [ebp - 0x1c], edx
je 0x4315bb
mov ecx, edi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, ebx
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x2c]
call fcn.00401fa0
push eax
lea ecx, [ebp - 0x44]
call fcn.00401fa0
push eax
lea ecx, [ebp - 0x38]
call fcn.00401fa0
push eax
mov eax, dword [ebp - 0x1c]
push esi
push eax
call fcn.0057e89a
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0057e90a
add esp, 0x18
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00401070
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00401070
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00401070
mov ebx, dword [ebp - 0x20]
xor edi, edi
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jne 0x4315ed
lea eax, [ebp - 0x18]
push 0x6506c0
push eax
call fcn.0057f137
add esp, 8
test eax, eax
jne 0x4316bc
mov esi, dword [ebp - 0x1c]
cmp esi, edi
je 0x43160e
mov eax, esi
jmp 0x431614
lea eax, [ebp - 0x18]
lea esi, [ebp - 0x18]
push 0x652554
push eax
call fcn.0057f137
add esp, 8
cmp eax, esi
je 0x4316bc
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x24], edi
mov word [ebp - 0x28], di
lea edx, [ebp - 0x2c]
mov byte [ebp - 4], 5
push edx
call fcn.00435b90
mov eax, dword [ebp - 0x2c]
add esp, 4
cmp eax, edi
jne 0x43164e
lea eax, [ebp - 0x28]
push eax
call fcn.0057e90a
mov esi, dword [ebp - 0x2c]
add esp, 4
cmp esi, edi
mov ecx, esi
jne 0x431663
lea ecx, [ebp - 0x28]
cmp word [ecx + eax*2 - 2], 0x5c
mov edx, 0x64f030
jne 0x431675
mov edx, 0x679a1c
mov ecx, dword [ebp - 0x1c]
cmp ecx, edi
jne 0x43167f
lea ecx, [ebp - 0x18]
cmp esi, edi
mov eax, esi
jne 0x431688
lea eax, [ebp - 0x28]
push ecx
lea esi, [ebx + 0x90]
push edx
push eax
push 0x64f9cc
mov ecx, esi
call fcn.00431770
push 0x64f030
push 0x652554
mov ecx, esi
call fcn.00431970
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00401070
jmp 0x4316d2
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jne 0x4316c6
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebx + 0x90]
call fcn.00401fb0
mov eax, dword [ebx + 0x70]
mov cl, byte [eax + 0x2d5]
test cl, cl
jne 0x431731
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jne 0x4316e9
lea eax, [ebp - 0x18]
push 0x2e
push eax
call fcn.0057e85a
mov ecx, dword [0x6754cc]
add esp, 8
mov dword [ebp - 0x20], ecx
cmp eax, edi
mov byte [ebp - 4], 6
je 0x43170e
push eax
lea ecx, [ebp - 0x20]
call fcn.0059aeed
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jne 0x431718
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x20]
push edi
push eax
push edx
mov ecx, ebx
call fcn.004310b0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0059ad3d
mov al, byte [ebx + 0x425]
test al, al
jne 0x43174d
push edi
mov ecx, ebx
call fcn.0042fbf0
mov eax, dword [ebx + 0x70]
mov byte [eax + 0x179], 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.00401070
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret