Function at 0x1000e2f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10014a58
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x1001b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, 0xf
xor eax, eax
mov cl, byte [eax + str.cys]
xor cl, dl
inc edx
mov byte [ebp + eax - 0x1c], cl
and edx, 0x800000ff
jns 0x1000e33f
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0xb
jl 0x1000e322
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x11], 0
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
mov ecx, 0xf
xor edx, edx
nop dword [eax]
mov al, byte [edx + str.cys]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x1c], al
and ecx, 0x800000ff
jns 0x1000e37d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x1000e360
mov byte [ebp - 0x11], 0
sub esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0xcc]
push eax
call fcn.1000c4b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xcc]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
mov edx, str.SN_t_t_t_t_t_tDAMGHACK
movq qword [ebp - 0x1c], xmm0
call fcn.100045f0
push 0x10004820
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov edx, 0x10015770
lea ecx, [ebp - 0xcc]
call fcn.100045f0
push 0x10004820
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
lea ecx, [ebp - 0xc8]
call fcn.10004430
test eax, eax
jne 0x1000e417
mov eax, dword [ebp - 0xcc]
lea ecx, [ebp - 0xcc]
push 0
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov eax, dword [ebp - 0xcc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xcc], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xcc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xd0], eax
mov dword [ebp - 4], 3
cmp dword [ebp - 0x7c], 0
mov dword [ebp - 0xc8], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
je 0x1000e47f
mov eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0x8c]
cmp dword [eax], ecx
jne 0x1000e47f
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x78]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0xac]
mov dword [eax], ecx
mov eax, dword [ebp - 0x9c]
mov dword [eax], edx
cmp byte [ebp - 0x80], 0
je 0x1000e490
lea ecx, [ebp - 0xc8]
call fcn.10004430
lea ecx, [ebp - 0xc8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012545
mov esp, ebp
pop ebp
ret