Function at 0x4031f0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x14], 0x309
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
cmp dword [0x423024], 0
je 0x403229
xor eax, eax
jmp 0x40345f
call fcn.00402e30
push 0x64
call fcn.00401750
add esp, 4
mov dword [0x423024], eax
push 0x104
call fcn.00401750
add esp, 4
mov dword [0x423028], eax
push 0x288
call fcn.0040eaf7
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x288
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x403293
mov edx, dword [ebp - 8]
push edx
call fcn.0040ea1a
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
call fcn.0040eaf7
add esp, 4
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x40344a
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x40344a
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0
jne 0x403355
cmp dword [ebp - 0x10], 0
je 0x4032d2
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], edx
jmp 0x4032de
cmp dword [ebp - 4], 0
je 0x4032de
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 0x199]
push edx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x198]
push ecx
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + 0x197]
push eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 0x196]
push edx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x195]
push ecx
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + 0x194]
push eax
push 0x421f90
mov ecx, dword [0x423024]
push ecx
call fcn.004018a0
add esp, 0x20
mov edx, dword [ebp - 0x1c]
add edx, 8
push edx
mov eax, dword [0x423028]
push eax
call fcn.00401960
add esp, 8
mov dword [ebp - 0x14], 0x65
jmp 0x40344a
mov ecx, dword [ebp - 0x1c]
add ecx, 8
push ecx
call fcn.00402ef0
add esp, 4
test eax, eax
jne 0x40337b
mov edx, dword [ebp - 0x1c]
add edx, 8
push edx
call fcn.00403000
add esp, 4
test eax, eax
je 0x403381
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x1ac
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
je 0x4033c1
mov edx, dword [ebp - 0xc]
add edx, 4
push edx
mov eax, dword [0x423020]
mov ecx, dword [eax + 8]
push ecx
call fcn.0040ebd0
add esp, 8
test eax, eax
je 0x4033b7
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edx
jmp 0x4033c1
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
jmp 0x40338d
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 4]
jne 0x40343d
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x199]
push ecx
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + 0x198]
push eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 0x197]
push edx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x196]
push ecx
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + 0x195]
push eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 0x194]
push edx
push str._02x__02x__02x__02x__02x__02x
mov eax, dword [0x423024]
push eax
call fcn.004018a0
add esp, 0x20
mov ecx, dword [ebp - 0x1c]
add ecx, 8
push ecx
mov edx, dword [0x423028]
push edx
call fcn.00401960
add esp, 8
mov dword [ebp - 0x14], 0
jmp 0x40344a
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
jmp 0x4032ae
cmp dword [ebp - 8], 0
je 0x40345c
mov edx, dword [ebp - 8]
push edx
call fcn.0040ea1a
add esp, 4
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret