Function at 0x1000e340
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064831
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x208
push ebx
push esi
mov ebx, ecx
mov esi, edx
push edi
mov dword [ebp - 0x10], ebx
call fcn.1002d050
sub esp, 8
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x210]
call fcn.10010ce0
push esi
push ecx
mov edx, ebx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x210]
call fcn.100123a0
mov edx, 0x1006fcf8
mov ecx, eax
call fcn.1000c7f0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_int_]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x210]
call fcn.1000c60d
cmp dword [eax + 0x14], 8
jb 0x1000e3c2
mov eax, dword [eax]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
add esp, 4
test eax, eax
je 0x1000e3d8
call edi
mov eax, dword [ebp - 0x30]
cmp eax, 8
jb 0x1000e435
mov ecx, dword [ebp - 0x44]
inc eax
cmp eax, 0x7fffffff
jbe 0x1000e3f1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
add eax, eax
cmp eax, 0x1000
jb 0x1000e42c
test cl, 0x1f
je 0x1000e405
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x1000e412
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
sub ecx, eax
cmp ecx, 4
jae 0x1000e41f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp ecx, 0x23
jbe 0x1000e42a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, eax
push ecx
call fcn.10061b5c
add esp, 4
sub esp, 8
lea ecx, [ebp - 0x178]
call fcn.10010ce0
sub esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe0]
call fcn.10010ce0
dec esi
mov byte [ebp - 4], 2
cmp esi, 1
jl 0x1000e687
mov ebx, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wrename]
nop dword [eax]
lea ecx, [ebp - 0x174]
call fcn.10011af0
cmp dword [0x1008da54], 8
mov eax, 0x1008da40
mov ecx, dword [0x1008da50]
cmovae eax, dword [0x1008da40]
mov dword [ebp - 0x13c], 0
test ecx, ecx
je 0x1000e4af
push ecx
push eax
lea ecx, [ebp - 0x174]
call fcn.10011c40
lea ecx, [ebp - 0xdc]
call fcn.10011af0
cmp dword [0x1008da54], 8
mov eax, 0x1008da40
mov ecx, dword [0x1008da50]
cmovae eax, dword [0x1008da40]
mov dword [ebp - 0xa4], 0
test ecx, ecx
je 0x1000e4ee
push ecx
push eax
lea ecx, [ebp - 0xdc]
call fcn.10011c40
mov edx, dword [ebp - 0x10]
push esi
push ecx
lea ecx, [ebp - 0x178]
call fcn.100123a0
mov edx, 0x1006fcf8
mov ecx, eax
call fcn.1000c7f0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
mov edx, dword [ebp - 0x10]
lea eax, [esi + 1]
push eax
push ecx
lea ecx, [ebp - 0xe0]
call fcn.100123a0
mov edx, 0x1006fcf8
mov ecx, eax
call fcn.1000c7f0
add esp, 4
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x178]
call fcn.1000c60d
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xe0]
call fcn.1000c60d
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wremove]
add esp, 4
test eax, eax
je 0x1000e580
call edi
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x30], 8
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
call ebx
add esp, 8
test eax, eax
je 0x1000e5a5
call edi
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1000df30
mov byte [ebp - 4], 3
add esp, 8
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x1000e60f
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x7fffffff
ja 0x1000e3eb
add eax, eax
cmp eax, 0x1000
jb 0x1000e606
test cl, 0x1f
jne 0x1000e3eb
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x1000e3eb
sub ecx, eax
cmp ecx, 4
jb 0x1000e3eb
cmp ecx, 0x23
ja 0x1000e3eb
mov ecx, eax
push ecx
call fcn.10061b5c
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x1000e67d
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x44]
cmp ecx, 0x7fffffff
ja 0x1000e3eb
add ecx, ecx
cmp ecx, 0x1000
jb 0x1000e674
test al, 0x1f
jne 0x1000e3eb
mov ecx, dword [eax - 4]
cmp ecx, eax
jae 0x1000e3eb
sub eax, ecx
cmp eax, 4
jb 0x1000e3eb
cmp eax, 0x23
ja 0x1000e3eb
mov eax, ecx
push eax
call fcn.10061b5c
add esp, 4
dec esi
cmp esi, 1
jge 0x1000e470
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xe0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xe4], eax
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xdc], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
call fcn.10011af0
lea ecx, [ebp - 0xdc]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0xd8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov eax, dword [ebp - 0x178]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x17c], eax
lea ecx, [ebp - 0x174]
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
call fcn.10011af0
lea ecx, [ebp - 0x174]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x170]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x128]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov eax, dword [ebp - 0x210]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x214], eax
lea ecx, [ebp - 0x20c]
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
call fcn.10011af0
lea ecx, [ebp - 0x20c]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x208]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x1c0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret