Function at 0x436690
Capabilities:
Get mac address on windows
Get networking parameters

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576a58
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5f0bf8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
or edi, 0xffffffff
push edi
push 0x587f88
lea ecx, [ebp - 0x10]
call fcn.00567811
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x20]
push eax
push ebx
mov dword [ebp - 0x20], ebx
call sub.IPHLPAPI.DLL_GetNetworkParams
cmp eax, ebx
je 0x436705
cmp eax, 0x6f
je 0x436705
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x10]
call fcn.005685da
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push ecx
push 0x40
call esi
cmp eax, ebx
je 0x4366e4
lea edx, [ebp - 0x1c]
push edx
push ebx
mov dword [ebp - 0x1c], ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, ebx
je 0x43672d
cmp eax, 0x6f
jne 0x4366e4
mov eax, dword [ebp - 0x1c]
push eax
push 0x40
call esi
mov edi, eax
cmp edi, ebx
jne 0x436760
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.005685da
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x1c]
push ecx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, ebx
jne 0x43673b
mov bl, 2
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
lea esi, [edi + 8]
push esi
call fcn.004350a0
add esp, 4
test eax, eax
jne 0x43679c
push esi
call fcn.004351e0
add esp, 4
test eax, eax
je 0x43684b
xor esi, esi
cmp dword [edi + 0x190], esi
jbe 0x436832
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], bl
mov edx, dword [edi + 0x190]
dec edx
cmp esi, edx
jne 0x4367d3
movzx eax, byte [edi + esi + 0x194]
push eax
push str._.2X
lea ecx, [ebp - 0x14]
push ecx
jmp 0x4367e5
movzx edx, byte [edi + esi + 0x194]
push edx
push str._.2X_
lea eax, [ebp - 0x14]
push eax
call fcn.00567fb2
add esp, 0xc
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.00401250
add esp, 0xc
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x18]
call fcn.005682a1
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x24]
call fcn.005685da
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.005685da
inc esi
cmp esi, dword [edi + 0x190]
jb 0x4367aa
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0056834a
push 0x588188
lea ecx, [ebp - 0x10]
call fcn.00568305
mov edi, dword [edi]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.005685da
test edi, edi
jne 0x436770
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43686d
mov eax, dword [eax + 4]
jmp 0x43686f
xor eax, eax
dec eax
push eax
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x10]
call fcn.00568476
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x10]
call fcn.005682a1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.005685da
mov eax, dword [ebp - 0x10]
lea edx, [eax + 0xc]
test eax, eax
jne 0x4368a5
mov edx, 0x587f88
mov eax, edx
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4368b0
mov ecx, dword [ebp + 8]
sub eax, esi
push eax
push edx
call fcn.004039c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.005685da
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4