Function at 0x415f50
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c5744
mov eax, dword fs:[0]
push eax
mov eax, 0x2cc0
call fcn.004a7530
mov eax, dword [0x51eee0]
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 eax, dword [ebp + 8]
push 0
lea ecx, [ebp - 0x2ccc]
mov dword [ebp - 0x2cac], eax
call fcn.00442860
push str.success
lea ecx, [ebp - 0x2c60]
mov dword [ebp - 4], 0
call fcn.00442820
lea eax, [ebp - 0x2c60]
push eax
push 0x4d968c
lea ecx, [ebp - 0x2ccc]
mov byte [ebp - 4], 1
call fcn.00442d00
mov ecx, eax
call fcn.00442b10
lea ecx, [ebp - 0x2c60]
mov byte [ebp - 4], 0
call fcn.00442a70
mov eax, dword [0x51eab0]
mov ecx, 0x51eab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2ca0], eax
lea eax, [ebp - 0x2c60]
push eax
mov byte [ebp - 4], 2
xor edi, edi
call dword [sym.imp.RPCRT4.dll_UuidCreateSequential]
mov ebx, eax
test ebx, ebx
jne 0x416058
movzx ecx, byte [ebp - 0x2c51]
movzx eax, byte [ebp - 0x2c54]
push ecx
movzx ecx, byte [ebp - 0x2c52]
push ecx
movzx ecx, byte [ebp - 0x2c53]
push ecx
push eax
movzx eax, byte [ebp - 0x2c55]
push eax
movzx eax, byte [ebp - 0x2c56]
push eax
lea eax, [ebp - 0x2ca0]
push str._d__d__d__d__d__d
push eax
call fcn.00406160
add esp, 0x20
jmp 0x416158
lea eax, [ebp - 0x2c9c]
push eax
lea eax, [ebp - 0x2c50]
push eax
mov dword [ebp - 0x2c9c], 0x2880
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov edi, eax
test edi, edi
jne 0x416125
movzx ecx, byte [ebp - 0x2ab7]
movzx eax, byte [ebp - 0x2aba]
push ecx
movzx ecx, byte [ebp - 0x2ab8]
push ecx
movzx ecx, byte [ebp - 0x2ab9]
push ecx
push eax
movzx eax, byte [ebp - 0x2abb]
push eax
movzx eax, byte [ebp - 0x2abc]
push eax
lea eax, [ebp - 0x2ca0]
push str._d__d__d__d__d__d
push eax
lea esi, [ebp - 0x2c50]
call fcn.00406160
add esp, 0x20
lea esp, [esp]
cmp dword [esi + 0x1a0], 6
je 0x4160e1
mov esi, dword [esi]
test esi, esi
jne 0x4160d0
jmp 0x416125
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 - 0x2ca0]
push str._d__d__d__d__d__d
push eax
call fcn.00406160
add esp, 0x20
mov eax, dword [0x520340]
imul eax, eax
cdq
mov ecx, 0x18
idiv ecx
cmp edx, 0xa
jne 0x416158
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [ebp - 0x2ca0]
cmp dword [eax - 0xc], 0
jne 0x416247
mov eax, dword [0x51eab0]
mov ecx, 0x51eab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c9c], eax
push edi
push ebx
lea eax, [ebp - 0x2c9c]
push str.getMac_error_getmac__d__d
push eax
mov byte [ebp - 4], 3
call fcn.00406160
lea eax, [ebp - 0x2c9c]
push eax
lea eax, [ebp - 0x2c78]
push eax
call fcn.0044ef60
add esp, 0x18
push eax
lea ecx, [ebp - 0x2cbc]
mov byte [ebp - 4], 4
call fcn.00442780
lea eax, [ebp - 0x2cbc]
push eax
push 0x4d968c
lea ecx, [ebp - 0x2ccc]
mov byte [ebp - 4], 5
call fcn.00442d00
mov ecx, eax
call fcn.00442b10
lea ecx, [ebp - 0x2cbc]
mov byte [ebp - 4], 4
call fcn.00442a70
cmp dword [ebp - 0x2c64], 0x10
jb 0x416203
push dword [ebp - 0x2c78]
call fcn.004a5bbe
add esp, 4
mov edx, dword [ebp - 0x2c9c]
add edx, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x416229
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2ca0]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jmp 0x4162cf
lea eax, [ebp - 0x2ca0]
push eax
lea eax, [ebp - 0x2c78]
push eax
call fcn.0044ef60
add esp, 8
push eax
lea ecx, [ebp - 0x2cbc]
mov byte [ebp - 4], 6
call fcn.00442780
lea eax, [ebp - 0x2cbc]
push eax
push 0x4da928
lea ecx, [ebp - 0x2ccc]
mov byte [ebp - 4], 7
call fcn.00442d00
mov ecx, eax
call fcn.00442b10
lea ecx, [ebp - 0x2cbc]
mov byte [ebp - 4], 6
call fcn.00442a70
cmp dword [ebp - 0x2c64], 0x10
jb 0x4162b5
push dword [ebp - 0x2c78]
call fcn.004a5bbe
add esp, 4
mov edx, dword [ebp - 0x2ca0]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [edx + 0xc]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4162d9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x2c98]
call fcn.004449b0
mov byte [ebp - 4], 8
call fcn.00417ae0
test al, al
jne 0x416347
mov eax, dword [0x520340]
xor edx, edx
mov dword [ebp - 0x2c9c], edx
lea edi, [ebp - 0x3d0]
xor ebx, ebx
inc ebx
cdq
xor esi, esi
idiv ebx
mov dword [ebp - 0x2ca8], ebx
mov dword [ebp - 0x2ca0], edx
lea ecx, [esi + 1]
mov esi, ecx
cmp esi, 0x10
jl 0x416318
mov ebx, dword [ebp - 0x2ca8]
mov eax, dword [0x520340]
add edi, 0x10
cmp ebx, 0xa
jl 0x416306
mov edx, dword [ebp - 0x2c9c]
inc edx
mov dword [ebp - 0x2c9c], edx
cmp edx, 6
jl 0x416304
mov eax, dword [0x51eab0]
mov ecx, 0x51eab0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c9c], esi
lea eax, [ebp - 0x2ccc]
push eax
lea eax, [ebp - 0x2c78]
push eax
lea ecx, [ebp - 0x2c98]
mov byte [ebp - 4], 9
call fcn.004478c0
mov edx, eax
cmp dword [edx + 0x14], 0x10
mov byte [ebp - 4], 0xa
jb 0x416388
mov edx, dword [edx]
sub esp, 0x18
mov edi, esp
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp byte [edx], 0
jne 0x4163a7
xor ecx, ecx
jmp 0x4163b9
mov ecx, edx
lea ebx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4163b0
sub ecx, ebx
push ecx
push edx
mov ecx, edi
call fcn.00401460
lea eax, [ebp - 0x2ca8]
push eax
call fcn.0044ee90
add esp, 0x1c
mov ecx, dword [eax]
lea edi, [esi - 0x10]
lea edx, [ecx - 0x10]
mov byte [ebp - 4], 0xb
cmp edx, edi
je 0x41642f
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x41641a
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x41641a
push edx
call fcn.00404840
add esp, 4
mov ebx, eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x41640f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea esi, [ebx + 0x10]
mov dword [ebp - 0x2c9c], esi
jmp 0x41642f
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x2c9c]
call fcn.00409950
mov esi, dword [ebp - 0x2c9c]
mov edx, dword [ebp - 0x2ca8]
add edx, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 0xa
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x416455
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x2c64], 0x10
mov byte [ebp - 4], 9
jb 0x416470
push dword [ebp - 0x2c78]
call fcn.004a5bbe
add esp, 4
mov edi, dword [ebp - 0x2cac]
mov eax, 8
mov word [edi], ax
push dword [esi - 0xc]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x416491
call fcn.0040c2e0
add esi, 0xfffffff0
mov dword [edi + 8], eax
mov byte [ebp - 4], 8
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x4164af
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x2c80], 0x10
mov byte [ebp - 4], 0
mov dword [ebp - 0x2c98], 0x4d9684
jb 0x4164d4
push dword [ebp - 0x2c94]
call fcn.004a5bbe
add esp, 4
lea ecx, [ebp - 0x2c98]
mov dword [ebp - 0x2c80], 0xf
mov dword [ebp - 0x2c84], 0
mov byte [ebp - 0x2c94], 0
call fcn.00444ab0
lea ecx, [ebp - 0x2ccc]
mov dword [ebp - 4], 0xffffffff
call fcn.00442a70
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.004a63c4
mov esp, ebp
pop ebp
ret