Function at 0x45e74c
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x45e755
mov eax, dword [ebp - 4]
add esp, 0xffffffd0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x4034], edx
mov dword [ebp - 0x4030], edx
mov dword [ebp - 0x402c], edx
mov dword [ebp - 0x4028], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45e9c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x45e7c1
inc edi
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, esi
call fcn.00419dd8
mov ebx, eax
mov dword [ebx + 0xc], 0xffffffff
inc esi
dec edi
jne 0x45e7a7
lea edi, [ebp - 0x400c]
mov dword [ebp - 8], 0x4000
lea eax, [ebp - 8]
push eax
push edi
call sub.IpHlpApi.dll_GetAdaptersInfo
test eax, eax
jne 0x45e962
cmp dword [edi + 0x1a0], 6
je 0x45e7f0
mov edi, dword [edi]
jmp 0x45e95a
lea esi, [edi + 0x1ac]
test esi, esi
je 0x45e958
lea eax, [ebp - 0xc]
push eax
lea eax, [edi + 8]
mov dword [ebp - 0x401c], eax
mov byte [ebp - 0x4018], 6
lea eax, [esi + 4]
mov dword [ebp - 0x4014], eax
mov byte [ebp - 0x4010], 6
lea edx, [ebp - 0x401c]
mov ecx, 1
mov eax, 0x45e9dc
call fcn.0040b5a0
mov cl, 1
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0045e6d4
mov ebx, eax
test ebx, ebx
jne 0x45e87e
mov esi, dword [esi]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x4024], eax
mov byte [ebp - 0x4020], 0xb
lea eax, [ebp - 0x4024]
push eax
push 0
mov ecx, 0x45e9ec
mov edx, 0x283d
mov eax, 0x45e9fc
call fcn.00461704
jmp 0x45e950
mov eax, dword [edi + 0x19c]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 0xc]
call fcn.00404920
lea eax, [ebx + 8]
lea edx, [edi + 0x10c]
mov ecx, 0x84
call fcn.00404b3c
lea edx, [ebx + 0x10]
lea eax, [edi + 0x194]
mov ecx, 6
call fcn.00402c7c
lea eax, [ebp - 0x4028]
lea edx, [esi + 4]
mov ecx, 0x10
call fcn.00404b3c
mov edx, dword [ebp - 0x4028]
mov eax, ebx
call fcn.0045e5cc
lea eax, [ebp - 0x402c]
lea edx, [esi + 0x14]
mov ecx, 0x10
call fcn.00404b3c
mov edx, dword [ebp - 0x402c]
mov eax, ebx
call fcn.0045e5e8
lea eax, [ebp - 0x4030]
lea edx, [esi + 4]
mov ecx, 0x10
call fcn.00404b3c
mov eax, dword [ebp - 0x4030]
mov edx, 0x45ea08
call fcn.0040a0e0
test eax, eax
sete al
mov byte [ebx + 0x20], al
lea eax, [ebp - 0x4034]
lea edx, [esi + 4]
mov ecx, 0x10
call fcn.00404b3c
mov eax, dword [ebp - 0x4034]
mov edx, 0x45ea1c
call fcn.0040a0e0
test eax, eax
setne al
mov byte [ebx + 0x21], al
mov esi, dword [esi]
test esi, esi
jne 0x45e7fe
mov edi, dword [edi]
test edi, edi
jne 0x45e7e0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45e9a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, esi
call fcn.00419dd8
mov ebx, eax
cmp dword [ebx + 0xc], 0xffffffff
jne 0x45e99a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, esi
call fcn.00419cc8
mov eax, ebx
call fcn.00403af8
dec esi
cmp esi, 0xffffffff
jne 0x45e971
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e9cd
lea eax, [ebp - 0x4034]
mov edx, 4
call fcn.004048f0
lea eax, [ebp - 0xc]
call fcn.004048cc
ret