Function at 0x40ad30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xb8
mov dword [ebp - 0xa4], eax
test byte [0x415060], 8
jne 0x40b11d
mov esi, dword [sym.imp.user32.dll_SendDlgItemMessageW]
mov edi, dword [ebp - 0xa4]
mov dword [0x416ed4], 1
mov ebx, 0x415a60
mov dword [esp + 0x10], 2
mov dword [ebp - 0xa8], esi
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 dword [ebp - 0xac], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x1009
mov dword [esp + 4], 0x412
mov dword [esp], edi
call esi
mov esi, 0x41
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
sub esp, 0x14
jmp 0x40adf9
add ebx, 0x20
mov eax, 0x415da0
inc esi
cmp eax, ebx
je 0x40b075
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x40ade8
cmp byte [ebx], 0x43
mov eax, 1
cmovne eax, dword [ebp - 0x94]
mov edx, 0x3a
mov word [ebp - 0x87], dx
mov dword [ebp - 0x94], eax
mov eax, esi
mov byte [ebp - 0x88], al
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x84], 5
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x88]
mov dword [esp + 8], eax
mov eax, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [ebp - 0x7c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0xfdf2
mov dword [ebp - 0x8c], eax
call eax
mov edi, dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, eax
sub esp, 0x18
add eax, eax
mov dword [ebp - 0x98], ecx
mov dword [esp], eax
call edi
mov edx, eax
test eax, eax
je 0x40aee5
mov ecx, dword [ebp - 0x98]
mov dword [esp + 0x10], eax
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0x14], ecx
lea ecx, [ebp - 0x88]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov dword [esp], 0xfdf2
call eax
mov edx, dword [ebp - 0x98]
sub esp, 0x18
cmp word [edx], 0
mov dword [ebp - 0x70], edx
je 0x40b0f0
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x40aef8
sub eax, edx
sar eax, 1
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x84]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x64], ebx
mov dword [esp], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x104d
mov dword [esp + 4], 0x412
call eax
mov eax, dword [ebp - 0x70]
sub esp, 0x14
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0x98], eax
call eax
mov ecx, dword [ebx + 4]
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], ecx
mov dword [ebp - 0xa0], ecx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0xfdf2
call eax
mov edx, eax
sub esp, 0x18
add eax, eax
mov dword [ebp - 0x9c], edx
mov dword [esp], eax
call edi
mov edi, eax
test eax, eax
je 0x40afe2
mov edx, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xa0]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [ebp - 0x8c]
mov dword [esp + 0x14], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov dword [esp], 0xfdf2
call eax
sub esp, 0x18
mov eax, dword [ebp - 0x90]
test eax, eax
js 0x40b053
cmp word [edi], 0
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x34], edi
je 0x40b0f7
mov eax, edi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x40b010
sub eax, edi
sar eax, 1
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x48]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xa4]
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov eax, dword [ebp - 0xa8]
mov dword [esp + 8], 0x104c
mov dword [esp + 4], 0x412
call eax
sub esp, 0x14
mov eax, dword [ebp - 0x98]
mov dword [esp], edi
add ebx, 0x20
inc esi
call eax
mov eax, 0x415da0
inc dword [ebp - 0x90]
cmp eax, ebx
jne 0x40adf9
test byte [0x415060], 8
jne 0x40b146
mov eax, dword [ebp - 0x94]
mov dword [esp + 4], 0x433
test eax, eax
mov eax, dword [ebp - 0xa4]
mov dword [esp], eax
jne 0x40b0fe
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
mov esi, dword [ebp - 0xac]
mov eax, 0
cmp esi, 0xffffffff
cmovne eax, esi
mov edx, eax
mov eax, dword [ebp - 0xa4]
call sym._lv_set_curr_select
mov eax, dword [ebp - 0x90]
mov dword [0x416ed4], 0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
jmp 0x40af05
xor eax, eax
jmp 0x40b01d
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
jmp 0x40b0ba
mov dword [esp + 0xc], 0x417d0f
mov dword [esp + 8], str.fill_drives_list
mov dword [esp + 4], 0x415060
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x40ad4f
mov eax, dword [ebp - 0x90]
mov dword [esp + 0xc], str.loaded__d_drives_n
mov dword [esp + 8], str.fill_drives_list
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x415060
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x40b082