Function at 0x404450
Capabilities:
Create directory

Disassembly:
mov eax, 0x41da9b
call sub.MSVCRT.dll__EH_prolog
mov eax, 0x32d4
call fcn.00410b70
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
lea ecx, [ebp - 0x32e0]
mov dword [ebp - 0x14], edi
call fcn.004043b1
mov eax, dword [ebx + 0xb0]
mov ecx, 0x1004
cmp eax, ecx
jb 0x40448a
mov eax, ecx
mov edx, dword [ebx + 0xac]
cmp edx, edi
jne 0x40449a
mov edx, 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.MSVCRT.dll__mbsnbcpy]
push eax
lea eax, [ebp - 0x32dc]
push edx
push eax
call esi
mov al, byte [ebp - 0xd]
add esp, 0xc
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x38], al
push edi
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, ebx
mov dword [ebp - 4], edi
call fcn.004077af
mov eax, dword [eax + 8]
mov ecx, 0x104
cmp eax, ecx
jae 0x4044e0
mov ecx, ebx
call fcn.004077af
mov edi, dword [eax + 8]
jmp 0x4044e2
mov edi, ecx
mov ecx, ebx
call fcn.004077af
mov eax, dword [eax + 4]
test eax, eax
jne 0x4044f5
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
lea eax, [ebp - 0x22d8]
push eax
call esi
add esp, 0xc
lea ecx, [ebp - 0xe4]
push 1
push 3
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
lea esi, [ebp - 0xe4]
mov edi, dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___class_std::basic_ostream_char__struct_std::char_traits_char_____char_const__]
neg esi
sbb esi, esi
lea eax, [ebp - 0xdc]
and esi, eax
lea eax, [ebp - 0x22d8]
push eax
push esi
mov byte [ebp - 4], 1
call edi
pop ecx
lea eax, [ebp - 0x28]
pop ecx
push eax
lea ecx, [ebp - 0xe4]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::str_void_]
mov eax, dword [eax + 4]
test eax, eax
jne 0x404557
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
call dword [sym.imp.MSVCRT.dll__mkdir]
pop ecx
mov dword [ebp - 0x18], eax
push 1
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp dword [ebp - 0x18], 0
je 0x4046f8
cmp dword [ebp - 0x18], 0xffffffff
jne 0x4045bf
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xe4]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::str_void_]
mov eax, dword [eax + 4]
test eax, eax
jne 0x404599
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
call dword [sym.imp.MSVCRT.dll__chdir]
neg eax
sbb al, al
pop ecx
inc al
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 0xd], 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_]
cmp byte [ebp - 0xd], 0
jne 0x4046f8
mov eax, dword [ebx + 0x11c]
mov edi, 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]
test eax, eax
je 0x4045d1
mov edi, eax
lea eax, [ebp - 0x22d8]
push eax
call sub.MSVCRT.dll_strlen
mov esi, 0x103
push edi
mov edx, esi
sub edx, eax
mov dword [ebp - 0x14], edx
call sub.MSVCRT.dll_strlen
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
cmp ecx, eax
jae 0x40460b
lea eax, [ebp - 0x22d8]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, esi
sub ecx, eax
jmp 0x404623
mov eax, dword [ebx + 0x11c]
test eax, eax
jne 0x40461a
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
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, eax
mov eax, dword [ebx + 0x11c]
test eax, eax
jne 0x404632
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 ecx
push eax
lea eax, [ebp - 0x22d8]
push eax
call dword [sym.imp.MSVCRT.dll__mbsnbcat]
lea eax, [ebp - 0x22d8]
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x10
cmp eax, esi
jae 0x404663
lea eax, [ebp - 0x22d8]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
jmp 0x404665
mov eax, esi
and byte [ebp + eax - 0x22d8], 0
lea eax, [ebp - 0x22d8]
push eax
call sub.MSVCRT.dll_strlen
mov edi, esi
mov dword [esp], str..exe
sub edi, eax
call sub.MSVCRT.dll_strlen
cmp edi, eax
pop ecx
jae 0x4046a1
lea eax, [ebp - 0x22d8]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, esi
sub ecx, eax
jmp 0x4046ae
push str..exe
call sub.MSVCRT.dll_strlen
pop ecx
mov ecx, eax
push ecx
lea eax, [ebp - 0x22d8]
push str..exe
push eax
call dword [sym.imp.MSVCRT.dll__mbsnbcat]
lea eax, [ebp - 0x22d8]
push eax
call sub.MSVCRT.dll_strlen
add esp, 0x10
cmp eax, esi
jae 0x4046e3
lea eax, [ebp - 0x22d8]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
jmp 0x4046e5
mov eax, esi
and byte [ebp + eax - 0x22d8], 0
mov esi, dword [sym.imp.MSVCRT.dll__mbsnbcpy]
jmp 0x404801
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xe4]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::str_void_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [ebp - 4], 2
push dword [ecx]
lea ecx, [ebp - 0x38]
push 0
push eax
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
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 0x427e88
call dword [sym.imp.MSVCRT.dll__chdir]
lea eax, [ebx + 0x118]
mov dword [esp], str..exe
push eax
push 0x427f0c
push esi
call edi
pop ecx
pop ecx
push eax
call sub.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___class_std::basic_ostream_char__struct_std::char_traits_char_____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__
pop ecx
pop ecx
push eax
call edi
pop ecx
lea eax, [ebp - 0x48]
pop ecx
push eax
lea ecx, [ebp - 0xe4]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::str_void_]
mov ecx, 0x104
mov byte [ebp - 4], 3
cmp dword [eax + 8], ecx
jae 0x40479d
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0xe4]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::str_void_]
mov dword [ebp - 0x14], 1
mov esi, dword [eax + 8]
mov byte [ebp - 4], 4
jmp 0x40479f
mov esi, ecx
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xe4]
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::str_void_]
mov eax, dword [eax + 4]
test eax, eax
jne 0x4047bb
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 esi
mov esi, dword [sym.imp.MSVCRT.dll__mbsnbcpy]
push eax
lea eax, [ebp - 0x22d8]
push eax
call esi
add esp, 0xc
lea ecx, [ebp - 0x28]
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
test byte [ebp - 0x14], 1
mov dword [ebp - 4], 3
je 0x4047f2
push 1
lea ecx, [ebp - 0x58]
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 - 0x48]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea eax, [ebp - 0x22d8]
lea edi, [ebx + 0x64]
push eax
call sub.MSVCRT.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x22d8]
push eax
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_]
mov ecx, dword [ebx + 0xd0]
mov eax, 0x1004
cmp ecx, eax
jae 0x404832
mov eax, ecx
mov edx, dword [ebx + 0xcc]
test edx, edx
jne 0x404842
mov edx, 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 - 0x21d4]
push edx
push eax
call esi
mov ecx, dword [ebx + 0xe0]
mov eax, 0x1000
add esp, 0xc
cmp ecx, eax
jae 0x404861
mov eax, ecx
mov edx, dword [ebx + 0xdc]
test edx, edx
jne 0x404871
mov edx, 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 - 0x11d0]
push edx
push eax
call esi
movzx eax, word [ebx + 0x8a]
add esp, 0xc
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1cc], eax
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebx + 0xa0]
push 0x20
mov dword [ebp - 0x16b], eax
mov eax, dword [ebx + 0x100]
pop edi
cmp eax, edi
jb 0x4048b3
mov eax, edi
mov ecx, dword [ebx + 0xfc]
test ecx, ecx
jne 0x4048c3
mov ecx, 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 - 0x1c4]
push ecx
push eax
call esi
mov eax, dword [ebx + 0x110]
add esp, 0xc
cmp eax, edi
jb 0x4048dd
mov eax, edi
mov ecx, dword [ebx + 0x10c]
xor edi, edi
cmp ecx, edi
jne 0x4048ef
mov ecx, 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 - 0x1a4]
push ecx
push eax
call esi
mov eax, dword [ebx + 0x68]
and byte [ebp - 0x175], 0
add esp, 0xc
cmp eax, edi
jne 0x404910
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 dword [sym.imp.MSVCRT.dll__access]
pop ecx
test eax, eax
pop ecx
jne 0x40492f
push 1
mov ecx, ebx
call fcn.00406afd
test al, al
jne 0x4049c4
push dword [ebx + 0x94]
mov ecx, dword [ebx + 8]
mov dword [ebx + 0x180], edi
mov dword [ebx + 0x184], 3
call fcn.00409d20
push dword [ebx + 0x98]
mov ecx, dword [ebx + 8]
lea esi, [ebx + 0x98]
call fcn.00409d23
push dword [ebx + 0x9c]
mov ecx, dword [ebx + 8]
call fcn.00409d26
mov eax, dword [ebx + 0x94]
cmp eax, edi
je 0x404994
mov esi, dword [esi]
cmp esi, edi
je 0x404994
add eax, esi
push 0x64
imul eax, eax, 0x78
xor edx, edx
pop ecx
div ecx
mov ecx, dword [ebx + 8]
push eax
call fcn.00409cf9
mov eax, 0x31fc
lea esi, [ebp - 0x32e0]
call fcn.00410b70
mov ecx, 0xc7e
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 8]
movsb byte es:[edi], byte [esi]
call fcn.0040965d
push 3
mov ecx, ebx
mov dword [ebx + 0x78], eax
call fcn.004062dd
jmp 0x404a13
mov dword [ebx + 0x180], 2
mov dword [ebx + 0x184], edi
mov eax, dword [ebx + 0x68]
cmp eax, edi
jne 0x4049e0
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.USER32.dll_PostMessageA]
push eax
push edi
push 0xbd5
push dword [ebx + 0x50]
call esi
push edi
push 0x3e8
push 0xbd3
push dword [ebx + 0x50]
call esi
push dword [ebx + 0x80]
push edi
push 0xbd1
push dword [ebx + 0x50]
call esi
mov ebx, dword [ebx + 0x78]
and byte [ebp - 4], 0
lea ecx, [ebp - 0xe4]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vbase_dtor_void_]
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x38]
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
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret