Function at 0x440213
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb50
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
lea esi, [ebp - 0x20c]
cmp dword [ebx + 0x28], 0
je 0x44024a
push 0x9f
lea eax, [ebp - 0x3ec]
push eax
mov eax, dword [ebx + 0x100]
push dword [eax + 0x10]
call sub.USER32.dll_GetWindowTextA
jmp 0x440264
push 0x9f
lea eax, [ebp - 0x3ec]
push eax
mov eax, dword [ebx + 0x104]
push dword [eax + 0x10]
call sub.USER32.dll_GetWindowTextA
lea eax, [ebp - 0x3ec]
push eax
call fcn.004401ab
pop ecx
lea eax, [ebp - 0x3ec]
push eax
call fcn.00424390
pop ecx
test eax, eax
jne 0x440289
xor eax, eax
jmp 0x4407a0
cmp dword [ebx + 0x1c], 0
jne 0x440296
xor eax, eax
jmp 0x4407a0
cmp dword [ebx + 0x28], 0
je 0x44030c
push 0x465851
lea eax, [ebp - 0x3ec]
push eax
call fcn.0042449c
add esp, 8
test eax, eax
jne 0x4402e0
push 0x46585b
lea eax, [ebp - 0x3ec]
push eax
call fcn.00424360
add esp, 8
push dword [ebx + 0x104]
mov eax, dword [ebx + 0x104]
mov eax, dword [eax + 8]
call dword [eax + 0x8c]
pop ecx
jmp 0x44030c
push 0x465865
lea eax, [ebp - 0x3ec]
push eax
call fcn.0042449c
add esp, 8
test eax, eax
jne 0x44030c
push 0x465869
lea eax, [ebp - 0x3ec]
push eax
call fcn.00424360
add esp, 8
push dword [ebx + 0x24]
mov eax, dword [ebx + 0x24]
mov eax, dword [eax + 8]
call dword [eax + 0x8c]
pop ecx
mov dword [ebp - 4], eax
xor edi, edi
cmp edi, dword [ebp - 4]
jge 0x440360
push edi
lea eax, [ebp - 0x48c]
push eax
push dword [ebx + 0x24]
mov eax, dword [ebx + 0x24]
mov eax, dword [eax + 8]
call dword [eax + 0x98]
add esp, 0xc
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x48c]
push eax
call fcn.0042449c
add esp, 8
test eax, eax
je 0x440360
inc edi
cmp edi, dword [ebp - 4]
jl 0x440326
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 4]
jge 0x440371
mov dword [ebp - 8], 1
lea eax, [ebp - 0x3ec]
push eax
cmp dword [ebx + 0x28], 0
je 0x440385
mov eax, 0x465872
jmp 0x44038a
mov eax, 0x465878
push eax
push 0x46586d
lea eax, [ebp - 0x2ac]
push eax
call fcn.004279e0
add esp, 0x10
push dword [ebx + 0x20]
push 0
push 0
lea eax, [ebp - 0x2ac]
push eax
call sub.KERNEL32.dll_WritePrivateProfileStringA
cmp dword [ebx + 0x28], 0
je 0x4403f3
push 0x9f
push esi
mov eax, dword [ebx + 0x104]
push dword [eax + 0x10]
call sub.USER32.dll_GetWindowTextA
push esi
call fcn.004401ab
pop ecx
push esi
call fcn.00424390
pop ecx
test eax, eax
jbe 0x4403f3
push dword [ebx + 0x20]
push esi
push 0x46587f
lea eax, [ebp - 0x2ac]
push eax
call sub.KERNEL32.dll_WritePrivateProfileStringA
cmp dword [ebx + 0x28], 0
je 0x440415
push 0x465885
lea eax, [ebp - 0x3ec]
push eax
call fcn.0042449c
add esp, 8
test eax, eax
je 0x4404db
push 0x9f
push esi
mov eax, dword [ebx + 0x108]
push dword [eax + 0x10]
call sub.USER32.dll_GetWindowTextA
push esi
call fcn.004401ab
pop ecx
push esi
push 0x46588f
call fcn.00424334
add esp, 8
test eax, eax
je 0x4404aa
push esi
call fcn.00424390
pop ecx
test eax, eax
jbe 0x4404aa
push 0
call fcn.0042d398
pop ecx
push eax
call fcn.00429c7c
pop ecx
call fcn.00429cac
mov ecx, 0x1a
cdq
idiv ecx
add dl, 0x61
mov byte [ebp - 0xb], dl
call fcn.00429cac
mov ecx, 0x1a
cdq
idiv ecx
add dl, 0x61
mov byte [ebp - 0xa], dl
mov byte [ebp - 9], 0
lea eax, [ebp - 0xb]
push eax
push esi
call fcn.0043a02d
add esp, 8
push dword [ebx + 0x20]
push eax
push 0x46589d
lea eax, [ebp - 0x2ac]
push eax
call sub.KERNEL32.dll_WritePrivateProfileStringA
jmp 0x4404db
lea eax, [ebx + 0x60]
push eax
call fcn.00424390
pop ecx
test eax, eax
jbe 0x4404db
push esi
call fcn.00424390
pop ecx
test eax, eax
jbe 0x4404db
push dword [ebx + 0x20]
lea eax, [ebx + 0x60]
push eax
push 0x4658a6
lea eax, [ebp - 0x2ac]
push eax
call sub.KERNEL32.dll_WritePrivateProfileStringA
push 0x1ff
push esi
mov eax, dword [ebx + 0x10c]
push dword [eax + 0x10]
call sub.USER32.dll_GetWindowTextA
push esi
call fcn.004401ab
pop ecx
push esi
call fcn.00424390
pop ecx
cmp eax, 3
jbe 0x44052e
push esi
call fcn.00424390
pop ecx
movsx eax, byte [esi + eax - 1]
cmp eax, 0x5c
jne 0x44052e
push esi
call fcn.00424390
pop ecx
mov byte [esi + eax - 1], 0
push esi
mov eax, dword [ebx + 0x10c]
push dword [eax + 0x10]
call sub.USER32.dll_SetWindowTextA
push esi
call fcn.00424390
pop ecx
test eax, eax
jbe 0x44054e
push dword [ebx + 0x20]
push esi
push 0x4658af
lea eax, [ebp - 0x2ac]
push eax
call sub.KERNEL32.dll_WritePrivateProfileStringA
push 0x1ff
push esi
mov eax, dword [ebx + 0x110]
push dword [eax + 0x10]
call sub.USER32.dll_GetWindowTextA
push esi
call fcn.004401ab
pop ecx
push esi
mov eax, dword [ebx + 0x110]
push dword [eax + 0x10]
call sub.USER32.dll_SetWindowTextA
push esi
call fcn.00424390
pop ecx
test eax, eax
jbe 0x440598
push dword [ebx + 0x20]
push esi
push 0x4658b7
lea eax, [ebp - 0x2ac]
push eax
call sub.KERNEL32.dll_WritePrivateProfileStringA
push 0
push 0
push 0xf0
push dword [ebx + 0x134]
call fcn.00415d04
add esp, 0x10
test eax, eax
je 0x4405ce
push dword [ebx + 0x20]
push 0x4658cb
push 0x4658c4
lea eax, [ebp - 0x2ac]
push eax
call sub.KERNEL32.dll_WritePrivateProfileStringA
jmp 0x4405e7
push dword [ebx + 0x20]
push 0x4658d6
push 0x4658cf
lea eax, [ebp - 0x2ac]
push eax
call sub.KERNEL32.dll_WritePrivateProfileStringA
mov edi, 1
jmp 0x440757
push edi
push 0x4658de
push 0x4658d9
lea eax, [ebp - 0x34c]
push eax
call fcn.004279e0
add esp, 0x10
lea eax, [edi - 1]
push eax
lea eax, [ebp - 0x4b0]
push eax
lea eax, [ebx + 0x2c]
push eax
call fcn.00441932
add esp, 0xc
push dword [ebp - 0x4b0]
push esi
call fcn.00424360
add esp, 8
push 0x4658e5
push esi
call fcn.004242d0
add esp, 8
cmp dword [ebp - 0x4ac], 0
je 0x44065f
push esi
call fcn.00424390
pop ecx
mov byte [esi + eax + 1], 0
push esi
call fcn.00424390
pop ecx
mov byte [esi + eax], 0x52
cmp dword [ebp - 0x4a8], 0
je 0x44067f
push esi
call fcn.00424390
pop ecx
mov byte [esi + eax + 1], 0
push esi
call fcn.00424390
pop ecx
mov byte [esi + eax], 0x57
cmp dword [ebp - 0x4a4], 0
je 0x44069f
push esi
call fcn.00424390
pop ecx
mov byte [esi + eax + 1], 0
push esi
call fcn.00424390
pop ecx
mov byte [esi + eax], 0x4d
cmp dword [ebp - 0x4a0], 0
je 0x4406bf
push esi
call fcn.00424390
pop ecx
mov byte [esi + eax + 1], 0
push esi
call fcn.00424390
pop ecx
mov byte [esi + eax], 0x43
cmp dword [ebp - 0x49c], 0
je 0x4406df
push esi
call fcn.00424390
pop ecx
mov byte [esi + eax + 1], 0
push esi
call fcn.00424390
pop ecx
mov byte [esi + eax], 0x44
cmp dword [ebp - 0x498], 0
je 0x4406ff
push esi
call fcn.00424390
pop ecx
mov byte [esi + eax + 1], 0
push esi
call fcn.00424390
pop ecx
mov byte [esi + eax], 0x4c
cmp dword [ebp - 0x494], 0
je 0x44071f
push esi
call fcn.00424390
pop ecx
mov byte [esi + eax + 1], 0
push esi
call fcn.00424390
pop ecx
mov byte [esi + eax], 0x45
cmp dword [ebp - 0x490], 0
je 0x44073f
push esi
call fcn.00424390
pop ecx
mov byte [esi + eax + 1], 0
push esi
call fcn.00424390
pop ecx
mov byte [esi + eax], 0x50
push dword [ebx + 0x20]
push esi
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x2ac]
push eax
call sub.KERNEL32.dll_WritePrivateProfileStringA
inc edi
cmp edi, dword [ebx + 0x58]
jbe 0x4405f1
cmp dword [ebp - 8], 0
jne 0x440794
lea eax, [ebp - 0x3ec]
push eax
push dword [ebx + 0x24]
mov eax, dword [ebx + 0x24]
mov eax, dword [eax + 8]
call dword [eax + 0xb4]
add esp, 8
mov edi, eax
push edi
push dword [ebx + 0x24]
mov eax, dword [ebx + 0x24]
mov eax, dword [eax + 8]
call dword [eax + 0xc4]
add esp, 8
push ebx
call fcn.0043e988
pop ecx
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret