Function at 0x4467b0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528feb
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x590cc0]
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, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0x103
lea eax, [ebp - 0x113]
push 0
push eax
mov dword [ebp - 0x2d8], edi
mov byte [ebp - 0x114], 0
call fcn.004ba010
add esp, 0xc
cmp dword [ebx + 0x14], 8
jb 0x44680f
mov ebx, dword [ebx]
test ebx, ebx
jne 0x446817
xor eax, eax
jmp 0x44685c
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x446854
lea edi, [eax + eax]
mov eax, edi
call fcn.004bb0f0
mov esi, esp
test esi, esi
je 0x446854
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, esi
jmp 0x446856
xor eax, eax
mov edi, dword [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x114]
push 0x104
push ecx
call fcn.004bd43f
add esp, 0xc
lea edx, [ebp - 0x2c0]
push edx
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4468a9
push str.wsastartup___failed__
push str.KAddressIpLock::getIpListFromHostName
push 0x56
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcmiscKAddressIpLock.cpp
push 9
call fcn.0041a9b0
add esp, 0x14
xor eax, eax
jmp 0x446a41
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
mov dword [ebp - 0x2dc], esi
test esi, esi
jne 0x4468d0
push str.gethostbyname___error__
push str.KAddressIpLock::getIpListFromHostName
push 0x5d
jmp 0x446893
movsx ecx, word [esi + 0xa]
movsx edx, word [esi + 8]
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esi]
push edx
push eax
push ecx
push str.name:_s_nalianses:_s_naddrtype:_d_nlength:_d
push str.KAddressIpLock::getIpListFromHostName
push 0x61
push str.S:_rc_v11_edu_20191101_branchCoding_supportwpsupdateUpdateClient_srcmiscKAddressIpLock.cpp
push 9
call fcn.0041a9b0
mov eax, dword [esi + 0xc]
add esp, 0x24
cmp dword [eax], 0
mov dword [ebp - 0x2d4], 0
je 0x446a23
xor ecx, ecx
movsx edx, word [esi + 0xa]
mov eax, dword [eax + ecx]
push edx
push eax
lea ecx, [ebp - 0x2cc]
push ecx
call fcn.004b9350
mov edx, dword [ebp - 0x2cc]
add esp, 0xc
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ebx, eax
test ebx, ebx
jne 0x446943
xor edx, edx
jmp 0x44698e
push ebx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jg 0x44698a
lea eax, [edi + edi]
call fcn.004bb0f0
mov esi, esp
test esi, esi
je 0x446984
push edi
push esi
push 0xffffffffffffffff
xor eax, eax
push ebx
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
mov esi, dword [ebp - 0x2dc]
jmp 0x44698c
mov esi, dword [ebp - 0x2dc]
xor eax, eax
mov edx, eax
xor edi, edi
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x11c], 7
mov dword [ebp - 0x120], edi
mov word [ebp - 0x130], cx
lea ebx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4469b0
sub eax, ebx
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x130]
call fcn.00402460
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0x2d8]
lea edx, [ebp - 0x130]
push edx
mov ecx, edi
call fcn.004034c0
cmp dword [ebp - 0x11c], 8
mov dword [ebp - 4], 0xffffffff
jb 0x446a02
mov eax, dword [ebp - 0x130]
push eax
call fcn.004b9008
add esp, 4
mov eax, dword [ebp - 0x2d4]
inc eax
lea ecx, [eax*4]
mov dword [ebp - 0x2d4], eax
mov eax, dword [esi + 0xc]
cmp dword [eax + ecx], 0
jne 0x446914
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea esp, [ebp - 0x2ec]
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.004b9ff3
mov esp, ebp
pop ebp
ret 8