Function at 0x431850
Capabilities:
Get hostname
Get local ipv4 addresses
Get mac address on windows
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a3cef
mov eax, dword fs:[0]
push eax
sub esp, 0x37c
mov eax, dword [0x616dec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x364], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x36c], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x388], edi
mov dword [edi + 0x10], 0
jb 0x4318c3
mov eax, dword [edi]
jmp 0x4318c5
mov eax, edi
xor ecx, ecx
push ecx
mov word [eax], cx
mov ecx, edi
push 0x5fd6c8
call fcn.00424710
push 0x288
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x36c], 1
mov dword [ebp - 0x364], 0x288
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call esi
mov ebx, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea ecx, [ebp - 0x364]
push ecx
push eax
mov dword [ebp - 0x368], eax
call ebx
cmp eax, 0x6f
jne 0x43195d
push dword [ebp - 0x368]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x364]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
mov esi, eax
lea eax, [ebp - 0x364]
push eax
push esi
mov dword [ebp - 0x368], esi
call ebx
jmp 0x431963
mov esi, dword [ebp - 0x368]
test eax, eax
jne 0x431c5a
cmp dword [ebp - 0x368], eax
je 0x431c74
nop word [eax + eax]
lea edx, [esi + 0x10c]
mov dword [ebp - 0x18c], 0xf
mov dword [ebp - 0x190], 0
mov byte [ebp - 0x1a0], 0
cmp byte [edx], 0
jne 0x4319aa
xor ecx, ecx
jmp 0x4319b9
mov ecx, edx
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4319b0
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x1a0]
call fcn.00424a00
mov dword [ebp - 4], 1
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x24]
push str._02x__02x__02x__02x__02x__02x
push eax
call fcn.00426b40
add esp, 0x20
mov dword [ebp - 0x1bc], 0xf
cmp byte [ebp - 0x24], 0
mov dword [ebp - 0x1c0], 0
mov byte [ebp - 0x1d0], 0
jne 0x431a33
xor ecx, ecx
jmp 0x431a49
lea ecx, [ebp - 0x24]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431a40
sub ecx, edx
push ecx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.00424a00
mov byte [ebp - 4], 2
lea edx, [esi + 0x1b0]
mov dword [ebp - 0x1a4], 0xf
mov dword [ebp - 0x1a8], 0
mov byte [ebp - 0x1b8], 0
cmp byte [edx], 0
jne 0x431a87
xor ecx, ecx
jmp 0x431a99
mov ecx, edx
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x431a90
sub ecx, ebx
push ecx
push edx
lea ecx, [ebp - 0x1b8]
call fcn.00424a00
lea ecx, [esi + 8]
mov byte [ebp - 4], 3
call fcn.00431660
test al, al
jne 0x431b5d
mov eax, dword [ebp - 0x1a4]
mov esi, dword [esi]
cmp eax, 0x10
jb 0x431ada
inc eax
lea ecx, [ebp - 0x1b8]
push eax
push dword [ebp - 0x1b8]
call fcn.00424d60
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1a4], 0xf
mov dword [ebp - 0x1a8], 0
mov byte [ebp - 0x1b8], 0
cmp eax, 0x10
jb 0x431b13
inc eax
lea ecx, [ebp - 0x1d0]
push eax
push dword [ebp - 0x1d0]
call fcn.00424d60
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x1bc], 0xf
mov dword [ebp - 0x1c0], 0
mov byte [ebp - 0x1d0], 0
cmp eax, 0x10
jb 0x431b50
inc eax
lea ecx, [ebp - 0x1a0]
push eax
push dword [ebp - 0x1a0]
call fcn.00424d60
test esi, esi
jne 0x431980
jmp 0x431c5a
lea edx, [ebp - 0x1b8]
lea ecx, [ebp - 0x384]
call fcn.00431430
mov edx, eax
mov byte [ebp - 4], 4
cmp dword [edx + 0x14], 8
jb 0x431b7c
mov edx, dword [edx]
cmp word [edx], 0
jne 0x431b86
xor ecx, ecx
jmp 0x431b9f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431b90
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00424710
mov eax, dword [ebp - 0x370]
cmp eax, 8
jb 0x431bc6
inc eax
lea ecx, [ebp - 0x384]
push eax
push dword [ebp - 0x384]
call fcn.00424d00
mov eax, dword [ebp - 0x1a4]
cmp eax, 0x10
jb 0x431be4
inc eax
lea ecx, [ebp - 0x1b8]
push eax
push dword [ebp - 0x1b8]
call fcn.00424d60
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1a4], 0xf
mov dword [ebp - 0x1a8], 0
mov byte [ebp - 0x1b8], 0
cmp eax, 0x10
jb 0x431c1d
inc eax
lea ecx, [ebp - 0x1d0]
push eax
push dword [ebp - 0x1d0]
call fcn.00424d60
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x1bc], 0xf
mov dword [ebp - 0x1c0], 0
mov byte [ebp - 0x1d0], 0
cmp eax, 0x10
jb 0x431c5a
inc eax
lea ecx, [ebp - 0x1a0]
push eax
push dword [ebp - 0x1a0]
call fcn.00424d60
mov eax, dword [ebp - 0x368]
test eax, eax
je 0x431c74
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0x5fd6c8
mov ecx, edi
call fcn.00426b60
test eax, eax
jne 0x431dfd
lea eax, [ebp - 0x360]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x100
lea eax, [ebp - 0x124]
mov dword [ebp - 0x368], 0
push eax
xor bl, bl
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x431cd2
push 0x100
lea eax, [ebp - 0x124]
push 0
push eax
call fcn.00556fd0
add esp, 0xc
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
push 7
push str.0.0.0.0
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x18c], 0xf
mov esi, eax
mov dword [ebp - 0x190], 0
mov byte [ebp - 0x1a0], 0
call fcn.00424a00
mov dword [ebp - 4], 5
test esi, esi
je 0x431dd9
mov eax, dword [esi + 0xc]
test eax, eax
je 0x431d36
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x368], eax
mov bl, byte [ebp - 0x368]
jmp 0x431d3c
mov eax, dword [ebp - 0x368]
mov ecx, eax
shr ecx, 0x18
push ecx
mov ecx, eax
shr eax, 8
shr ecx, 0x10
movzx ecx, cl
push ecx
movzx eax, al
push eax
movzx eax, bl
push eax
lea eax, [ebp - 0x188]
push str._u._u._u._u
push eax
call fcn.0042ab00
add esp, 0x18
lea edx, [ebp - 0x1a0]
lea ecx, [ebp - 0x384]
call fcn.00431430
mov esi, eax
cmp edi, esi
je 0x431dbb
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x431d94
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00424d00
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x431dac
mov eax, dword [edi]
jmp 0x431dae
mov eax, edi
xor ecx, ecx
mov word [eax], cx
mov ecx, edi
push esi
call fcn.00424930
mov eax, dword [ebp - 0x370]
cmp eax, 8
jb 0x431dd9
inc eax
lea ecx, [ebp - 0x384]
push eax
push dword [ebp - 0x384]
call fcn.00424d00
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 0x18c]
cmp ecx, 0x10
jb 0x431dfd
inc ecx
push ecx
push dword [ebp - 0x1a0]
lea ecx, [ebp - 0x1a0]
call fcn.00424d60
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005540cc
mov esp, ebp
pop ebp
ret