Function at 0x40ac1d
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x394
mov eax, dword [0x416180]
push ebx
xor eax, ebp
mov dword [ebp - 0x290], ecx
push 0x411d74
lea ecx, [ebp - 0x2c8]
mov dword [ebp + 0x74], eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const__]
push eax
call fcn.0040e18e
mov ecx, eax
call fcn.0040e14b
push eax
lea ecx, [ebp - 0x2ac]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const__]
push eax
call dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator__unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
pop ecx
pop ecx
lea ecx, [ebp - 0x2ac]
mov bl, al
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [ebp - 0x2c8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
test bl, bl
je 0x40ac92
mov al, 1
jmp 0x40b0e7
push esi
push edi
call fcn.0040e18e
add eax, 8
push eax
lea ecx, [ebp + 0x3c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
push 1
mov ebx, 0x411d70
or edi, 0xffffffff
push ebx
lea ecx, [ebp + 0x3c]
mov dword [ebp - 0x28c], edi
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::find_unsigned_short_int_const___unsigned_int_const]
cmp eax, edi
je 0x40ace4
mov esi, dword [ebp - 0x28c]
mov dword [ebp - 0x28c], eax
inc eax
push eax
push ebx
lea ecx, [ebp + 0x3c]
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::find_unsigned_short_int_const___unsigned_int_const]
cmp eax, edi
jne 0x40acc4
cmp esi, edi
jne 0x40aceb
xor bl, bl
jmp 0x40b0da
test byte [0x416bd0], 1
jne 0x40ad16
or dword [0x416bd0], 1
push 0x411d48
mov ecx, 0x416bb4
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const__]
push 0x40fe57
call fcn.0040f688
pop ecx
push 0x416bb4
inc esi
push esi
xor esi, esi
push esi
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp + 0x3c]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00402333
add esp, 0xc
lea ecx, [ebp - 0x2ac]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
push 0x411d44
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.004023d4
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x40ad6c
mov eax, dword [eax + 4]
jmp 0x40ad6f
add eax, 4
lea ecx, [ebp - 0x284]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x2ac]
mov edi, eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
cmp edi, 0xffffffff
jne 0x40ad97
mov bl, 1
jmp 0x40b0d1
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x2b4], esi
mov dword [ebp - 0x2b0], esi
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x40ade2
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x2ac]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const__]
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x2bc]
call fcn.0040abbb
lea ecx, [ebp - 0x2ac]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea eax, [ebp - 0x284]
push eax
push edi
call esi
test eax, eax
jne 0x40adb1
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x2bc]
call fcn.00409278
test eax, eax
jne 0x40ae0d
mov bl, 1
jmp 0x40b0c6
push 0x416bb4
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 4]
push eax
call fcn.00402333
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [ebp + 0x1c], 8
jae 0x40ae2e
lea eax, [ebp + 8]
xor esi, esi
push esi
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x40ae44
xor bl, bl
jmp 0x40b0bd
lea ecx, [ebp + 0x20]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_void_]
mov eax, dword [ebp - 0x2b8]
cmp eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x288], eax
je 0x40af89
mov edi, 0x416ab0
push dword [ebp - 0x288]
lea eax, [ebp + 4]
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.00402333
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x40ae8e
mov esi, dword [eax + 4]
jmp 0x40ae91
lea esi, [eax + 4]
push dword [ebp - 0x288]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.00402333
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x40aeb5
mov eax, dword [eax + 4]
jmp 0x40aeb8
add eax, 4
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x31c]
mov esi, eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [ebp - 0x2e4]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
test esi, esi
je 0x40af6e
push dword [ebp - 0x288]
lea eax, [ebp - 0x300]
push 0x416bb4
push eax
call fcn.00402333
add esp, 0xc
push eax
lea ecx, [ebp + 0x20]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
lea ecx, [ebp - 0x300]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
cmp dword [ebp + 0x38], 8
mov eax, dword [ebp + 0x24]
jae 0x40af20
lea eax, [ebp + 0x24]
xor ecx, ecx
push ecx
push ecx
push 0x104
push edi
push dword [ebp + 0x34]
push eax
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x40af40
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
lea ecx, [ebp - 0x2ac]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, dword [ebp - 0x290]
lea eax, [ebp - 0x2ac]
push eax
add ecx, 4
call fcn.0040ab71
lea ecx, [ebp - 0x2ac]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add dword [ebp - 0x288], 0x1c
mov eax, dword [ebp - 0x288]
cmp eax, dword [ebp - 0x2b4]
jne 0x40ae6a
xor esi, esi
test byte [0x416bd0], 2
jne 0x40afb4
or dword [0x416bd0], 2
push str..._Profiles_GougouSearch_history.history
mov ecx, 0x416a94
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const__]
push 0x40fe4c
call fcn.0040f688
pop ecx
call fcn.0040e18e
mov ecx, eax
call fcn.0040e123
push eax
lea ecx, [ebp + 0x58]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const__]
push esi
jmp 0x40afd5
mov dword [ebp - 0x28c], eax
inc eax
push eax
lea ecx, [ebp + 0x58]
push ebx
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::find_unsigned_short_int_const___unsigned_int_const]
cmp eax, 0xffffffff
jne 0x40afcd
mov eax, dword [ebp - 0x28c]
push 0x416a94
inc eax
push eax
push esi
lea eax, [ebp - 0x2e4]
push eax
lea ecx, [ebp + 0x58]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int_____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::substr_unsigned_int__unsigned_int_]
push eax
lea eax, [ebp - 0x300]
push eax
call fcn.00402333
add esp, 0xc
push eax
lea ecx, [ebp + 0x58]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
lea ecx, [ebp - 0x300]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [ebp - 0x2e4]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
push str.history.history
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004023d4
mov ecx, dword [ebp - 0x14]
add esp, 0xc
cmp dword [ebp], 8
jae 0x40b055
lea ecx, [ebp - 0x14]
cmp dword [ebp + 0x70], 8
mov eax, dword [ebp + 0x5c]
jae 0x40b061
lea eax, [ebp + 0x5c]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x40b0a0
push 0x411cc0
lea ecx, [ebp - 0x2ac]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, dword [ebp - 0x290]
lea eax, [ebp - 0x2ac]
push eax
add ecx, 4
call fcn.0040ab71
lea ecx, [ebp - 0x2ac]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [ebp + 0x58]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [ebp + 0x20]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov bl, 1
lea ecx, [ebp + 4]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [ebp - 0x2bc]
call fcn.0040ab3f
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [ebp + 0x3c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
pop edi
mov al, bl
pop esi
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop ebx
call fcn.0040f50d
add ebp, 0x78
leave
ret