Function at 0x401916
Capabilities:
Create directory
Move file
Set file attributes

Disassembly:
mov eax, 0x402e0b
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x354
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x35f]
mov byte [ebp - 0x360], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x157]
mov byte [ebp - 0x158], bl
push 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x25b]
mov byte [ebp - 0x25c], bl
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x10]
push 0x25
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x54]
push eax
call fcn.00401dad
push 0x405138
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 4], ebx
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
add esp, 0xc
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push dword [ebp + 8]
lea eax, [ebp - 0x360]
push eax
call sub.MSVCRT.dll_strcpy
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop ecx
pop ecx
push ebx
push str.c:windows_
call esi
mov edi, str.c:windows_temp_
push ebx
push edi
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x158]
push eax
call sub.MSVCRT.dll_strcpy
mov eax, dword [0x405404]
pop ecx
cmp eax, ebx
pop ecx
jne 0x4019e9
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x158]
push eax
call sub.MSVCRT.dll_strcat
push dword [ebp + 8]
lea eax, [ebp - 0x25c]
push eax
call sub.MSVCRT.dll_strcpy
mov eax, dword [0x4053f4]
add esp, 0x10
cmp eax, ebx
jne 0x401a16
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x25c]
push eax
call sub.MSVCRT.dll_strcat
push 0x405400
lea eax, [ebp - 0x34]
push edi
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
lea eax, [ebp - 0x44]
push 0x4053f0
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 3
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
add esp, 0x10
mov byte [ebp - 4], 4
mov dword [ebp + 8], esp
mov al, byte [ebp + 0xb]
mov edi, esp
push ebx
mov ecx, edi
mov byte [edi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov esi, 0x405114
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
sub esp, 0x10
lea eax, [ebp - 0x24]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00401e52
sub esp, 0x10
mov dword [ebp + 8], esp
mov al, byte [ebp + 0xb]
mov edi, esp
push ebx
mov ecx, edi
mov byte [edi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov esi, 0x405110
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
sub esp, 0x10
lea eax, [ebp - 0x24]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00401e52
mov eax, dword [ebp - 0x30]
cmp eax, ebx
jne 0x401af4
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edi, 0x80
push edi
push eax
call esi
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x401b0f
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push edi
push eax
call esi
mov eax, dword [ebp - 0x30]
cmp eax, ebx
jne 0x401b1f
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 1
push eax
lea eax, [ebp - 0x158]
push eax
call esi
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x401b3d
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push 1
push eax
lea eax, [ebp - 0x25c]
push eax
call esi
sub esp, 0x10
mov dword [ebp + 8], esp
mov al, byte [ebp + 0xb]
mov edi, esp
push ebx
mov ecx, edi
mov byte [edi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov esi, 0x40510c
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
sub esp, 0x10
lea eax, [ebp - 0x24]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00401e52
mov eax, dword [ebp - 0x30]
cmp eax, ebx
jne 0x401ba3
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov ecx, dword [ebp - 0x10]
push eax
call fcn.00401c69
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8