Function at 0x404b40
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push 0xffffffffffffffff
push 0x51fcc8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c5c30]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor ebx, ebx
push 0x5a8204
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], ebx
call fcn.0040ac70
lea esi, [esp + 0x20]
mov dword [esp + 0x2c], ebx
call fcn.00404a60
mov byte [esp + 0x2c], 1
mov eax, dword [esp + 0x20]
cmp dword [eax - 0xc], ebx
jg 0x404bab
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
push eax
call fcn.0040c900
add esp, 4
jmp 0x404cd2
push 0x288
mov dword [esp + 0x1c], 0x288
call fcn.004d1620
mov ebp, eax
add esp, 4
cmp ebp, ebx
je 0x404cbc
lea ecx, [esp + 0x18]
push ecx
push ebp
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x404bee
push ebp
call fcn.004d2450
mov edx, dword [esp + 0x1c]
push edx
call fcn.004d1620
add esp, 8
mov ebp, eax
cmp ebp, ebx
je 0x404cbc
lea eax, [esp + 0x18]
push eax
push ebp
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, ebx
jne 0x404cbc
mov edi, ebp
jmp 0x404c10
lea eax, [edi + 0x1b0]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x404c20
sub eax, edx
jne 0x404c38
mov edi, dword [edi]
cmp edi, ebx
jne 0x404c10
jmp 0x404cbc
lea ecx, [esp + 0x1c]
call fcn.0040ac00
mov byte [esp + 0x2c], 2
mov eax, dword [edi + 0x190]
xor esi, esi
cmp eax, ebx
jbe 0x404cae
movzx edx, byte [edi + esi + 0x194]
add eax, 0xffffffff
mov ecx, esi
sub ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 0xd
add ecx, 0x20
push ecx
push edx
lea eax, [esp + 0x24]
push str._02X_c
push eax
call fcn.0040db10
add esp, 0x10
lea eax, [esp + 0x1c]
call fcn.0040bb70
mov ebx, eax
call fcn.0040bbc0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0040d200
mov eax, dword [edi + 0x190]
add esi, 1
cmp esi, eax
jb 0x404c52
xor ebx, ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 1
call fcn.0040ad40
push ebp
call fcn.004d2450
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
push eax
call fcn.0040c900
add esp, 8
mov ebp, dword [esp + 0x34]
mov byte [esp + 0x2c], bl
mov esi, dword [esp + 0x20]
add esi, 0xfffffff0
add eax, 0x10
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
mov dword [ebp], eax
jne 0x404d0c
push str.nRefs___0
push ebx
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_8VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004d4350
add esp, 0x14
cmp eax, 1
jne 0x404d0c
int3
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x404d22
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [esp + 0x2c], 0xffffffff
mov esi, dword [esp + 0x14]
add esi, 0xfffffff0
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jne 0x404d56
push str.nRefs___0
push ebx
push 0x6b
push str.C:Program_Files__x86_Microsoft_Visual_Studio_8VC_atlmfcinclude_atlsimpstr.h
push 2
call fcn.004d4350
add esp, 0x14
cmp eax, 1
jne 0x404d56
int3
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x404d6c
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov eax, ebp
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret