Function at 0x1800057a0
Capabilities:
Get mac address on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
mov eax, 0x20110
call fcn.18005d3b0
sub rsp, rax
mov qword [rsp + 0xc8], 0xfffffffffffffffe
mov qword [rsp + 0x20150], rbx
mov rax, qword [0x18008a090]
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.180002ed4
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x98]
call fcn.1800042f4
nop
cmp qword [rsp + 0x90], 0x10
jb 0x18000584d
mov rcx, qword [rsp + 0x78]
call fcn.180048114
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.180002ed4
nop
cmp byte [rsp + 0xa0], 7
jne 0x1800058cd
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x98]
call fcn.18002a5d0
mov rcx, rax
call fcn.18002a90c
cmp al, r12b
je 0x1800058cd
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x98]
call fcn.18002a5d0
mov rcx, rax
call fcn.180029604
mov ebx, eax
jmp 0x1800058d0
mov ebx, r12d
cmp qword [rsp + 0x68], 0x10
jb 0x1800058e2
mov rcx, qword [rsp + 0x50]
call fcn.180048114
cmp ebx, r12d
je 0x180005947
lea rcx, str.use_cid_dummy_mac
call fcn.18001ba8c
lea rcx, [rsp + 0x48]
call fcn.18001e394
nop
mov rdx, rax
mov rcx, rdi
call fcn.180005620
mov dword [rsp + 0x40], 1
cmp qword [rsp + 0x68], 0x10
jb 0x180005923
mov rcx, qword [rsp + 0x50]
call fcn.180048114
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x60], r12
mov byte [rsp + 0x50], r12b
lea rcx, [rsp + 0x98]
call fcn.1800292a4
mov rax, rdi
jmp 0x180005aa7
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 0x180005a3c
cmp dword [rbx + 0x194], 6
jne 0x1800059b8
lea rsi, [rbx + 0x1b8]
cmp rsi, r12
je 0x1800059b8
lea rdx, [rsi + 8]
mov rcx, rbp
call fcn.180008f10
cmp al, r12b
jne 0x1800059c2
mov rsi, qword [rsi]
cmp rsi, r12
jne 0x18000599f
mov rbx, qword [rbx]
cmp rbx, r12
je 0x180005a3c
jmp 0x18000598a
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.180039de8
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.1800029c8
nop
cmp qword [rsp + 0x68], 0x10
jb 0x180005a3c
mov rcx, qword [rsp + 0x50]
call fcn.180048114
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.1800029c8
mov dword [rsp + 0x40], 1
cmp qword [rsp + 0xf0], 0x10
jb 0x180005a7f
mov rcx, qword [rsp + 0xd8]
call fcn.180048114
mov qword [rsp + 0xf0], r13
mov qword [rsp + 0xe8], r12
mov byte [rsp + 0xd8], r12b
lea rcx, [rsp + 0x98]
call fcn.1800292a4
mov rax, rdi
mov rcx, qword [rsp + 0x20100]
xor rcx, rsp
call fcn.180047b20
mov rbx, qword [rsp + 0x20150]
add rsp, 0x20110
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret