Function at 0x41b6b0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x457816
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 0x41b701
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 [0x463058]
mov dword [esp + 8], edx
lea eax, [esp + 0x14]
mov dword [esp + 0x81c], esi
test eax, eax
je 0x41b736
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.00403e10
lea ecx, [esp + 0x10]
call fcn.004073c0
mov edi, dword [esp + 0x10]
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
cmp word [edi], si
je 0x41b798
mov ax, word [edi]
push eax
call fcn.00443923
add esp, 4
test eax, eax
je 0x41b777
test esi, esi
jne 0x41b779
mov esi, edi
jmp 0x41b779
xor esi, esi
push edi
call ebx
mov edi, eax
cmp word [edi], 0
jne 0x41b75f
test esi, esi
je 0x41b798
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.004073c0
mov esi, dword [esp + 0x10]
mov ax, word [esi]
push eax
call fcn.00443923
add esp, 4
test eax, eax
je 0x41b7ca
push esi
call ebx
mov esi, eax
mov ax, word [esi]
push eax
call fcn.00443923
add esp, 4
test eax, eax
jne 0x41b7b5
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 0x41b7f7
push ecx
push esi
push eax
call fcn.00443570
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [eax - 8], edi
mov eax, dword [0x463058]
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 0x41b822
cmp esi, dword [eax - 4]
jle 0x41b85c
push esi
lea ecx, [esp + 0x14]
call fcn.00403db0
test eax, eax
je 0x41b85c
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.00402e50
mov edx, dword [esp + 0x20]
add esp, 0x10
push edi
mov dword [edx - 8], esi
call fcn.00403f10
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, esi
call fcn.0041adb0
pop edi
pop ebx
test eax, eax
jne 0x41b930
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x41b896
mov edx, dword [esi + 4]
push 0x40
push 0x96
push eax
push edx
call fcn.00411f10
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 [0x46305c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41b8ec
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x41b8ec
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0043733c
add esp, 4
mov eax, dword [esp + 8]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41b917
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x41b917
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.0043733c
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.004073c0
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, 0x469c48
mov word [edx + eax*2], 0
lea eax, [esp + 8]
push eax
call fcn.00418dd0
mov eax, dword [esp + 0xc]
mov edx, dword [0x46305c]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41b993
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41b993
mov edx, dword [esp + 0xc]
lea eax, [edx - 0xc]
push eax
call fcn.0043733c
add esp, 4
lea ecx, [esp + 8]
mov dword [esp + 0x81c], 0xffffffff
call fcn.00403d80
mov ecx, dword [esp + 0x814]
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x818
ret