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

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x20]
push ebx
push ebp
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
jne 0x404d2d
cmp dword [esp + 0x2c], ebp
je 0x404edf
push esi
mov esi, dword [sym.imp.MSVCRT.dll_malloc]
push edi
push 0x280
call esi
mov ebx, eax
add esp, 4
cmp ebx, ebp
je 0x404ef9
mov ecx, 0xa0
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x280
push eax
push ebx
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
mov dword [esp + 0x10], eax
jne 0x404d9a
push ebx
call dword [sym.imp.MSVCRT.dll_free]
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov ebx, eax
add esp, 8
cmp ebx, ebp
je 0x404f13
lea edx, [esp + 0x14]
push edx
push ebx
call sub.iphlpapi.dll_GetAdaptersInfo
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
cmp eax, ebp
jne 0x404f2d
mov ecx, dword [esp + 0x2c]
xor eax, eax
cmp ecx, ebp
mov esi, ebx
jbe 0x404dc1
mov esi, dword [esi]
cmp esi, ebp
je 0x404f42
inc eax
cmp eax, ecx
jb 0x404db2
cmp esi, ebp
je 0x404f42
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x404de7
lea ecx, [esi + 0x194]
mov edx, dword [esi + 0x194]
mov dword [eax], edx
mov cx, word [ecx + 4]
mov word [eax + 4], cx
mov eax, dword [esp + 0x34]
mov edi, dword [sym.imp.MSVCRT.dll_sscanf]
cmp eax, ebp
je 0x404e44
lea edx, [esp + 0x24]
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
lea eax, [esi + 0x1b0]
push str._u._u._u._u
push eax
call edi
mov cl, byte [esp + 0x30]
mov dl, byte [esp + 0x34]
mov al, byte [esp + 0x38]
mov byte [esp + 0x48], cl
mov cl, byte [esp + 0x3c]
mov byte [esp + 0x49], dl
mov byte [esp + 0x4a], al
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x4b], cl
add esp, 0x18
mov edx, dword [esp + 0x30]
mov dword [eax], edx
mov ebp, dword [esp + 0x38]
test ebp, ebp
je 0x404e98
lea ecx, [esp + 0x24]
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x20]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
lea edx, [esi + 0x1d8]
push str._u._u._u._u
push edx
call edi
mov al, byte [esp + 0x30]
mov cl, byte [esp + 0x34]
mov dl, byte [esp + 0x38]
mov byte [esp + 0x48], al
mov al, byte [esp + 0x3c]
mov byte [esp + 0x49], cl
mov byte [esp + 0x4a], dl
mov byte [esp + 0x4b], al
mov ecx, dword [esp + 0x48]
add esp, 0x18
mov dword [ebp], ecx
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x404ec3
lea edi, [esi + 0x10c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ebp, ebp
pop edi
cmp ebx, ebp
pop esi
je 0x404ed5
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 8]
pop ebp
pop ebx
add esp, 0x18
ret
push str.D:WorkHPServiceShangHaiBackExeStdAfx.cpp
push 0x14b
push 0x57
call fcn.004048b0
add esp, 0xc
pop ebp
pop ebx
add esp, 0x18
ret
push str.D:WorkHPServiceShangHaiBackExeStdAfx.cpp
push 0x150
push 8
call fcn.004048b0
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x404ec5
push str.D:WorkHPServiceShangHaiBackExeStdAfx.cpp
push 0x15b
push 8
call fcn.004048b0
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x404ec5
push str.D:WorkHPServiceShangHaiBackExeStdAfx.cpp
push 0x161
push eax
call fcn.004048b0
add esp, 0xc
jmp 0x404ec5
push str.D:WorkHPServiceShangHaiBackExeStdAfx.cpp
push 0x16b
push 2
call fcn.004048b0
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x404ec5