Function at 0x4041a0
Capabilities:
Delete file
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411653
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x41a008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x208], edi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x114]
mov dword [ebp - 0x224], edi
push eax
mov dword [ebp - 0x204], 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_tmpnam]
mov ecx, esi
mov dword [ebp - 0x138], 0
add esp, 4
mov dword [ebp - 0x134], 0xf
mov byte [ebp - 0x148], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404220
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x148]
call fcn.0040dec0
mov dword [ebp - 4], 1
mov eax, 0x7fffffff
mov ecx, dword [ebp - 0x138]
sub eax, ecx
cmp eax, 4
jb 0x404635
cmp dword [ebp - 0x134], 0x10
lea eax, [ebp - 0x148]
push 4
cmovae eax, dword [ebp - 0x148]
push str.___
push ecx
push eax
push ecx
push dword [ebp - 0x224]
lea ecx, [ebp - 0x220]
call fcn.0040ee70
mov dword [ebp - 0x204], 2
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 2
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4042a0
mov esi, dword [ebp - 0x20c]
sub ecx, edx
mov edx, dword [ebp - 0x210]
mov eax, esi
sub eax, edx
mov dword [ebp - 0x118], ecx
push ecx
cmp ecx, eax
ja 0x404302
lea eax, [edx + ecx]
cmp esi, 0x10
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x220]
cmovae eax, dword [ebp - 0x220]
lea esi, [eax + edx]
lea eax, [ebp - 0x114]
push eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x118]
add esp, 0xc
mov byte [esi + eax], 0
lea eax, [ebp - 0x220]
jmp 0x404322
lea eax, [ebp - 0x114]
mov byte [ebp - 0x118], 0
push eax
push dword [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x220]
call fcn.0040eb20
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
movups xmm0, xmmword [eax]
mov dword [ebp - 0x204], 6
movups xmmword [ebp - 0x130], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x120], 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 0x4043a8
mov ecx, dword [ebp - 0x220]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40439e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40439e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00410382
add esp, 8
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
mov dword [ebp - 0x210], 0
cmovae eax, dword [ebp - 0x130]
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 - 0x200]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x200]
push 0x21
push eax
call fcn.0040b460
mov byte [ebp - 4], 5
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x204], 7
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x1f4]
test al, 6
jne 0x4044d5
test al, 1
jne 0x4044ac
lea ecx, [ebp - 0x200]
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::basic_istream_char__struct_std::char_traits_char__::get_void_]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov byte [ebp - 0x118], al
cmp ecx, edx
jae 0x40447e
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x40446e
mov eax, dword [edi]
add eax, ecx
mov cl, byte [ebp - 0x118]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x404499
push dword [ebp - 0x118]
mov byte [ebp - 0x208], 0
push dword [ebp - 0x208]
push ecx
mov ecx, edi
call fcn.0040e9e0
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x1f4], 1
je 0x404443
lea ecx, [ebp - 0x1f0]
call fcn.0040dcc0
test eax, eax
jne 0x4044d5
push eax
mov eax, dword [ebp - 0x200]
lea ecx, [ebp - 0x200]
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]
mov eax, dword [ebp - 0x200]
add esp, 4
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 - 0x200]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x204], eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x1a4], 0
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
je 0x404553
mov eax, dword [ebp - 0x1e4]
lea ecx, [ebp - 0x1b4]
cmp dword [eax], ecx
jne 0x404553
mov edx, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x1a0]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebp - 0x1d4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c4]
mov dword [eax], edx
cmp byte [ebp - 0x1a8], 0
je 0x404567
lea ecx, [ebp - 0x1f0]
call fcn.0040dcc0
lea ecx, [ebp - 0x1f0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x1e8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x190]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov edx, dword [ebp - 0x11c]
cmp edx, 0x10
jb 0x4045c1
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4045b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404608
push edx
push ecx
call fcn.00410382
add esp, 8
mov edx, dword [ebp - 0x134]
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
cmp edx, 0x10
jb 0x404618
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40460e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40460e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00410382
add esp, 8
mov eax, edi
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.004100f0
mov esp, ebp
pop ebp
ret
call fcn.00401210
int3