Function at 0x411ec0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x8c
mov ebx, dword [0x425620]
mov edx, dword [0x425630]
mov dword [ebp - 0x60], eax
mov eax, str.Default
test ebx, ebx
cmove ebx, eax
test edx, edx
jne 0x412075
test byte [0x415878], 8
jne 0x412080
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], 0x3ff
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [ebp - 0x68], eax
call eax
sub esp, 8
mov esi, eax
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_GetWindowTextLengthW]
mov dword [ebp - 0x64], eax
call eax
sub esp, 4
add eax, 1
mov edi, eax
je 0x4120b0
add eax, eax
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x6c], eax
call eax
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x4120b0
mov eax, dword [ebp - 0x5c]
mov dword [esp + 8], edi
mov dword [esp], esi
mov edi, dword [sym.imp.user32.dll_GetWindowTextW]
mov dword [esp + 4], eax
call edi
sub esp, 0xc
test eax, eax
je 0x412280
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], 0x400
mov dword [esp], eax
mov eax, dword [ebp - 0x68]
call eax
sub esp, 8
mov esi, eax
mov dword [esp], eax
mov eax, dword [ebp - 0x64]
call eax
sub esp, 4
add eax, 1
mov ecx, eax
je 0x412220
lea eax, [ecx + ecx]
mov dword [ebp - 0x60], ecx
mov dword [esp], eax
mov eax, dword [ebp - 0x6c]
call eax
mov ecx, dword [ebp - 0x60]
test eax, eax
je 0x4122e3
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [ebp - 0x60], eax
mov dword [esp], esi
call edi
mov edx, dword [ebp - 0x60]
sub esp, 0xc
test eax, eax
je 0x4122ee
mov eax, dword [ebp - 0x5c]
cmp word [eax], 0
jne 0x412240
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov edi, 0x320
cmp word [edx], 0
mov eax, 0x258
jne 0x4121c0
mov dword [esp + 0xc], edi
lea edi, [ebp - 0x58]
mov dword [esp + 0x10], eax
mov dword [esp + 8], str._ux_u
mov dword [esp + 4], 0x20
mov dword [esp], edi
mov dword [ebp - 0x60], edx
call fcn.00411e70
mov eax, dword [0x425628]
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], 0x419b70
call fcn.00410af0
mov dword [esp], str.Explorer
call fcn.00411560
mov dword [esp + 0xc], ebx
mov dword [esp + 4], eax
mov eax, dword [0x425628]
mov dword [esp + 8], str.Desktop
mov dword [esp], eax
call fcn.00410af0
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x60]
mov dword [esp], edx
call esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], str._nExplorerDesktops
mov dword [esp + 8], str.set_from_desktop_edits
mov dword [esp + 4], 0x415878
mov dword [esp], 3
call fcn.00411b40
jmp 0x411efa
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], 0x400
mov dword [esp], eax
mov eax, dword [ebp - 0x68]
call eax
sub esp, 8
mov edi, eax
mov dword [esp], eax
mov eax, dword [ebp - 0x64]
call eax
sub esp, 4
add eax, 1
mov ecx, eax
je 0x4121a8
add eax, eax
mov dword [ebp - 0x5c], ecx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, dword [ebp - 0x5c]
test eax, eax
je 0x4121a8
mov dword [esp], edi
mov edi, 0x320
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [ebp - 0x5c], eax
call dword [sym.imp.user32.dll_GetWindowTextW]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x5c], 0
sub esp, 0xc
test eax, eax
jne 0x411fea
mov dword [esp], edx
call esi
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x4121a8
mov eax, dword [ebp - 0x5c]
cmp word [eax], 0
je 0x412308
mov eax, dword [ebp - 0x5c]
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov edi, dword [sym.imp.ucrtbase.dll_wcstol]
mov dword [esp], eax
call edi
xor edx, edx
cmp eax, 0x27f
jle 0x4122f9
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], edx
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x60]
mov edi, eax
test edx, edx
jne 0x411fea
mov eax, 0x258
jmp 0x411ff9
mov dword [ebp - 0x5c], 0
xor edx, edx
mov edi, 0x320
mov eax, 0x258
jmp 0x411ff9
mov eax, dword [sym.imp.ucrtbase.dll_wcstol]
mov dword [esp], edx
mov dword [ebp - 0x60], edx
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [ebp - 0x64], eax
call eax
mov edx, dword [ebp - 0x60]
mov ecx, eax
mov eax, 0x1e0
cmp ecx, 0x1df
jle 0x411ff9
mov dword [esp], edx
mov eax, dword [ebp - 0x64]
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
call eax
mov edx, dword [ebp - 0x60]
jmp 0x411ff9
mov eax, dword [ebp - 0x5c]
cmp word [eax], 0
jne 0x412298
mov esi, dword [sym.imp.ucrtbase.dll_free]
xor edx, edx
mov edi, 0x320
mov eax, 0x258
jmp 0x411ff9
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], edx
mov dword [esp + 8], 0xa
mov edi, dword [sym.imp.ucrtbase.dll_wcstol]
mov dword [esp + 4], 0
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x60]
cmp eax, 0x27f
jg 0x4122d8
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov edi, 0x280
jmp 0x411fea
mov eax, dword [ebp - 0x5c]
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call esi
jmp 0x4120b6
mov dword [esp + 8], 0xa
mov edi, dword [sym.imp.ucrtbase.dll_wcstol]
mov dword [esp + 4], 0
mov dword [esp], eax
call edi
xor edx, edx
cmp eax, 0x27f
jg 0x4122d8
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov edi, 0x280
mov eax, 0x258
jmp 0x411ff9
mov esi, dword [sym.imp.ucrtbase.dll_free]
jmp 0x41216f
mov esi, dword [sym.imp.ucrtbase.dll_free]
jmp 0x412137
mov esi, dword [sym.imp.ucrtbase.dll_free]
jmp 0x41212b
mov edi, 0x280
mov eax, 0x258
jmp 0x411ff9
xor edx, edx
mov edi, 0x320
jmp 0x412197