Function at 0x408cc0
Capabilities:
Get mac address on windows

Disassembly:
push 0xffffffffffffffff
push 0x43d4f1
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x4541fc]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4541fc]
xor eax, esp
push eax
lea eax, [esp + 0x2e4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2f4]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x28], ecx
push eax
lea ecx, [esp + 0x40]
xor ebx, ebx
push ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov edx, dword [0x45fb64]
mov edi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x45fb64
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
mov dword [esp + 0x2ec], ebx
mov edx, dword [0x45fb64]
mov eax, dword [edx + 0xc]
mov ecx, 0x45fb64
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x2ec], 1
mov edx, dword [0x45fb64]
xor eax, eax
mov dword [esp + 0x2c9], eax
mov dword [esp + 0x2cd], eax
mov dword [esp + 0x2d1], eax
mov dword [esp + 0x2d5], eax
mov word [esp + 0x2d9], ax
mov byte [esp + 0x2db], al
mov eax, dword [edx + 0xc]
mov ecx, 0x45fb64
mov byte [esp + 0x2c8], bl
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
mov byte [esp + 0x2ec], 2
cmp edi, 0x6f
jne 0x409085
mov ecx, dword [esp + 0x20]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, dword [esp + 0x20]
push edx
mov edi, eax
push ebx
push edi
mov dword [esp + 0x38], edi
call fcn.0041a740
add esp, 0xc
cmp edi, ebx
je 0x409058
lea eax, [esp + 0x20]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [esp + 0x34], eax
mov ebp, edi
nop
lea ebx, [ebp + 0x1b0]
lea eax, [esp + 0x24]
call fcn.0040a7c0
lea ebx, [ebp + 0x1c0]
lea eax, [esp + 0x14]
call fcn.0040a7c0
mov ebx, dword [esp + 0x30]
mov byte [esp + 0x2c8], 0
test ebx, ebx
je 0x408e63
xor esi, esi
cmp dword [ebp + 0x190], esi
jbe 0x408e63
lea edi, [esp + 0x2c8]
nop
movzx ecx, byte [esi + ebp + 0x194]
push ecx
push str._02x
push edi
call fcn.0041908a
inc esi
add esp, 0xc
add edi, 2
cmp esi, dword [ebp + 0x190]
jb 0x408e40
mov esi, dword [esp + 0x24]
cmp dword [esi - 0xc], 0
jl 0x408eab
push str.0.1.0.
push esi
call fcn.00419a21
add esp, 8
test eax, eax
je 0x408e89
sub eax, esi
sar eax, 1
jns 0x408fa9
cmp dword [esi - 0xc], 0
jl 0x408eab
push str.0.0.0.0
push esi
call fcn.00419a21
add esp, 8
test eax, eax
je 0x408eab
sub eax, esi
sar eax, 1
jns 0x408fa9
lea edx, [esp + 0x2c8]
push str.00000000000
push edx
call fcn.00419420
add esp, 8
test eax, eax
jne 0x408fa9
cmp dword [esi - 0xc], eax
jl 0x408f21
push str.192.
push esi
call fcn.00419a21
add esp, 8
test eax, eax
je 0x408ee5
sub eax, esi
sar eax, 1
jns 0x408f47
cmp dword [esi - 0xc], 0
jl 0x408f21
push 0x44a6e0
push esi
call fcn.00419a21
add esp, 8
test eax, eax
je 0x408f03
sub eax, esi
sar eax, 1
jns 0x408f47
cmp dword [esi - 0xc], 0
jl 0x408f21
push str.172.
push esi
call fcn.00419a21
add esp, 8
test eax, eax
je 0x408f21
sub eax, esi
sar eax, 1
jns 0x408f47
mov edi, dword [esp + 0x14]
cmp dword [edi - 0xc], 0
jl 0x408fa9
push str.255.255.
push edi
call fcn.00419a21
add esp, 8
test eax, eax
je 0x408fa9
sub eax, edi
sar eax, 1
js 0x408fa9
test ebx, ebx
je 0x408f62
lea eax, [esp + 0x2c8]
mov edx, ebx
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x408f58
mov edi, dword [esp + 0x28]
test edi, edi
je 0x408f84
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x18]
call fcn.0040a590
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [edi], eax
mov edi, dword [esp + 0x38]
test edi, edi
je 0x408fa4
mov ebx, esi
lea eax, [esp + 0x18]
call fcn.0040a590
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [edi], eax
cmp byte [edi], 0xc0
je 0x408fb4
mov ebp, dword [ebp]
test ebp, ebp
jne 0x408e00
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x34]
push ecx
push 0
add edi, 0xf0000000
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jne 0x40908d
mov byte [esp + 0x2ec], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409002
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2ec], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40902a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x2ec], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409051
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x409112
lea eax, [ebp - 0x10]
mov byte [esp + 0x2ec], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40907c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2ec], bl
jmp 0x40900a
add edi, 0xe0000000
jmp 0x409093
mov ebp, dword [esp + 0x18]
xor ebx, ebx
xor ecx, ecx
cmp edi, ebx
sete cl
lea eax, [ebp - 0x10]
mov byte [esp + 0x2ec], 1
lea edx, [eax + 0xc]
mov edi, ecx
mov ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4090c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2ec], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4090e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x2ec], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409110
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x2e4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c8]
xor ecx, esp
call fcn.00418dd5
add esp, 0x2dc
ret