Function at 0x449510
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46794c
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x47e0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x40], esp
lea eax, [ebp + 8]
push eax
call dword [sym.imp.MSVCP90.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 dword [ebp - 0x154], eax
call fcn.00440720
add esp, 0x1c
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x1c], ecx
push 0x29
push 0xe
push 0xe6
call fcn.004062d0
add esp, 0xc
cmp eax, 0x37
jne 0x449589
jmp 0x449597
call fcn.00417bb0
call fcn.0041b570
jmp 0x449597
call fcn.00405650
test eax, eax
je 0x4495aa
call fcn.0041da30
call fcn.00417c80
cmp dword [ebp - 0x1c], 0
je 0x4495cf
mov dword [ebp - 0x44], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x44]
jmp 0x4499b2
mov edx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [edx]
push eax
push 0x4728ac
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_last_not_of_char_const___unsigned_int_const]
push eax
lea ecx, [ebp - 0x84]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x68], esp
push 2
push 0x4728b0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___unsigned_int_]
mov dword [ebp - 0x15c], eax
lea ecx, [ebp - 0x64]
call fcn.004024a0
mov dword [ebp - 0x160], eax
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0x164], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x164]
call fcn.00402910
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x16c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x16c]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_last_not_of_char_const___unsigned_int_const]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.0044aa80
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
call fcn.004055d0
test eax, eax
je 0x449696
call fcn.0041da30
call fcn.00417d60
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0xc8]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xac], esp
push 2
push 0x4728b4
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___unsigned_int_]
mov dword [ebp - 0x170], eax
lea ecx, [ebp - 0xa8]
call fcn.004024a0
mov dword [ebp - 0x174], eax
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x178], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x178]
call fcn.00402730
mov dword [ebp - 0x17c], eax
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x180], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x180]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_last_of_char_const___unsigned_int_const]
mov dword [ebp - 0x14], eax
mov eax, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [ebp - 0x14]
xor edx, edx
cmp ecx, dword [eax]
setne dl
mov byte [ebp - 0x85], dl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.0044aa80
movzx eax, byte [ebp - 0x85]
test eax, eax
je 0x4497a7
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xcc], esp
mov edx, dword [ebp - 0x14]
push edx
push 0
push ecx
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.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__::substr_unsigned_int__unsigned_int_]
mov dword [ebp - 0x184], eax
call fcn.00440720
add esp, 0x1c
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x449799
jmp 0x4497a7
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x449696
mov edx, dword [sym.imp.MSVCP90.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [ebp - 0x14]
cmp eax, dword [edx]
je 0x449992
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x18]
jae 0x449992
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10c]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xf0], esp
push 2
push 0x4728b8
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___unsigned_int_]
mov dword [ebp - 0x18c], eax
lea ecx, [ebp - 0xec]
call fcn.004024a0
mov dword [ebp - 0x190], eax
mov edx, dword [ebp - 0x190]
mov dword [ebp - 0x194], edx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x194]
call fcn.00402650
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x19c], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x19c]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_first_of_char_const___unsigned_int_const]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xec]
call fcn.0044aa80
mov ecx, dword [ebp - 0x14]
push ecx
push 0
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.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__::substr_unsigned_int__unsigned_int_]
mov byte [ebp - 4], 7
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
lea ecx, [ebp - 0x12c]
push ecx
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.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__::substr_unsigned_int__unsigned_int_]
mov dword [ebp - 0x1a0], eax
mov edx, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], edx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x1a4]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x10d], al
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x12c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
movzx eax, byte [ebp - 0x10d]
test eax, eax
je 0x44992f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x44992f
mov dword [ebp - 0x130], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x130]
jmp 0x4499b2
push 6
mov ecx, dword [ebp - 0x14]
push ecx
push 0
lea edx, [ebp - 0x14c]
push edx
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.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__::substr_unsigned_int__unsigned_int_]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x1ac], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x1ac]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x4497a7
mov dword [ebp - 0x150], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x150]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00462030
mov esp, ebp
pop ebp
ret