Function at 0x452389
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3d4
mov eax, dword [0x55f900]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
push 0x190
mov dword [ebp - 0x3c4], eax
lea eax, [ebp - 0x3c0]
push ebx
push eax
call fcn.004c37f0
mov edi, 0x104
lea eax, [ebp - 0x11c]
push edi
push ebx
push eax
call fcn.004c37f0
push edi
lea eax, [ebp - 0x220]
push ebx
push eax
call fcn.004c37f0
xor eax, eax
mov dword [ebp - 0x3c8], ebx
lea edi, [ebp - 0x230]
add esp, 0x24
cmp dword [ebp + 0x10], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, 0x104
cmovge edi, dword [ebp + 0x10]
mov dword [ebp - 0x3d0], edi
cmp dword [ebp - 0x3c4], ebx
je 0x452686
test esi, esi
je 0x452686
test edi, edi
jle 0x452686
call fcn.004b729a
push 0x102
push dword [ebp - 0x3c4]
mov dword [ebp - 0x3d4], eax
lea eax, [ebp - 0x11c]
push eax
call fcn.0048dd2a
lea eax, [ebp - 0x220]
push eax
call fcn.0048b21b
lea eax, [ebp - 0x3c8]
push eax
lea eax, [ebp - 0x11c]
push 0x5088b4
push eax
call fcn.0048d4c3
add esp, 0x1c
mov dword [ebp - 0x3cc], eax
test eax, eax
je 0x452491
lea eax, [ebp - 0x3c8]
push eax
push 0x5088b4
push ebx
call fcn.0048d4c3
add esp, 0xc
mov dword [ebp - 0x3cc], eax
push eax
call fcn.0048c30a
pop ecx
test eax, eax
jne 0x4524c5
push 0x104
push dword [ebp - 0x3cc]
lea eax, [ebp - 0x220]
push eax
call fcn.0048dd2a
push ebx
lea eax, [ebp - 0x220]
push 0x3a
push eax
call fcn.0048c19c
add esp, 0x18
push 0x647ef8
call fcn.0048c30a
pop ecx
test eax, eax
jne 0x45251b
lea eax, [ebp - 0x11c]
push 0x647df0
push eax
call fcn.004cd1a7
pop ecx
pop ecx
test eax, eax
jne 0x45251b
push 0x104
lea eax, [ebp - 0x11c]
push 0x647ef8
push eax
call fcn.0048dd2a
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0x3c4]
push str.:2:ResolveHostNameToIP___s___is_using___s__instead_
call fcn.0041cce9
add esp, 0x18
lea eax, [ebp - 0x11c]
mov byte [esi], bl
push eax
call fcn.0044f0a3
pop ecx
test eax, eax
je 0x452560
lea eax, [ebp - 0x11c]
push eax
call fcn.004537b1
push edi
lea eax, [ebp - 0x11c]
push eax
push esi
call fcn.0048dd2a
push edi
lea eax, [ebp - 0x220]
push eax
push esi
call fcn.0048dc3d
add esp, 0x1c
mov eax, esi
jmp 0x452688
lea eax, [ebp - 0x3c0]
mov byte [esi], bl
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x452686
lea eax, [ebp - 0x11c]
push eax
call sub.WSOCK32.dll_gethostbyname
mov ecx, eax
test ecx, ecx
je 0x452681
movzx edx, word [ecx + 0xa]
test dx, dx
jle 0x452681
xor eax, eax
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
movsx eax, dx
push eax
mov eax, dword [ecx + 0xc]
push dword [eax]
lea eax, [ebp - 0x22c]
push eax
call fcn.004c3270
lea eax, [ebp - 0x18]
mov byte [esi], bl
push eax
push dword [ebp - 0x22c]
call fcn.0044f004
mov edi, dword [ebp - 0x3d0]
lea eax, [ebp - 0x18]
push edi
push eax
push esi
call fcn.0048dd2a
push esi
call fcn.0044f0a3
add esp, 0x24
test eax, eax
jne 0x452623
movzx eax, byte [ebp - 0x229]
push esi
push eax
movzx eax, byte [ebp - 0x22a]
push eax
movzx eax, byte [ebp - 0x22b]
push eax
movzx eax, byte [ebp - 0x22c]
push eax
push dword [ebp - 0x3c4]
push str.:9:ResolveHostNameToIP__s__FAILED:_IP_InAddrToA__d._d._d._d__parsed_to__s
call fcn.0041c80a
add esp, 0x1c
or ebx, 0xffffffff
call sub.WSOCK32.dll_WSACleanup
test ebx, ebx
jne 0x452686
push esi
call fcn.004cd280
pop ecx
test eax, eax
je 0x452686
push edi
lea eax, [ebp - 0x220]
push eax
push esi
call fcn.0048dc3d
add esp, 0xc
call fcn.004b729a
mov edi, dword [ebp - 0x3d4]
sub eax, edi
cmp eax, 0xfa0
jbe 0x452559
call fcn.004b729a
sub eax, edi
push eax
push esi
push dword [ebp - 0x3c4]
push str.:4:ResolveHostNameToIP___took_too_long_to_resolve__s_to__s:__ums
call fcn.0041c80a
add esp, 0x10
jmp 0x452559
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret