Function at 0x404d50
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x43dc24]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x40], 0
xor eax, eax
mov word [ebp - 0x2c], ax
xor ecx, ecx
mov dword [ebp - 0x2a], ecx
mov dword [ebp - 0x26], ecx
mov dword [ebp - 0x22], ecx
mov dword [ebp - 0x1e], ecx
mov dword [ebp - 0x1a], ecx
mov dword [ebp - 0x16], ecx
mov dword [ebp - 0x12], ecx
mov word [ebp - 0xe], cx
mov dword [ebp - 8], 0
push 0x288
call fcn.0041b988
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], 0x288
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x404def
mov ecx, dword [ebp - 4]
push ecx
call fcn.0041ba52
add esp, 4
mov edx, dword [ebp - 0x34]
push edx
call fcn.0041b988
add esp, 4
mov dword [ebp - 4], eax
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x404f2a
mov edx, dword [ebp - 4]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 0
je 0x404f2a
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
cmp dword [ebp + 8], 0
je 0x404e40
mov ecx, dword [ebp - 0x3c]
add ecx, 0x194
mov edx, dword [ebp + 8]
mov eax, dword [ecx]
mov dword [edx], eax
mov cx, word [ecx + 4]
mov word [edx + 4], cx
mov edx, dword [ebp - 0x3c]
add edx, 0x1ac
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0
je 0x404f15
mov eax, dword [ebp - 0x40]
add eax, 4
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x4c]
mov al, byte [edx]
mov byte [ebp - 0x51], al
add dword [ebp - 0x4c], 1
cmp byte [ebp - 0x51], 0
jne 0x404e68
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x50]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x44], 0x10
jle 0x404e96
mov dword [ebp - 0x44], 0x10
mov dword [ebp - 0x48], 0
jmp 0x404ea8
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x44]
jg 0x404ed7
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x44]
jne 0x404ec2
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov word [ebp + ecx*2 - 0x2c], ax
mov edx, dword [ebp - 0x40]
add edx, dword [ebp - 0x48]
movsx ax, byte [edx + 4]
mov ecx, dword [ebp - 0x48]
mov word [ebp + ecx*2 - 0x2c], ax
jmp 0x404e9f
lea edx, [ebp - 0x2c]
push edx
call fcn.00405070
add esp, 4
test eax, eax
je 0x404eff
lea eax, [ebp - 0x2c]
push eax
push 0x10
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
push eax
call fcn.0041bb9f
add esp, 0xc
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x404e4c
cmp dword [ebp - 8], 0
jle 0x404f1d
jmp 0x404f2a
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x3c], edx
jmp 0x404e0f
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
cmp dword [ebp - 4], 0
je 0x404f44
mov edx, dword [ebp - 4]
push edx
call fcn.0041ba52
add esp, 4
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0041b92a
mov esp, ebp
pop ebp
ret