Function at 0x10004440
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100073d9
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1000b134]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.10004220
add esp, 8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
push 0x288
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], 0x288
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x30]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x100044ee
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x10004626
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x44], 0
je 0x10004626
mov eax, dword [ebp - 0x44]
add eax, 8
push eax
call fcn.10004320
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x10004619
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x48], 0
je 0x1000457d
mov edx, dword [ebp - 0x44]
add edx, 0x1ac
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0x50], 0
je 0x1000457b
mov eax, dword [ebp - 0x50]
add eax, 4
push eax
call sub.WS2_32.dll_inet_addr
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [ebp - 0x38]
jne 0x10004571
mov dword [ebp - 0x4c], 1
jmp 0x1000457b
mov edx, dword [ebp - 0x50]
mov eax, dword [edx]
mov dword [ebp - 0x50], eax
jmp 0x1000454b
jmp 0x10004584
mov dword [ebp - 0x4c], 1
cmp dword [ebp - 0x4c], 0
je 0x10004619
mov ecx, dword [ebp - 0x44]
movzx edx, byte [ecx + 0x199]
push edx
mov eax, dword [ebp - 0x44]
movzx ecx, byte [eax + 0x198]
push ecx
mov edx, dword [ebp - 0x44]
movzx eax, byte [edx + 0x197]
push eax
mov ecx, dword [ebp - 0x44]
movzx edx, byte [ecx + 0x196]
push edx
mov eax, dword [ebp - 0x44]
movzx ecx, byte [eax + 0x195]
push ecx
mov edx, dword [ebp - 0x44]
movzx eax, byte [edx + 0x194]
push eax
push str._02X_02X_02X_02X_02X_02X
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x20
mov edx, dword [ebp - 0x44]
add edx, 0x10c
push edx
call sub.MSVCR90.dll_strlen
add esp, 4
push eax
mov eax, dword [ebp - 0x44]
add eax, 0x10c
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x80
push ecx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x34], 0
jmp 0x10004626
mov edx, dword [ebp - 0x44]
mov eax, dword [edx]
mov dword [ebp - 0x44], eax
jmp 0x1000450e
cmp dword [ebp - 0x30], 0
je 0x10004639
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x58], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000601c
mov esp, ebp
pop ebp
ret