Function at 0x401dd2
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x854
mov eax, dword [0x42c004]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [0x4305ec], 0
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x844], ecx
mov edx, 0x288
mov dword [ebp - 0x848], edx
call fcn.00401d9d
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov ebx, eax
lea eax, [ebp - 0x848]
mov dword [ebp - 0x840], ebx
push eax
push ebx
mov byte [edi], 0
call esi
cmp eax, 0x6f
jne 0x401e49
mov ecx, ebx
call fcn.00401dc2
mov edx, dword [ebp - 0x848]
call fcn.00401d9d
mov ebx, eax
mov dword [ebp - 0x840], ebx
test ebx, ebx
je 0x402260
lea eax, [ebp - 0x848]
push eax
push ebx
call esi
mov dword [ebp - 0x854], eax
test eax, eax
jne 0x402242
mov esi, ebx
test ebx, ebx
jmp 0x401f31
and dword [ebp - 0x850], 0
mov byte [edi], 0
mov ecx, dword [esi + 0x190]
test ecx, ecx
je 0x401f2d
mov ebx, dword [ebp - 0x850]
movzx eax, byte [esi + ebx + 0x194]
push eax
lea eax, [ebp - 0x68]
push str._.2X
push eax
call fcn.00401474
lea eax, [ebp - 0x68]
push eax
push edi
call fcn.0040d770
mov ecx, dword [esi + 0x190]
add esp, 0x14
lea eax, [ecx - 1]
cmp ebx, eax
jae 0x401ecc
push 0x426f80
push edi
call fcn.0040d770
pop ecx
pop ecx
mov ecx, dword [esi + 0x190]
inc ebx
cmp ebx, ecx
jb 0x401e88
mov ebx, dword [ebp - 0x840]
test ecx, ecx
je 0x401f2d
push dword [ebp - 0x844]
call fcn.0040ca90
pop ecx
test eax, eax
je 0x401f2d
push edi
call fcn.0040ca90
push dword [ebp - 0x844]
mov esi, eax
call fcn.0040ca90
mov ecx, dword [ebp - 0x844]
cmp esi, eax
cmovb ecx, edi
push ecx
call fcn.0040ca90
push eax
push dword [ebp - 0x844]
push edi
call fcn.0040ccf0
add esp, 0x18
test eax, eax
je 0x4020bd
mov esi, dword [ebp - 0x84c]
mov esi, dword [esi]
test esi, esi
mov dword [ebp - 0x84c], esi
jne 0x401e6a
mov byte [ebp - 0x25c], 0
mov esi, ebx
mov byte [ebp - 0x83c], 0
test ebx, ebx
je 0x40223f
cmp dword [esi + 0x190], 0
jbe 0x40216b
mov eax, dword [esi + 0x1a0]
cmp eax, 6
je 0x401f76
cmp eax, 0x47
jne 0x40216b
lea ebx, [esi + 0x10c]
mov edx, str.virtual
mov ecx, ebx
call fcn.00407c24
test eax, eax
jne 0x40216b
mov edx, str.bluetooth
mov ecx, ebx
call fcn.00407c24
test eax, eax
jne 0x40216b
mov edx, 0x426f9c
mov ecx, ebx
call fcn.00407c24
test eax, eax
jne 0x40216b
mov edx, str.Wi_Fi_Direct
mov ecx, ebx
call fcn.00407c24
test eax, eax
jne 0x40216b
mov edx, 0x426fb0
mov ecx, ebx
call fcn.00407c24
test eax, eax
jne 0x40216b
mov edx, 0x426fb8
mov ecx, ebx
call fcn.00407c24
test eax, eax
jne 0x40216b
mov byte [edi], al
cmp dword [esi + 0x190], eax
jbe 0x402055
mov ebx, eax
movzx eax, byte [esi + ebx + 0x194]
push eax
lea eax, [ebp - 0x648]
push str._.2X
push eax
call fcn.00401474
lea eax, [ebp - 0x648]
push eax
push edi
call fcn.0040d770
mov ecx, dword [esi + 0x190]
add esp, 0x14
lea eax, [ecx - 1]
cmp ebx, eax
jae 0x40204a
push 0x426f80
push edi
call fcn.0040d770
pop ecx
pop ecx
mov ecx, dword [esi + 0x190]
inc ebx
cmp ebx, ecx
jb 0x402000
lea ebx, [esi + 0x10c]
push 0x426f84
push edi
call fcn.0040d770
push ebx
push edi
call fcn.0040d770
add esp, 0x10
mov edx, str.wireless
mov ecx, ebx
call fcn.00407c24
test eax, eax
jne 0x402118
mov edx, str.hspa
mov ecx, ebx
call fcn.00407c24
test eax, eax
jne 0x402118
mov edx, str.wifi
mov ecx, ebx
call fcn.00407c24
test eax, eax
jne 0x402118
lea eax, [ebp - 0x25c]
push edi
push eax
call fcn.0040c780
pop ecx
pop ecx
test eax, eax
jns 0x402127
lea eax, [ebp - 0x25c]
jmp 0x40211e
push 0x426f84
push edi
call fcn.0040d770
mov eax, dword [ebp - 0x84c]
add eax, 0x10c
push eax
push edi
call fcn.0040d770
imul eax, dword [0x4305ec], 0x1f6
mov esi, 0x4348a0
push 0x42f9d0
add eax, esi
push eax
call fcn.0040d760
mov eax, dword [0x4305ec]
imul ecx, eax, 0x1f6
push edi
add ecx, esi
inc eax
push ecx
mov dword [0x4305ec], eax
call fcn.0040d770
add esp, 0x20
jmp 0x402246
lea eax, [ebp - 0x83c]
push edi
push eax
call fcn.0040d760
pop ecx
pop ecx
mov ecx, dword [0x4305ec]
lea eax, [ecx + 1]
cmp eax, 0x28
jge 0x4021fe
imul eax, ecx, 0x1f6
mov ebx, 0x4348a0
push 0x42f9d0
add eax, ebx
push eax
call fcn.0040d760
mov eax, dword [0x4305ec]
imul ecx, eax, 0x1f6
push edi
add ecx, ebx
inc eax
mov dword [0x4305ec], eax
push ecx
jmp 0x4021f6
xor ebx, ebx
mov byte [ebp - 0x454], 0
cmp dword [esi + 0x190], ebx
jbe 0x4021d7
movzx eax, byte [esi + ebx + 0x194]
push eax
lea eax, [ebp - 0x648]
push str._.2X
push eax
call fcn.00401474
lea eax, [ebp - 0x648]
push eax
lea eax, [ebp - 0x454]
push eax
call fcn.0040d770
mov ecx, dword [esi + 0x190]
add esp, 0x14
lea eax, [ecx - 1]
cmp ebx, eax
jae 0x4021d2
lea eax, [ebp - 0x454]
push 0x426f80
push eax
call fcn.0040d770
pop ecx
pop ecx
mov ecx, dword [esi + 0x190]
inc ebx
cmp ebx, ecx
jb 0x40217c
lea eax, [ebp - 0x454]
push 0x426f84
push eax
call fcn.0040d770
lea eax, [esi + 0x10c]
push eax
lea eax, [ebp - 0x454]
push eax
call fcn.0040d770
add esp, 0x10
mov esi, dword [esi]
test esi, esi
jne 0x401f55
cmp byte [ebp - 0x25c], 0
je 0x402219
lea eax, [ebp - 0x25c]
jmp 0x402228
cmp byte [ebp - 0x83c], 0
je 0x402239
lea eax, [ebp - 0x83c]
push eax
push edi
call fcn.0040d760
mov ebx, dword [ebp - 0x840]
pop ecx
pop ecx
jmp 0x402246
mov ebx, dword [ebp - 0x840]
mov byte [edi], 0
test ebx, ebx
je 0x40224d
mov ecx, ebx
call fcn.00401dc2
cmp dword [ebp - 0x854], 0
jne 0x402260
cmp byte [edi], 0
jle 0x402260
xor eax, eax
inc eax
jmp 0x402262
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040827c
leave
ret