Function at 0x1000f010
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10014aa8
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
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 0x1000f05f
dec edx
or edx, 0xffffff00
inc edx
inc eax
cmp eax, 0xb
jl 0x1000f042
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 0x1000f09d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x1000f080
mov byte [ebp - 0x11], 0
sub esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0xd0]
push eax
call fcn.1000c4b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd0]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
mov edx, str.SN_t_t_t_t_t_tSEKMEME_HACK
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 - 0xd0]
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 - 0xcc]
call fcn.10004430
test eax, eax
jne 0x1000f137
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xd0]
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 - 0xd0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xd0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xd4], eax
mov dword [ebp - 4], 3
cmp dword [ebp - 0x80], 0
mov dword [ebp - 0xcc], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
je 0x1000f19f
mov eax, dword [ebp - 0xc0]
lea ecx, [ebp - 0x90]
cmp dword [eax], ecx
jne 0x1000f19f
mov edx, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x7c]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0xb0]
mov dword [eax], ecx
mov eax, dword [ebp - 0xa0]
mov dword [eax], edx
cmp byte [ebp - 0x84], 0
je 0x1000f1b3
lea ecx, [ebp - 0xcc]
call fcn.10004430
lea ecx, [ebp - 0xcc]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0xc8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x68]
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