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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101439a3
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x10177024]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x10177024]
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.100998f0
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x54]
mov ebx, eax
call fcn.100998f0
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 0x10096005
mov eax, dword [esp + 0x54]
test eax, eax
mov esi, dword [sym.imp.MSVCR80.dll_free]
je 0x10095ff0
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x48]
test eax, eax
je 0x10095ffe
push eax
call esi
add esp, 4
xor al, al
jmp 0x100965bc
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.10099bb0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.10099bb0
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 0x10096249
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 0x10096249
test ecx, ecx
mov eax, dword [esp + 0x14]
lea edi, [eax + ecx]
je 0x100960b8
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 0x100960c2
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 0x101520e4
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 0x100961ef
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 0x101520e4
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 0x1009615d
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 0x10096199
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 0x100961a3
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 [0x1014c4e4]
cmp dword [esp + 0x74], 8
mov eax, dword [esp + 0x60]
jae 0x100961c3
lea eax, [esp + 0x60]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100961dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100961fe
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 0x10096065
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.100036e0
lea ebx, [esp + 0x30]
mov byte [esp + 0xc0], 1
call fcn.100036e0
jmp 0x10095fdc
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x14], edi
cmp ecx, edi
je 0x100964ff
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 0x100964fd
test ecx, ecx
mov edx, dword [esp + 0x14]
lea edi, [edx + ecx]
je 0x1009629c
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 0x100962a6
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 0x101520e4
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 0x100964e6
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 0x1009632c
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 0x10096336
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 [0x1014c4e4]
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 0x1009637e
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 0x10096388
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 [0x1014c4e4]
mov ecx, dword [esp + 0x98]
mov eax, 8
cmp dword [esp + 0xac], eax
jae 0x100963b8
lea ecx, [esp + 0x98]
cmp dword [esp + 0x74], eax
mov eax, dword [esp + 0x60]
jae 0x100963c6
lea eax, [esp + 0x60]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, edi
jne 0x100964bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
mov byte [esp + 0xc0], 7
lea ecx, [esp + 0x94]
je 0x100964ce
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 0x10096454
mov ebx, dword [esp + 0x20]
cmp esi, ebx
je 0x1009644b
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 0x10096438
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 0x10096494
mov ebx, dword [esp + 0x38]
cmp esi, ebx
je 0x1009648b
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 0x10096478
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 0x100964b4
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, edi
jmp 0x10095ff6
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 0x10096251
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 0x1009654c
mov ebx, dword [esp + 0x20]
cmp esi, ebx
je 0x10096543
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 0x10096530
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 0x1009658c
mov ebx, dword [esp + 0x38]
cmp esi, ebx
je 0x10096583
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 0x10096570
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 0x100965ac
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, edi
je 0x100965ba
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.10130e50
mov esp, ebp
pop ebp
ret 8