Function at 0x4313e0
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 0x431458
mov ecx, dword [ebx + 0x428]
lea eax, [ebp - 0x24c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x43175d
lea edx, [ebp - 0x24c]
lea ecx, [ebp - 0x1c]
push edx
call fcn.00401fc0
jmp 0x431484
mov ecx, dword [ebx + 0x428]
lea eax, [ebp - 0x148]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x43175d
lea edx, [ebp - 0x148]
push edi
push edx
lea ecx, [ebp - 0x1c]
call fcn.004028e0
cmp dword [0x67a054], edi
je 0x4315f3
mov eax, dword [0x679ec0]
cmp eax, edi
jne 0x43149e
mov eax, 0x679ec4
mov esi, dword [ebp - 0x1c]
cmp esi, edi
je 0x4314a9
mov ecx, esi
jmp 0x4314af
lea ecx, [ebp - 0x18]
lea esi, [ebp - 0x18]
push eax
push ecx
call fcn.0057f137
add esp, 8
cmp eax, esi
jne 0x4315f3
mov esi, dword [ebp - 0x1c]
cmp esi, edi
jne 0x4314cb
lea esi, [ebp - 0x18]
mov eax, dword [0x679ec0]
cmp eax, edi
jne 0x4314d9
mov eax, 0x679ec4
push eax
call fcn.0057e90a
lea edi, [esi + eax*2]
mov eax, dword [0x679ed0]
add esp, 4
mov esi, eax
test eax, eax
jne 0x4314f5
mov esi, 0x679ed4
mov eax, 0x64f030
test eax, eax
je 0x4315f1
test esi, esi
je 0x4315f1
test edi, edi
je 0x4315f1
push eax
lea ecx, [ebp - 0x38]
call fcn.00401f30
push esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00403bb0
mov ebx, 3
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00403bb0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00401070
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
call fcn.00401fb0
push eax
call fcn.0057e90a
add esp, 4
lea ecx, [ebp - 0x44]
mov edi, eax
call fcn.00401fb0
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 0x4315cb
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.00401fb0
push eax
lea ecx, [ebp - 0x44]
call fcn.00401fb0
push eax
lea ecx, [ebp - 0x38]
call fcn.00401fb0
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 0x4315fd
lea eax, [ebp - 0x18]
push 0x6506c8
push eax
call fcn.0057f137
add esp, 8
test eax, eax
jne 0x4316cc
mov esi, dword [ebp - 0x1c]
cmp esi, edi
je 0x43161e
mov eax, esi
jmp 0x431624
lea eax, [ebp - 0x18]
lea esi, [ebp - 0x18]
push 0x65255c
push eax
call fcn.0057f137
add esp, 8
cmp eax, esi
je 0x4316cc
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.00435ba0
mov eax, dword [ebp - 0x2c]
add esp, 4
cmp eax, edi
jne 0x43165e
lea eax, [ebp - 0x28]
push eax
call fcn.0057e90a
mov esi, dword [ebp - 0x2c]
add esp, 4
cmp esi, edi
mov ecx, esi
jne 0x431673
lea ecx, [ebp - 0x28]
cmp word [ecx + eax*2 - 2], 0x5c
mov edx, 0x64f038
jne 0x431685
mov edx, 0x679a2c
mov ecx, dword [ebp - 0x1c]
cmp ecx, edi
jne 0x43168f
lea ecx, [ebp - 0x18]
cmp esi, edi
mov eax, esi
jne 0x431698
lea eax, [ebp - 0x28]
push ecx
lea esi, [ebx + 0x90]
push edx
push eax
push 0x64f9d4
mov ecx, esi
call fcn.00431780
push 0x64f038
push 0x65255c
mov ecx, esi
call fcn.00431980
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00401070
jmp 0x4316e2
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jne 0x4316d6
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebx + 0x90]
call fcn.00401fc0
mov eax, dword [ebx + 0x70]
mov cl, byte [eax + 0x2d5]
test cl, cl
jne 0x431741
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jne 0x4316f9
lea eax, [ebp - 0x18]
push 0x2e
push eax
call fcn.0057e85a
mov ecx, dword [0x6754d4]
add esp, 8
mov dword [ebp - 0x20], ecx
cmp eax, edi
mov byte [ebp - 4], 6
je 0x43171e
push eax
lea ecx, [ebp - 0x20]
call fcn.0059aeed
mov eax, dword [ebp - 0x1c]
cmp eax, edi
jne 0x431728
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x20]
push edi
push eax
push edx
mov ecx, ebx
call fcn.004310c0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0059ad3d
mov al, byte [ebx + 0x425]
test al, al
jne 0x43175d
push edi
mov ecx, ebx
call fcn.0042fc00
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