Function at 0x1800056b8
Capabilities:
Get mac address on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
mov eax, 0x20110
call fcn.180057cb0
sub rsp, rax
mov qword [rsp + 0xc8], 0xfffffffffffffffe
mov qword [rsp + 0x20150], rbx
mov rax, qword [0x180080060]
xor rax, rsp
mov qword [rsp + 0x20100], rax
mov rbp, rdx
mov rdi, rcx
mov qword [rsp + 0xc0], rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
lea r13d, [r12 + 0xf]
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x88], r12
mov byte [rsp + 0x78], r12b
lea ebx, [r12 + 9]
mov r8, rbx
lea rdx, str.clientCfg
lea rcx, [rsp + 0x70]
call fcn.180002e60
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x98]
call fcn.180004308
nop
cmp qword [rsp + 0x90], 0x10
jb 0x180005765
mov rcx, qword [rsp + 0x78]
call fcn.180042a14
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x88], r12
mov byte [rsp + 0x78], r12b
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x60], r12
mov byte [rsp + 0x50], r12b
mov r8, rbx
lea rdx, str.useCidMac
lea rcx, [rsp + 0x48]
call fcn.180002e60
nop
cmp byte [rsp + 0xa0], 7
jne 0x1800057e5
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x98]
call fcn.180029248
mov rcx, rax
call fcn.18002953c
cmp al, r12b
je 0x1800057e5
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x98]
call fcn.180029248
mov rcx, rax
call fcn.18002827c
mov ebx, eax
jmp 0x1800057e8
mov ebx, r12d
cmp qword [rsp + 0x68], 0x10
jb 0x1800057fa
mov rcx, qword [rsp + 0x50]
call fcn.180042a14
cmp ebx, r12d
je 0x18000585f
lea rcx, str.use_cid_dummy_mac
call fcn.18001a650
lea rcx, [rsp + 0x48]
call fcn.18001cfb4
nop
mov rdx, rax
mov rcx, rdi
call fcn.180005538
mov dword [rsp + 0x40], 1
cmp qword [rsp + 0x68], 0x10
jb 0x18000583b
mov rcx, qword [rsp + 0x50]
call fcn.180042a14
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x60], r12
mov byte [rsp + 0x50], r12b
lea rcx, [rsp + 0x98]
call fcn.180027f1c
mov rax, rdi
jmp 0x1800059bf
mov qword [rsp + 0xf0], r13
mov qword [rsp + 0xe8], r12
mov byte [rsp + 0xd8], r12b
mov dword [rsp + 0x44], 0x20000
lea rbx, [rsp + 0x100]
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x100]
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, r12d
jne 0x180005954
cmp dword [rbx + 0x194], 6
jne 0x1800058d0
lea rsi, [rbx + 0x1b8]
cmp rsi, r12
je 0x1800058d0
lea rdx, [rsi + 8]
mov rcx, rbp
call fcn.180008e70
cmp al, r12b
jne 0x1800058da
mov rsi, qword [rsi]
cmp rsi, r12
jne 0x1800058b7
mov rbx, qword [rbx]
cmp rbx, r12
je 0x180005954
jmp 0x1800058a2
movzx eax, byte [rbx + 0x19d]
movzx ecx, byte [rbx + 0x19c]
movzx edx, byte [rbx + 0x19b]
movzx r10d, byte [rbx + 0x19a]
movzx r9d, byte [rbx + 0x199]
movzx r8d, byte [rbx + 0x198]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r10d
lea rdx, str._02x__02x__02x__02x__02x__02x
lea rcx, [rsp + 0x48]
call fcn.1800384e0
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.180002954
nop
cmp qword [rsp + 0x68], 0x10
jb 0x180005954
mov rcx, qword [rsp + 0x50]
call fcn.180042a14
mov qword [rdi + 0x20], r13
mov qword [rdi + 0x18], r12
mov byte [rdi + 8], r12b
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xd0]
mov rcx, rdi
call fcn.180002954
mov dword [rsp + 0x40], 1
cmp qword [rsp + 0xf0], 0x10
jb 0x180005997
mov rcx, qword [rsp + 0xd8]
call fcn.180042a14
mov qword [rsp + 0xf0], r13
mov qword [rsp + 0xe8], r12
mov byte [rsp + 0xd8], r12b
lea rcx, [rsp + 0x98]
call fcn.180027f1c
mov rax, rdi
mov rcx, qword [rsp + 0x20100]
xor rcx, rsp
call fcn.1800423f0
mov rbx, qword [rsp + 0x20150]
add rsp, 0x20110
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret