Function at 0x41b530
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x455721
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x814
mov eax, dword [esp + 0x824]
push ebx
mov ebx, ecx
push ebp
cmp eax, 0x300
push esi
mov dword [esp + 0x1c], ebx
jne 0x41b8e1
mov eax, dword [ebx + 4]
push 0x3ee
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
xor ebp, ebp
cmp esi, ebp
je 0x41b8e1
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x26]
mov word [esp + 0x24], bp
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 [str.lF_F]
mov dword [esp + 0x14], edx
mov eax, dword [ebx + 0x61c]
mov dword [esp + 0x82c], ebp
push eax
mov ebp, 1
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x41b5ec
mov ecx, dword [ebx + 0x61c]
push 0
push 0
push 0xf0
push ecx
call edi
test eax, eax
jne 0x41b5ec
xor ebp, ebp
lea edx, [esp + 0x14]
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, ebx
call fcn.0041aaf0
test eax, eax
je 0x41b623
test ebp, ebp
je 0x41b623
push 1
lea ecx, [ebx + 0x384]
call fcn.004164e0
lea ecx, [ebx + 0xa4]
push 0x444444
mov dword [esp + 0x20], ecx
jmp 0x41b668
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, esi
je 0x41b64c
push 0xffffffffffffffff
push 0
push 0xb1
push esi
call edi
push 0
push 0
push 0xb7
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_SetFocus]
push 0
lea ecx, [ebx + 0x384]
call fcn.004164e0
lea ecx, [ebx + 0xa4]
push 0x3871e6
mov dword [esp + 0x20], ecx
call fcn.00410560
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41b8be
mov eax, dword [str.lF_F]
mov dword [esp + 0x18], eax
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x24]
test edx, edx
mov byte [esp + 0x82c], 1
mov dword [esp + 0x10], eax
je 0x41b6f9
lea eax, [esp + 0x24]
shr eax, 0x10
jne 0x41b6bd
xor eax, eax
lea ecx, [esp + 0x24]
mov ax, cx
lea ecx, [esp + 0x10]
push eax
call fcn.00403d60
jmp 0x41b6f9
lea edx, [esp + 0x24]
push edx
call ebp
mov esi, eax
test esi, esi
je 0x41b6f9
push esi
lea ecx, [esp + 0x14]
call fcn.00404130
test eax, eax
je 0x41b6f9
lea ecx, [esi + esi]
lea eax, [esi + esi + 2]
cmp eax, ecx
jb 0x41b6f9
mov edi, dword [esp + 0x10]
mov edx, ecx
lea esi, [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
mov eax, 0x4605cc
test eax, eax
mov byte [esp + 0x82c], 2
je 0x41b7aa
push eax
call ebp
test eax, eax
je 0x41b7aa
lea ecx, [esp + 0x10]
call fcn.00407850
mov esi, dword [esp + 0x10]
cmp word [esi], 0
je 0x41b7aa
push esi
call ebx
mov edi, eax
lea eax, [esi + 2]
cmp edi, eax
jbe 0x41b759
mov cx, word [eax]
mov dx, word [esi]
push ecx
push edx
push 0x4605cc
call fcn.00407bb0
add esp, 0xc
test eax, eax
je 0x41b776
jmp 0x41b76e
mov ax, word [esi]
push eax
push 0x4605cc
call fcn.00441a9b
add esp, 8
test eax, eax
je 0x41b776
cmp word [edi], 0
mov esi, edi
jne 0x41b732
mov eax, dword [esp + 0x10]
cmp esi, eax
je 0x41b7aa
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 0x41b7a7
push ecx
push esi
push eax
call fcn.004415d0
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [eax - 8], edi
lea ecx, [esp + 0x10]
call fcn.00407850
mov esi, dword [esp + 0x10]
xor edi, edi
cmp word [esi], di
je 0x41b827
push esi
call ebx
mov ebp, eax
lea eax, [esi + 2]
cmp ebp, eax
jbe 0x41b7eb
mov ax, word [eax]
mov cx, word [esi]
push eax
push ecx
push 0x4605cc
call fcn.00407bb0
add esp, 0xc
test eax, eax
je 0x41b808
test edi, edi
jne 0x41b80a
mov edi, esi
jmp 0x41b80a
mov ax, word [esi]
push eax
push 0x4605cc
call fcn.00441a9b
add esp, 8
test eax, eax
je 0x41b808
test edi, edi
jne 0x41b80a
mov edi, esi
jmp 0x41b80a
xor edi, edi
cmp word [ebp], 0
mov esi, ebp
jne 0x41b7be
test edi, edi
je 0x41b827
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.0041b900
mov edx, dword [esp + 0x18]
mov eax, dword [0x4689c0]
push edx
push eax
lea ecx, [esp + 0x1c]
push 0x8b
push ecx
call fcn.004036a0
mov eax, dword [esp + 0x20]
mov ecx, dword [0x46005c]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0x10
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41b88b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x41b88b
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.00439890
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [0x46005c]
mov byte [esp + 0x82c], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41b8be
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x41b8be
mov edx, dword [esp + 0x18]
lea eax, [edx - 0xc]
push eax
call fcn.00439890
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.00417c90
lea ecx, [esp + 0x14]
mov dword [esp + 0x82c], 0xffffffff
call fcn.00404100
pop edi
mov ecx, dword [esp + 0x820]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x820
ret 0xc