Function at 0x180006dd0
Capabilities:
Get mac address on windows

Disassembly:
sub rsp, 0x58
mov rax, qword [0x18003dfb0]
test rax, rax
jne 0x1800070de
mov rcx, qword [0x18003be60]
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x40], r13
call fcn.1800010a0
test rax, rax
jne 0x180006e06
xor ebp, ebp
mov rax, rbp
jmp 0x180006e27
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.18001806c
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x2c0
mov rcx, rax
mov r13, rax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x180006e69
mov rcx, r13
call fcn.18001802c
mov ecx, dword [rsp + 0x60]
call fcn.18001806c
mov r13, rax
lea rdx, [rsp + 0x60]
mov rcx, r13
mov qword [rsp + 0x78], rsi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x1800070bb
mov rsi, r13
test r13, r13
je 0x1800070c8
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], r12
nop
cmp qword [rsi], 0
jne 0x180006eb7
mov rax, qword [0x18003dfb0]
cmp dword [rax + 0xc], 0
je 0x18000702c
lea rbx, [rsi + 0xc]
mov rcx, rbx
call fcn.180006a20
test eax, eax
jne 0x180006ed7
mov rcx, rbx
call fcn.180006b60
test eax, eax
je 0x18000701b
mov ecx, 0x18
call fcn.18001806c
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.180001930
mov qword [r12 + 0x10], rax
test rbx, rbx
jne 0x180006f64
mov rcx, qword [0x18003be50]
call fcn.1800010a0
mov rdi, rax
test rax, rax
jne 0x180006f4b
mov rdi, rbp
jmp 0x180006f81
mov rdx, rax
mov ecx, recvfrom
mov dword [rax + 4], ebp
call fcn.180001120
mov qword [rdi + 8], rax
mov byte [rax], 0
jmp 0x180006f81
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 0x180006fc3
mov rcx, qword [0x18003be50]
call fcn.1800010a0
mov rdi, rax
test rax, rax
jne 0x180006faa
mov rdi, rbp
jmp 0x180006fe0
mov rdx, rax
mov ecx, recvfrom
mov dword [rax + 4], ebp
call fcn.180001120
mov qword [rdi + 8], rax
mov byte [rax], 0
jmp 0x180006fe0
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.180002210
test eax, eax
jns 0x18000700c
mov r8d, dword [rdi + 0xc]
lea rcx, [0x18002e518]
xor edx, edx
call fcn.180003e40
jmp 0x18000701b
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 0x180006ea0
jmp 0x1800070ac
mov ecx, 0x18
call fcn.18001806c
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.180001930
lea rcx, [rsi + 0xc]
mov qword [rbx + 0x10], rax
call fcn.1800018c0
lea rcx, [rsi + 0x1c0]
mov qword [rbx], rax
call fcn.1800018c0
mov rdx, qword [0x18003dfb0]
mov rcx, rbx
mov qword [rbx + 8], rax
call fcn.1800022b0
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x68]
mov r12, qword [rsp + 0x48]
test r13, r13
je 0x1800070c8
mov rcx, r13
call fcn.18001802c
mov rax, qword [0x18003dfb0]
mov r13, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
add rsp, 0x58
ret