Function at 0x10095ba0
Capabilities:
Copy file
Create directory
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1013d903
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x10170024]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x10170024]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x40], eax
mov eax, vtable.MemoryControl.0
mov esi, ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebx
push ebx
push edi
mov byte [esp + 0xc8], 1
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, dword [esi]
mov edx, dword [edx + 0x20]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x44]
push ebx
lea ecx, [esp + 0x34]
push ecx
push ebx
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.100997e0
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x54]
mov ebx, eax
call fcn.100997e0
mov edx, dword [esi]
mov edx, dword [edx + 0x20]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x44]
push eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x34]
push eax
push ebx
push ecx
mov ecx, esi
call edx
test al, al
jne 0x10095ca5
mov eax, dword [esp + 0x54]
test eax, eax
mov esi, dword [sym.imp.MSVCR80.dll_free]
je 0x10095c90
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x48]
test eax, eax
je 0x10095c9e
push eax
call esi
add esp, 4
xor al, al
jmp 0x1009625c
xor esi, esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov byte [esp + 0xc0], 3
mov eax, dword [esp + 0x2c]
push eax
push ebx
lea ecx, [esp + 0x38]
call fcn.10099a40
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.10099a40
add esp, 0x10
push edi
lea ecx, [esp + 0x7c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [esp + 0xc0], 4
xor ebx, ebx
mov dword [esp + 0x14], esi
mov ecx, dword [esp + 0x1c]
cmp ecx, esi
mov esi, dword [esp + 0x20]
je 0x10095ee9
mov edi, esi
sub edi, ecx
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x10095ee9
test ecx, ecx
mov eax, dword [esp + 0x14]
lea edi, [eax + ecx]
je 0x10095d58
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x10095d62
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov esi, dword [edx + ecx + 0x14]
mov eax, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov ecx, dword [eax]
push ecx
push 0x1014bdb4
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_last_of_wchar_t_const___unsigned_int_const]
add esi, 0xffffffff
cmp eax, esi
jne 0x10095e8f
mov edx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov eax, dword [edx]
mov esi, dword [esp + 0x8c]
push eax
push 0x1014bdb4
lea ecx, [esp + 0x80]
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_last_of_wchar_t_const___unsigned_int_const]
add esi, 0xffffffff
cmp eax, esi
jne 0x10095dfd
mov ecx, dword [esp + 0x8c]
add ecx, 0xffffffff
push ecx
push 0
lea edx, [esp + 0x9c]
push edx
lea ecx, [esp + 0x84]
call dword [sym.imp.MSVCP80.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 ecx, [esp + 0x7c]
mov byte [esp + 0xc4], 5
call dword [sym.imp.MSVCP80.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__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x94]
mov byte [esp + 0xc0], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x60]
call dword [sym.imp.MSVCP80.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__]
mov byte [esp + 0xc0], 6
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x10095e39
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x10095e43
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add ecx, esi
push ecx
lea ecx, [esp + 0x60]
call dword [0x101464c8]
cmp dword [esp + 0x74], 8
mov eax, dword [esp + 0x60]
jae 0x10095e63
lea eax, [esp + 0x60]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10095e7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x10095e9e
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc0], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add dword [esp + 0x14], 0x1c
add ebx, 1
xor esi, esi
jmp 0x10095d05
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc0], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x78]
mov byte [esp + 0xc0], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ebx, [esp + 0x18]
mov byte [esp + 0xc0], 2
call fcn.100036b0
lea ebx, [esp + 0x30]
mov byte [esp + 0xc0], 1
call fcn.100036b0
jmp 0x10095c7c
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x14], edi
cmp ecx, edi
je 0x1009619f
mov edi, esi
sub edi, ecx
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x1009619d
test ecx, ecx
mov edx, dword [esp + 0x14]
lea edi, [edx + ecx]
je 0x10095f3c
sub esi, ecx
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x10095f46
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov esi, dword [eax + ecx + 0x14]
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov edx, dword [ecx]
push edx
push 0x1014bdb4
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_last_of_wchar_t_const___unsigned_int_const]
add esi, 0xffffffff
cmp eax, esi
je 0x10096186
lea ecx, [esp + 0x5c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esp + 0x94]
mov byte [esp + 0xc0], 7
call dword [sym.imp.MSVCP80.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 [esp + 0x40]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xc4], 8
call dword [sym.imp.MSVCP80.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__::operator_wchar_t_const__]
mov esi, dword [esp + 0x1c]
xor edi, edi
cmp esi, edi
je 0x10095fcc
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x10095fd6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
add ecx, esi
push ecx
lea ecx, [esp + 0x60]
call dword [0x101464c8]
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x98]
call dword [sym.imp.MSVCP80.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__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov esi, dword [esp + 0x1c]
cmp esi, edi
je 0x1009601e
mov ecx, dword [esp + 0x20]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x10096028
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
add eax, esi
push eax
lea ecx, [esp + 0x98]
call dword [0x101464c8]
mov ecx, dword [esp + 0x98]
mov eax, 8
cmp dword [esp + 0xac], eax
jae 0x10096058
lea ecx, [esp + 0x98]
cmp dword [esp + 0x74], eax
mov eax, dword [esp + 0x60]
jae 0x10096066
lea eax, [esp + 0x60]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, edi
jne 0x1009615f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
mov byte [esp + 0xc0], 7
lea ecx, [esp + 0x94]
je 0x1009616e
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc0], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x78]
mov byte [esp + 0xc0], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0xc0], 2
mov esi, dword [esp + 0x1c]
cmp esi, edi
je 0x100960f4
mov ebx, dword [esp + 0x20]
cmp esi, ebx
je 0x100960eb
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 0x1c
cmp esi, ebx
jne 0x100960d8
mov esi, dword [esp + 0x1c]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0xc0], 1
mov esi, dword [esp + 0x34]
cmp esi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
je 0x10096134
mov ebx, dword [esp + 0x38]
cmp esi, ebx
je 0x1009612b
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 0x1c
cmp esi, ebx
jne 0x10096118
mov esi, dword [esp + 0x34]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x54]
cmp eax, edi
mov esi, dword [sym.imp.MSVCR80.dll_free]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
je 0x10096154
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, edi
jmp 0x10095c96
mov byte [esp + 0xc0], 7
lea ecx, [esp + 0x94]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x5c]
mov byte [esp + 0xc0], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add dword [esp + 0x14], 0x1c
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
add ebx, 1
xor edi, edi
jmp 0x10095ef1
xor edi, edi
lea ecx, [esp + 0x78]
mov byte [esp + 0xc0], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov byte [esp + 0xc0], 2
mov esi, dword [esp + 0x1c]
cmp esi, edi
je 0x100961ec
mov ebx, dword [esp + 0x20]
cmp esi, ebx
je 0x100961e3
lea esp, [esp]
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 0x1c
cmp esi, ebx
jne 0x100961d0
mov esi, dword [esp + 0x1c]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [esp + 0xc0], 1
mov esi, dword [esp + 0x34]
cmp esi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
je 0x1009622c
mov ebx, dword [esp + 0x38]
cmp esi, ebx
je 0x10096223
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
add esi, 0x1c
cmp esi, ebx
jne 0x10096210
mov esi, dword [esp + 0x34]
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x54]
cmp eax, edi
mov esi, dword [sym.imp.MSVCR80.dll_free]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
je 0x1009624c
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, edi
je 0x1009625a
push eax
call esi
add esp, 4
mov al, 1
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.1012d370
mov esp, ebp
pop ebp
ret 8