Function at 0x41a690
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470345
mov eax, dword fs:[0]
push eax
sub esp, 0x3fc
mov eax, dword [0x48e084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x408], esi
mov dword [ebp - 0x3fc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x3f0], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00417980
mov dword [esi], eax
push 0x288
mov dword [ebp - 4], 0
mov dword [ebp - 0x3fc], 1
call fcn.00434453
mov edi, eax
mov dword [ebp - 0x3e8], eax
add esp, 4
test edi, edi
je 0x41a72f
push 0x288
push 0
push edi
call fcn.0044c770
add esp, 0xc
jmp 0x41a737
xor edi, edi
mov dword [ebp - 0x3e8], edi
lea eax, [ebp - 0x3f8]
mov dword [ebp - 0x3f8], 0x288
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x41a781
push 0x288
push edi
call fcn.00434483
push dword [ebp - 0x3f8]
call fcn.00434d73
add esp, 0xc
mov edi, eax
lea eax, [ebp - 0x3f8]
mov dword [ebp - 0x3e8], edi
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov ecx, edi
mov dword [ebp - 0x404], ecx
test eax, eax
jne 0x41ac08
test edi, edi
je 0x41ac1a
nop dword [eax]
push 0x35c
lea eax, [ebp - 0x3e4]
push 0
push eax
call fcn.0044c770
mov eax, dword [edi + 0x19c]
add esp, 0xc
mov dword [ebp - 0x1e4], eax
lea eax, [ebp - 0x3e4]
push eax
call sub.IPHLPAPI.DLL_GetIfEntry
test eax, eax
jne 0x41abec
mov eax, dword [ebp - 0x1c4]
cmp eax, 5
je 0x41a7ea
cmp eax, 4
jne 0x41abec
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov eax, dword [edi + 0x1a0]
add eax, 0xfffffffa
mov dword [ebp - 4], 1
cmp eax, 0x16
ja case.0x41a81c.7
movzx eax, byte [eax + 0x41ac5c]
jmp dword [eax*4 + 0x41ac40]
push 8
push str.ETHERNET
lea ecx, [ebp - 0x58]
call fcn.0040a160
jmp 0x41a9c4
push 9
push str.TOKENRING
lea ecx, [ebp - 0x58]
call fcn.0040a160
jmp 0x41a9c4
push 4
push str.FDDI
lea ecx, [ebp - 0x58]
call fcn.0040a160
jmp 0x41a9c4
push 3
push 0x475618
lea ecx, [ebp - 0x58]
call fcn.0040a160
jmp 0x41a9c4
push 8
push str.LOOPBACK
lea ecx, [ebp - 0x58]
call fcn.0040a160
jmp 0x41a9c4
push 4
push str.SLIP
lea ecx, [ebp - 0x58]
call fcn.0040a160
jmp 0x41a9c4
push 9
push str.TYPE_WIN_
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.0040a6b0
push dword [edi + 0x1a0]
lea eax, [ebp - 0x2b]
mov byte [ebp - 4], 2
push eax
call fcn.00416750
mov ecx, eax
xor edx, edx
lea eax, [ebp - 0x2b]
mov dword [ebp - 0x78], edx
add esp, 8
mov byte [ebp - 0x88], dl
mov esi, 0xf
mov dword [ebp - 0x74], esi
cmp ecx, eax
je 0x41a903
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x88]
call fcn.0040a6b0
mov esi, dword [ebp - 0x74]
mov edx, dword [ebp - 0x78]
or dword [ebp - 0x3fc], 6
cmp esi, 0x10
mov byte [ebp - 4], 3
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
lea ecx, [ebp - 0x70]
push edx
push eax
call fcn.0040a160
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x41a963
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a959
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ac39
push edx
push ecx
call fcn.00434483
add esp, 8
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x58]
push eax
call fcn.0040a160
mov edx, dword [ebp - 0x5c]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x41a9b2
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41a9a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ac39
push edx
push ecx
call fcn.00434483
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov eax, dword [edi + 0x190]
xorps xmm0, xmm0
xor esi, esi
movq qword [ebp - 0x18], xmm0
movups xmmword [ebp - 0x28], xmm0
test eax, eax
je 0x41aa42
nop dword [eax]
dec eax
cmp esi, eax
jae 0x41aa0c
lea ecx, [ebp - 0x28]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41a9f0
movzx eax, byte [edi + esi + 0x194]
sub ecx, edx
push eax
push str._02X_
lea eax, [ebp - 0x28]
jmp 0x41aa2c
lea eax, [ebp - 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41aa12
movzx ecx, byte [edi + esi + 0x194]
sub eax, edx
push ecx
push str._02X
lea ecx, [ebp - 0x28]
add eax, ecx
push eax
call fcn.0041e030
mov eax, dword [edi + 0x190]
inc esi
add esp, 0xc
cmp esi, eax
jb 0x41a9e0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x40], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41aa60
sub ecx, edx
lea eax, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.0040a6b0
mov esi, dword [ebp - 0x3f0]
mov edx, dword [ebp - 0x40]
mov byte [ebp - 4], 4
mov dword [ebp - 0x3ec], edx
mov esi, dword [esi]
mov edi, dword [esi + 4]
cmp byte [edi + 0xd], 0
jne 0x41aad6
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
cmovae ecx, edx
cmp dword [edi + 0x24], 0x10
lea edx, [edi + 0x10]
jb 0x41aaaa
mov edx, dword [edi + 0x10]
push dword [ebp - 0x30]
push ecx
push dword [edi + 0x20]
push edx
call fcn.004165d0
shr eax, 0x1f
add esp, 0x10
test al, al
je 0x41aac6
mov edi, dword [edi + 8]
jmp 0x41aaca
mov esi, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
mov edx, dword [ebp - 0x3ec]
je 0x41aa94
mov edi, dword [ebp - 0x3f0]
cmp esi, dword [edi]
je 0x41ab1b
cmp dword [esi + 0x24], 0x10
lea edi, [esi + 0x10]
jb 0x41aaec
mov edi, dword [esi + 0x10]
push dword [esi + 0x20]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push edi
push dword [ebp - 0x30]
cmovae eax, edx
push eax
call fcn.004165d0
shr eax, 0x1f
add esp, 0x10
test al, al
jne 0x41ab15
mov ecx, dword [ebp - 0x3ec]
jmp 0x41ab5b
mov edi, dword [ebp - 0x3f0]
lea eax, [ebp - 0x40]
mov ecx, edi
mov dword [ebp - 0x3ec], eax
lea eax, [ebp - 0x3f1]
push eax
lea eax, [ebp - 0x3ec]
push eax
push 0x474f70
call fcn.004137f0
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x400]
push eax
call fcn.00415710
mov esi, dword [ebp - 0x400]
mov ecx, dword [ebp - 0x40]
add esi, 0x28
lea eax, [ebp - 0x58]
cmp esi, eax
je 0x41ab7b
cmp dword [ebp - 0x44], 0x10
mov ecx, esi
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.0040a6b0
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 1
cmp eax, 0x10
jb 0x41abb2
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x41aba8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ac39
push edx
push ecx
call fcn.00434483
add esp, 8
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x41abe6
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41abdc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41ac39
push edx
push ecx
call fcn.00434483
add esp, 8
mov edi, dword [ebp - 0x3e8]
mov edi, dword [edi]
mov dword [ebp - 0x3e8], edi
test edi, edi
jne 0x41a7a0
mov esi, dword [ebp - 0x3f0]
mov ecx, dword [ebp - 0x404]
test ecx, ecx
je 0x41ac1a
push 0x288
push ecx
call fcn.00434483
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004349bf
mov esp, ebp
pop ebp
ret 4
call fcn.0044f769
nop
and ebp, dword [eax - 0x57c8ffbf]
inc ecx
add byte [ebx - 0x58], cl
inc ecx
add byte [edi - 0x58], bl
inc ecx
add byte [ebx - 0x58], dh
inc ecx
add byte [edi - 0x64ffbe58], al
test al, 0x41
add byte [eax], al
push es
push es
add dword [esi], eax
push es
push es
push es
push es
add al, byte [esi]
push es
push es
push es
push es
push es
push es
add eax, dword [esi + eax]
push es
push es
add eax, -858993460
int3