Function at 0x4081e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
mov dword [ebp - 0x58], eax
test byte [0x4172b4], 8
jne 0x4084fe
mov esi, dword [ebp - 0x58]
mov edi, dword [sym.imp.user32.dll_SendDlgItemMessageW]
mov dword [0x428020], 1
mov dword [esp + 0x10], 2
mov dword [esp], esi
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0x100c
mov dword [esp + 4], 0x412
mov dword [ebp - 0x6c], edi
call edi
sub esp, 0x14
mov dword [ebp - 0x70], eax
mov dword [esp], esi
xor esi, esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x1009
mov dword [esp + 4], 0x412
call edi
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x54], 0
sub esp, 0x14
jmp 0x408284
add esi, 1
cmp esi, 0x1a
je 0x408467
mov edx, esi
shl edx, 5
mov ecx, dword [edx + 0x4283b8]
test ecx, ecx
je 0x408278
cmp byte [edx + 0x4283a0], 0x43
mov eax, 1
cmovne eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], edx
mov edx, 0x3a
mov dword [ebp - 0x48], 5
mov dword [ebp - 0x5c], eax
lea eax, [esi + 0x41]
mov byte [ebp - 0x4c], al
mov eax, dword [ebp - 0x54]
mov word [ebp - 0x4b], dx
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x4c]
mov dword [esp + 8], eax
mov eax, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [ebp - 0x40], 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 - 0x50], eax
call eax
mov ecx, dword [sym.imp.ucrtbase.dll_malloc]
sub esp, 0x18
mov edi, eax
lea eax, [eax + eax]
mov dword [esp], eax
mov dword [ebp - 0x60], ecx
call ecx
mov edx, dword [ebp - 0x64]
test eax, eax
mov ebx, eax
je 0x408354
mov dword [esp + 0x14], edi
lea edi, [ebp - 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0xfdf2
call eax
mov edx, dword [ebp - 0x64]
sub esp, 0x18
cmp word [ebx], 0
mov dword [ebp - 0x34], ebx
je 0x4084d8
mov eax, ebx
nop
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x408368
sub eax, ebx
sar eax, 1
mov dword [ebp - 0x30], eax
lea eax, [edx + 0x4283a0]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x48]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x64], edx
mov dword [esp], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x104d
mov dword [esp + 4], 0x412
call eax
mov eax, dword [ebp - 0x34]
mov edi, dword [sym.imp.ucrtbase.dll_free]
sub esp, 0x14
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x50]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov ecx, dword [edx + 0x4283a4]
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov dword [ebp - 0x68], ecx
mov dword [esp], 0xfdf2
call eax
mov ecx, dword [ebp - 0x60]
mov edx, eax
sub esp, 0x18
lea eax, [eax + eax]
mov dword [ebp - 0x64], edx
mov dword [esp], eax
call ecx
mov ebx, eax
test eax, eax
je 0x408445
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov eax, dword [ebp - 0x50]
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 edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
mov ecx, ebx
add esi, 1
call sym._lv_set_item_text.part.0.constprop.0
mov dword [esp], ebx
call edi
add dword [ebp - 0x54], 1
cmp esi, 0x1a
jne 0x408284
test byte [0x4172b4], 8
jne 0x408527
mov eax, dword [ebp - 0x5c]
mov dword [esp + 4], 0x433
test eax, eax
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
jne 0x4084df
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 edi, dword [ebp - 0x70]
mov eax, 0
cmp edi, 0xffffffff
cmovne eax, edi
mov edx, eax
mov eax, dword [ebp - 0x58]
call sym._lv_set_curr_select
mov eax, dword [ebp - 0x54]
mov dword [0x428020], 0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
jmp 0x408375
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 0x4084a6
mov dword [esp + 0xc], 0x41a653
mov dword [esp + 8], str.fill_drives_list
mov dword [esp + 4], 0x4172b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x4081f9
mov eax, dword [ebp - 0x54]
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], 0x4172b4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_3
jmp 0x408474