Function at 0x1002f480
Capabilities:
Delete file
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082d79
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x100b500c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 0x204], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x114]
mov dword [ebp - 0x208], esi
push eax
mov dword [ebp - 0x200], 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_tmpnam]
mov ecx, edi
mov dword [ebp - 0x144], 0
add esp, 4
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002f508
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x144]
call fcn.1007aa00
mov dword [ebp - 4], 1
mov eax, 0x7fffffff
mov ecx, dword [ebp - 0x134]
sub eax, ecx
cmp eax, 4
jb 0x1002f8d5
cmp dword [ebp - 0x130], 0x10
lea eax, [ebp - 0x144]
push 4
cmovae eax, dword [ebp - 0x144]
push 0x100a4f28
push ecx
push eax
push ecx
push dword [ebp - 0x208]
lea ecx, [ebp - 0x220]
call fcn.1007ceb0
mov dword [ebp - 0x200], 2
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 2
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002f581
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x220]
call fcn.10067c70
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x200], 6
movups xmmword [ebp - 0x12c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x11c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x20c]
cmp edx, 0x10
jb 0x1002f62d
mov ecx, dword [ebp - 0x220]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f623
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002f623
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007e454
add esp, 8
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x210], 0
cmovae eax, dword [ebp - 0x12c]
push eax
mov dword [ebp - 0x20c], 0xf
mov byte [ebp - 0x220], 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
push 0xb8
lea eax, [ebp - 0x1fc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp - 0x1fc], 0x100a525c
lea ecx, [ebp - 0x18c]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [ebp - 0x1ec]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1fc]
mov dword [ebp - 0x200], 0xe
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x1fc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1fc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x200], eax
lea eax, [ebp - 0x1ec]
mov ecx, eax
mov dword [ebp - 0x204], eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1ec]
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [ebp - 0x1a4], 0
mov byte [ebp - 0x1af], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x100c3f88]
mov ecx, dword [0x100c3f8c]
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1a8], ecx
mov dword [ebp - 0x1b4], 0
sub esp, 8
mov byte [ebp - 4], 8
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x1ec]
push eax
call fcn.10077a50
test eax, eax
jne 0x1002f780
push eax
mov eax, dword [ebp - 0x1fc]
lea ecx, [ebp - 0x1fc]
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 byte [ebp - 4], 9
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x200], 0xf
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x1f0]
test al, 6
jne 0x1002f810
test al, 1
jne 0x1002f7e7
nop dword [eax]
lea ecx, [ebp - 0x1fc]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_istream_char__struct_std::char_traits_char__::get_void_]
push eax
mov ecx, esi
call fcn.10067b50
mov eax, dword [ebp - 0x1fc]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x1f0], 1
je 0x1002f7c0
lea ecx, [ebp - 0x1ec]
call fcn.100779d0
test eax, eax
jne 0x1002f810
push eax
mov eax, dword [ebp - 0x1fc]
lea ecx, [ebp - 0x1fc]
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_]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
lea ecx, [ebp - 0x1fc]
call fcn.1002f8e0
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x1002f861
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f857
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f8a8
push edx
push ecx
call fcn.1007e454
add esp, 8
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
cmp edx, 0x10
jb 0x1002f8b8
mov ecx, dword [ebp - 0x144]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f8ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002f8ae
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1007e454
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007dc09
mov esp, ebp
pop ebp
ret
call fcn.10008e40
int3