Function at 0x4015c0
Capabilities:
Create directory
Delete directory
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
mov eax, dword [0x411338]
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
mov dword [0x40463c], ebx
je 0x40167c
mov al, byte [0x4044d4]
test al, al
je 0x40167c
push 0x4044d4
push 0x4046b0
mov dword [0x40463c], 1
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x5c
push 0x4046b0
call dword [sym.imp.MSVCRT.dll_strrchr]
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x401631
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 3
jle 0x401631
mov byte [esi + 1], bl
sub esi, 0x4046b0
mov edi, 0x4047b4
mov eax, esi
mov esi, 0x4046b0
lea ecx, [eax + 1]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [eax + 0x4047b5], 0
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.004014d0
fcomp qword [0x403108]
add esp, 8
fnstsw ax
test ah, 0x40
je 0x40167c
mov dword [0x40463c], ebx
push 0x404640
push 0x4045d8
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x5c
push 0x4045d8
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
cmp eax, ebx
je 0x4016a4
mov byte [eax + 1], 0
mov ecx, dword [0x41127c]
push ebx
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x80000000
push 0x411350
push str.ListBox
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x18], edi
je 0x40193f
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x184
push edi
call esi
push 0x404110
push 0xc000
push 0x18d
push edi
call esi
push ebx
push ebx
push 0x18b
push edi
call esi
cmp eax, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebx
jle 0x401938
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x401720
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
push eax
push 0x189
push edi
call esi
mov ebp, dword [sym.imp.MSVCRT.dll_isalpha]
lea esi, [esp + 0x28]
movsx ecx, byte [esp + 0x28]
push ecx
call ebp
add esp, 4
test eax, eax
jne 0x401763
cmp byte [esi], 0
je 0x401923
movsx edx, byte [esi + 1]
inc esi
push edx
call ebp
add esp, 4
test eax, eax
je 0x40174b
cmp byte [esi], 0
je 0x401923
push esi
call dword [sym.imp.USER32.dll_CharUpperA]
push esi
mov byte [esi + 0xf], 0
mov byte [esi + 1], 0x3a
mov byte [esi + 2], 0x5c
mov byte [esi + 3], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ebp, eax
mov eax, dword [0x4044d0]
test eax, eax
je 0x4017c0
mov edi, 0x4045d8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push 0x4045d8
call dword [sym.imp.MSVCRT.dll__strnicmp]
mov edi, dword [esp + 0x24]
add esp, 0xc
test eax, eax
je 0x401923
mov eax, ebp
sub eax, 2
je 0x4017d1
dec eax
je 0x4017d1
dec eax
jne 0x401923
mov eax, dword [0x40463c]
push str.PANODVR
mov ecx, eax
push esi
shl ecx, 6
add ecx, eax
push str._s_s_
lea edx, [ecx*8 + 0x4046b0]
push edx
call ebx
mov eax, dword [0x40463c]
add esp, 0x10
mov ecx, eax
shl ecx, 6
add ecx, eax
push esi
lea edx, [ecx*8 + 0x4047b4]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [0x40463c]
mov esi, dword [sym.imp.MSVCRT.dll__access]
mov ecx, eax
push 0
shl ecx, 6
add ecx, eax
lea edx, [ecx*8 + 0x4046b0]
push edx
call esi
add esp, 8
test eax, eax
je 0x401852
mov eax, dword [0x40463c]
mov ecx, eax
shl ecx, 6
add ecx, eax
lea edx, [ecx*8 + 0x4046b0]
push edx
call dword [sym.imp.MSVCRT.dll__mkdir]
add esp, 4
mov eax, dword [0x40463c]
push 0
mov ecx, eax
shl ecx, 6
add ecx, eax
lea edx, [ecx*8 + 0x4046b0]
push edx
call esi
add esp, 8
test eax, eax
jne 0x401923
mov eax, dword [0x40463c]
push eax
call fcn.00401950
add esp, 4
test eax, eax
je 0x401923
mov eax, dword [0x40463c]
mov ecx, eax
shl ecx, 6
add ecx, eax
lea eax, [esp + 0x8c]
lea edx, [ecx*8 + 0x4046b0]
push edx
push str.attrib.exe_H_S__s
push eax
call ebx
lea ecx, [esp + 0x98]
push 0x5c
push ecx
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 0x14
test eax, eax
je 0x4018c8
mov byte [eax], 0
lea edx, [esp + 0x8c]
push 0
push edx
call fcn.004021b0
mov ecx, dword [0x40463c]
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.004014d0
fstp st(0)
fld qword [esp + 0x28]
fcomp qword [0x404048]
add esp, 8
fnstsw ax
test ah, 0x41
mov eax, dword [0x40463c]
jne 0x40190b
inc eax
mov dword [0x40463c], eax
jmp 0x401923
mov edx, eax
shl edx, 6
add edx, eax
lea eax, [edx*8 + 0x4046b0]
push eax
call dword [sym.imp.MSVCRT.dll__rmdir]
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x40171a
push edi
call dword [sym.imp.USER32.dll_DestroyWindow]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret