Function at 0x408c60
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x278
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
cmp eax, 0x110
je 0x408dc0
ja 0x408ce0
cmp eax, 0x18
je 0x408da8
cmp eax, 0x4e
jne case.0x408d9a.1046
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
cmp eax, 0xffffff37
je 0x408d20
cmp eax, 0xffffff9b
je 0x409148
cmp eax, 0xffffff36
jne case.0x408d9a.1046
call sym._apply_drive_changes
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], edi
call dword [sym.imp.user32.dll_SetWindowLongW]
sub esp, 0xc
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
cmp eax, 0x111
jne case.0x408d9a.1046
mov ebx, dword [ebp + 0x10]
shr ebx, 0x10
cmp ebx, 1
je 0x408d58
cmp ebx, 0x300
je 0x409198
test ebx, ebx
je 0x409170
movzx esi, word [ebp + 0x10]
lea eax, [esi - 0x413]
cmp eax, 0x21
ja case.0x408d9a.1046
jmp dword [eax*4 + 0x41a770]
test byte [0x4172b4], 8
je 0x408cb3
mov dword [esp + 0xc], str.PSN_KILLACTIVE_n
mov dword [esp + 8], str.DriveDlgProc
mov dword [esp + 4], 0x4172b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x408cb3
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetParent]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x468
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
movzx eax, word [ebp + 0x10]
sub esp, 0x10
sub eax, 0x413
cmp eax, 0x21
ja case.0x408d9a.1046
jmp dword [eax*4 + 0x41a7f8]
mov dword [esp], edi
call sym._set_window_title
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esp], edi
mov esi, dword [sym.imp.user32.dll_GetDlgItem]
lea ebx, [ebp - 0x214]
mov dword [esp + 4], 0x412
call esi
lea edx, [ebp - 0x250]
sub esp, 8
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetClientRect]
mov ecx, dword [ebp - 0x248]
mov edx, 0x2aaaaaab
sub ecx, dword [ebp - 0x250]
mov eax, ecx
sar ecx, 0x1f
sub esp, 8
imul edx
mov dword [esp], 0
sub edx, ecx
lea eax, [edx - 5]
mov dword [ebp - 0x254], eax
mov eax, dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov dword [ebp - 0x258], eax
call eax
sub esp, 4
mov dword [esp], eax
mov eax, dword [sym.imp.user32.dll_LoadStringW]
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x2010
mov dword [ebp - 0x25c], eax
call eax
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x240], 0xe
sub esp, 0x10
cmp word [ebp - 0x214], 0
je 0x409900
mov eax, ebx
nop
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x408e78
sub eax, ebx
sar eax, 1
mov edx, dword [sym.imp.user32.dll_SendDlgItemMessageW]
mov dword [ebp - 0x230], eax
lea ecx, [ebp - 0x240]
mov eax, dword [ebp - 0x254]
mov dword [esp + 0x10], ecx
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x238], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x1061
mov dword [esp + 4], 0x412
mov dword [esp], edi
call edx
mov edx, dword [ebp - 0x258]
sub esp, 0x14
mov dword [esp], 0
call edx
mov edx, dword [ebp - 0x25c]
sub esp, 4
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x2011
mov dword [esp], eax
call edx
mov eax, dword [ebp - 0x248]
sub eax, dword [ebp - 0x250]
mov dword [ebp - 0x234], ebx
sub eax, dword [ebp - 0x254]
sub esp, 0x10
cmp word [ebp - 0x214], 0
mov dword [ebp - 0x238], eax
mov edx, dword [ebp - 0x260]
lea ecx, [ebp - 0x240]
je 0x4098f0
mov eax, ebx
nop
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x408f40
sub eax, ebx
sar eax, 1
mov dword [esp + 0x10], ecx
mov dword [ebp - 0x230], eax
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0x1061
mov dword [esp + 4], 0x412
mov dword [esp], edi
call edx
sub esp, 0x14
call sym._load_drives
mov dword [esp + 4], 0x411
mov dword [esp], edi
test eax, eax
jne 0x4090c0
call esi
mov ebx, dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
mov dword [esp + 4], 5
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [esp], edi
mov dword [esp + 4], 0x412
call esi
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [esp], edi
mov dword [esp + 4], 0x413
call esi
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [esp], edi
mov dword [esp + 4], 0x414
call esi
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [esp], edi
mov dword [esp + 4], 0x427
call esi
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [esp], edi
mov dword [esp + 4], 0x425
call esi
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [esp], edi
mov dword [esp + 4], 0x42b
call esi
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [esp], edi
mov dword [esp + 4], 0x429
call esi
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
sub esp, 8
mov dword [esp], edi
mov dword [esp + 4], 0x434
call esi
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
mov eax, edi
sub esp, 8
call sym._set_advanced
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
call esi
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, dword [0x4282e8]
sub esp, 8
mov dword [esp + 0xc], 0x41a6b4
mov dword [esp + 8], 0x41a6b8
mov dword [esp + 4], 0x41a6d2
mov dword [esp], eax
call sym._get_reg_key
mov dword [esp + 4], 0x41a6d4
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x409810
mov eax, dword [0x4283f8]
test eax, eax
je 0x4097f0
mov eax, edi
call sym._fill_drives_list
mov eax, edi
call sym._update_controls
mov eax, edi
call sym._set_advanced
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
test byte [eax + 0x18], 2
jne case.0x408d9a.1046
test byte [eax + 0x14], 2
je case.0x408d9a.1046
mov eax, edi
call sym._update_controls
jmp case.0x408d9a.1046
cmp dword [ebp + 0x10], 0x438
je 0x409400
mov eax, dword [ebp + 0x10]
sub eax, 0x413
cmp eax, 0x21
ja case.0x408d9a.1046
jmp dword [eax*4 + 0x41a880]
mov eax, dword [0x428020]
movzx esi, word [ebp + 0x10]
test eax, eax
jne 0x408d0a
test byte [0x4172b4], 8
jne 0x409910
cmp word [ebp + 0x10], 0x426
je 0x409a26
ja 0x409838
cmp word [ebp + 0x10], 0x424
je 0x409940
cmp word [ebp + 0x10], 0x425
jne 0x408d0a
mov dword [esp + 4], esi
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov dword [ebp - 0x254], eax
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowTextLengthW]
sub esp, 4
add eax, 1
mov edx, eax
je 0x409d67
lea eax, [eax + eax]
mov dword [ebp - 0x260], edx
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x25c], eax
call eax
mov dword [ebp - 0x258], eax
test eax, eax
je 0x409d72
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x254]
mov dword [esp + 8], edx
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowTextW]
mov ecx, dword [sym.imp.ucrtbase.dll_free]
sub esp, 0xc
mov dword [ebp - 0x254], ecx
test eax, eax
je 0x40a05f
mov eax, dword [ebp - 0x258]
mov ecx, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0xfdf2
mov dword [ebp - 0x260], ecx
call ecx
sub esp, 0x20
test eax, eax
je 0x409b5a
mov dword [esp], eax
mov edx, dword [ebp - 0x25c]
mov dword [ebp - 0x264], eax
call edx
mov edx, dword [ebp - 0x264]
mov ecx, dword [ebp - 0x260]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x258]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0xfdf2
call ecx
mov eax, dword [0x42801c]
sub esp, 0x20
mov edx, dword [eax + 4]
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x254]
mov dword [esp], edx
call eax
mov ecx, dword [ebp - 0x264]
mov eax, dword [ebp - 0x25c]
test ecx, ecx
je 0x409c05
mov dword [eax + 4], ecx
mov dword [eax + 0x1c], 1
test byte [0x4172b4], 8
jne 0x409c2f
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0x100c
mov dword [esp + 4], 0x412
mov dword [esp], edi
call dword [sym.imp.user32.dll_SendDlgItemMessageW]
sub esp, 0x14
mov edx, eax
test eax, eax
js 0x4093a6
mov ecx, dword [ebp - 0x258]
mov eax, edi
call sym._lv_set_item_text.part.0.constprop.0
mov eax, dword [ebp - 0x258]
mov dword [esp], eax
mov eax, dword [ebp - 0x254]
call eax
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetParent]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp + 4], 0x468
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
lea eax, [esi - 0x414]
sub esp, 0x10
cmp eax, 0x20
ja case.0x408d9a.1046
jmp dword [eax*4 + 0x41a908]
mov dword [esp + 4], 0x438
mov dword [esp], edi
call dword [sym.imp.user32.dll_IsDlgButtonChecked]
sub esp, 8
cmp eax, 1
je 0x409b4d
mov dword [esp + 0xc], 0x41a6b4
mov eax, dword [0x4282e8]
mov dword [esp + 8], 0x41a6b8
mov dword [esp + 4], 0x41a6d2
mov dword [esp], eax
call sym._set_reg_key
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetParent]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x468
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp case.0x408d9a.1046
lea ebx, [ebp - 0x214]
mov dword [esp], edi
mov dword [esp + 4], ebx
call sym._browse_for_unix_folder
test eax, eax
je case.0x408d9a.1046
mov dword [esp + 4], 0x425
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetWindowTextW]
sub esp, 8
jmp case.0x408d9a.1046
mov edx, dword [0x428024]
xor eax, eax
test edx, edx
sete al
mov dword [0x428024], eax
mov eax, edi
call sym._set_advanced
jmp case.0x408d9a.1046
test ebx, ebx
jne case.0x408d9a.1046
mov dword [esp + 0x10], 2
mov esi, dword [sym.imp.user32.dll_SendDlgItemMessageW]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0x100c
mov dword [esp + 4], 0x412
mov dword [esp], edi
call esi
sub esp, 0x14
mov ebx, eax
cmp eax, 0xffffffff
je case.0x408d9a.1046
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 4
mov dword [ebp - 0x20c], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x104b
mov dword [esp + 4], 0x412
mov dword [esp], edi
call esi
mov esi, dword [ebp - 0x1f4]
sub esp, 0x14
test byte [0x4172b4], 8
jne 0x409cab
cmp byte [esi], 0x43
je 0x409c8c
mov dword [esp], esi
call sym._delete_drive
mov eax, edi
call sym._fill_drives_list
sub ebx, 1
mov eax, 0
mov edx, ebx
cmovs edx, eax
mov eax, edi
call sym._lv_set_curr_select
mov dword [esp + 4], 0x412
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetFocus]
mov eax, edi
sub esp, 4
call sym._update_controls
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetParent]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp + 4], 0x468
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp case.0x408d9a.1046
test ebx, ebx
jne case.0x408d9a.1046
mov dword [esp], 0
mov ebx, 1
call sym._drive_available_mask
mov edx, 0x43
not eax
jmp 0x40962c
add edx, 1
cmp edx, 0x5b
je 0x409b37
lea ecx, [edx - 0x41]
mov esi, ebx
shl esi, cl
test esi, eax
jne 0x409620
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], sym._drivechoose_dlgproc_16
mov dword [esp + 8], edi
mov dword [esp + 4], 0x2013
mov dword [esp], 0
call dword [sym.imp.user32.dll_DialogBoxParamW]
sub esp, 0x14
mov ebx, eax
cmp eax, 0xffffffff
je case.0x408d9a.1046
movsx esi, al
test byte [0x4172b4], 8
jne 0x409efa
cmp bl, 0x43
je 0x409e8f
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x41a74f
mov dword [esp], esi
call sym._add_drive
mov eax, edi
call sym._fill_drives_list
mov dword [esp], 0
call sym._drive_available_mask
mov dword [ebp + 8], edi
xor edx, edx
xor ecx, ecx
not eax
mov ebx, eax
lea eax, [esi - 0x41]
mov esi, 1
jmp 0x4096f4
mov edi, esi
shl edi, cl
and edi, ebx
cmp edi, 1
sbb edx, 0xffffffff
add ecx, 1
cmp ecx, 0x1a
je 0x4096f8
cmp eax, ecx
jne 0x4096e0
mov edi, dword [ebp + 8]
jmp 0x409595
test ebx, ebx
jne case.0x408d9a.1046
mov edx, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x412
mov dword [esp], edi
mov dword [ebp - 0x254], edx
call edx
mov esi, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x188
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x254]
sub esp, 0x10
mov ebx, eax
mov dword [esp + 4], 0x412
mov dword [esp], edi
call edx
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x199
mov dword [esp], eax
call esi
sub esp, 0x10
jmp case.0x408d9a.1046
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x147
mov dword [esp + 4], 0x429
mov dword [esp], edi
call dword [sym.imp.user32.dll_SendDlgItemMessageW]
sub esp, 0x14
test eax, eax
js 0x409c1e
mov ebx, dword [eax*8 + 0x41ab40]
cmp ebx, 5
je 0x409e85
mov edx, 2
cmp ebx, 2
je 0x409e85
mov eax, edi
call sym._enable_labelserial_box
mov eax, dword [0x42801c]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x1c], 1
jmp case.0x408d9a.1046
mov ecx, 0x30
mov edx, 0x2012
mov eax, edi
call sym._driveui_msgbox
jmp 0x409124
mov dword [esp + 8], 1
mov dword [esp + 4], 0x438
mov dword [esp], edi
call dword [sym.imp.user32.dll_CheckDlgButton]
sub esp, 0xc
jmp 0x409117
cmp word [ebp + 0x10], 0x42a
jne 0x40a097
mov dword [esp + 4], esi
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov dword [ebp - 0x254], eax
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowTextLengthW]
sub esp, 4
add eax, 1
mov edx, eax
je 0x409d8c
lea eax, [eax + eax]
mov dword [ebp - 0x258], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
test eax, eax
je 0x409d8c
mov edx, dword [ebp - 0x258]
mov dword [esp + 4], eax
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x254]
mov dword [esp + 8], edx
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowTextW]
mov ecx, dword [sym.imp.ucrtbase.dll_free]
sub esp, 0xc
test eax, eax
mov dword [ebp - 0x254], ecx
mov ecx, dword [ebp - 0x258]
je 0x40a032
mov dword [esp], ecx
mov eax, dword [ebp - 0x254]
call eax
lea eax, [esi - 0x414]
cmp eax, 0x20
ja case.0x408d9a.1046
jmp dword [eax*4 + 0x41a98c]
xor eax, eax
jmp 0x408f4d
xor eax, eax
jmp 0x408e85
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.edit_id__d_changed_n
mov dword [esp + 8], 0x41aaf4
mov dword [esp + 4], 0x4172b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x4091b6
mov dword [esp + 4], esi
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov dword [ebp - 0x258], eax
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowTextLengthW]
sub esp, 4
add eax, 1
mov ecx, eax
je 0x409cf0
lea eax, [eax + eax]
mov dword [ebp - 0x25c], ecx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, dword [ebp - 0x25c]
test eax, eax
mov dword [ebp - 0x254], eax
je 0x409cf0
mov eax, dword [ebp - 0x254]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x258]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowTextW]
sub esp, 0xc
test eax, eax
je 0x40a044
mov eax, dword [0x42801c]
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x258], eax
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_free]
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x254]
mov dword [eax + 0x1c], 1
mov dword [eax + 0xc], ecx
test byte [0x4172b4], 8
jne 0x409d9e
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetParent]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp + 4], 0x468
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x408d0a
mov dword [esp + 4], esi
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov dword [ebp - 0x254], eax
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowTextLengthW]
sub esp, 4
add eax, 1
mov ecx, eax
je 0x409cdb
lea eax, [eax + eax]
mov dword [ebp - 0x258], ecx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
test eax, eax
je 0x409cdb
mov ecx, dword [ebp - 0x258]
mov dword [esp + 4], eax
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x254]
mov dword [esp + 8], ecx
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetWindowTextW]
mov edx, dword [ebp - 0x258]
sub esp, 0xc
test eax, eax
je 0x40a019
mov dword [esp], edx
mov dword [ebp - 0x258], edx
mov dword [esp + 8], 0x10
mov dword [esp + 4], 0
call dword [sym.imp.ucrtbase.dll_wcstoul]
mov ecx, dword [sym.imp.ucrtbase.dll_free]
mov edx, dword [ebp - 0x258]
mov dword [ebp - 0x254], ecx
mov ecx, dword [0x42801c]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x258], ecx
mov dword [esp], edx
call eax
mov ecx, dword [ebp - 0x258]
mov dword [ecx + 0x1c], 1
test byte [0x4172b4], 8
jne 0x409c5c
mov dword [esp], edi
call dword [sym.imp.user32.dll_GetParent]
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp + 4], 0x468
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
jmp 0x4098d6
mov ecx, 0x30
mov edx, 0x200d
mov eax, edi
call sym._driveui_msgbox
jmp case.0x408d9a.1046
mov dword [esp + 0xc], 0x41a6d4
jmp 0x409425
mov ecx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [ebp - 0x264], ecx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], str.drive_c
mov dword [esp + 4], 0
mov dword [esp], 0xfdf2
call ecx
mov edx, eax
sub esp, 0x18
lea eax, [eax + eax]
mov dword [esp], eax
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x260], edx
call eax
mov dword [ebp - 0x258], eax
test eax, eax
je 0x409bf2
mov edx, dword [ebp - 0x260]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [ebp - 0x264]
mov dword [esp + 0x14], edx
mov dword [esp + 8], str.drive_c
mov dword [esp + 4], 0
mov dword [esp], 0xfdf2
call ecx
sub esp, 0x18
mov eax, dword [0x42801c]
mov eax, dword [eax + 4]
mov dword [esp], eax
mov eax, dword [ebp - 0x254]
call eax
mov dword [esp], str.drive_c
call dword [sym.imp.ucrtbase.dll__strdup]
mov ecx, eax
mov eax, dword [0x42801c]
jmp 0x409350
mov ebx, dword [eax*8 + 0x41ab40]
mov edx, 2
jmp 0x4097d5
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], str.set_path_to__s_n
mov dword [esp + 8], 0x41aaf4
mov dword [esp + 4], 0x4172b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x409367
mov eax, dword [ecx + 0x10]
mov dword [esp + 0xc], str.set_serial_to__08lX_n
mov dword [esp + 8], 0x41aaf4
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x4172b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x409b06
mov ecx, 0x34
mov edx, 0x200f
mov eax, edi
call sym._driveui_msgbox
cmp eax, 7
jne 0x409579
jmp case.0x408d9a.1046
mov eax, dword [esi + 4]
mov dword [esp + 0xc], str.unixpath:__s_n
mov dword [esp + 8], str.on_remove_click
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x4172b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x409570
mov ecx, dword [sym.imp.ucrtbase.dll_free]
xor edx, edx
xor eax, eax
mov dword [ebp - 0x254], ecx
jmp 0x409ad2
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x254], eax
mov eax, dword [0x42801c]
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp - 0x254]
mov dword [esp], edx
call eax
mov eax, dword [ebp - 0x258]
mov dword [eax + 0xc], 0
mov dword [eax + 0x1c], 1
test byte [0x4172b4], 8
je 0x4099f5
mov ecx, 0x41a6ad
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], str.set_label_to__s_n
mov dword [esp + 8], 0x41aaf4
mov dword [esp + 4], 0x4172b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x4099f5
mov eax, dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], 0
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x254], eax
jmp 0x409268
mov eax, dword [sym.imp.ucrtbase.dll_free]
xor ecx, ecx
mov dword [ebp - 0x254], eax
jmp 0x4098cb
mov eax, dword [ebp - 0x254]
shr eax, 0x10
je 0x409ff1
mov ecx, dword [ebp - 0x254]
mov dword [esp + 4], 0xffffffff
mov dword [esp], ecx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, 0x41a6a3
sub esp, 8
test eax, eax
jne 0x409d3a
mov ecx, dword [ebp - 0x254]
cmp word [ecx], 0
je 0x40a079
mov edx, eax
lea eax, [eax + 1]
cmp word [ecx + edx*2 + 2], 0
jne 0x409de4
mov word [ebp - 0x214], 0x224c
lea ecx, [ebp - 0x212]
mov dword [ebp - 0x258], ebx
mov dword [ebp + 8], edi
jmp 0x409e46
cmp ax, 9
je 0x409f27
cmp ax, 0xa
jne 0x409f56
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea ebx, [ebp - 0xf2]
lea eax, [edx - 1]
cmp ecx, ebx
ja 0x409fb8
test edx, edx
jle 0x409fb8
mov edx, eax
add dword [ebp - 0x254], 2
mov eax, dword [ebp - 0x254]
movzx eax, word [eax - 2]
cmp ax, 0xd
je 0x409f38
jbe 0x409e0b
cmp ax, 0x22
je 0x409fa7
cmp ax, 0x5c
jne 0x409f49
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x409e2b
mov edx, 1
jmp 0x4097d5
mov dword [esp], 0
lea ebx, [ebp - 0x214]
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0x40
mov dword [esp + 4], 0x200e
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
sub esp, 0x10
mov dword [esp + 0x14], 3
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], str..._drive_c
mov dword [esp], 0x43
call sym._add_drive
jmp 0x4096b3
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.selected_drive_letter__c_n
mov dword [esp + 8], str.on_add_click
mov dword [esp + 4], 0x4172b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x40967a
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x409e2b
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x409e2b
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x40a00f
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + str.0123456789abcdefon_edit_changed]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + str.0123456789abcdefon_edit_changed]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + str.0123456789abcdefon_edit_changed]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + str.0123456789abcdefon_edit_changed]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x409e2b
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x409e2b
mov ebx, dword [ebp - 0x258]
mov edi, dword [ebp + 8]
mov byte [ecx], 0x22
test eax, eax
jle 0x40a08f
mov word [ecx + 1], 0x2e2e
lea eax, [ecx + 4]
mov byte [ecx + 3], 0x2e
mov byte [eax], 0
lea eax, [ebp - 0x214]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov ecx, eax
jmp 0x409d3a
movzx edx, word [ebp - 0x254]
mov dword [esp], 0x41a649
mov dword [esp + 4], edx
call sym._wine_dbg_sprintf.constprop.0_3
mov ecx, eax
jmp 0x409d3a
mov byte [ecx], al
add ecx, 1
jmp 0x409e2b
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], edx
mov dword [ebp - 0x254], eax
call eax
xor edx, edx
xor eax, eax
jmp 0x409ad2
mov dword [esp], ecx
mov eax, dword [ebp - 0x254]
call eax
xor ecx, ecx
jmp 0x4098cb
mov eax, dword [ebp - 0x254]
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x254], eax
call eax
jmp 0x409cfb
mov eax, dword [ebp - 0x258]
mov dword [esp], eax
call ecx
mov dword [ebp - 0x258], 0
jmp 0x409268
mov word [ebp - 0x214], 0x224c
lea ecx, [ebp - 0x212]
mov byte [ebp - 0x212], 0x22
lea eax, [ecx + 1]
jmp 0x409fd9
lea eax, [esi - 0x413]
cmp eax, 0x21
ja case.0x408d9a.1046
jmp dword [eax*4 + 0x41aa10]