Function at 0x180006a90
Capabilities:
Get mac address on windows

Disassembly:
sub rsp, 0x58
mov rax, qword [0x18003dfb0]
test rax, rax
jne 0x180006d9e
mov rcx, qword [0x18003be60]
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x40], r13
call fcn.1800010a0
test rax, rax
jne 0x180006ac6
xor ebp, ebp
mov rax, rbp
jmp 0x180006ae7
xor ebp, ebp
mov dword [rax], 0xa
mov dword [rax + 4], 2
mov dword [rax + 0xc], ebp
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rbp
mov dword [rax + 8], 8
mov ecx, 0x2c0
mov qword [0x18003dfb0], rax
call fcn.18001799c
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x2c0
mov rcx, rax
mov r13, rax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x180006b29
mov rcx, r13
call fcn.18001795c
mov ecx, dword [rsp + 0x60]
call fcn.18001799c
mov r13, rax
lea rdx, [rsp + 0x60]
mov rcx, r13
mov qword [rsp + 0x78], rsi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x180006d7b
mov rsi, r13
test r13, r13
je 0x180006d88
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], r12
nop
cmp qword [rsi], 0
jne 0x180006b77
mov rax, qword [0x18003dfb0]
cmp dword [rax + 0xc], 0
je 0x180006cec
lea rbx, [rsi + 0xc]
mov rcx, rbx
call fcn.1800066e0
test eax, eax
jne 0x180006b97
mov rcx, rbx
call fcn.180006820
test eax, eax
je 0x180006cdb
mov ecx, 0x18
call fcn.18001799c
movzx ecx, byte [rsi + 0x19d]
movzx edi, byte [rsi + 0x19b]
movzx r9d, byte [rsi + 0x19a]
movzx r8d, byte [rsi + 0x199]
movzx edx, byte [rsi + 0x198]
mov dword [rsp + 0x30], ecx
mov r12, rax
movzx eax, byte [rsi + 0x19c]
mov dword [rsp + 0x28], eax
lea rcx, str._02x__02x__02x__02x__02x__02x
mov dword [rsp + 0x20], edi
call fcn.1800018a0
mov qword [r12 + 0x10], rax
test rbx, rbx
jne 0x180006c24
mov rcx, qword [0x18003be50]
call fcn.1800010a0
mov rdi, rax
test rax, rax
jne 0x180006c0b
mov rdi, rbp
jmp 0x180006c41
mov rdx, rax
mov ecx, recvfrom
mov dword [rax + 4], ebp
call fcn.180001120
mov qword [rdi + 8], rax
mov byte [rax], 0
jmp 0x180006c41
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
mov rcx, rbx
call fcn.1800012d0
mov rdi, rax
lea r8, [rsi + 0x1c0]
mov qword [r12], rdi
test r8, r8
jne 0x180006c83
mov rcx, qword [0x18003be50]
call fcn.1800010a0
mov rdi, rax
test rax, rax
jne 0x180006c6a
mov rdi, rbp
jmp 0x180006ca0
mov rdx, rax
mov ecx, recvfrom
mov dword [rax + 4], ebp
call fcn.180001120
mov qword [rdi + 8], rax
mov byte [rax], 0
jmp 0x180006ca0
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r8
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
mov rcx, r8
call fcn.1800012d0
mov rdi, rax
mov qword [r12 + 8], rdi
mov rdi, qword [0x18003dfb0]
mov rcx, rdi
call fcn.180002180
test eax, eax
jns 0x180006ccc
mov r8d, dword [rdi + 0xc]
lea rcx, [0x18002e508]
xor edx, edx
call fcn.180003b60
jmp 0x180006cdb
movsxd rcx, dword [rdi + 0xc]
mov rax, qword [rdi + 0x10]
mov qword [rax + rcx*8], r12
inc dword [rdi + 0xc]
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180006b60
jmp 0x180006d6c
mov ecx, 0x18
call fcn.18001799c
movzx ecx, byte [rsi + 0x19d]
movzx edi, byte [rsi + 0x19b]
movzx r9d, byte [rsi + 0x19a]
movzx r8d, byte [rsi + 0x199]
movzx edx, byte [rsi + 0x198]
mov dword [rsp + 0x30], ecx
mov rbx, rax
movzx eax, byte [rsi + 0x19c]
mov dword [rsp + 0x28], eax
lea rcx, str._02x__02x__02x__02x__02x__02x
mov dword [rsp + 0x20], edi
call fcn.1800018a0
lea rcx, [rsi + 0xc]
mov qword [rbx + 0x10], rax
call fcn.180001830
lea rcx, [rsi + 0x1c0]
mov qword [rbx], rax
call fcn.180001830
mov rdx, qword [0x18003dfb0]
mov rcx, rbx
mov qword [rbx + 8], rax
call fcn.180002220
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x68]
mov r12, qword [rsp + 0x48]
test r13, r13
je 0x180006d88
mov rcx, r13
call fcn.18001795c
mov rax, qword [0x18003dfb0]
mov r13, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
add rsp, 0x58
ret