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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10111063
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x1013b024]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x1013b024]
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.100947f0
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x54]
mov ebx, eax
call fcn.100947f0
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 0x10091e85
mov eax, dword [esp + 0x54]
test eax, eax
mov esi, dword [sym.imp.MSVCR80.dll_free]
je 0x10091e70
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x48]
test eax, eax
je 0x10091e7e
push eax
call esi
add esp, 4
xor al, al
jmp 0x1009243c
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.10094a80
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x28]
call fcn.10094a80
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 0x100920c9
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 0x100920c9
test ecx, ecx
mov eax, dword [esp + 0x14]
lea edi, [eax + ecx]
je 0x10091f38
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 0x10091f42
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 0x1011da4c
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 0x1009206f
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 0x1011da4c
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 0x10091fdd
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 0x10092019
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 0x10092023
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 [0x10119408]
cmp dword [esp + 0x74], 8
mov eax, dword [esp + 0x60]
jae 0x10092043
lea eax, [esp + 0x60]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1009205d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1009207e
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 0x10091ee5
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.100035d0
lea ebx, [esp + 0x30]
mov byte [esp + 0xc0], 1
call fcn.100035d0
jmp 0x10091e5c
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x14], edi
cmp ecx, edi
je 0x1009237f
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 0x1009237d
test ecx, ecx
mov edx, dword [esp + 0x14]
lea edi, [edx + ecx]
je 0x1009211c
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 0x10092126
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 0x1011da4c
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 0x10092366
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 [0x101193e4]
mov esi, dword [esp + 0x1c]
xor edi, edi
cmp esi, edi
je 0x100921ac
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 0x100921b6
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 [0x10119408]
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 0x100921fe
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 0x10092208
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 [0x10119408]
mov ecx, dword [esp + 0x98]
mov eax, 8
cmp dword [esp + 0xac], eax
jae 0x10092238
lea ecx, [esp + 0x98]
cmp dword [esp + 0x74], eax
mov eax, dword [esp + 0x60]
jae 0x10092246
lea eax, [esp + 0x60]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, edi
jne 0x1009233f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
mov byte [esp + 0xc0], 7
lea ecx, [esp + 0x94]
je 0x1009234e
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 0x100922d4
mov ebx, dword [esp + 0x20]
cmp esi, ebx
je 0x100922cb
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 0x100922b8
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 0x10092314
mov ebx, dword [esp + 0x38]
cmp esi, ebx
je 0x1009230b
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 0x100922f8
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 0x10092334
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, edi
jmp 0x10091e76
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 0x100920d1
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 0x100923cc
mov ebx, dword [esp + 0x20]
cmp esi, ebx
je 0x100923c3
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 0x100923b0
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 0x1009240c
mov ebx, dword [esp + 0x38]
cmp esi, ebx
je 0x10092403
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 0x100923f0
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 0x1009242c
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, edi
je 0x1009243a
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.1010dc50
mov esp, ebp
pop ebp
ret 8