Function at 0x42d6e0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x437f51
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.004350b0
mov eax, dword [0x453358]
xor eax, esp
mov dword [esp + 0x203c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x453358]
xor eax, esp
push eax
lea eax, [esp + 0x2054]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 0x24]
call fcn.00431f90
mov ebx, dword [esi + 0x14c]
sub ebx, dword [esi + 0x148]
push 0x2000
mov dword [esp + 0x28], eax
xor ebp, ebp
lea eax, [esp + 0x54]
push ebp
sar ebx, 3
push eax
mov dword [esp + 0x34], ebx
call sub.MSVCR90.dll_memset
mov eax, dword [0x4444f4]
add esp, 0xc
mov dword [esp + 0x14], eax
mov edi, eax
mov dword [esp + 0x205c], ebp
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x1b]
push ecx
lea edx, [esp + 0x1f]
push edx
lea ecx, [esp + 0x38]
mov byte [esp + 0x2064], 1
call fcn.004282f0
lea eax, [esp + 0x30]
push eax
mov ecx, esi
mov byte [esp + 0x2060], 2
call fcn.0042d270
cmp ebx, ebp
mov dword [esp + 0x1c], ebp
jle 0x42d926
jmp 0x42d7b0
mov ecx, dword [esi + 0x14c]
sub ecx, dword [esi + 0x148]
sar ecx, 3
cmp ebp, ecx
jb 0x42d7c9
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0x14c]
sub edx, dword [esi + 0x148]
mov edi, dword [esi + 0x148]
lea eax, [ebp*8]
sar edx, 3
add edi, eax
cmp ebp, edx
jb 0x42d7f1
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x148]
lea ecx, [ebp*8]
mov edx, dword [eax + ecx]
add eax, ecx
mov ecx, dword [edi + 4]
push ecx
mov ecx, dword [esp + 0x28]
push edx
call fcn.00431460
cmp dword [eax + 0x98], 0
mov dword [esp + 0x2c], eax
jne 0x42d915
mov eax, dword [esi + 0xd4]
add ebp, 0x28a0
push ebp
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, eax
test ebp, ebp
je 0x42d911
push 0x1000
lea ecx, [esp + 0x54]
push ecx
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 1
lea edi, [eax - 0xc]
jg 0x42d870
cmp ebx, dword [eax - 4]
jle 0x42d8aa
add eax, 0xfffffff4
cmp eax, dword [0x4444f0]
je 0x42d898
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42d88f
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [0x4444f4]
mov dword [esp + 0x14], eax
push ebx
lea ecx, [esp + 0x18]
call fcn.004084f0
test eax, eax
je 0x42d8d0
mov eax, dword [esp + 0x14]
lea edi, [ebx + ebx]
lea ecx, [edi + 2]
cmp ecx, edi
jb 0x42d8c7
push edi
lea edx, [esp + 0x54]
push edx
push eax
call sub.MSVCR90.dll_memcpy
mov eax, dword [esp + 0x20]
add esp, 0xc
xor ecx, ecx
mov dword [eax - 8], ebx
mov word [edi + eax], cx
lea ecx, [esp + 0x14]
call fcn.004092b0
lea ecx, [esp + 0x14]
call fcn.00409310
mov edi, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push edx
push edi
lea eax, [esp + 0x38]
push eax
mov ecx, esi
call fcn.0042d570
test eax, eax
je 0x42d9ac
lea ecx, [esp + 0x50]
push ecx
lea ecx, [edi + 0x24]
call fcn.00409560
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
inc ebp
cmp ebp, ebx
mov dword [esp + 0x1c], ebp
jl 0x42d7b0
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x30]
mov byte [esp + 0x205c], 1
call fcn.00428a60
lea edx, [edi - 0xc]
cmp edx, dword [0x4444f0]
je 0x42d959
lea esi, [edi - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42d959
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4444f0]
je 0x42d97f
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42d97f
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x2054]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x203c]
xor ecx, esp
call fcn.00434fc4
add esp, 0x204c
ret
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]
lea ecx, [esp + 0x30]
mov byte [esp + 0x205c], 1
call fcn.00428a60
mov eax, dword [esp + 0x20]
lea edx, [eax - 0xc]
cmp edx, dword [0x4444f0]
je 0x42da08
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42da08
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4444f0]
je 0x42da2e
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42da2e
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
xor eax, eax
jmp 0x42d984