Function at 0x41a720
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x457781
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x814
mov eax, dword [esp + 0x824]
push ebx
push ebp
mov ebp, ecx
cmp eax, 0x300
push esi
mov dword [esp + 0x1c], ebp
jne 0x41aa99
mov eax, dword [ebp + 4]
push 0x3ee
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x41aa99
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x26]
mov word [esp + 0x24], bx
push 0x3ff
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x28]
push ecx
push esi
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [0x463058]
mov dword [esp + 0x14], edx
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x834], ebx
call fcn.00419ce0
test eax, eax
jne 0x41a806
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, esi
je 0x41a7e9
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push ebx
push 0xb1
push esi
call edi
push ebx
push ebx
push 0xb7
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push ebx
lea ecx, [ebp + 0x380]
call fcn.004158a0
lea ecx, [ebp + 0xa0]
push 0x3871e6
mov dword [esp + 0x20], ecx
jmp 0x41a822
push 1
lea ecx, [ebp + 0x380]
call fcn.004158a0
lea ecx, [ebp + 0xa0]
push 0x444444
mov dword [esp + 0x20], ecx
call fcn.004100e0
mov edx, dword [esp + 0x14]
cmp dword [edx - 8], ebx
jne 0x41aa76
mov eax, dword [0x463058]
mov dword [esp + 0x18], eax
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x24]
mov byte [esp + 0x82c], 1
test eax, eax
je 0x41a8b1
lea ecx, [esp + 0x24]
shr ecx, 0x10
jne 0x41a875
xor eax, eax
lea edx, [esp + 0x24]
mov ax, dx
lea ecx, [esp + 0x10]
push eax
call fcn.00406f90
jmp 0x41a8b1
lea eax, [esp + 0x24]
push eax
call ebp
mov esi, eax
cmp esi, ebx
je 0x41a8b1
push esi
lea ecx, [esp + 0x14]
call fcn.00403db0
test eax, eax
je 0x41a8b1
lea ecx, [esi + esi]
lea edx, [esi + esi + 2]
cmp edx, ecx
jb 0x41a8b1
mov edi, dword [esp + 0x10]
mov eax, ecx
lea esi, [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov ecx, 0x463534
test ecx, ecx
mov byte [esp + 0x82c], 2
je 0x41a962
push ecx
call ebp
test eax, eax
je 0x41a962
lea ecx, [esp + 0x10]
call fcn.004073c0
mov esi, dword [esp + 0x10]
cmp word [esi], 0
je 0x41a962
push esi
call ebx
mov edi, eax
lea eax, [esi + 2]
cmp edi, eax
jbe 0x41a911
mov dx, word [eax]
mov ax, word [esi]
push edx
push eax
push 0x463534
call fcn.00407510
add esp, 0xc
test eax, eax
je 0x41a92e
jmp 0x41a926
mov ax, word [esi]
push eax
push 0x463534
call fcn.004439ec
add esp, 8
test eax, eax
je 0x41a92e
cmp word [edi], 0
mov esi, edi
jne 0x41a8ea
mov eax, dword [esp + 0x10]
cmp esi, eax
je 0x41a962
mov edi, dword [eax - 8]
mov edx, dword [eax - 4]
mov ecx, esi
sub ecx, eax
lea edx, [edx + edx + 2]
sar ecx, 1
sub edi, ecx
lea ecx, [edi + edi + 2]
cmp edx, ecx
jb 0x41a95f
push ecx
push esi
push eax
call fcn.00443570
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [eax - 8], edi
lea ecx, [esp + 0x10]
call fcn.004073c0
mov esi, dword [esp + 0x10]
xor edi, edi
cmp word [esi], di
je 0x41a9df
push esi
call ebx
mov ebp, eax
lea eax, [esi + 2]
cmp ebp, eax
jbe 0x41a9a3
mov ax, word [eax]
mov cx, word [esi]
push eax
push ecx
push 0x463534
call fcn.00407510
add esp, 0xc
test eax, eax
je 0x41a9c0
test edi, edi
jne 0x41a9c2
mov edi, esi
jmp 0x41a9c2
mov ax, word [esi]
push eax
push 0x463534
call fcn.004439ec
add esp, 8
test eax, eax
je 0x41a9c0
test edi, edi
jne 0x41a9c2
mov edi, esi
jmp 0x41a9c2
xor edi, edi
cmp word [ebp], 0
mov esi, ebp
jne 0x41a976
test edi, edi
je 0x41a9df
mov word [edi], 0
mov eax, dword [esp + 0x10]
sub edi, eax
sar edi, 1
mov dword [eax - 8], edi
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
mov ax, word [edx]
push eax
call fcn.0041aac0
mov edx, dword [esp + 0x18]
mov eax, dword [0x469cb8]
push edx
push eax
lea ecx, [esp + 0x1c]
push 0x8b
push ecx
call fcn.00403530
mov eax, dword [esp + 0x20]
mov ecx, dword [0x46305c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0x10
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41aa43
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x41aa43
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x46305c]
mov byte [esp + 0x82c], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41aa76
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x41aa76
mov edx, dword [esp + 0x18]
lea eax, [edx - 0xc]
push eax
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.00417050
lea ecx, [esp + 0x14]
mov dword [esp + 0x82c], 0xffffffff
call fcn.00403d80
pop edi
mov ecx, dword [esp + 0x820]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x820
ret 0xc