Function at 0x454b80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x565e20
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5bf094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x48]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor edi, edi
inc eax
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
call fcn.00404000
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
mov ecx, dword [esi + 0x48]
sub eax, ebx
sar eax, 1
push eax
push ebx
push ecx
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor edx, edx
mov eax, ebx
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x454c00
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00403510
mov eax, dword [esi + 0x4c]
push edi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xf0
push eax
mov byte [ebp - 4], 1
call edi
mov edx, dword [esi + 0x50]
push 0
push 0
cmp eax, 1
push 0xf0
sete cl
push edx
mov byte [esi + 0x40], cl
call edi
mov ecx, dword [esi + 0x54]
push 0
push 0
cmp eax, 1
push 0xf0
sete al
push ecx
mov byte [esi + 0x41], al
call edi
push 0
push 0
cmp eax, 1
mov eax, dword [esi + 0x58]
push 0xf0
sete dl
push eax
mov byte [esi + 0x42], dl
call edi
mov edx, dword [esi + 0x60]
push 0
push 0
cmp eax, 1
push 0xf0
sete cl
push edx
mov byte [esi + 0x43], cl
call edi
mov ecx, dword [esi + 0x5c]
push 0
push 0
cmp eax, 1
push 0xf0
sete al
push ecx
mov byte [esi + 0x45], al
call edi
push 0
push 0
cmp eax, 1
mov eax, dword [esi + 0x64]
push 0xf0
sete dl
push eax
mov byte [esi + 0x46], dl
call edi
cmp eax, 1
sete cl
cmp dword [ebp - 0x1c], 0
mov byte [esi + 0x44], cl
mov edi, 8
jne 0x454d23
mov eax, dword [0x5bb458]
cmp dword [eax + 0x14], edi
jb 0x454ce0
mov eax, dword [eax]
mov edx, dword [esi + 4]
push 0x30
push eax
push 0x58a4f4
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [esi + 0x38], edi
lea eax, [esi + 0x24]
jb 0x454cfc
mov eax, dword [eax]
push eax
mov eax, dword [esi + 0x48]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [ebp - 0x18], edi
jb 0x454d18
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b8946
add esp, 4
xor edx, edx
mov word [ebp - 0x2c], dx
jmp 0x454da4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x454d2e
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsNetworkPathW]
test eax, eax
je 0x454d6e
mov eax, dword [0x5bb458]
cmp dword [eax + 0x14], edi
jb 0x454d45
mov eax, dword [eax]
push 0x30
push eax
mov eax, dword [esi + 4]
push 0x58a4a8
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp dword [esi + 0x38], edi
lea eax, [esi + 0x24]
jb 0x454d61
mov eax, dword [eax]
mov ecx, dword [esi + 0x48]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x454d8d
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x2c]
lea ecx, [esi + 0x24]
push edx
call fcn.00403410
movzx eax, word [ebp + 0xc]
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
cmp dword [ebp - 0x18], edi
jb 0x454d9e
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b8946
add esp, 4
xor eax, eax
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
test ebx, ebx
je 0x454dbf
push ebx
call fcn.004b8946
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b92b7
mov esp, ebp
pop ebp
ret 0x10