Function at 0x1000aaa0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1000f5dc
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x10016018]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
mov eax, dword [0x10016018]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
cmp dword [esi + 0x94], 0
je 0x1000aaf7
lea ecx, [esi + 0x40]
call fcn.1000bcd0
cmp byte [esi + 0x25], 1
jne 0x1000aec3
mov ebx, dword [esi + 0xe8]
test ebx, ebx
jle 0x1000aec3
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esi, 0x28
mov dword [esp + 0x10], esi
lea esp, [esp]
push 1
sub esp, 8
mov ecx, esi
call fcn.1000d6f0
push eax
mov dword [esp + 0x1c], eax
push 0
lea eax, [esp + 0x130]
push eax
mov ecx, esi
call fcn.1000bbc0
push ebx
lea eax, [esp + 0x15c]
push 0x10011a9c
push eax
mov dword [esp + 0x194], 0
call fcn.1000ddd0
add esp, 0xc
lea eax, [esp + 0x110]
push 0xffffffffffffffff
push dword [esp + 0x1c]
mov ecx, esi
push eax
call fcn.1000bbc0
mov esi, eax
lea eax, [esp + 0x158]
push eax
lea edx, [esp + 0x12c]
lea ecx, [esp + 0xe4]
mov byte [esp + 0x18c], 1
call fcn.1000ddf0
add esp, 4
push esi
mov edx, eax
lea ecx, [esp + 0xfc]
mov byte [esp + 0x18c], 2
call fcn.1000dee0
add esp, 4
cmp dword [esp + 0xf4], 8
jb 0x1000abd0
push dword [esp + 0xe0]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0xf4], 7
mov dword [esp + 0xf0], 0
mov word [esp + 0xe0], ax
cmp dword [esp + 0x124], 8
jb 0x1000ac06
push dword [esp + 0x110]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0xdc], 7
mov dword [esp + 0xd8], 0
mov word [esp + 0xc8], ax
mov byte [esp + 0x188], 6
cmp ebx, 1
jle 0x1000af01
lea eax, [ebx - 1]
push eax
lea eax, [esp + 0x15c]
push 0x10011a9c
push eax
call fcn.1000ddd0
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x140]
push 0xffffffffffffffff
push dword [esp + 0x1c]
push eax
call fcn.1000bbc0
mov esi, eax
lea eax, [esp + 0x158]
push eax
lea edx, [esp + 0x12c]
lea ecx, [esp + 0x114]
mov byte [esp + 0x18c], 7
call fcn.1000ddf0
add esp, 4
push esi
mov edx, eax
lea ecx, [esp + 0xe4]
mov byte [esp + 0x18c], 8
call fcn.1000dee0
mov esi, eax
lea eax, [esp + 0xcc]
add esp, 4
cmp eax, esi
je 0x1000ad49
cmp dword [esp + 0xdc], 8
jb 0x1000acd0
push dword [esp + 0xc8]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0xdc], 7
mov dword [esp + 0xd8], 0
mov word [esp + 0xc8], ax
cmp dword [esi + 0x14], 8
jae 0x1000ad13
mov eax, dword [esi + 0x10]
inc eax
je 0x1000ad22
add eax, eax
push eax
lea eax, [esp + 0xcc]
push esi
push eax
call dword [sym.imp.MSVCR110.dll_memmove]
add esp, 0xc
jmp 0x1000ad22
mov eax, dword [esi]
mov dword [esp + 0xc8], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [esp + 0xd8], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0xdc], eax
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp dword [esp + 0xf4], 8
jb 0x1000ad5f
push dword [esp + 0xe0]
call edi
add esp, 4
xor eax, eax
cmp dword [esp + 0x124], 8
mov dword [esp + 0xf4], 7
mov dword [esp + 0xf0], 0
mov word [esp + 0xe0], ax
jb 0x1000ad95
push dword [esp + 0x110]
call edi
add esp, 4
xor eax, eax
cmp dword [esp + 0x154], 8
mov dword [esp + 0x124], 7
mov dword [esp + 0x120], 0
mov word [esp + 0x110], ax
jb 0x1000adcb
push dword [esp + 0x140]
call edi
add esp, 4
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x10c], 8
lea eax, [esp + 0xf8]
cmovae eax, dword [esp + 0xf8]
push eax
call dword [sym.imp.MSVCR110.dll__wremove]
add esp, 4
cmp dword [esp + 0x10c], 8
lea ecx, [esp + 0xf8]
cmovae ecx, dword [esp + 0xf8]
cmp dword [esp + 0xdc], 8
lea eax, [esp + 0xc8]
cmovae eax, dword [esp + 0xc8]
push ecx
push eax
call dword [sym.imp.MSVCR110.dll__wrename]
add esp, 8
cmp dword [esp + 0xdc], 8
jb 0x1000ae3f
push dword [esp + 0xc8]
call edi
add esp, 4
xor eax, eax
cmp dword [esp + 0x10c], 8
mov dword [esp + 0xdc], 7
mov dword [esp + 0xd8], 0
mov word [esp + 0xc8], ax
jb 0x1000ae75
push dword [esp + 0xf8]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x188], 0xffffffff
cmp dword [esp + 0x13c], 8
mov dword [esp + 0x10c], 7
mov dword [esp + 0x108], 0
mov word [esp + 0xf8], ax
jb 0x1000aeb6
push dword [esp + 0x128]
call edi
add esp, 4
dec ebx
test ebx, ebx
jg 0x1000ab20
mov esi, dword [esp + 0x14]
cmp byte [esi + 0x26], 1
jne 0x1000b006
cmp byte [esi + 0x24], 0
mov dword [esp + 0x14], 0xfeff
jne 0x1000aff6
push ecx
lea ecx, [esp + 0x20]
call fcn.1000c740
lea edi, [esi + 0x28]
mov dword [esp + 0x188], 9
cmp dword [edi + 0x14], 8
jb 0x1000af25
mov eax, dword [edi]
jmp 0x1000af27
mov esi, dword [esp + 0x10]
lea eax, [esp + 0xc8]
cmp eax, esi
je 0x1000adcf
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.100071d0
jmp 0x1000adcf
mov eax, edi
sub esp, 8
lea ecx, [esp + 0x28]
push eax
call fcn.1000daa0
test eax, eax
mov eax, dword [esp + 0x1c]
push 0
mov eax, dword [eax + 4]
lea ecx, [esp + 0x20]
jne 0x1000af51
push 2
add ecx, eax
call dword [sym.imp.MSVCP110.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
jmp 0x1000af5b
push 0
add ecx, eax
call dword [sym.imp.MSVCP110.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
push 0
push 2
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const___long_long___int64__]
lea ecx, [esp + 0x1c]
call fcn.1000c810
cmp dword [edi + 0x14], 8
jb 0x1000af7f
mov edi, dword [edi]
push ecx
lea ebx, [esi + 0x40]
push 0x2a
push edi
lea ecx, [ebx + 4]
call fcn.1000d770
test eax, eax
mov eax, dword [ebx]
push 0
mov ecx, dword [eax + 4]
jne 0x1000afa5
push 2
add ecx, ebx
call dword [sym.imp.MSVCP110.dll_public:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool_]
jmp 0x1000afaf
push 0
add ecx, ebx
call dword [sym.imp.MSVCP110.dll_public:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::clear_int__bool_]
mov dword [esp + 0x188], 0xffffffff
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x1c], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x60]
mov dword [esp + ecx + 0x18], eax
lea ecx, [esp + 0x20]
call fcn.1000c890
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP110.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [esp + 0x7c]
call dword [sym.imp.MSVCP110.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
jmp 0x1000b041
cmp dword [esi + 0x3c], 8
lea eax, [esi + 0x28]
jb 0x1000b001
mov eax, dword [eax]
push ecx
push 0x2a
jmp 0x1000b014
cmp dword [esi + 0x3c], 8
lea eax, [esi + 0x28]
jb 0x1000b011
mov eax, dword [eax]
push ecx
push 0xa
lea edi, [esi + 0x40]
push eax
lea ecx, [edi + 4]
call fcn.1000d770
test eax, eax
mov eax, dword [edi]
push 0
mov ecx, dword [eax + 4]
jne 0x1000b037
push 2
add ecx, edi
call dword [sym.imp.MSVCP110.dll_public:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool_]
jmp 0x1000b041
push 0
add ecx, edi
call dword [sym.imp.MSVCP110.dll_public:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::clear_int__bool_]
push 0
push 0
push 0
lea ecx, [esi + 0x44]
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::pubsetbuf_wchar_t___long_long___int64__]
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.1000e3b2
mov esp, ebp
pop ebp
ret