Function at 0x426ef0
Capabilities:
Get hostname
Get local ipv4 addresses
Get socket information
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
mov byte [esp + 0x118], 0
mov ecx, 0x1f
lea edi, [esp + 0x119]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov ecx, 0x14
lea edi, [esp + 0x29]
mov byte [esp + 0x28], 0
rep stosd dword es:[edi], eax
mov byte [esp + 0xc], al
mov word [esp + 0xd], ax
xor ebx, ebx
xor edi, edi
cmp esi, 0xffffffff
mov byte [esp + 0xf], al
je 0x42713c
push 0x50
lea ecx, [esp + 0x2c]
push ecx
call sub.WS2_32.dll_gethostname
test eax, eax
jne 0x426fe8
xor edx, edx
mov dword [esp + 0x14], edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], edx
push ecx
mov dword [esp + 0x24], edx
push esi
mov edi, 1
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x2c], edx
call sub.WS2_32.dll_getsockname
test eax, eax
jne 0x426fb5
cmp dword [esp + 0x10], 8
jl 0x426fb5
mov eax, dword [esp + 0x18]
mov dl, byte [esp + 0x1a]
mov byte [esp + 0xc], al
mov al, byte [esp + 0x1b]
mov byte [esp + 0xd], ah
mov byte [esp + 0xe], dl
mov byte [esp + 0xf], al
jmp 0x426fe3
lea ecx, [esp + 0x28]
push ecx
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x426fe8
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov cl, byte [eax]
mov dl, byte [eax + 1]
mov byte [esp + 0xc], cl
mov cl, byte [eax + 2]
mov byte [esp + 0xd], dl
mov dl, byte [eax + 3]
mov byte [esp + 0xe], cl
mov byte [esp + 0xf], dl
mov ebx, 1
lea eax, [esp + 0x24]
push eax
call fcn.0045a1c9
add esp, 4
test edi, edi
je 0x427093
lea edx, [esp + 0xc]
mov eax, dword [edx]
mov ecx, 0x4cba70
cmp eax, dword [ecx]
jne 0x427093
test ebx, ebx
je 0x427093
lea ecx, [esp + 0x28]
push 0x4cba18
push ecx
call fcn.0045ba9a
add esp, 8
test eax, eax
jne 0x427093
mov al, byte [0x4cba18]
test al, al
je 0x427093
mov al, byte [0x4cba6f]
test al, al
je 0x427093
mov al, byte [0x4cba70]
test al, al
jne 0x427060
mov al, byte [0x4cba71]
test al, al
jne 0x427060
mov al, byte [0x4cba72]
test al, al
jne 0x427060
mov al, byte [0x4cba73]
test al, al
je 0x427093
mov eax, 0x4cba9d
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427068
sub eax, edx
cmp eax, 0xc
jae 0x42713c
mov edx, dword [esp + 0x24]
mov ecx, dword [0x4cc474]
mov eax, dword [0x486af0]
sub edx, ecx
cmp edx, eax
jle 0x42713c
xor eax, eax
mov ecx, 0x2b
mov edi, 0x4cba18
rep stosd dword es:[edi], eax
push esi
mov ebx, 0x4cba18
stosb byte es:[edi], al
call fcn.00426ac0
add esp, 4
test eax, eax
je 0x4270d3
push esi
mov esi, ebx
call fcn.00425a80
add esp, 4
test eax, eax
je 0x4270f0
mov eax, dword [ebp + 8]
push eax
call fcn.00426830
add esp, 4
test eax, eax
jne 0x4270f0
mov al, byte [0x4cba6f]
test al, al
je 0x4270f0
push 0x28
push 0x4cba9d
push 0x4cba70
call fcn.00425660
add esp, 0xc
push 0x4cc474
call fcn.0045a1c9
mov eax, 0x4cba9d
add esp, 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427105
sub eax, edx
cmp eax, 0xc
jae 0x427132
mov eax, dword [0x486af0]
shl eax, 1
cmp eax, 0x3840
mov dword [0x486af0], eax
jle 0x42713c
mov dword [0x486af0], 0x3840
jmp 0x42713c
mov dword [0x486af0], 0x1e
mov al, byte [0x4cb848]
test al, al
jne 0x42717a
push 0x80
lea ecx, [esp + 0x11c]
push ecx
push 0x4cb848
call fcn.0041bd90
add esp, 0xc
cmp eax, 1
je 0x42717a
mov edx, dword [str.0.0.0.0]
mov eax, dword [0x475924]
mov dword [0x4cb848], edx
mov dword [0x4cb84c], eax
mov al, byte [0x4cb838]
test al, al
jne 0x427266
xor ecx, ecx
mov dword [0x4cb838], ecx
mov dword [0x4cb83c], ecx
push 0x4cb8c8
push 0x4cb838
mov byte [0x4cb840], cl
call fcn.0044da60
add esp, 8
xor eax, eax
lea edx, [esp + 0x80]
mov ecx, 0x25
lea edi, [esp + 0x80]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x84], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x42723c
mov eax, dword [esp + 0x84]
push 0x4cb974
push eax
call fcn.00439e70
mov ecx, dword [esp + 0x90]
push 0x4cb978
push ecx
call fcn.00439e70
mov edx, dword [esp + 0x9c]
push 0x4cb97c
push edx
call fcn.00439e70
mov eax, dword [esp + 0xa8]
push 0x4cb980
push eax
call fcn.00439e70
push 0x80
lea ecx, [esp + 0xb8]
push ecx
push 0x4cb988
call fcn.00458f80
add esp, 0x2c
call fcn.0044c430
test eax, eax
jl 0x427253
push 0x4cba0c
push eax
call fcn.00439e70
add esp, 8
call fcn.0044c500
push 0x4cba10
push eax
call fcn.00439e70
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret