Function at 0x100075c0
Capabilities:
Get mac address on windows

Disassembly:
push 0xffffffffffffffff
push 0x10039c35
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x10047130]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10047130]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x26c]
xor esi, esi
mov dword [esp + 0x264], esi
push ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x30], esi
call fcn.10008730
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x268], esi
push esi
mov dword [esp + 0x34], 1
mov dword [esp + 0x2c], esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x10007795
mov ecx, dword [esp + 0x24]
add ecx, 0x400
push ecx
call fcn.10022b51
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, esi
je 0x100077a9
lea edx, [esp + 0x24]
push edx
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x10007786
mov edi, dword [esp + 0x14]
jmp 0x10007680
lea ecx, [esp + 0xbc]
push ecx
call fcn.10008170
lea ecx, [edi + 8]
mov eax, ecx
mov dword [esp + 0x264], 1
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100076a0
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0xfc]
call fcn.100053d0
mov edx, dword [edi + 0x1a0]
lea ecx, [edi + 0x10c]
mov eax, ecx
mov dword [esp + 0x12c], edx
lea esi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100076d0
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x118]
call fcn.100053d0
mov eax, dword [edi + 0x194]
mov cx, word [edi + 0x198]
mov esi, dword [ebp + 0x14]
lea edx, [esp + 0xbc]
mov dword [esp + 0x130], eax
mov word [esp + 0x134], cx
mov eax, dword [esi + 4]
push edx
push eax
push esi
call fcn.10008fb0
mov ecx, ebp
mov ebx, eax
call fcn.10009050
mov dword [esi + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
cmp dword [esp + 0x128], 0x10
mov ecx, dword [esp + 0x114]
jae 0x10007741
lea ecx, [esp + 0x114]
cmp dword [esp + 0x10c], 0x10
mov eax, dword [esp + 0xf8]
jae 0x10007759
lea eax, [esp + 0xf8]
push ecx
push eax
push str.AdaptersInfo__hs__hs
call fcn.100156fe
add esp, 0xc
lea esi, [esp + 0xbc]
mov byte [esp + 0x264], 0
call fcn.100081f0
mov edi, dword [edi]
test edi, edi
jne 0x10007680
mov ecx, dword [esp + 0x14]
push ecx
call fcn.10022779
add esp, 4
jmp 0x100077a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetAdaptersInfo_failed:__d
call fcn.1001585c
add esp, 8
lea edx, [esp + 0x154]
push edx
lea eax, [esp + 0x2c]
push eax
call sub.wpcap.dll_pcap_findalldevs
add esp, 8
test eax, eax
jl 0x10007ec0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10007eb5
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x10007eb1
mov eax, ecx
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], 0
mov byte [esp + 0xa4], 0
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10007808
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0xa8]
call fcn.100053d0
mov dword [esp + 0x264], 2
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], 0
mov byte [esp + 0x6c], 0
mov byte [esp + 0x264], 3
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x14]
mov esi, dword [eax]
mov ebp, dword [ecx]
mov edi, dword [ecx + 0x14]
mov ecx, dword [ecx]
mov dword [esp + 0x20], esi
test ebp, ebp
je 0x10007866
cmp ebp, ecx
je 0x1000786b
call fcn.10022964
cmp esi, edi
je 0x10007ae2
test ebp, ebp
jne 0x100078b5
call fcn.10022964
xor eax, eax
mov esi, dword [esp + 0x20]
cmp esi, dword [eax + 0x14]
jne 0x1000788c
call fcn.10022964
cmp dword [esi + 0x54], 0
je 0x100078d6
test ebp, ebp
jne 0x100078ba
call fcn.10022964
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x100078a7
call fcn.10022964
cmp dword [esi + 0x58], 0x10
mov ecx, dword [esi + 0x54]
jb 0x100078bf
mov eax, dword [esi + 0x44]
jmp 0x100078c2
mov eax, dword [ebp]
jmp 0x1000787e
mov eax, dword [ebp]
jmp 0x1000789d
lea eax, [esi + 0x44]
push ecx
push eax
lea edx, [esp + 0xa8]
push edx
call fcn.100088f0
cmp eax, 0xffffffff
jne 0x100078fb
test ebp, ebp
jne 0x100078f6
call fcn.10022964
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x100078eb
call fcn.10022964
mov esi, dword [esi]
mov ecx, dword [esp + 0x18]
jmp 0x10007855
mov eax, dword [ebp]
jmp 0x100078e1
test ebp, ebp
jne 0x10007b6e
call fcn.10022964
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x10007914
call fcn.10022964
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xa8]
lea ecx, [esi + 8]
push eax
call fcn.10004be0
mov edi, dword [esp + 0x14]
cmp dword [edi + 8], 0
je 0x10007966
test ebp, ebp
jne 0x10007b76
call fcn.10022964
xor eax, eax
cmp esi, dword [eax + 0x14]
jne 0x1000794b
call fcn.10022964
mov edx, dword [edi + 8]
mov eax, edx
lea ecx, [esi + 0x24]
lea esi, [eax + 1]
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x10007956
sub eax, esi
push eax
push edx
call fcn.100053d0
mov edi, dword [edi + 0xc]
test edi, edi
je 0x10007a15
mov eax, dword [edi + 4]
cmp word [eax], 2
jne 0x10007a0b
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, eax
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x100079a2
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.100053d0
mov byte [esp + 0x264], 4
test ebp, ebp
jne 0x10007b7e
call fcn.10022964
xor eax, eax
mov edx, dword [esp + 0x20]
cmp edx, dword [eax + 0x14]
jne 0x100079db
call fcn.10022964
mov ebx, dword [esp + 0x20]
lea eax, [esp + 0x30]
push eax
add ebx, 0x84
call fcn.10008680
mov byte [esp + 0x264], 3
cmp dword [esp + 0x48], 0x10
jb 0x10007a0b
mov ecx, dword [esp + 0x34]
push ecx
call fcn.100229a9
add esp, 4
mov edi, dword [edi]
test edi, edi
jne 0x10007971
test ebp, ebp
jne 0x10007b86
call fcn.10022964
xor eax, eax
mov edx, dword [esp + 0x20]
cmp edx, dword [eax + 0x14]
jne 0x10007a32
call fcn.10022964
mov ebx, dword [esp + 0x20]
add ebx, 8
lea eax, [ebx + 0x38]
push eax
mov edi, 0x1003dce0
lea esi, [esp + 0x50]
call fcn.100090f0
add esp, 4
mov esi, eax
mov byte [esp + 0x264], 5
test ebp, ebp
jne 0x10007b8e
call fcn.10022964
mov ecx, dword [esp + 0x20]
cmp ecx, dword [ebp + 0x14]
jne 0x10007a73
call fcn.10022964
add ebx, 0x54
push ebx
push esi
lea edi, [esp + 0x38]
call fcn.100091a0
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0x270], 6
call fcn.10004be0
mov esi, 0x10
cmp dword [esp + 0x48], esi
jb 0x10007ab2
mov edx, dword [esp + 0x34]
push edx
call fcn.100229a9
add esp, 4
mov byte [esp + 0x264], 3
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], 0
mov byte [esp + 0x34], 0
cmp dword [esp + 0x64], esi
jb 0x10007ae2
mov eax, dword [esp + 0x50]
push eax
call fcn.100229a9
add esp, 4
xor ebx, ebx
cmp dword [esp + 0x7c], ebx
je 0x10007b96
mov eax, dword [esp + 0x6c]
mov esi, 0x10
cmp dword [esp + 0x80], esi
jae 0x10007b04
lea eax, [esp + 0x6c]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
push eax
push edx
push str.pcap_device_found__hs
call fcn.100156fe
add esp, 0xc
cmp dword [esp + 0x80], esi
jb 0x10007b30
mov eax, dword [esp + 0x6c]
push eax
call fcn.100229a9
add esp, 4
mov byte [esp + 0x264], 0
cmp dword [esp + 0xb8], esi
mov dword [esp + 0x80], 0xf
mov byte [esp + 0x6c], 0
mov dword [esp + 0x7c], ebx
jb 0x10007e9f
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.100229a9
add esp, 4
jmp 0x10007e9f
mov eax, dword [ebp]
jmp 0x1000790a
mov eax, dword [ebp]
jmp 0x10007941
mov eax, dword [ebp]
jmp 0x100079cd
mov eax, dword [ebp]
jmp 0x10007a24
mov ebp, dword [ebp]
jmp 0x10007a65
mov edi, dword [esp + 0x14]
mov edx, dword [edi + 4]
push edx
lea esi, [esp + 0x88]
call fcn.1000cc80
add esp, 4
mov byte [esp + 0x264], 7
cmp dword [esp + 0x98], ebx
jne 0x10007c5c
mov eax, dword [edi + 4]
push eax
push 0x1003e48c
call fcn.100156fe
mov esi, 0x10
add esp, 8
cmp dword [esp + 0x9c], esi
jb 0x10007bf1
mov ecx, dword [esp + 0x88]
push ecx
call fcn.100229a9
add esp, 4
mov edi, 0xf
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], 0
cmp dword [esp + 0x80], esi
jb 0x10007c22
mov edx, dword [esp + 0x6c]
push edx
call fcn.100229a9
add esp, 4
mov byte [esp + 0x264], 0
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], 0
cmp dword [esp + 0xb8], esi
jb 0x10007e9f
mov eax, dword [esp + 0xa4]
push eax
call fcn.100229a9
add esp, 4
jmp 0x10007e9f
mov eax, dword [esp + 0x88]
mov ebp, 0x10
cmp dword [esp + 0x9c], ebp
jae 0x10007c78
lea eax, [esp + 0x88]
mov ecx, dword [0x1003e0d8]
cmp ecx, dword [eax]
jne 0x10007d19
mov dl, byte [eax + 4]
add eax, 4
cmp dl, byte [0x1003e0dc]
jne 0x10007d19
mov al, byte [eax + 1]
cmp al, byte [0x1003e0dd]
jne 0x10007d19
mov ecx, dword [edi + 4]
push ecx
push 0x1003e4b0
call fcn.100156fe
add esp, 8
cmp dword [esp + 0x9c], ebp
jb 0x10007ccd
mov edx, dword [esp + 0x88]
push edx
call fcn.100229a9
add esp, 4
mov esi, 0xf
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], 0
cmp dword [esp + 0x80], ebp
jb 0x10007cfe
mov eax, dword [esp + 0x6c]
push eax
call fcn.100229a9
add esp, 4
mov byte [esp + 0x264], 0
cmp dword [esp + 0xb8], ebp
mov dword [esp + 0x80], esi
jmp 0x10007b4a
lea edx, [esp + 0xbc]
push edx
call fcn.10008170
mov byte [esp + 0x264], 8
mov edx, dword [edi + 4]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10007d36
sub eax, esi
push eax
push edx
lea ecx, [esp + 0xc4]
call fcn.100053d0
mov eax, dword [esp + 0x88]
cmp dword [esp + 0x9c], ebp
jae 0x10007d64
lea eax, [esp + 0x88]
mov ecx, dword [eax]
mov dword [esp + 0x130], ecx
mov dx, word [eax + 4]
mov word [esp + 0x134], dx
mov edx, dword [edi + 8]
cmp edx, ebx
je 0x10007d9c
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10007d85
sub eax, esi
push eax
push edx
lea ecx, [esp + 0xe0]
call fcn.100053d0
mov ebx, dword [esp + 0x18]
mov esi, dword [ebx + 0x14]
mov ecx, dword [esi + 4]
lea eax, [esp + 0xbc]
push eax
push ecx
push esi
call fcn.10008fb0
mov ecx, ebx
mov edi, eax
call fcn.10009050
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
mov dword [eax], edi
lea esi, [esp + 0x130]
lea edi, [esp + 0x4c]
call fcn.1000cbd0
mov byte [esp + 0x264], 9
cmp dword [eax + 0x18], ebp
jb 0x10007de8
mov eax, dword [eax + 4]
jmp 0x10007deb
add eax, 4
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [edx + 4]
push eax
push str.pcap
call fcn.100156fe
add esp, 0xc
cmp dword [esp + 0x64], ebp
jb 0x10007e14
mov ecx, dword [esp + 0x50]
push ecx
call fcn.100229a9
add esp, 4
lea esi, [esp + 0xbc]
call fcn.100081f0
cmp dword [esp + 0x9c], ebp
jb 0x10007e39
mov edx, dword [esp + 0x88]
push edx
call fcn.100229a9
add esp, 4
xor edi, edi
mov esi, 0xf
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], edi
mov byte [esp + 0x88], 0
cmp dword [esp + 0x80], ebp
jb 0x10007e6c
mov eax, dword [esp + 0x6c]
push eax
call fcn.100229a9
add esp, 4
mov byte [esp + 0x264], 0
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], edi
mov byte [esp + 0x6c], 0
cmp dword [esp + 0xb8], ebp
jb 0x10007e9d
mov ecx, dword [esp + 0xa4]
push ecx
call fcn.100229a9
add esp, 4
xor ebx, ebx
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x100077d6
mov eax, dword [esp + 0x28]
push eax
call sub.wpcap.dll_pcap_freealldevs
add esp, 4
jmp 0x10007ed5
lea eax, [esp + 0x154]
push eax
push str.pcap_find_device_failed:__s
call fcn.100159ba
add esp, 8
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp + 0x14]
mov edi, dword [eax]
mov esi, dword [ebp]
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp]
test esi, esi
je 0x10007eef
cmp esi, eax
je 0x10007ef4
call fcn.10022964
cmp edi, ebx
je 0x10007fcc
test esi, esi
jne 0x10007f6f
call fcn.10022964
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x10007f11
call fcn.10022964
cmp dword [edi + 0x1c], 0
je 0x10007f7b
test esi, esi
jne 0x10007f73
call fcn.10022964
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x10007f2c
call fcn.10022964
mov ecx, dword [0x1003e0d8]
cmp ecx, dword [edi + 0x7c]
lea eax, [edi + 0x7c]
jne 0x10007f53
mov dl, byte [eax + 4]
add eax, 4
cmp dl, byte [0x1003e0dc]
jne 0x10007f53
mov al, byte [eax + 1]
cmp al, byte [0x1003e0dd]
je 0x10007f7b
test esi, esi
jne 0x10007f77
call fcn.10022964
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x10007f68
call fcn.10022964
mov edi, dword [edi]
jmp 0x10007ee1
mov eax, dword [esi]
jmp 0x10007f07
mov eax, dword [esi]
jmp 0x10007f22
mov eax, dword [esi]
jmp 0x10007f5e
test esi, esi
jne 0x10007f9b
call fcn.10022964
xor eax, eax
cmp edi, dword [eax + 0x14]
jne 0x10007f90
call fcn.10022964
cmp dword [edi + 0x20], 0x10
jb 0x10007f9f
mov eax, dword [edi + 0xc]
jmp 0x10007fa2
mov eax, dword [esi]
jmp 0x10007f86
lea eax, [edi + 0xc]
push eax
push 0x1003e544
call fcn.100156fe
mov ebx, dword [esp + 0x20]
add esp, 8
push edi
push esi
lea ecx, [esp + 0x24]
push ecx
call fcn.10008800
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ebp, ebx
jmp 0x10007ee1
mov eax, ebp
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.1002259f
add esp, 0x254
ret