Function at 0x1400533d0
Capabilities:
Get mac address on windows
Terminate process

Disassembly:
push rbp
push rdi
sub rsp, 0x288
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x6a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
lea rcx, [0x1401a541a]
call fcn.14006b9e0
mov qword [rbp + 0x28], 0
mov dword [rbp + 0x44], 0
mov dword [rbp + 0x84], 0x2c0
mov ecx, 0x2c0
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14005343c
lea rcx, str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.1400024a0
jmp 0x1400537db
lea rdx, [rbp + 0x84]
mov rcx, qword [rbp + 8]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x140053486
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_free]
mov eax, dword [rbp + 0x84]
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140053486
lea rcx, str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.1400024a0
jmp 0x1400537db
lea rdx, [rbp + 0x84]
mov rcx, qword [rbp + 8]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jne 0x1400537bb
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
jmp 0x1400534b9
mov rax, qword [rbp + 0x28]
mov rax, qword [rax]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x1400537b9
mov rax, qword [rbp + 0x28]
cmp dword [rax + 0x1a4], 6
je 0x1400534d3
jmp 0x1400534ae
mov rax, qword [rbp + 0x28]
add rax, 0xc
mov rcx, rax
call sub.ucrtbased.dll_strlen
add rax, 0xd
mov qword [rbp + 0xa8], rax
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0x28]
imul eax, dword [rax + 0x194], 3
inc eax
mov eax, eax
mov qword [rbp + 0xe8], rax
mov rcx, qword [rbp + 0xe8]
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x108], rax
cmp qword [rbp + 0xc8], 0
je 0x140053540
cmp qword [rbp + 0x108], 0
jne 0x14005354b
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov rax, qword [rbp + 0x28]
add rax, 0xc
mov r9, rax
lea r8, str.DeviceNPF__s
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0xc8]
call fcn.140003740
mov dword [rbp + 0x64], 0
jmp 0x140053581
mov eax, dword [rbp + 0x64]
inc eax
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x194]
cmp dword [rbp + 0x64], eax
jae 0x14005365c
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x194]
dec eax
cmp dword [rbp + 0x64], eax
jne 0x1400535ff
mov eax, dword [rbp + 0x64]
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax + 0x198]
imul ecx, dword [rbp + 0x64], 3
mov ecx, ecx
mov rdx, qword [rbp + 0xe8]
sub rdx, rcx
mov rcx, rdx
imul edx, dword [rbp + 0x64], 3
mov edx, edx
mov r8, qword [rbp + 0x108]
add r8, rdx
mov rdx, r8
mov qword [rbp + 0x258], rdx
mov r9d, eax
lea r8, str._.2X
mov rdx, rcx
mov rax, qword [rbp + 0x258]
mov rcx, rax
call fcn.140003740
jmp 0x140053657
mov eax, dword [rbp + 0x64]
mov rcx, qword [rbp + 0x28]
movzx eax, byte [rcx + rax + 0x198]
imul ecx, dword [rbp + 0x64], 3
mov ecx, ecx
mov rdx, qword [rbp + 0xe8]
sub rdx, rcx
mov rcx, rdx
imul edx, dword [rbp + 0x64], 3
mov edx, edx
mov r8, qword [rbp + 0x108]
add r8, rdx
mov rdx, r8
mov qword [rbp + 0x258], rdx
mov r9d, eax
lea r8, str._.2X_
mov rdx, rcx
mov rax, qword [rbp + 0x258]
mov rcx, rax
call fcn.140003740
jmp 0x140053579
mov eax, dword [0x14019fc28]
imul rax, rax, 0x10
lea rcx, [0x1401a0420]
mov rdx, qword [rbp + 0x108]
mov qword [rcx + rax], rdx
mov eax, dword [0x14019fc28]
imul rax, rax, 0x10
lea rcx, [0x1401a0420]
mov rdx, qword [rbp + 0xc8]
mov qword [rcx + rax + 8], rdx
mov eax, dword [0x14019fc28]
inc eax
mov dword [0x14019fc28], eax
mov rax, qword [rbp + 0x28]
add rax, 0xc
mov rcx, rax
call sub.ucrtbased.dll_strlen
add rax, 0xd
mov qword [rbp + 0x128], rax
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x148], rax
mov rax, qword [rbp + 0x28]
add rax, 0x1c0
mov rcx, rax
call sub.ucrtbased.dll_strlen
inc rax
mov qword [rbp + 0x168], rax
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0x188], rax
cmp qword [rbp + 0x148], 0
je 0x140053716
cmp qword [rbp + 0x188], 0
jne 0x140053721
mov ecx, 1
call qword [sym.imp.ucrtbased.dll_exit]
mov rax, qword [rbp + 0x28]
add rax, 0xc
mov r9, rax
lea r8, str.DeviceNPF__s
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x148]
call fcn.140003740
mov rax, qword [rbp + 0x28]
add rax, 0x1c0
mov r9, rax
lea r8, [0x140071230]
mov rdx, qword [rbp + 0x168]
mov rcx, qword [rbp + 0x188]
call fcn.140003740
mov eax, dword [0x14019fc28]
imul rax, rax, 0x10
lea rcx, [0x1401a0420]
mov rdx, qword [rbp + 0x188]
mov qword [rcx + rax], rdx
mov eax, dword [0x14019fc28]
imul rax, rax, 0x10
lea rcx, [0x1401a0420]
mov rdx, qword [rbp + 0x148]
mov qword [rcx + rax + 8], rdx
mov eax, dword [0x14019fc28]
inc eax
mov dword [0x14019fc28], eax
jmp 0x1400534ae
jmp 0x1400537ca
mov edx, dword [rbp + 0x44]
lea rcx, str.GetAdaptersInfo_failed_with_error:__u_n
call fcn.1400024a0
cmp qword [rbp + 8], 0
je 0x1400537db
mov rcx, qword [rbp + 8]
call qword [sym.imp.ucrtbased.dll_free]
lea rcx, [rbp - 0x20]
lea rdx, [0x14008e100]
call fcn.14006b950
lea rsp, [rbp + 0x268]
pop rdi
pop rbp
ret