Function at 0x40aa00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xdc
mov dword [ebp - 0xb4], eax
test byte [0x415060], 8
jne 0x40adfd
mov esi, dword [sym.imp.user32.dll_SendDlgItemMessageW]
mov edi, dword [ebp - 0xb4]
mov dword [0x416ed4], 1
mov ebx, 0x415a60
mov dword [esp + 0x10], 2
mov dword [ebp - 0xb8], 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 - 0xbc], 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 - 0xa4], 0
mov dword [ebp - 0xa0], 0
sub esp, 0x14
jmp 0x40aac9
add ebx, 0x20
mov eax, 0x415da0
inc esi
cmp eax, ebx
je 0x40ad4d
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x40aab8
cmp byte [ebx], 0x43
mov eax, 1
cmovne eax, dword [ebp - 0xa4]
mov edx, 0x3a
mov word [ebp - 0x93], dx
mov dword [ebp - 0xa4], eax
mov eax, esi
mov byte [ebp - 0x94], al
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x90], 5
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x94]
mov dword [esp + 8], eax
mov eax, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [ebp - 0x88], 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 - 0x9c], eax
call eax
mov edi, dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, eax
sub esp, 0x18
add eax, eax
mov dword [ebp - 0xa8], ecx
mov dword [esp], eax
call edi
mov edx, eax
test eax, eax
je 0x40abbb
mov ecx, dword [ebp - 0xa8]
mov dword [esp + 0x10], eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp + 0x14], ecx
lea ecx, [ebp - 0x94]
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 - 0xa8]
sub esp, 0x18
cmp word [edx], 0
mov dword [ebp - 0x7c], edx
je 0x40add0
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x40abd0
sub eax, edx
sar eax, 1
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x90]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x70], ebx
mov dword [esp], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x104d
mov dword [esp + 4], 0x412
call eax
mov eax, dword [ebp - 0x7c]
sub esp, 0x14
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0xa8], eax
call eax
mov ecx, dword [ebx + 4]
mov eax, dword [ebp - 0x9c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], ecx
mov dword [ebp - 0xb0], 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 - 0xac], edx
mov dword [esp], eax
call edi
mov edi, eax
test eax, eax
je 0x40acba
mov edx, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb0]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [ebp - 0x9c]
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 - 0xa0]
test eax, eax
js 0x40ad2b
cmp word [edi], 0
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x40], edi
je 0x40add7
mov eax, edi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x40ace8
sub eax, edi
sar eax, 1
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xb4]
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov eax, dword [ebp - 0xb8]
mov dword [esp + 8], 0x104c
mov dword [esp + 4], 0x412
call eax
sub esp, 0x14
mov eax, dword [ebp - 0xa8]
mov dword [esp], edi
add ebx, 0x20
inc esi
call eax
mov eax, 0x415da0
inc dword [ebp - 0xa0]
cmp eax, ebx
jne 0x40aac9
test byte [0x415060], 8
jne 0x40ae26
mov eax, dword [ebp - 0xa4]
mov dword [esp + 4], 0x433
test eax, eax
mov eax, dword [ebp - 0xb4]
mov dword [esp], eax
jne 0x40adde
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 - 0xbc]
mov eax, 0
cmp esi, 0xffffffff
cmovne eax, esi
mov edx, eax
mov eax, dword [ebp - 0xb4]
call sym._lv_set_curr_select
mov eax, dword [ebp - 0xa0]
mov dword [0x416ed4], 0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
jmp 0x40abdd
xor eax, eax
jmp 0x40acf5
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 0x40ad92
mov dword [esp + 0xc], 0x417cc7
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 0x40aa1f
mov eax, dword [ebp - 0xa0]
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 0x40ad5a