Function at 0x100a8bd0
Capabilities:
Get mac address on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e271b
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1068
call fcn.101b5a00
mov eax, dword [0x10285124]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1040], esi
mov edi, dword [ebx + 8]
lea eax, [ebp - 0x1018]
push 0x1000
push 0
push eax
mov dword [ebp - 0x105c], 0
call fcn.101b7960
add esp, 8
lea eax, [ebp - 0x1018]
mov edx, str.Softwaregoodoc_v30
mov ecx, reloc.WS2_32.dll_accept
push 0x800
push eax
push str.bridgeid
call fcn.100a63c0
lea edx, [ebp - 0x1018]
add esp, 0x10
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100a8c70
sub edx, ecx
sar edx, 1
je 0x100a8ca0
xor eax, eax
lea ecx, [esi + 0x158]
cmp word [ebp - 0x1018], ax
cmove edx, eax
lea eax, [ebp - 0x1018]
push edx
push eax
call fcn.100a7e70
xor eax, eax
mov dword [ebp - 0x101c], 7
mov dword [ebp - 0x1020], 0
mov word [ebp - 0x1030], ax
add esi, 0x158
mov dword [ebp - 4], eax
cmp dword [esi + 0x10], eax
je 0x100a8d11
cmp dword [ebx + 0xc], eax
je 0x100a8fc3
mov eax, dword [0x102a7fc8]
test eax, eax
jne 0x100a8d04
push 0x220
call fcn.101b4ab7
add esp, 4
mov dword [ebp - 0x1034], eax
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.100a8450
mov byte [ebp - 4], 0
mov dword [0x102a7fc8], eax
cmp dword [eax + 0x100], 2
je 0x100a8fc3
push 0x12
mov dword [ebp - 0x1034], 0x288
call fcn.101bacc8
add esp, 4
mov dword [ebp - 0x103c], eax
xorps xmm0, xmm0
movups xmmword [eax], xmm0
push 0x288
mov word [eax + 0x10], 0
call fcn.101bacc8
add esp, 4
mov dword [ebp - 0x1038], eax
test eax, eax
jne 0x100a8d9b
push str._GetBridgeID_Error_allocating_memory_needed_to_call_GetAdaptersinfo_1_
push 0xb7
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x102458b0
push 2
call fcn.100a7fc0
add esp, 0x14
push dword [ebp - 0x103c]
call fcn.101bacd3
add esp, 4
mov ecx, edi
push 0
call fcn.100a7530
mov ecx, dword [ebp - 0x101c]
cmp ecx, 8
jb 0x100a8fff
inc ecx
push ecx
jmp 0x100a8fee
lea ecx, [ebp - 0x1034]
push ecx
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x100a8e1b
push dword [ebp - 0x1038]
call fcn.101bacd3
add esp, 4
push dword [ebp - 0x1034]
call fcn.101bacc8
add esp, 4
mov dword [ebp - 0x1038], eax
test eax, eax
jne 0x100a8e21
push str._GetBridgeID_Error_allocating_memory_needed_to_call_GetAdaptersinfo_2_
push 0xc2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x102458b0
push 2
call fcn.100a7fc0
add esp, 0x14
push dword [ebp - 0x103c]
call fcn.101bacd3
add esp, 4
mov ecx, edi
push 0
call fcn.100a7530
lea ecx, [ebp - 0x1030]
call fcn.100a5560
jmp 0x100a8fff
mov eax, dword [ebp - 0x1038]
lea ecx, [ebp - 0x1034]
push ecx
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x100a8ece
mov ecx, dword [ebp - 0x1038]
movzx eax, byte [ecx + 0x199]
push eax
movzx eax, byte [ecx + 0x198]
push eax
movzx eax, byte [ecx + 0x197]
push eax
movzx eax, byte [ecx + 0x196]
push eax
movzx eax, byte [ecx + 0x195]
push eax
movzx eax, byte [ecx + 0x194]
push eax
push str._02X_02X_02X_02X_02X_02X
push 0x11
push dword [ebp - 0x103c]
call fcn.100abdd0
add esp, 0x24
lea ecx, [ebp - 0x1074]
push dword [ebp - 0x103c]
call fcn.100a7590
lea edx, [ebp - 0x1074]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1058]
call fcn.100fbbc0
push eax
lea ecx, [ebp - 0x1030]
call fcn.100abd10
lea ecx, [ebp - 0x1058]
call fcn.100a5560
lea ecx, [ebp - 0x1074]
mov byte [ebp - 4], 0
call fcn.100a5ed0
push dword [ebp - 0x1038]
call fcn.101bacd3
mov eax, dword [ebp - 0x1040]
add esp, 4
cmp dword [eax + 0x150], 0
je 0x100a8fc3
cmp dword [ebp - 0x1020], 0
je 0x100a8fc3
add eax, 0x140
cmp esi, eax
je 0x100a8f11
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.100a5420
call fcn.100a8810
mov edx, esi
lea ecx, [ebp - 0x1058]
cmp dword [eax + 0x1e0], 0x3f2
jne 0x100a8f31
push 0x102459f4
jmp 0x100a8f36
push 0x102459f8
call fcn.100ab160
add esp, 4
mov ecx, esi
push eax
call fcn.100abd10
lea ecx, [ebp - 0x1058]
call fcn.100a5560
lea eax, [ebp - 0x1030]
mov edx, esi
push eax
lea ecx, [ebp - 0x1058]
call fcn.100ab270
add esp, 4
mov ecx, esi
push eax
call fcn.100abd10
lea ecx, [ebp - 0x1058]
call fcn.100a5560
cmp dword [esi + 0x14], 8
jb 0x100a8f85
mov eax, dword [esi]
jmp 0x100a8f87
mov eax, esi
push eax
push str._GetBridgeID__m_sBridgeID__s__create
push 0xe6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.INF4
push 0x40
call fcn.100a7fc0
add esp, 0x18
cmp dword [esi + 0x14], 8
jb 0x100a8fb2
mov eax, dword [esi]
jmp 0x100a8fb4
mov eax, esi
push ecx
push eax
push str.bridgeid
call fcn.100a6560
add esp, 0xc
xor eax, eax
mov dword [edi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [edi + 0x10], 0
mov ecx, edi
push esi
mov word [edi], ax
call fcn.100a5420
mov eax, dword [ebp - 0x101c]
cmp eax, 8
jb 0x100a8fff
inc eax
push eax
push dword [ebp - 0x1030]
lea ecx, [ebp - 0x1030]
call fcn.100a5620
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101b451c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8