Function at 0x451bb4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd4c
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x2b4], eax
xor edx, edx
mov dword [ebp - 0x2b0], edx
mov dword [ebp - 4], esi
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffffd
cmp ecx, 0xb
ja case.0x451af0.6
jmp dword [ecx*4 + 0x451af7]
lea eax, [ebp - 4]
mov edi, esi
push eax
mov eax, edi
inc eax
push 0x4bf852
push eax
call fcn.004a0114
add esp, 0xc
dec eax
jne case.0x451af0.6
mov edx, dword [ebp - 4]
cmp edx, dword [ebx + 0x48]
jne case.0x451af0.6
push 0x29
push edi
call fcn.0049b079
add esp, 8
test eax, eax
je case.0x451af0.6
cmp dword [ebx + 0xc0], 0
je case.0x451af0.6
add eax, 2
push eax
mov edx, dword [ebx + 0xc0]
push dword [edx + 0x8e]
call fcn.0040d7e7
add esp, 8
jmp case.0x451af0.6
push dword [ebp - 4]
push 1
push ebx
call fcn.0045175e
add esp, 0xc
jmp case.0x451af0.6
push dword [ebp - 4]
push 0
push ebx
call fcn.0045175e
add esp, 0xc
jmp case.0x451af0.6
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebx + 0x48]
jne case.0x451af0.6
lea eax, [ebp - 0x2b4]
push eax
push 0xd
push 0x408
push dword [ebx + 0x40]
call sub.USER32.dll_SendMessageA
cmp dword [ebp - 0x2b0], 0
je 0x451c04
cmp dword [ebp - 0x2ac], 0
je 0x451c04
lea edx, [ebp - 0x2a8]
push edx
mov ecx, dword [ebx + 0xe8]
mov eax, dword [ecx]
push dword [eax + 0xc]
call sub.USER32.dll_SetWindowTextA
jmp case.0x451af0.6
push 0x4bf74c
mov edx, dword [ebx + 0xe8]
mov ecx, dword [edx]
push dword [ecx + 0xc]
call sub.USER32.dll_SetWindowTextA
jmp case.0x451af0.6
mov eax, dword [ebp - 4]
cmp eax, dword [ebx + 0x48]
jne case.0x451af0.6
lea edx, [ebp - 0x2b4]
push edx
push 0xc
push 0x408
push dword [ebx + 0x40]
call sub.USER32.dll_SendMessageA
cmp dword [ebp - 0x2b0], 0
je case.0x451af0.6
push dword [ebp - 0x298]
push dword [ebp - 0x29c]
push dword [ebp - 0x2a0]
push str._02d:_02d:_02d
lea ecx, [ebp - 0x54]
push ecx
call fcn.004a00a0
add esp, 0x14
lea eax, [ebp - 0x54]
push eax
mov edx, dword [ebx + 0xf0]
mov ecx, dword [edx]
push dword [ecx + 0xc]
call sub.USER32.dll_SetWindowTextA
push dword [ebp - 0x2a4]
push dword [ebp - 0x2a8]
push dword [ebp - 0x2ac]
push str._02d:_02d:_02d
lea eax, [ebp - 0x54]
push eax
call fcn.004a00a0
add esp, 0x14
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebx + 0xec]
mov eax, dword [ecx]
push dword [eax + 0xc]
call sub.USER32.dll_SetWindowTextA
mov edx, dword [ebp - 0x294]
mov eax, edx
add eax, dword [0x4bf3fc]
sar eax, 1
jns 0x451cd0
adc eax, 0
mov dword [0x4bf3fc], edx
test eax, eax
jl 0x451d05
push eax
push 0x4bf864
lea edx, [ebp - 0x54]
push edx
call fcn.004a00a0
add esp, 0xc
lea ecx, [ebp - 0x54]
push ecx
mov eax, dword [ebx + 0xfc]
mov edx, dword [eax]
push dword [edx + 0xc]
call sub.USER32.dll_SetWindowTextA
jmp case.0x451af0.6
push 0x4bf74c
mov ecx, dword [ebx + 0xfc]
mov eax, dword [ecx]
push dword [eax + 0xc]
call sub.USER32.dll_SetWindowTextA
jmp case.0x451af0.6
push dword [ebp - 4]
push 0
push ebx
call fcn.0045175e
add esp, 0xc
mov edx, dword [ebp - 4]
cmp edx, dword [ebx + 0x48]
jne case.0x451af0.6
lea ecx, [ebp - 0x2b4]
push ecx
push 0xe
push 0x408
push dword [ebx + 0x40]
call sub.USER32.dll_SendMessageA
cmp dword [ebp - 0x2b0], 0
je case.0x451af0.6
push dword [ebp - 0x2a8]
push 0x4bf868
lea eax, [ebp - 0x54]
push eax
call fcn.004a00a0
add esp, 0xc
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebx + 0xf4]
mov eax, dword [ecx]
push dword [eax + 0xc]
call sub.USER32.dll_SetWindowTextA
push dword [ebp - 0x2ac]
push 0x4bf868
lea edx, [ebp - 0x54]
push edx
call fcn.004a00a0
add esp, 0xc
lea ecx, [ebp - 0x54]
push ecx
mov eax, dword [ebx + 0xf8]
mov edx, dword [eax]
push dword [edx + 0xc]
call sub.USER32.dll_SetWindowTextA
lea ecx, [ebp - 0x2a4]
push ecx
mov eax, dword [ebx + 0x100]
mov edx, dword [eax]
push dword [edx + 0xc]
call sub.USER32.dll_SetWindowTextA
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret