Function at 0x140003224
Capabilities:
Get mac address on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140085930]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rsi, rcx
mov rdi, qword [rcx + 8]
mov rbx, qword [rcx]
jmp 0x14000327a
mov rcx, rbx
call fcn.140003680
add rbx, 0xd0
cmp rbx, rdi
jne 0x14000326b
mov rax, qword [rsi]
mov qword [rsi + 8], rax
mov ecx, 0x2c0
mov dword [rsp + 0x30], ecx
call fcn.14002c8fc
mov r14, rax
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x1400032cc
mov rcx, r14
call fcn.14002c6e0
mov ecx, dword [rsp + 0x30]
call fcn.14002c8fc
mov r14, rax
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
xor edi, edi
test eax, eax
je 0x1400032e3
mov rcx, r14
call fcn.14002c6e0
or rax, 0xffffffffffffffff
jmp 0x140003652
test r14, r14
je 0x140003650
mov r12, r14
or r15, 0xffffffffffffffff
lea eax, [r15 + 0x10]
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x60], rdi
mov byte [rbp - 0x70], dil
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], rdi
mov byte [rbp - 0x50], dil
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], rdi
mov byte [rbp - 0x30], dil
mov qword [rbp + 8], rax
mov qword [rbp], rdi
mov byte [rbp - 0x10], dil
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x20], rdi
mov byte [rbp + 0x10], dil
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x40], rdi
mov byte [rbp + 0x30], dil
mov qword [rbp + 0x50], 0
xor eax, eax
mov word [rbp + 0x58], ax
mov eax, dword [r12 + 0x198]
mov dword [rbp + 0x54], eax
movzx eax, word [r12 + 0x19c]
mov word [rbp + 0x58], ax
mov r8d, 6
lea rdx, [rbp + 0x54]
lea rcx, [rsp + 0x70]
call fcn.140002024
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.14001af54
cmp qword [rbp - 0x78], 0x10
jb 0x140003396
mov rcx, qword [rsp + 0x70]
call fcn.14002df20
mov eax, dword [r12 + 0x1a4]
mov dword [rbp + 0x50], eax
lea r13, [r12 + 0x1b8]
jmp 0x140003625
lea rdx, [r13 + 8]
cmp byte [rdx], dil
jne 0x1400033bc
mov r8, rdi
jmp 0x1400033c8
mov r8, r15
inc r8
cmp byte [rdx + r8], dil
jne 0x1400033bf
lea rcx, [rbp - 0x70]
call fcn.14001e444
lea rdx, [r13 + 0x18]
cmp byte [rdx], dil
jne 0x1400033df
mov r8, rdi
jmp 0x1400033eb
mov r8, r15
inc r8
cmp byte [rdx + r8], dil
jne 0x1400033e2
lea rcx, [rbp - 0x10]
call fcn.14001e444
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rcx, qword [rbp - 0x70]
call fcn.1400031cc
mov ebx, eax
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae rcx, qword [rbp - 0x10]
call fcn.1400031cc
mov r8d, eax
and r8d, ebx
not eax
or r8d, eax
movzx edx, r8b
mov eax, r8d
shr eax, 8
movzx ecx, al
mov eax, r8d
shr eax, 0x10
movzx r9d, al
shr r8d, 0x18
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], ecx
lea rdx, [0x140072dc0]
lea rcx, [rsp + 0x70]
call fcn.14002b830
mov qword [rsp + 0x68], select
mov qword [rsp + 0x60], rdi
mov byte [rsp + 0x50], dil
cmp byte [rsp + 0x70], dil
jne 0x14000347a
mov r8, rdi
jmp 0x14000348b
lea rax, [rsp + 0x70]
mov r8, r15
inc r8
cmp byte [rax + r8], dil
jne 0x140003482
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14001e444
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.14001af54
cmp qword [rsp + 0x68], 0x10
jb 0x1400034ba
mov rcx, qword [rsp + 0x50]
call fcn.14002df20
lea rbx, [r12 + 0xc]
test rbx, rbx
je 0x14000351a
mov qword [rsp + 0x68], select
mov qword [rsp + 0x60], rdi
mov byte [rsp + 0x50], dil
cmp byte [rbx], dil
jne 0x1400034e1
mov r8, rdi
jmp 0x1400034ed
mov r8, r15
inc r8
cmp byte [rbx + r8], dil
jne 0x1400034e4
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14001e444
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x10]
call fcn.14001af54
cmp qword [rsp + 0x68], 0x10
jb 0x14000351a
mov rcx, qword [rsp + 0x50]
call fcn.14002df20
lea rbx, [r12 + 0x110]
test rbx, rbx
je 0x14000357d
mov qword [rsp + 0x68], select
mov qword [rsp + 0x60], rdi
mov byte [rsp + 0x50], dil
cmp byte [rbx], dil
jne 0x140003544
mov r8, rdi
jmp 0x140003550
mov r8, r15
inc r8
cmp byte [rbx + r8], dil
jne 0x140003547
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14001e444
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x30]
call fcn.14001af54
cmp qword [rsp + 0x68], 0x10
jb 0x14000357d
mov rcx, qword [rsp + 0x50]
call fcn.14002df20
mov r8, qword [rsi + 8]
lea rax, [rbp - 0x70]
cmp rax, r8
jae 0x1400035ee
lea rax, [rbp - 0x70]
cmp qword [rsi], rax
ja 0x1400035ee
lea rcx, [rbp - 0x70]
sub rcx, qword [rsi]
movabs rax, 0x4ec4ec4ec4ec4ec5
imul rcx
mov rbx, rdx
sar rbx, 6
mov rax, rbx
shr rax, 0x3f
add rbx, rax
cmp r8, qword [rsi + 0x10]
jne 0x1400035c6
mov rcx, rsi
call fcn.14001f170
imul rbx, rbx, 0xd0
add rbx, qword [rsi]
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rcx
test rcx, rcx
je 0x1400035ec
mov rdx, rbx
call fcn.140025d04
nop
jmp 0x140003619
cmp r8, qword [rsi + 0x10]
jne 0x1400035fc
mov rcx, rsi
call fcn.14001f170
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rcx
test rcx, rcx
je 0x140003619
lea rdx, [rbp - 0x70]
call fcn.140025d04
nop
add qword [rsi + 8], 0xd0
mov r13, qword [r13]
test r13, r13
jne 0x1400033ae
mov r12, qword [r12]
lea rcx, [rbp - 0x70]
call fcn.140003680
test r12, r12
lea eax, [r13 + 0xf]
jne 0x1400032f7
mov rcx, r14
call fcn.14002c6e0
xor eax, eax
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14002b700
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret