Function at 0x4101c0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4addf9
mov eax, dword fs:[0]
push eax
mov eax, 0x28f8
call fcn.00492330
mov eax, dword [0x505ef8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 0
lea ecx, [ebp - 0x28f4]
call fcn.0042f326
and dword [ebp - 4], 0
push str.success
lea ecx, [ebp - 0x28a0]
call fcn.0042f2f7
lea eax, [ebp - 0x28a0]
push eax
push 0x4c0c00
lea ecx, [ebp - 0x28f4]
mov byte [ebp - 4], 1
call fcn.0042f5f2
mov ecx, eax
call fcn.0042f4ab
lea ecx, [ebp - 0x28a0]
mov byte [ebp - 4], 0
call fcn.0042f451
push 0x505ab0
lea ecx, [ebp - 0x28e0]
call fcn.00408fd9
lea eax, [ebp - 0x28a0]
push eax
mov byte [ebp - 4], 2
xor edi, edi
call dword [sym.imp.RPCRT4.dll_UuidCreateSequential]
mov esi, eax
mov dword [ebp - 0x28dc], esi
test esi, esi
jne 0x4102bf
movzx eax, byte [ebp - 0x2891]
push eax
movzx eax, byte [ebp - 0x2892]
push eax
movzx eax, byte [ebp - 0x2893]
push eax
movzx eax, byte [ebp - 0x2894]
push eax
movzx eax, byte [ebp - 0x2895]
push eax
movzx eax, byte [ebp - 0x2896]
push eax
lea eax, [ebp - 0x28e0]
push str._d__d__d__d__d__d
push eax
call fcn.00405092
add esp, 0x20
jmp 0x410430
lea eax, [ebp - 0x28e4]
push eax
lea eax, [ebp - 0x2890]
push eax
mov dword [ebp - 0x28e4], 0x2880
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov edx, dword [0x507340]
mov edi, eax
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
push 0xf
pop ecx
idiv ecx
mov eax, dword [0x5075b0]
mov ecx, 0x3b87487c
cmp edx, 0xa
cmove eax, ecx
mov dword [0x5075b0], eax
test edi, edi
jne 0x410430
movzx eax, byte [ebp - 0x26f7]
push eax
movzx eax, byte [ebp - 0x26f8]
push eax
movzx eax, byte [ebp - 0x26f9]
push eax
movzx eax, byte [ebp - 0x26fa]
push eax
movzx eax, byte [ebp - 0x26fb]
push eax
movzx eax, byte [ebp - 0x26fc]
push eax
lea eax, [ebp - 0x28e0]
push str._d__d__d__d__d__d
push eax
lea esi, [ebp - 0x2890]
call fcn.00405092
add esp, 0x20
cmp dword [esi + 0x1a0], 6
je 0x410373
mov esi, dword [esi]
call fcn.0041143d
test esi, esi
jne 0x41035d
jmp 0x4103b7
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x28e0]
push str._d__d__d__d__d__d
push eax
call fcn.00405092
add esp, 0x20
mov esi, dword [0x507340]
push 0xb
lea ecx, [esi + 1]
lea eax, [esi + 2]
imul eax, ecx
imul eax, esi
cdq
pop ecx
idiv ecx
cmp edx, 3
jne 0x4103f9
push 4
pop eax
push eax
call fcn.0048e498
mov esi, eax
call fcn.0048f9e0
mov dword [esi], eax
push esi
mov dword [0x507340], eax
call fcn.0048e469
mov esi, dword [0x507340]
pop ecx
pop ecx
lea eax, [esi + 1]
imul eax, esi
push 0x16
cdq
pop ecx
idiv ecx
cmp edx, 0x12
jne 0x41042a
push 0x5c
mov eax, 0xc8
pop esi
test esi, esi
je 0x410423
cdq
idiv esi
mov ecx, esi
mov eax, ecx
mov esi, edx
test ecx, ecx
jne 0x410412
add eax, esi
mov dword [0x507340], eax
mov esi, dword [ebp - 0x28dc]
mov eax, dword [ebp - 0x28e0]
cmp dword [eax - 0xc], 0
jne 0x4104dd
push 0x505ab0
lea ecx, [ebp - 0x28dc]
call fcn.00408fd9
push edi
push esi
lea eax, [ebp - 0x28dc]
push str.getMac_error_getmac__d__d
push eax
mov byte [ebp - 4], 3
call fcn.00405092
lea eax, [ebp - 0x28dc]
push eax
lea eax, [ebp - 0x28b8]
push eax
call fcn.00438012
add esp, 0x18
push 4
pop edx
push eax
lea ecx, [ebp - 0x2904]
mov byte [ebp - 4], dl
call fcn.0042f275
lea eax, [ebp - 0x2904]
push eax
push 0x4c0c00
lea ecx, [ebp - 0x28f4]
mov byte [ebp - 4], 5
call fcn.0042f5f2
mov ecx, eax
call fcn.0042f4ab
push 4
pop eax
lea ecx, [ebp - 0x2904]
mov byte [ebp - 4], al
call fcn.0042f451
lea ecx, [ebp - 0x28b8]
call fcn.00401056
mov ecx, dword [ebp - 0x28dc]
lea ecx, [ecx - 0x10]
call fcn.00407864
jmp 0x41053e
lea eax, [ebp - 0x28e0]
push eax
lea eax, [ebp - 0x28b8]
push eax
call fcn.00438012
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x2904]
mov byte [ebp - 4], 6
call fcn.0042f275
lea eax, [ebp - 0x2904]
push eax
push 0x4c1ecc
lea ecx, [ebp - 0x28f4]
mov byte [ebp - 4], 7
call fcn.0042f5f2
mov ecx, eax
call fcn.0042f4ab
lea ecx, [ebp - 0x2904]
mov byte [ebp - 4], 6
call fcn.0042f451
lea ecx, [ebp - 0x28b8]
call fcn.00401056
mov ecx, dword [ebp - 0x28e0]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.00407864
mov eax, dword [0x507340]
lea edx, [eax + 2]
lea ecx, [eax + 1]
imul edx, ecx
imul edx, eax
and edx, reloc.OLEAUT32.dll_VariantInit
jns 0x41056e
dec edx
or edx, 0xfffffff8
inc edx
cmp edx, 7
jne 0x410598
push 0x64
cdq
pop ecx
idiv ecx
xor ecx, ecx
push 4
lea eax, [edx + 0x7b]
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048dbeb
push eax
call fcn.0048fbd7
pop ecx
pop ecx
lea ecx, [ebp - 0x28d8]
call fcn.00430a82
push 8
pop eax
push 0x505ab0
lea ecx, [ebp - 0x28dc]
mov byte [ebp - 4], al
call fcn.00408fd9
lea eax, [ebp - 0x28f4]
push eax
lea eax, [ebp - 0x28b8]
push eax
lea ecx, [ebp - 0x28d8]
mov byte [ebp - 4], 9
call fcn.00432bf9
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0xa
jb 0x4105e2
mov eax, dword [eax]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00401027
lea eax, [ebp - 0x28e4]
push eax
call fcn.00437fc7
add esp, 0x1c
push 0xb
pop ecx
mov byte [ebp - 4], cl
push eax
lea ecx, [ebp - 0x28dc]
call fcn.00402394
mov ecx, dword [ebp - 0x28e4]
lea ecx, [ecx - 0x10]
call fcn.00407864
lea ecx, [ebp - 0x28b8]
mov byte [ebp - 4], 9
call fcn.00401056
push 8
pop eax
mov word [ebx], ax
call fcn.00411491
test al, al
jne 0x410645
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x507340], eax
mov esi, dword [ebp - 0x28dc]
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x41065e
call fcn.00409bd9
lea ecx, [esi - 0x10]
mov dword [ebx + 8], eax
call fcn.00407864
lea ecx, [ebp - 0x28d8]
mov byte [ebp - 4], 0
call fcn.004090f2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28f4]
call fcn.0042f451
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048f354
leave
ret