Function at 0x140096860
Capabilities:
Get mac address on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140131088]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r14, rdx
mov rsi, rcx
mov qword [rbp - 0x29], rcx
xor r12d, r12d
mov dword [rbp - 0x39], r12d
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rcx + 0x10], r12
cmp qword [rcx + 0x18], 0x10
jb 0x1400968bd
mov rax, qword [rcx]
jmp 0x1400968c0
mov rax, rsi
mov byte [rax], r12b
mov dword [rbp - 0x39], 1
mov dword [rbp - 0x21], 0x2c0
mov r15, r12
mov ecx, 0x2c0
call fcn.14009e2ac
mov rdi, rax
lea rdx, [rbp - 0x21]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x140096909
mov rcx, rdi
call fcn.14009de9c
mov ecx, dword [rbp - 0x21]
call fcn.14009e2ac
mov rdi, rax
mov r15, rax
lea rdx, [rbp - 0x21]
mov rcx, rdi
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x140096b9b
nop
mov qword [rbp + 0x1f], reloc.WS2_32.dll_ntohs
mov rcx, r12
mov qword [rbp + 0x17], rcx
mov byte [rbp + 7], cl
mov ebx, r12d
mov eax, dword [rdi + 0x194]
test eax, eax
je 0x1400969b7
nop
mov byte [rbp + 0x27], 0
xor ecx, ecx
mov dword [rbp + 0x28], ecx
mov word [rbp + 0x2c], cx
mov byte [rbp + 0x2e], cl
dec eax
mov r9d, 0x3a
cmp ebx, eax
cmove r9d, r12d
mov eax, ebx
movzx r8d, byte [rax + rdi + 0x198]
lea rdx, str._02X_c
lea rcx, [rbp + 0x27]
call fcn.140009aa0
cmp byte [rbp + 0x27], 0
jne 0x140096984
mov r8, r12
jmp 0x14009699a
lea rax, [rbp + 0x27]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140096990
lea rdx, [rbp + 0x27]
lea rcx, [rbp + 7]
call fcn.14000c010
inc ebx
mov eax, dword [rdi + 0x194]
cmp ebx, eax
jb 0x140096940
mov rcx, qword [rbp + 0x17]
cmp qword [r14 + 0x10], 0
jne 0x1400969f2
test rcx, rcx
je 0x1400969df
cmp qword [rsi + 0x10], 0
je 0x1400969df
mov r8d, 1
lea rdx, [0x1400ee210]
mov rcx, rsi
call fcn.14000c010
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 7]
mov rcx, rsi
call fcn.14000c160
lea rbx, [rdi + 0x1b8]
nop dword [rax]
lea rdx, [rbx + 8]
mov qword [rbp - 1], reloc.WS2_32.dll_ntohs
mov qword [rbp - 9], r12
mov byte [rbp - 0x19], 0
cmp byte [rdx], 0
jne 0x140096a1e
mov r8, r12
jmp 0x140096a2c
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140096a22
lea rcx, [rbp - 0x19]
call fcn.140009260
nop
mov rdx, r14
lea rcx, [rbp - 0x19]
call fcn.140011bf0
test eax, eax
je 0x140096aa1
mov rbx, qword [rbx]
mov rax, qword [rbp - 1]
cmp rax, 0x10
jb 0x140096a97
inc rax
mov rcx, qword [rbp - 0x19]
cmp rax, 0x1000
jb 0x140096a92
test cl, 0x1f
jne 0x140096b65
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140096b5f
sub rcx, rax
cmp rcx, 8
jb 0x140096b59
cmp rcx, 0x27
ja 0x140096b53
mov rcx, rax
call fcn.14009d844
test rbx, rbx
je 0x140096b04
jmp 0x140096a00
lea rax, [rbp + 7]
cmp rsi, rax
je 0x140096abe
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 7]
mov rcx, rsi
call fcn.140009390
nop
mov rax, qword [rbp - 1]
cmp rax, 0x10
jb 0x140096b04
inc rax
mov rcx, qword [rbp - 0x19]
cmp rax, 0x1000
jb 0x140096aff
test cl, 0x1f
jne 0x140096b7d
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140096b77
sub rcx, rax
cmp rcx, 8
jb 0x140096b71
cmp rcx, 0x27
ja 0x140096b6b
mov rcx, rax
call fcn.14009d844
mov rdi, qword [rdi]
mov rax, qword [rbp + 0x1f]
cmp rax, 0x10
jb 0x140096b45
mov rcx, qword [rbp + 7]
inc rax
cmp rax, 0x1000
jb 0x140096b40
test cl, 0x1f
jne 0x140096b95
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140096b8f
sub rcx, rax
cmp rcx, 8
jb 0x140096b89
cmp rcx, 0x27
ja 0x140096b83
mov rcx, rax
call fcn.14009d844
test rdi, rdi
je 0x140096bd8
jmp 0x140096920
call fcn.1400a26d8
int3
call fcn.1400a26d8
int3
call fcn.1400a26d8
int3
call fcn.1400a26d8
int3
call fcn.1400a26d8
int3
call fcn.1400a26d8
int3
call fcn.1400a26d8
int3
call fcn.1400a26d8
nop
call fcn.1400a26d8
int3
call fcn.1400a26d8
int3
call fcn.1400a26d8
int3
call fcn.1400a26d8
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rax, str._mac__GetAdaptersInfo_last_error:_d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x1f1
lea r9, str.get_mac_adress
lea r8, str...includesonetlibsget_mac_addressget_mac_address.cpp
mov edx, 4
lea rcx, [0x1401399a0]
call fcn.14007a380
test r15, r15
je 0x140096be5
mov rcx, r15
call fcn.14009de9c
mov rax, rsi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14009d860
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret