Function at 0x18004dcc0
Capabilities:
Get mac address on windows

Disassembly:
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x70]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1804ccc80]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov qword [rbp + 8], 0
mov dword [rbp + 0x1c], 0
mov dword [rbp + 0xa0], 0x2c0
mov ecx, 0x2c0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x10], 0
jne 0x18004dd1a
xor al, al
jmp 0x18004e07a
lea rdx, [rbp + 0xa0]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x18004dd5a
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rbp + 0xa0]
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x10], 0
jne 0x18004dd5a
xor al, al
jmp 0x18004e07a
lea rdx, [rbp + 0xa0]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [rbp + 0x1c], eax
cmp dword [rbp + 0x1c], 0
je 0x18004dd85
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor al, al
jmp 0x18004e07a
mov rax, qword [rbp + 0x10]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
je 0x18004e06e
mov eax, 1
imul rax, rax, 5
mov rcx, qword [rbp + 8]
movzx eax, byte [rcx + rax + 0x198]
mov ecx, 1
imul rcx, rcx, 4
mov rdx, qword [rbp + 8]
movzx ecx, byte [rdx + rcx + 0x198]
mov edx, 1
imul rdx, rdx, 3
mov r8, qword [rbp + 8]
movzx edx, byte [r8 + rdx + 0x198]
mov r8d, 1
imul r8, r8, 2
mov r9, qword [rbp + 8]
movzx r8d, byte [r9 + r8 + 0x198]
mov r9d, 1
imul r9, r9, 1
mov r10, qword [rbp + 8]
movzx r9d, byte [r10 + r9 + 0x198]
mov r10d, 1
imul r10, r10, 0
mov r11, qword [rbp + 8]
movzx r10d, byte [r11 + r10 + 0x198]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x20], r9d
mov r9d, r10d
lea r8, str._02X:_02X:_02X:_02X:_02X:_02X
mov edx, reloc.WS2_32.dll_select
lea rcx, [rbp + 0xa8]
call fcn.180060510
mov byte [rbp], 0
mov r8d, 8
lea rdx, str.00:05:69
lea rcx, [rbp + 0xa8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x18004dfb4
mov r8d, 8
lea rdx, str.00:0C:29
lea rcx, [rbp + 0xa8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x18004dfb4
mov r8d, 8
lea rdx, str.08:00:27
lea rcx, [rbp + 0xa8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x18004dfb4
mov r8d, 8
lea rdx, str.00:16:3E
lea rcx, [rbp + 0xa8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x18004dfb4
mov r8d, 8
lea rdx, str.52:54:00
lea rcx, [rbp + 0xa8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x18004dfb4
mov r8d, 8
lea rdx, str.00:1C:42
lea rcx, [rbp + 0xa8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x18004dfb4
mov r8d, 8
lea rdx, str.58:9C:FC
lea rcx, [rbp + 0xa8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x18004dfb4
mov r8d, 8
lea rdx, str.76:0D:B4
lea rcx, [rbp + 0xa8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x18004dfb4
mov r8d, 8
lea rdx, str.00:18:51
lea rcx, [rbp + 0xa8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x18004dfb4
mov r8d, 8
lea rdx, str.00:1B:D5
lea rcx, [rbp + 0xa8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x18004dfb4
mov r8d, 8
lea rdx, str.00:3D:E8
lea rcx, [rbp + 0xa8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
jne 0x18004dfb8
mov byte [rbp], 1
movzx eax, byte [rbp]
test eax, eax
je 0x18004e05e
lea rax, [rbp + 0x58]
mov qword [rbp + 0x30], rax
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x38]
call fcn.180019960
mov qword [rbp + 0x20], rax
lea rax, [rbp + 1]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 2]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 1]
movzx r8d, byte [rbp + 2]
movzx edx, byte [rbp + 0x18]
lea rcx, [rbp + 0x80]
call fcn.18001d320
mov rcx, rax
call fcn.18004ec50
mov qword [rbp + 0x28], rax
mov r8, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x30]
call fcn.18001ed20
mov rdx, rax
lea rcx, [0x180659af0]
call fcn.180070ff0
lea rcx, [rbp + 0x38]
call fcn.180019cf0
nop
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov al, 1
jmp 0x18004e07a
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov qword [rbp + 8], rax
jmp 0x18004dd8d
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor al, al
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1800c5020
add rsp, 0x148
pop rdi
pop rbp
ret