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

Disassembly:
push r13
sub rsp, 0x40
mov ecx, 0x2c0
mov dword [rsp + 0x50], 0x2c0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
test rax, rax
je 0x14003a920
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x14003a6d7
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
test rax, rax
je 0x14003a920
mov qword [rsp + 0x58], rbx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x60], rbp
mov rcx, r13
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x14003a8da
mov rsi, r13
test r13, r13
je 0x14003a8f6
lea r12, [0x1401724a0]
cmp dword [rsi + 0x1a4], 6
jne 0x14003a8c0
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
cmp byte [rbx + rsi + 0xd], 0
lea rbx, [rbx + 1]
jne 0x14003a740
lea rcx, [rbx + 0xd]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [rsi + 0x194]
mov r15, rax
lea r8d, [rcx*2 + 1]
add r8d, ecx
mov ecx, r8d
mov r14d, r8d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test r15, r15
je 0x14003a8ce
test rax, rax
je 0x14003a8ce
lea r9, [rsi + 0xc]
mov rcx, r15
lea r8, str.DeviceNPF__s
lea rdx, [rbx + 0xd]
call fcn.140004c90
mov r8d, dword [rsi + 0x194]
xor ebx, ebx
test r8d, r8d
je 0x14003a7f4
nop
lea ecx, [rbx + rbx*2]
mov r10, r14
sub r10, rcx
lea eax, [r8 - 1]
add rcx, rdi
lea rdx, [rbx + rsi]
lea r8, str._.2X
cmp ebx, eax
je 0x14003a7d6
lea r8, str._.2X_
movzx r9d, byte [rdx + 0x198]
mov rdx, r10
call fcn.140004c90
mov r8d, dword [rsi + 0x194]
inc ebx
cmp ebx, r8d
jb 0x14003a7b0
mov ecx, dword [0x14006d930]
mov rbx, 0xffffffffffffffff
mov eax, ecx
add rax, rax
inc ecx
mov dword [0x14006d930], ecx
mov qword [r12 + rax*8], rdi
mov qword [r12 + rax*8 + 8], r15
nop word [rax + rax]
cmp byte [rbx + rsi + 0xd], 0
lea rbx, [rbx + 1]
jne 0x14003a820
lea rcx, [rbx + 0xd]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r12, rax
mov rdi, 0xffffffffffffffff
nop
cmp byte [rsi + rdi + 0x1c1], 0
lea rdi, [rdi + 1]
jne 0x14003a840
lea rcx, [rdi + 1]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
test r12, r12
je 0x14003a8ce
test rax, rax
je 0x14003a8ce
lea r9, [rsi + 0xc]
mov rcx, r12
lea r8, str.DeviceNPF__s
lea rdx, [rbx + 0xd]
call fcn.140004c90
lea r9, [rsi + 0x1c0]
mov rcx, r15
lea r8, [0x1400550f4]
lea rdx, [rdi + 1]
call fcn.140004c90
mov ecx, dword [0x14006d930]
lea rdx, [0x1401724a0]
mov eax, ecx
add rax, rax
inc ecx
mov dword [0x14006d930], ecx
mov qword [rdx + rax*8], r15
mov qword [rdx + rax*8 + 8], r12
lea r12, [0x1401724a0]
mov rsi, qword [rsi]
test rsi, rsi
jne 0x14003a723
jmp 0x14003a8ed
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov edx, eax
lea rcx, str.GetAdaptersInfo_failed_with_error:__u_n
call fcn.140001370
test r13, r13
je 0x14003a8f6
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x40
pop r13
ret
lea rcx, str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.140001370
add rsp, 0x40
pop r13
ret