Function at 0x414b20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x68
mov ebx, dword [0x4282e0]
mov edx, dword [0x4282f0]
mov dword [ebp - 0x54], eax
mov eax, str.Default
test ebx, ebx
cmove ebx, eax
test edx, edx
jne 0x414cd3
test byte [0x418898], 8
jne 0x414ce0
mov eax, dword [ebp - 0x54]
mov dword [esp + 4], 0x3ff
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [ebp - 0x5c], eax
call eax
sub esp, 8
mov esi, eax
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_GetWindowTextLengthW]
mov dword [ebp - 0x58], eax
call eax
sub esp, 4
add eax, 1
mov edi, eax
je 0x414d10
lea eax, [eax + eax]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x60], eax
call eax
mov dword [ebp - 0x50], eax
test eax, eax
je 0x414d10
mov eax, dword [ebp - 0x50]
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 0x414ee0
mov eax, dword [ebp - 0x54]
mov dword [esp + 4], 0x400
mov dword [esp], eax
mov eax, dword [ebp - 0x5c]
call eax
sub esp, 8
mov esi, eax
mov dword [esp], eax
mov eax, dword [ebp - 0x58]
call eax
sub esp, 4
add eax, 1
mov ecx, eax
je 0x414e80
lea eax, [ecx + ecx]
mov dword [ebp - 0x54], ecx
mov dword [esp], eax
mov eax, dword [ebp - 0x60]
call eax
mov ecx, dword [ebp - 0x54]
test eax, eax
je 0x414f43
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [ebp - 0x54], eax
mov dword [esp], esi
call edi
mov edx, dword [ebp - 0x54]
sub esp, 0xc
test eax, eax
je 0x414f4e
mov eax, dword [ebp - 0x50]
cmp word [eax], 0
jne 0x414ea0
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov edi, 0x320
cmp word [edx], 0
mov eax, 0x258
jne 0x414e20
mov dword [esp + 0xc], edi
lea edi, [ebp - 0x4c]
mov dword [esp + 0x10], eax
mov dword [esp + 8], str._ux_u
mov dword [esp + 4], 0x20
mov dword [esp], edi
mov dword [ebp - 0x54], edx
call sym._swprintf.constprop.0_4
mov eax, dword [0x4282e8]
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], 0x41c030
call sym._set_reg_key
mov dword [esp], str.Explorer
call sym._keypath
mov dword [esp + 0xc], ebx
mov dword [esp + 4], eax
mov eax, dword [0x4282e8]
mov dword [esp + 8], str.Desktop
mov dword [esp], eax
call sym._set_reg_key
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x54]
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], 0x418898
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_9
jmp 0x414b57
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x54]
mov dword [esp + 4], 0x400
mov dword [esp], eax
mov eax, dword [ebp - 0x5c]
call eax
sub esp, 8
mov edi, eax
mov dword [esp], eax
mov eax, dword [ebp - 0x58]
call eax
sub esp, 4
add eax, 1
mov ecx, eax
je 0x414e08
lea eax, [eax + eax]
mov dword [ebp - 0x50], ecx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, dword [ebp - 0x50]
test eax, eax
je 0x414e08
mov dword [esp], edi
mov edi, 0x320
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [ebp - 0x50], eax
call dword [sym.imp.user32.dll_GetWindowTextW]
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x50], 0
sub esp, 0xc
test eax, eax
jne 0x414c48
mov dword [esp], edx
call esi
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x414e08
mov eax, dword [ebp - 0x50]
cmp word [eax], 0
je 0x414f68
mov eax, dword [ebp - 0x50]
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 0x414f59
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x54]
mov edi, eax
test edx, edx
jne 0x414c48
mov eax, 0x258
jmp 0x414c57
mov dword [ebp - 0x50], 0
xor edx, edx
mov edi, 0x320
mov eax, 0x258
jmp 0x414c57
mov eax, dword [sym.imp.ucrtbase.dll_wcstol]
mov dword [esp], edx
mov dword [ebp - 0x54], edx
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [ebp - 0x58], eax
call eax
mov edx, dword [ebp - 0x54]
mov ecx, eax
mov eax, 0x1e0
cmp ecx, 0x1df
jle 0x414c57
mov dword [esp], edx
mov eax, dword [ebp - 0x58]
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
call eax
mov edx, dword [ebp - 0x54]
jmp 0x414c57
mov eax, dword [ebp - 0x50]
cmp word [eax], 0
jne 0x414ef8
mov esi, dword [sym.imp.ucrtbase.dll_free]
xor edx, edx
mov edi, 0x320
mov eax, 0x258
jmp 0x414c57
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], 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 - 0x54]
cmp eax, 0x27f
jg 0x414f38
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov edi, 0x280
jmp 0x414c48
mov eax, dword [ebp - 0x50]
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call esi
jmp 0x414d16
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 0x414f38
mov esi, dword [sym.imp.ucrtbase.dll_free]
mov edi, 0x280
mov eax, 0x258
jmp 0x414c57
mov esi, dword [sym.imp.ucrtbase.dll_free]
jmp 0x414dd0
mov esi, dword [sym.imp.ucrtbase.dll_free]
jmp 0x414d98
mov esi, dword [sym.imp.ucrtbase.dll_free]
jmp 0x414d8c
mov edi, 0x280
mov eax, 0x258
jmp 0x414c57
xor edx, edx
mov edi, 0x320
jmp 0x414df8