Function at 0x41a440
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x455650
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [0x469ba8]
push ebx
push ebp
push esi
push edi
mov edi, ecx
test al, 1
mov dword [esp + 0x18], edi
jne 0x41a48d
mov dl, al
mov ecx, 0x469bc0
or dl, 1
mov byte [0x469ba8], dl
call fcn.00435810
push 0x404330
call fcn.0044055c
add esp, 4
push 0xd
mov ecx, 0x469bc0
call fcn.00435ae0
mov eax, dword [edi + 4]
push 0x3ee
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ebx, [edi + 0x6a4]
mov dword [esp + 0x20], eax
mov esi, 0x104
mov eax, dword [ebx]
mov ecx, dword [eax - 0xc]
lea ebp, [eax - 0xc]
cmp ecx, 1
jg 0x41a4c9
cmp dword [eax - 4], esi
jge 0x41a51c
mov edi, dword [eax - 8]
cmp edi, esi
mov dword [esp + 0x1c], edi
jle 0x41a4d6
mov esi, edi
push esi
mov ecx, ebx
call fcn.00404130
test eax, eax
jne 0x41a4e8
mov edi, dword [esp + 0x18]
jmp 0x41a51e
mov eax, dword [ebx]
lea ecx, [edi + edi + 2]
lea edx, [esi + esi + 2]
cmp edx, ecx
jb 0x41a50d
mov edi, eax
mov eax, ecx
lea esi, [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x1c]
mov ecx, dword [ebx]
push ebp
mov dword [ecx - 8], edi
call fcn.00404290
mov edi, dword [esp + 0x18]
mov eax, dword [ebx]
mov edx, dword [esp + 0x20]
push 0x104
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, ebx
call fcn.00407850
mov eax, dword [ebx]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
mov ecx, dword [ebx]
mov dword [ecx - 8], eax
mov edx, dword [ebx]
mov word [edx + eax*2], 0
mov ebx, dword [ebx]
mov eax, dword [ebx - 0xc]
test eax, eax
jl 0x41a567
mov dword [esp + 0x10], ebx
add ebx, 0xfffffff4
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x41a586
mov eax, dword [str.lF_F]
test ebx, ebx
mov dword [esp + 0x10], eax
jne 0x41a578
xor eax, eax
jmp 0x41a57b
push ebx
call esi
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.00404190
mov ecx, dword [str.lF_F]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x10]
mov byte [esp + 0x2c], 1
mov ebx, dword [esi - 8]
shl ebx, 1
shr ebx, 1
cmp ebx, 0x7fffffff
ja 0x41a5e7
mov eax, 0x468498
mov edx, 0x104
sub esi, eax
lea ecx, [ebx + edx - 0x104]
test ecx, ecx
je 0x41a5db
mov cx, word [esi + eax]
test cx, cx
je 0x41a5db
mov word [eax], cx
add eax, 2
dec edx
jne 0x41a5bc
jmp 0x41a5df
test edx, edx
jne 0x41a5e2
sub eax, 2
mov word [eax], 0
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x468498
call fcn.0041aaf0
test eax, eax
je 0x41a630
mov ax, word [0x468498]
cmp ax, 0x61
jb 0x41a618
cmp ax, 0x7a
ja 0x41a618
add ax, 0xffe0
mov word [0x468498], ax
mov eax, dword [0x4686ac]
push 0
push 0x468498
push 0x3921
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [edi + 0x70]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [0x46005c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41a66c
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x41a66c
mov eax, dword [esp + 0x14]
add eax, 0xfffffff4
push eax
call fcn.00439890
add esp, 4
mov eax, dword [esp + 0x10]
mov edx, dword [0x46005c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41a697
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x41a697
mov edx, dword [esp + 0x10]
add edx, 0xfffffff4
push edx
call fcn.00439890
add esp, 4
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret