Function at 0x1002f010
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x101a49d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
push 0
push 0x1018ed8c
mov dword [ebp - 0xdc], edi
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
call fcn.10051fd0
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0xd8]
push eax
push 0
mov dword [ebp - 0xd8], 0
call esi
cmp eax, 0x6f
jne 0x1002f7b5
push dword [ebp - 0xd8]
call fcn.10126050
add esp, 4
mov ebx, eax
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xd4], ebx
push eax
push ebx
call esi
test eax, eax
jne 0x1002f791
mov dword [ebp - 0xe0], ebx
test ebx, ebx
je 0x1002f7cd
nop dword [eax + eax]
lea ecx, [ebp - 0xd0]
call fcn.1004f260
lea esi, [ebx + 8]
push esi
call fcn.10124b10
add esp, 4
lea ecx, [ebp - 0xd0]
add eax, esi
push eax
push esi
lea eax, [ebp - 0x64]
push eax
call fcn.10055340
lea esi, [ebx + 0x10c]
push esi
call fcn.10124b10
add esp, 4
lea ecx, [ebp - 0xd0]
add eax, esi
push eax
push esi
lea eax, [ebp - 0x4c]
push eax
call fcn.10055340
mov ecx, dword [ebp - 0x54]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 0xd
jb 0x1002f7e5
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push ecx
cmovae eax, dword [ebp - 0x64]
push eax
push 0xd
push str.Adapter_Name
push ecx
push dword [ebp - 0xd4]
lea ecx, [ebp - 0x34]
call fcn.1005dba0
push 1
push 0x1018eeb0
lea ecx, [ebp - 0x34]
call fcn.100520e0
mov esi, eax
mov dword [ebp - 0x1c], 0
push 0x18
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
push esi
push eax
mov dword [ebp - 8], 0
call fcn.1011b630
xor eax, eax
mov dword [esi + 0x10], 0
add esp, 0xc
mov word [esi], ax
mov dword [esi + 0x14], 7
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 8
mov ecx, edi
push dword [ebp - 0xc]
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.100520e0
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x1002f1ca
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f1c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f7e0
push edx
push ecx
call fcn.1011a823
add esp, 8
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
cmp edx, 8
jb 0x1002f218
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f20e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f7e0
push edx
push ecx
call fcn.1011a823
add esp, 8
mov ecx, dword [ebp - 0x3c]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 0xc
jb 0x1002f7e5
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
push ecx
cmovae eax, dword [ebp - 0x4c]
push eax
push 0xc
push str.Description
push ecx
push dword [ebp - 0xd4]
lea ecx, [ebp - 0x34]
call fcn.1005dba0
push 1
push 0x1018eeb0
lea ecx, [ebp - 0x34]
call fcn.100520e0
mov esi, eax
mov dword [ebp - 0x1c], 0
push 0x18
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
push esi
push eax
mov dword [ebp - 8], 0
call fcn.1011b630
xor eax, eax
mov dword [esi + 0x10], 0
add esp, 0xc
mov word [esi], ax
mov dword [esi + 0x14], 7
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 8
mov ecx, edi
push dword [ebp - 0xc]
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.100520e0
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x1002f2e6
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f2dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f7e0
push edx
push ecx
call fcn.1011a823
add esp, 8
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
cmp edx, 8
jb 0x1002f334
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f32a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f7e0
push edx
push ecx
call fcn.1011a823
add esp, 8
push ecx
lea ecx, [ebp - 0x190]
call fcn.10050070
xor esi, esi
cmp dword [ebx + 0x190], esi
jbe 0x1002f3c0
nop word [eax + eax]
mov eax, dword [ebp - 0x180]
lea ecx, [ebp - 0x180]
mov eax, dword [eax + 4]
add eax, ecx
push eax
call fcn.10022b00
mov eax, dword [ebp - 0x180]
lea ecx, [ebp - 0x180]
add esp, 4
mov eax, dword [eax + 4]
add eax, ecx
push eax
call fcn.10022b20
movzx eax, byte [ebx + esi + 0x194]
lea ecx, [ebp - 0x180]
add esp, 4
push eax
call fcn.10050650
mov ecx, dword [ebx + 0x190]
lea eax, [ecx - 1]
cmp esi, eax
jae 0x1002f3bb
mov edx, 0x1018e190
lea ecx, [ebp - 0x180]
call fcn.10059140
mov ecx, dword [ebx + 0x190]
inc esi
cmp esi, ecx
jb 0x1002f350
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x190]
call fcn.1004ffd0
push 0xc
push str.MAC_Address
push ecx
mov ecx, eax
call fcn.1005d830
mov esi, eax
mov dword [ebp - 0x34], 0
push 0x18
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], 0
push esi
push eax
mov dword [ebp - 0x20], 0
call fcn.1011b630
add esp, 0xc
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
lea ecx, [ebp - 0x34]
mov word [esi], ax
push 1
push 0x1018eeb0
call fcn.100520e0
mov esi, eax
mov dword [ebp - 0x1c], 0
push 0x18
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
push esi
push eax
mov dword [ebp - 8], 0
call fcn.1011b630
xor eax, eax
mov dword [esi + 0x10], 0
add esp, 0xc
mov word [esi], ax
mov dword [esi + 0x14], 7
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 8
mov ecx, edi
push dword [ebp - 0xc]
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.100520e0
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x1002f4af
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f4a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f7e0
push edx
push ecx
call fcn.1011a823
add esp, 8
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
cmp edx, 8
jb 0x1002f4fd
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f4f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f7e0
push edx
push ecx
call fcn.1011a823
add esp, 8
mov edx, dword [ebp - 0x68]
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp edx, 8
jb 0x1002f54b
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f541
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f7e0
push edx
push ecx
call fcn.1011a823
add esp, 8
push 0xb
push str.IP_Address
mov ecx, edi
call fcn.100520e0
add ebx, 0x1ac
mov edi, ebx
je 0x1002f5f8
lea esi, [edi + 4]
push esi
call fcn.10124b10
add esp, 4
lea ecx, [ebp - 0xd0]
add eax, esi
push eax
push esi
lea eax, [ebp - 0x34]
push eax
call fcn.10055340
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push dword [ebp - 0x24]
cmovae eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0xdc]
mov ecx, esi
push eax
call fcn.100520e0
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x1002f5dc
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f5d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f7e0
push edx
push ecx
call fcn.1011a823
add esp, 8
mov edi, dword [edi]
test edi, edi
je 0x1002f5f8
push 2
push 0x1018f0fc
mov ecx, esi
call fcn.100520e0
test edi, edi
jne 0x1002f567
mov edi, dword [ebp - 0xdc]
mov ecx, edi
push 1
push 0x1018eeb0
call fcn.100520e0
push 0xc
push str.Subnet_Mask
mov ecx, edi
call fcn.100520e0
test ebx, ebx
je 0x1002f6ad
lea esi, [ebx + 0x14]
push esi
call fcn.10124b10
add esp, 4
lea ecx, [ebp - 0xd0]
add eax, esi
push eax
push esi
lea eax, [ebp - 0x34]
push eax
call fcn.10055340
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push dword [ebp - 0x24]
cmovae eax, dword [ebp - 0x34]
mov ecx, edi
push eax
call fcn.100520e0
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x1002f691
mov eax, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov ecx, eax
cmp edx, 0x1000
jb 0x1002f687
mov eax, dword [eax - 4]
add edx, 0x23
sub ecx, eax
add ecx, 0xfffffffc
cmp ecx, 0x1f
ja 0x1002f7e0
push edx
push eax
call fcn.1011a823
add esp, 8
mov ebx, dword [ebx]
test ebx, ebx
je 0x1002f6ad
push 2
push 0x1018f0fc
mov ecx, edi
call fcn.100520e0
test ebx, ebx
jne 0x1002f622
push 1
push 0x1018f120
mov ecx, edi
call fcn.100520e0
mov ebx, dword [ebp - 0xe0]
lea ecx, [ebp - 0x190]
mov ebx, dword [ebx]
mov dword [ebp - 0xe0], ebx
call fcn.10024230
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x1002f70e
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f704
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f7e0
push edx
push ecx
call fcn.1011a823
add esp, 8
mov edx, dword [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
cmp edx, 8
jb 0x1002f75c
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002f752
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002f7e0
push edx
push ecx
call fcn.1011a823
add esp, 8
xor eax, eax
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
call fcn.1004f1a0
test ebx, ebx
jne 0x1002f0b0
mov ebx, dword [ebp - 0xd4]
push ebx
call fcn.10124e2f
jmp 0x1002f7ca
mov edx, 0x1018f124
mov ecx, 0x101aa390
call fcn.10059140
push eax
call fcn.10059ce0
add esp, 4
test ebx, ebx
je 0x1002f7cd
push ebx
call fcn.10124e2f
jmp 0x1002f7ca
mov edx, 0x1018ed8c
mov ecx, 0x101aa390
call fcn.10059140
push eax
call fcn.10059ce0
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1011a2e1
mov esp, ebp
pop ebp
ret
call fcn.10125fc5
call fcn.10021260
int3