Function at 0x1400460b0
Capabilities:
Execute command
Self delete

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x1400fc0c0]
xor rax, rsp
mov qword [rbp + 0x60], rax
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, str.getmac___mac.txt
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400e9fb0]
mov qword [rsp + 0x50], rax
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x4c], edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x60], rax
mov byte [rbp - 0x24], bl
mov byte [rbp - 0x2f], bl
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x20], rbx
mov rax, qword [0x1400fe300]
mov qword [rbp - 0x2c], rax
mov qword [rbp - 0x38], rbx
mov r9d, 0x40
mov r8d, 1
lea rdx, str.mac.txt
lea rcx, [rsp + 0x60]
call fcn.14004dd40
test rax, rax
jne 0x1400461e2
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], 0
xor r12b, r12b
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14004ff70
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
je 0x140046457
movabs r13, 0x36353a30353a3030
nop
lea rbx, [rsp + 0x30]
mov r14, qword [rsp + 0x30]
mov r15, qword [rsp + 0x48]
cmp r15, 0xf
cmova rbx, r14
mov rdi, qword [rsp + 0x40]
cmp rdi, 8
jb 0x1400462ca
lea rsi, [rdi + rbx]
lea r8, [rsi - 7]
sub r8, rbx
mov edx, Ordinal_50
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400462ca
nop
movabs rcx, 0x37323a30303a3830
cmp qword [rax], rcx
je 0x1400462bd
inc rax
lea r8, [rsi - 7]
sub r8, rax
mov edx, Ordinal_50
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140046290
jmp 0x1400462ca
sub rax, rbx
cmp rax, 0xffffffffffffffff
jne 0x1400464cf
lea rbx, [rsp + 0x30]
cmp r15, 0xf
cmova rbx, r14
cmp rdi, 8
jb 0x14004633a
lea rsi, [rdi + rbx]
lea r8, [rsi - 7]
sub r8, rbx
mov edx, Ordinal_50
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14004633a
nop word [rax + rax]
movabs rcx, 0x39363a35303a3030
cmp qword [rax], rcx
je 0x14004632d
inc rax
lea r8, [rsi - 7]
sub r8, rax
mov edx, Ordinal_50
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140046300
jmp 0x14004633a
sub rax, rbx
cmp rax, 0xffffffffffffffff
jne 0x1400464cf
lea rbx, [rsp + 0x30]
cmp r15, 0xf
cmova rbx, r14
cmp rdi, 8
jb 0x1400463aa
lea rsi, [rdi + rbx]
lea r8, [rsi - 7]
sub r8, rbx
mov edx, Ordinal_50
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400463aa
nop word [rax + rax]
movabs rcx, 0x34313a43313a3030
cmp qword [rax], rcx
je 0x14004639d
inc rax
lea r8, [rsi - 7]
sub r8, rax
mov edx, Ordinal_50
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140046370
jmp 0x1400463aa
sub rax, rbx
cmp rax, 0xffffffffffffffff
jne 0x1400464cf
lea rbx, [rsp + 0x30]
cmp r15, 0xf
cmova rbx, r14
cmp rdi, 8
jb 0x140046413
lea r8, [rdi - 7]
add r8, rbx
sub r8, rbx
mov edx, Ordinal_50
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140046413
nop dword [rax]
cmp qword [rax], r13
je 0x140046406
inc rax
lea r8, [rdi - 7]
add r8, rbx
sub r8, rax
mov edx, Ordinal_50
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x1400463e0
jmp 0x140046413
sub rax, rbx
cmp rax, 0xffffffffffffffff
jne 0x1400464cf
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14004ff70
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
test al, al
jne 0x140046250
mov r15, qword [rsp + 0x48]
mov r14, qword [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.14004dc80
test rax, rax
jne 0x14004648f
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, str.del_mac.txt
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
cmp r15, 0xf
jbe 0x1400464dd
lea rdx, [r15 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x1400464d4
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400464d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r12b, 1
jmp 0x140046461
mov rcx, r14
call fcn.1400bc7a4
nop
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rcx + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rdx + 0x50], rax
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0xb0]
mov dword [rsp + rdx + 0x4c], r8d
lea rcx, [rsp + 0x60]
call fcn.14004d040
lea rcx, [rsp + 0x68]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
movzx eax, r12b
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1400bc390
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret