Function at 0x41b1d0
Capabilities:
Create directory
Delete directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x429fc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x28]
xor edi, edi
call fcn.00427942
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ebx, 0xffffffff
cmp eax, ebx
jne 0x41b23a
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x24]
mov esi, eax
mov dword [esp + 0x1c], ebx
call sub.MFC42u.DLL_CString::CString
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
and eax, 0x10
cmp al, 0x10
je 0x41b266
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], ebx
call sub.MFC42u.DLL_CString::CString
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
cmp dword [esp + 0x28], edi
jne 0x41b3f6
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_3
lea edx, [esp + 0x24]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + 0x20], 1
call sub.MFC42u.DLL_CString::operator_2
mov eax, dword [esp + 0x24]
mov ecx, dword [eax - 8]
mov ax, word [eax + ecx*2 - 2]
cmp ax, 0x5c
je 0x41b2a9
push 0x5c
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::operator_1
push str.1clarus1
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::operator
mov eax, dword [esp + 0x24]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41b3bb
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push edi
call dword [sym.imp.MSVCRT.dll_time]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 8
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 0x64
idiv ecx
lea ecx, [esp + 0x28]
mov esi, edx
call sub.MFC42u.DLL_CString::CString_3
mov edx, dword [esp + 0x24]
push esi
push edx
lea eax, [esp + 0x30]
push 0x4377d4
push eax
mov byte [esp + 0x2c], 2
call sub.MFC42u.DLL_CString::Format
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x10
xor esi, esi
mov ecx, dword [esp + 0x28]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41b36e
call ebp
push 0x64
mov edi, eax
call ebx
inc esi
cmp esi, 0x32
jl 0x41b32b
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 0
call sub.MFC42u.DLL_CString::CString
or ebx, 0xffffffff
jmp 0x41b3f6
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], ebx
call sub.MFC42u.DLL_CString::CString
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], ebx
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret