Function at 0x401fc0
Capabilities:
Create thread
Execute command

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405788
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x409040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x114]
xor esi, esi
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40202e
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 4
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push 0x14
push dword [ebp - 0x114]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x114]
test eax, eax
je 0x40203f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x40208c
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.This_program_requires_administrator_privileges_to_run._Exiting...
push 0x403710
call fcn.004034f0
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_____]
push str.timeout_2s
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
lea eax, [esi + 1]
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.004046ac
mov esp, ebp
pop ebp
ret
push 0xb8
lea eax, [ebp - 0x110]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push str.filesMuMuPlayer.txt
lea ecx, [ebp - 0x110]
call fcn.00402f10
mov dword [ebp - 4], 0
cmp dword [ebp - 0xb4], 0
jne 0x4020f0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Failed_to_open_exelocation.txt
push 0x403710
call fcn.004034f0
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 - 0x110]
mov esi, 1
call fcn.00401aa0
mov eax, esi
jmp 0x402071
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x110]
mov eax, dword [ebp - 0x110]
push 0xa
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx eax, al
lea edx, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x110]
call fcn.00403f40
add esp, 4
lea ecx, [ebp - 0x100]
call fcn.00403460
test eax, eax
jne 0x402160
push eax
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x110]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
cmp dword [ebp - 0x28], 0xf
lea ecx, [ebp - 0x3c]
mov edi, dword [ebp - 0x2c]
jbe 0x402173
mov esi, dword [ebp - 0x3c]
add edi, esi
jmp 0x402178
add edi, ecx
lea esi, [ebp - 0x3c]
mov dword [ebp - 0x44], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x54], xmm0
cmp esi, edi
jne 0x40219c
xor eax, eax
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
jmp 0x402292
sub edi, esi
mov eax, 7
mov dword [ebp - 0x40], eax
cmp edi, 0x7ffffffe
ja 0x402412
cmp edi, eax
jbe 0x40225c
mov eax, edi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x4021d9
mov ecx, 0x7fffffff
mov dword [ebp - 0x114], 0x7ffffffe
add ecx, ecx
jmp 0x402202
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x114], eax
lea ecx, [eax + 1]
cmp ecx, 0x7fffffff
ja 0x402417
add ecx, ecx
cmp ecx, 0x1000
jb 0x402235
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x402417
push eax
call fcn.004046ba
add esp, 4
test eax, eax
je 0x4023bb
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ebp - 0x54], ecx
mov dword [ecx - 4], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x40], eax
jmp 0x40225f
test ecx, ecx
je 0x402252
push ecx
call fcn.004046ba
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x40], eax
jmp 0x40225f
xor ecx, ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x54], ecx
jmp 0x40225f
mov ecx, dword [ebp - 0x54]
cmp eax, 7
lea edx, [ebp - 0x54]
cmova edx, ecx
mov dword [ebp - 0x14], edx
mov ecx, edx
mov edx, edi
test edi, edi
je 0x402286
movsx ax, byte [esi]
lea ecx, [ecx + 2]
lea esi, [esi + 1]
mov word [ecx - 2], ax
sub edx, 1
jne 0x402273
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov dword [ebp - 0x44], edi
mov word [eax + edi*2], cx
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 2
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.004042e0
push 4
mov byte [ebp - 4], 3
call fcn.004046ba
mov dword [ebp - 0x14], eax
mov dword [eax], 0x401b60
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
push ecx
push 0
push eax
push 0x4045c0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x402403
mov byte [ebp - 4], 5
cmp dword [ebp - 0x20], 0
je 0x4023fb
mov esi, dword [sym.imp.MSVCP140.dll__Thrd_id]
call esi
mov ecx, dword [ebp - 0x20]
cmp ecx, eax
je 0x4023f3
mov edi, dword [sym.imp.MSVCP140.dll__Thrd_join]
push 0
push ecx
push dword [ebp - 0x24]
call edi
add esp, 0xc
test eax, eax
jne 0x4023eb
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
cmp dword [ebp - 0x18], eax
je 0x4023fb
call esi
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
je 0x4023f3
push 0
push ecx
push dword [ebp - 0x1c]
call edi
add esp, 0xc
test eax, eax
jne 0x4023eb
xor esi, esi
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
cmp dword [ebp - 0x20], esi
je 0x40235f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov ecx, dword [ebp - 0x40]
cmp ecx, 7
jbe 0x402395
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40238b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4023bb
push ecx
push edx
call fcn.004046ea
add esp, 8
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x4023cb
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4023c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4023c1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004046ea
add esp, 8
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.00401aa0
mov eax, esi
jmp 0x402071
push 2
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [ebp - 0x18], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
call fcn.00401170
call fcn.004010d0
int3