Function at 0x456590
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x659d3a
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x7060c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd8], 0
push 0x34
push 0
lea eax, [ebp - 0xd4]
push eax
call fcn.005ddad0
add esp, 0xc
lea ecx, [ebp - 0xd8]
push ecx
call fcn.004564c0
add esp, 4
test eax, eax
je 0x4567f4
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xf4], 0x288
push 0x288
call fcn.005ed028
add esp, 4
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
jne 0x456630
xor al, al
jmp 0x456a1c
lea edx, [ebp - 0xf4]
push edx
mov eax, dword [ebp - 0xe0]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x45667c
mov ecx, dword [ebp - 0xe0]
push ecx
call fcn.005ed023
add esp, 4
mov edx, dword [ebp - 0xf4]
push edx
call fcn.005ed028
add esp, 4
mov dword [ebp - 0xe0], eax
cmp dword [ebp - 0xe0], 0
jne 0x45667c
xor al, al
jmp 0x456a1c
lea ecx, [ebp - 0x28]
call fcn.00446de0
mov dword [ebp - 4], 0
lea eax, [ebp - 0xf4]
push eax
mov ecx, dword [ebp - 0xe0]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4567c8
cmp dword [ebp - 0xe0], 0
je 0x4567c8
mov byte [ebp - 0xd9], 0
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xec], edx
cmp dword [ebp - 0xec], 0
je 0x4567c8
movzx eax, byte [ebp - 0xd9]
test eax, eax
jne 0x4567c8
mov ecx, dword [ebp - 0xec]
add ecx, 0x1d4
mov dword [ebp - 0xf0], ecx
mov edx, dword [ebp - 0xf0]
add edx, 4
push edx
lea ecx, [ebp - 0x58]
call fcn.00404930
mov byte [ebp - 4], 1
lea eax, [ebp - 0x58]
push eax
call fcn.0043f9b0
add esp, 4
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00404bf0
mov ecx, dword [ebp - 0x104]
cmp ecx, dword [ebp - 0xcc]
jne 0x45679a
mov edx, dword [ebp - 0xec]
mov eax, dword [edx + 0x190]
push eax
mov ecx, dword [ebp - 0xec]
add ecx, 0x194
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.00442850
add esp, 0xc
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
push eax
lea ecx, [ebp - 0x28]
call fcn.00447ac0
lea ecx, [ebp - 0x70]
call fcn.0043c8a0
lea ecx, [ebp - 0x28]
call fcn.0044e670
test eax, eax
jbe 0x45679a
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00462e90
mov byte [ebp - 0xd9], 1
jmp 0x4567b5
mov edx, dword [ebp - 0xf0]
mov eax, dword [edx]
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0
jne 0x4566f4
mov ecx, dword [ebp - 0xec]
mov edx, dword [ecx]
mov dword [ebp - 0xec], edx
jmp 0x4566c6
cmp dword [ebp - 0xe0], 0
je 0x4567e0
mov eax, dword [ebp - 0xe0]
push eax
call fcn.005ed023
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0043c8a0
jmp 0x4569f1
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xf8], 0x288
push 0x288
call fcn.005ed028
add esp, 4
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
jne 0x456835
xor al, al
jmp 0x456a1c
lea ecx, [ebp - 0xf8]
push ecx
mov edx, dword [ebp - 0xe4]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x456881
mov eax, dword [ebp - 0xe4]
push eax
call fcn.005ed023
add esp, 4
mov ecx, dword [ebp - 0xf8]
push ecx
call fcn.005ed028
add esp, 4
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
jne 0x456881
xor al, al
jmp 0x456a1c
lea ecx, [ebp - 0x40]
call fcn.00446de0
mov dword [ebp - 4], 2
lea edx, [ebp - 0xf8]
push edx
mov eax, dword [ebp - 0xe4]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4569ca
cmp dword [ebp - 0xe4], 0
je 0x4569ca
mov byte [ebp - 0xda], 0
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], ecx
mov edx, dword [ebp - 0xe8]
mov eax, dword [edx + 0x190]
push eax
mov ecx, dword [ebp - 0xe8]
add ecx, 0x194
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.00442850
add esp, 0xc
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00447ac0
lea ecx, [ebp - 0x88]
call fcn.0043c8a0
cmp dword [ebp - 0xe8], 0
je 0x4569ca
movzx ecx, byte [ebp - 0xda]
test ecx, ecx
jne 0x4569ca
mov edx, dword [ebp - 0xe8]
add edx, 0x1d4
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 0x190]
push ecx
mov edx, dword [ebp - 0xe8]
add edx, 0x194
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.00442850
add esp, 0xc
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00447ac0
lea ecx, [ebp - 0xa0]
call fcn.0043c8a0
lea ecx, [ebp - 0x40]
call fcn.0044e670
test eax, eax
jbe 0x4569a0
mov byte [ebp - 0xda], 1
jmp 0x4569b7
mov edx, dword [ebp - 0xfc]
mov eax, dword [edx]
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0
jne 0x456942
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ecx]
mov dword [ebp - 0xe8], edx
jmp 0x456914
cmp dword [ebp - 0xe4], 0
je 0x4569e2
mov eax, dword [ebp - 0xe4]
push eax
call fcn.005ed023
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0043c8a0
mov ecx, dword [ebp + 8]
call fcn.0044da70
movzx ecx, al
test ecx, ecx
jne 0x456a0c
mov dword [ebp - 0x100], 1
jmp 0x456a16
mov dword [ebp - 0x100], 0
mov al, byte [ebp - 0x100]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c4766
mov esp, ebp
pop ebp
ret