Function at 0x41a530
Capabilities:
Get mac address on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x51eed0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x56b338]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push esi
push edi
mov eax, dword [0x56b338]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov eax, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 4
lea edx, [eax + 2]
xor ebx, ebx
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41a576
sub eax, edx
sar eax, 1
push eax
push ebx
push esi
call fcn.00436020
add esp, 0xc
push 0x288
call fcn.00431c2c
mov edi, eax
add esp, 4
cmp edi, ebx
mov dword [esp + 0x14], edi
je 0x41a797
lea eax, [esp + 0x18]
push eax
push edi
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x41a5df
push edi
call fcn.00431cef
mov ecx, dword [esp + 0x1c]
add esp, 4
push ecx
call fcn.00431c2c
add esp, 4
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x41a797
mov edi, eax
lea edx, [esp + 0x18]
push edx
push edi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x41a78e
mov word [esp + 0x50], bx
mov dword [esp + 0x52], eax
mov dword [esp + 0x56], eax
mov dword [esp + 0x5a], eax
mov dword [esp + 0x5e], eax
mov dword [esp + 0x62], eax
mov dword [esp + 0x66], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
cmp edi, ebx
mov dword [esp + 0x78], ebx
je 0x41a785
jmp 0x41a634
mov esi, dword [esp + 0x1c]
movzx eax, byte [edi + 0x199]
movzx ecx, byte [edi + 0x198]
movzx edx, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push ecx
movzx ecx, byte [edi + 0x195]
push edx
movzx edx, byte [edi + 0x194]
push eax
push ecx
push edx
lea eax, [esp + 0x68]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.0042f46b
lea ecx, [edi + 0x10c]
push ecx
call fcn.00504a69
add esp, 0x24
push 0x563160
push eax
call fcn.00432910
add esp, 8
test eax, eax
ja 0x41a748
cmp dword [edi + 0x1a0], 0x47
je 0x41a748
lea eax, [esp + 0x50]
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41a6c0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x54]
push edx
lea esi, [esp + 0x3c]
call fcn.004021f0
mov eax, esi
push eax
lea esi, [esp + 0x24]
mov byte [esp + 0x7c], 1
call fcn.0040e8f0
mov byte [esp + 0x78], bl
cmp dword [esp + 0x4c], 8
jb 0x41a707
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0042f3a5
add esp, 4
mov edi, dword [edi]
cmp edi, ebx
jne 0x41a630
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x41a781
mov ecx, dword [esp + 0x28]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x41a781
lea eax, [esp + 0x20]
call fcn.0041bda0
cmp dword [eax + 0x18], 8
jb 0x41a763
mov ecx, dword [eax + 4]
jmp 0x41a766
lea eax, [esp + 0x50]
mov edx, esi
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x41a752
jmp 0x41a781
lea ecx, [eax + 4]
mov edx, dword [esp + 0x1c]
lea ebx, [ebx]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x41a770
mov edi, dword [esp + 0x14]
lea esi, [esp + 0x20]
call fcn.00404020
push edi
call fcn.00431cef
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0042f3aa
add esp, 0x6c
ret