Function at 0x41c690
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4557b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80c
mov eax, dword [ecx + 4]
push ebp
push esi
push 0x3ee
push eax
mov dword [esp + 0x18], ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, eax
xor esi, esi
cmp ebp, esi
jne 0x41c6e1
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x80c]
mov dword fs:[0], ecx
add esp, 0x818
ret
lea ecx, [esp + 0x14]
push 0x400
push ecx
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [str.lF_F]
mov dword [esp + 8], edx
lea eax, [esp + 0x14]
mov dword [esp + 0x81c], esi
test eax, eax
je 0x41c716
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
lea edx, [esp + 0x18]
push edi
push edx
push eax
lea ecx, [esp + 0x18]
call fcn.00404190
lea ecx, [esp + 0x10]
call fcn.00407850
mov edi, dword [esp + 0x10]
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
cmp word [edi], si
je 0x41c778
mov ax, word [edi]
push eax
call fcn.00441983
add esp, 4
test eax, eax
je 0x41c757
test esi, esi
jne 0x41c759
mov esi, edi
jmp 0x41c759
xor esi, esi
push edi
call ebx
mov edi, eax
cmp word [edi], 0
jne 0x41c73f
test esi, esi
je 0x41c778
mov word [esi], 0
mov eax, dword [esp + 0x10]
sub esi, eax
sar esi, 1
mov dword [eax - 8], esi
lea ecx, [esp + 0x10]
call fcn.00407850
mov esi, dword [esp + 0x10]
mov ax, word [esi]
push eax
call fcn.00441983
add esp, 4
test eax, eax
je 0x41c7aa
push esi
call ebx
mov esi, eax
mov ax, word [esi]
push eax
call fcn.00441983
add esp, 4
test eax, eax
jne 0x41c795
mov eax, dword [esp + 0x10]
mov ecx, esi
sub ecx, eax
mov edi, dword [eax - 8]
mov edx, dword [eax - 4]
sar ecx, 1
sub edi, ecx
lea edx, [edx + edx + 2]
lea ecx, [edi + edi + 2]
cmp edx, ecx
jb 0x41c7d7
push ecx
push esi
push eax
call fcn.004415d0
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [eax - 8], edi
mov eax, dword [str.lF_F]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x824], 1
mov ecx, dword [eax - 0xc]
mov esi, dword [eax - 8]
lea edi, [eax - 0xc]
cmp ecx, 1
jg 0x41c802
cmp esi, dword [eax - 4]
jle 0x41c83c
push esi
lea ecx, [esp + 0x14]
call fcn.00404130
test eax, eax
je 0x41c83c
lea ecx, [esi + esi + 2]
lea edx, [edi + 0xc]
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esi + esi + 2]
push edx
push eax
push ecx
call fcn.00402fc0
mov edx, dword [esp + 0x20]
add esp, 0x10
push edi
mov dword [edx - 8], esi
call fcn.00404290
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, esi
call fcn.0041bbf0
pop edi
pop ebx
test eax, eax
jne 0x41c910
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x41c876
mov edx, dword [esi + 4]
push 0x40
push 0x96
push eax
push edx
call fcn.00412b50
add esp, 0x10
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0
push 0xb1
push ebp
call esi
push 0
push 0
push 0xb7
push ebp
call esi
push ebp
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0xc]
mov edx, dword [0x46005c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41c8cc
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x41c8cc
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.00439890
add esp, 4
mov eax, dword [esp + 8]
mov edx, dword [0x46005c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41c8f7
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x41c8f7
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.00439890
add esp, 4
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x80c]
mov dword fs:[0], ecx
add esp, 0x818
ret
lea ecx, [esp + 8]
call fcn.00407850
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 8]
mov dword [ecx - 8], eax
mov edx, dword [esp + 8]
mov ecx, 0x468950
mov word [edx + eax*2], 0
lea eax, [esp + 8]
push eax
call fcn.00419ae0
mov eax, dword [esp + 0xc]
mov edx, dword [0x46005c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41c973
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41c973
mov edx, dword [esp + 0xc]
lea eax, [edx - 0xc]
push eax
call fcn.00439890
add esp, 4
lea ecx, [esp + 8]
mov dword [esp + 0x81c], 0xffffffff
call fcn.00404100
mov ecx, dword [esp + 0x814]
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x818
ret