Function at 0x40b219
Capabilities:
Copy file
Create directory
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x394
mov eax, dword [0x423694]
push ebx
xor eax, ebp
mov dword [ebp - 0x290], ecx
push 0x41af9c
lea ecx, [ebp - 0x2c8]
mov dword [ebp + 0x74], eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push eax
call fcn.0040e916
mov ecx, eax
call fcn.0040e8d3
push eax
lea ecx, [ebp - 0x2ac]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push eax
call dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator__wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
pop ecx
pop ecx
lea ecx, [ebp - 0x2ac]
mov bl, al
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x2c8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
test bl, bl
je 0x40b28e
mov al, 1
jmp 0x40b6e3
push esi
push edi
call fcn.0040e916
add eax, 8
push eax
lea ecx, [ebp + 0x3c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push 1
mov ebx, 0x41af98
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_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t_const___unsigned_int_const]
cmp eax, edi
je 0x40b2e0
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_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t_const___unsigned_int_const]
cmp eax, edi
jne 0x40b2c0
cmp esi, edi
jne 0x40b2e7
xor bl, bl
jmp 0x40b6d6
test byte [0x4240e0], 1
jne 0x40b312
or dword [0x4240e0], 1
push 0x41af70
mov ecx, 0x4240c4
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push 0x4185d9
call fcn.004173c8
pop ecx
push 0x4240c4
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_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040234c
add esp, 0xc
lea ecx, [ebp - 0x2ac]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push 0x41af6c
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.004023ed
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x40b368
mov eax, dword [eax + 4]
jmp 0x40b36b
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_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp edi, 0xffffffff
jne 0x40b393
mov bl, 1
jmp 0x40b6cd
mov dword [ebp - 0x2b8], esi
mov dword [ebp - 0x2b4], esi
mov dword [ebp - 0x2b0], esi
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x40b3de
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x2ac]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x2bc]
call fcn.0040b190
lea ecx, [ebp - 0x2ac]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [ebp - 0x284]
push eax
push edi
call esi
test eax, eax
jne 0x40b3ad
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x2bc]
call fcn.00409579
test eax, eax
jne 0x40b409
mov bl, 1
jmp 0x40b6c2
push 0x4240c4
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 4]
push eax
call fcn.0040234c
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [ebp + 0x1c], 8
jae 0x40b42a
lea eax, [ebp + 8]
xor esi, esi
push esi
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x40b440
xor bl, bl
jmp 0x40b6b9
lea ecx, [ebp + 0x20]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov eax, dword [ebp - 0x2b8]
cmp eax, dword [ebp - 0x2b4]
mov dword [ebp - 0x288], eax
je 0x40b585
mov edi, 0x423fc0
push dword [ebp - 0x288]
lea eax, [ebp + 4]
push eax
lea eax, [ebp - 0x2e4]
push eax
call fcn.0040234c
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x40b48a
mov esi, dword [eax + 4]
jmp 0x40b48d
lea esi, [eax + 4]
push dword [ebp - 0x288]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.0040234c
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x40b4b1
mov eax, dword [eax + 4]
jmp 0x40b4b4
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_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x2e4]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
test esi, esi
je 0x40b56a
push dword [ebp - 0x288]
lea eax, [ebp - 0x300]
push 0x4240c4
push eax
call fcn.0040234c
add esp, 0xc
push eax
lea ecx, [ebp + 0x20]
call dword [0x4192fc]
lea ecx, [ebp - 0x300]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp dword [ebp + 0x38], 8
mov eax, dword [ebp + 0x24]
jae 0x40b51c
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 0x40b53c
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, 8
call fcn.0040af30
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 0x40b466
xor esi, esi
test byte [0x4240e0], 2
jne 0x40b5b0
or dword [0x4240e0], 2
push str..._Profiles_GougouSearch_history.history
mov ecx, 0x423fa4
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push 0x4185ce
call fcn.004173c8
pop ecx
call fcn.0040e916
mov ecx, eax
call fcn.0040e8ab
push eax
lea ecx, [ebp + 0x58]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push esi
jmp 0x40b5d1
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_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t_const___unsigned_int_const]
cmp eax, 0xffffffff
jne 0x40b5c9
mov eax, dword [ebp - 0x28c]
push 0x423fa4
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_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
lea eax, [ebp - 0x300]
push eax
call fcn.0040234c
add esp, 0xc
push eax
lea ecx, [ebp + 0x58]
call dword [0x4192fc]
lea ecx, [ebp - 0x300]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x2e4]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
push str.history.history
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004023ed
mov ecx, dword [ebp - 0x14]
add esp, 0xc
cmp dword [ebp], 8
jae 0x40b651
lea ecx, [ebp - 0x14]
cmp dword [ebp + 0x70], 8
mov eax, dword [ebp + 0x5c]
jae 0x40b65d
lea eax, [ebp + 0x5c]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x40b69c
push 0x41aee8
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, 8
call fcn.0040af30
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_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp + 0x58]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp + 0x20]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov bl, 1
lea ecx, [ebp + 4]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x2bc]
call fcn.0040afb7
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp + 0x3c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
pop edi
mov al, bl
pop esi
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop ebx
call fcn.00417249
add ebp, 0x78
leave
ret