Function at 0x140138900
Capabilities:
Get mac address on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov r15, rcx
xor r14d, r14d
mov dword [rbp + 0x78], r14d
xor sil, sil
mov dword [rbp + 0x80], 0x2c0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
xor edx, edx
mov r8d, 0x2c0
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
jne 0x1401389bd
call fcn.140118690
mov rbx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x140138a90
mov rax, qword [rcx]
call qword [rax + VariantCopy]
cmp eax, 2
jl 0x140138a90
mov rdi, qword [rbx]
lea edx, [r14 + 0x2f]
lea rbx, str.D:Jenkinsworkspaceccd_appmain_nativewin64_buildgit_adobeccddunamis_sdkdunamis_internaldunamis_core_sourcedunamiscore_sysinfowin_sysinfo_win.cpp
mov rcx, rbx
call fcn.140154680
test rax, rax
jne 0x1401389a0
lea edx, [rax + 0x5c]
mov rcx, rbx
call fcn.140154680
test rax, rax
je 0x1401389a4
lea rbx, [rax + 1]
lea rdx, str.Error_allocating_memory_needed_to_call_GetAdaptersinfo
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], 0xb6
jmp 0x140138a6f
lea rdx, [rbp + 0x80]
mov rcx, rdi
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x140138a97
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ebx, dword [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8d, ebx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
jne 0x140138a97
call fcn.140118690
mov rbx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x140138a90
mov rax, qword [rcx]
call qword [rax + VariantCopy]
cmp eax, 2
jl 0x140138a90
mov rdi, qword [rbx]
mov edx, 0x2f
lea rbx, str.D:Jenkinsworkspaceccd_appmain_nativewin64_buildgit_adobeccddunamis_sdkdunamis_internaldunamis_core_sourcedunamiscore_sysinfowin_sysinfo_win.cpp
mov rcx, rbx
call fcn.140154680
test rax, rax
jne 0x140138a57
lea edx, [rax + 0x5c]
mov rcx, rbx
call fcn.140154680
test rax, rax
je 0x140138a5b
lea rbx, [rax + 1]
lea rdx, str.Error_allocating_memory_needed_to_call_GetAdaptersinfo
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], 0xbf
mov qword [rsp + 0x20], rbx
mov rax, qword [rdi]
lea r9, str.dunamis::sysinfo::getPrimaryMACAddress
lea r8, str.sysinfo
mov edx, 2
mov rcx, rdi
call qword [rax + 0x18]
xor al, al
jmp 0x140138d0a
lea rdx, [rbp + 0x80]
mov rcx, rdi
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov r12d, eax
test eax, eax
jne 0x140138b59
mov rbx, rdi
test rdi, rdi
je 0x140138d06
nop
cmp dword [rbx + 0x1a4], 6
je 0x140138ad6
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140138ac0
jmp 0x140138cf2
mov eax, dword [rbx + 0x194]
lea ecx, [rax + rax*2]
mov r12d, ecx
xor r8d, r8d
mov edx, ecx
mov rcx, r15
call fcn.1400161c0
cmp qword [r15 + 0x18], 0x10
jb 0x140138af9
mov r15, qword [r15]
mov esi, r14d
mov r8d, dword [rbx + 0x194]
test r8d, r8d
je 0x140138b51
lea r13, str._.2X_
nop
mov r9d, esi
movsxd rax, r14d
mov rdx, r12
sub rdx, rax
lea rcx, [r15 + rax]
lea eax, [r8 - 1]
lea r8, str._.2X
cmp esi, eax
cmovne r8, r13
movzx r9d, byte [r9 + rbx + 0x198]
call fcn.140082320
add r14d, 3
inc esi
mov r8d, dword [rbx + 0x194]
cmp esi, r8d
jb 0x140138b10
mov sil, 1
jmp 0x140138cf2
call fcn.140118690
mov rbx, rax
mov rcx, qword [rax]
test rcx, rcx
je 0x140138cea
mov rax, qword [rcx]
call qword [rax + VariantCopy]
cmp eax, 2
jl 0x140138cea
lea rax, [0x1401913a0]
mov qword [rsp + 0x40], rax
mov qword [rbp - 0x30], r14
mov qword [rbp - 8], r14
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
mov dword [rbp + 0x78], 1
lea r13, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x38], r13
mov dword [rbp - 0x3c], 0x78
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x38]
call fcn.140016f30
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x40], r15
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x48]
call fcn.140016ea0
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x50], r14
mov dword [rbp - 0x48], 4
lea rdx, str.GetAdaptersInfo_failed_with_error:
lea rcx, [rsp + 0x40]
call fcn.14001e8f0
mov rcx, rax
mov edx, r12d
call fcn.140138260
mov rsi, qword [rbx]
mov edx, 0x2f
lea rbx, str.D:Jenkinsworkspaceccd_appmain_nativewin64_buildgit_adobeccddunamis_sdkdunamis_internaldunamis_core_sourcedunamiscore_sysinfowin_sysinfo_win.cpp
mov rcx, rbx
call fcn.140154680
test rax, rax
jne 0x140138c54
lea edx, [rax + 0x5c]
mov rcx, rbx
call fcn.140154680
test rax, rax
je 0x140138c58
lea rbx, [rax + 1]
mov rax, qword [rsi]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0xd9
mov qword [rsp + 0x20], rbx
lea r9, str.dunamis::sysinfo::getPrimaryMACAddress
lea r8, str.sysinfo
mov edx, 2
mov rcx, rsi
call qword [rax + 0x20]
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], r15
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x48]
call fcn.140015d60
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x40], r13
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rsp + rcx + 0x3c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x38]
call fcn.140060930
nop
xor sil, sil
test rdi, rdi
je 0x140138d06
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
movzx eax, sil
mov rbx, qword [rsp + 0x170]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret