Function at 0x180058550
Capabilities:
Get mac address on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc8]
sub rsp, 0x1a0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x180141088]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rsi, rcx
mov qword [rsp + 0x30], rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov qword [rcx + 0x18], 0xf
mov qword [rcx + 0x10], r15
cmp qword [rcx + 0x18], 0x10
jb 0x1800585b8
mov rax, qword [rcx]
jmp 0x1800585bb
mov rax, rsi
mov byte [rax], r15b
xor r8d, r8d
lea rdx, [0x1800fd01d]
call fcn.180009ff0
mov r14d, 1
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0x48], 0x2c0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov edx, 0x2c0
lea rcx, [rsp + 0x50]
call fcn.18002d000
lea rdx, [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x180058628
mov edx, dword [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.18002d000
mov rdi, qword [rsp + 0x50]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x180058854
test rdi, rdi
je 0x180058854
lea r13, [0x180102398]
lea rbx, [0x1800ff140]
lea r12, vtable.std::ios_base.0
nop dword [rax]
mov eax, dword [rdi + 0x1a4]
cmp eax, 6
je 0x180058674
cmp eax, 0x47
jne 0x18005882f
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x70]
call fcn.1800b27a0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x60], rbx
lea rax, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x28], rax
or r14d, 2
mov dword [rsp + 0x20], r14d
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x70]
call fcn.1800319c0
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x74], edx
mov edx, 3
lea rcx, [rbp - 0x58]
call fcn.18000a9a0
nop
mov ebx, r15d
cmp dword [rdi + 0x194], r15d
jbe 0x18005876a
test ebx, ebx
je 0x180058704
lea rdx, [0x1801024a0]
lea rcx, [rbp - 0x60]
call fcn.18000c960
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
mov byte [rbp + rcx - 8], 0x30
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
and dword [rbp + rcx - 0x48], 0xfffff9ff
or dword [rbp + rcx - 0x48], 0x800
mov edx, 2
lea rcx, [rsp + 0x38]
call fcn.1800acc34
mov rcx, qword [rbp - 0x60]
movsxd rdx, dword [rcx + 4]
lea rcx, [rbp - 0x60]
add rcx, rdx
mov rdx, qword [rax + 8]
call qword [rax]
mov eax, ebx
movzx edx, byte [rax + rdi + 0x198]
lea rcx, [rbp - 0x60]
call fcn.180008040
inc ebx
cmp ebx, dword [rdi + 0x194]
jb 0x1800586f0
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x70]
call fcn.1800313a0
nop
lea rdx, [0x1800fd01d]
mov rcx, rsi
call fcn.1800190f0
test eax, eax
je 0x1800587a0
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.180019170
shr eax, 0x1f
test al, al
je 0x1800587bf
lea rax, [rsp + 0x68]
cmp rsi, rax
je 0x1800587bf
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.18000a120
nop
mov rax, qword [rbp - 0x80]
cmp rax, 0x10
jb 0x1800587fe
inc rax
mov rcx, qword [rsp + 0x68]
cmp rax, 0x1000
jb 0x1800587f9
test cl, 0x1f
jne 0x18005884e
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x180058848
sub rcx, rax
cmp rcx, 8
jb 0x180058842
cmp rcx, 0x27
ja 0x18005883c
mov rcx, rax
call fcn.1800af3bc
mov qword [rbp - 0x80], 0xf
mov qword [rsp + 0x78], r15
mov byte [rsp + 0x68], 0
lea rcx, [rbp + 0x28]
call fcn.1800313d0
nop
mov qword [rbp + 0x28], r12
lea rcx, [rbp + 0x28]
call fcn.1800acb4c
nop
lea rbx, [0x1800ff140]
mov rdi, qword [rdi]
test rdi, rdi
je 0x180058854
jmp 0x180058660
call fcn.1800c0d4c
int3
call fcn.1800c0d4c
int3
call fcn.1800c0d4c
int3
call fcn.1800c0d4c
nop
lea rcx, [rsp + 0x50]
call fcn.180024260
mov rax, rsi
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1800ae8d0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret