Function at 0x45f3f0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5867
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x628960]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1e0], esi
mov dword [ebp - 0x1dc], 0
lea eax, [ebp - 0x1a8]
mov dword [ebp - 4], 1
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp dword [ebp + 0x20], 0x10
lea ecx, [ebp + 0xc]
mov dword [esi + 0x14], 0xf
cmovae ecx, dword [ebp + 0xc]
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [ebp - 0x1dc], 1
test eax, eax
jne 0x45f779
push ecx
mov byte [ebp - 0x18], al
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
je 0x45f779
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
movsx eax, byte [eax]
push eax
lea eax, [ebp - 0x18]
push 0x60e3c4
push eax
call fcn.004479c0
lea eax, [ebp - 0x18]
push eax
call fcn.004a1320
add esp, 0x10
test eax, eax
jns 0x45f4dc
lea eax, [ebp - 0x18]
push eax
call fcn.004a1320
add eax, 0x100
push eax
lea eax, [ebp - 0x18]
push 0x60e3c4
push eax
call fcn.004479c0
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00437360
push 0x60d370
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c0]
call fcn.00440b60
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004409b0
cmp dword [ebp - 0x1ac], 0x10
jb 0x45f52b
push dword [ebp - 0x1c0]
call fcn.0048b2ba
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c4], 0x10
mov dword [ebp - 0x1ac], 0xf
mov dword [ebp - 0x1b0], 0
mov byte [ebp - 0x1c0], 0
jb 0x45f561
push dword [ebp - 0x1d8]
call fcn.0048b2ba
add esp, 4
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
movsx eax, byte [eax + 1]
push eax
lea eax, [ebp - 0x18]
push 0x60e3c4
push eax
call fcn.004479c0
lea eax, [ebp - 0x18]
push eax
call fcn.004a1320
add esp, 0x10
test eax, eax
jns 0x45f5a9
lea eax, [ebp - 0x18]
push eax
call fcn.004a1320
add eax, 0x100
push eax
lea eax, [ebp - 0x18]
push 0x60e3c4
push eax
call fcn.004479c0
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00437360
push 0x60d370
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c0]
call fcn.00440b60
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.004409b0
cmp dword [ebp - 0x1ac], 0x10
jb 0x45f5f8
push dword [ebp - 0x1c0]
call fcn.0048b2ba
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c4], 0x10
mov dword [ebp - 0x1ac], 0xf
mov dword [ebp - 0x1b0], 0
mov byte [ebp - 0x1c0], 0
jb 0x45f62e
push dword [ebp - 0x1d8]
call fcn.0048b2ba
add esp, 4
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
movsx eax, byte [eax + 2]
push eax
lea eax, [ebp - 0x18]
push 0x60e3c4
push eax
call fcn.004479c0
lea eax, [ebp - 0x18]
push eax
call fcn.004a1320
add esp, 0x10
test eax, eax
jns 0x45f676
lea eax, [ebp - 0x18]
push eax
call fcn.004a1320
add eax, 0x100
push eax
lea eax, [ebp - 0x18]
push 0x60e3c4
push eax
call fcn.004479c0
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00437360
push 0x60d370
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c0]
call fcn.00440b60
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.004409b0
cmp dword [ebp - 0x1ac], 0x10
jb 0x45f6c5
push dword [ebp - 0x1c0]
call fcn.0048b2ba
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1c4], 0x10
mov dword [ebp - 0x1ac], 0xf
mov dword [ebp - 0x1b0], 0
mov byte [ebp - 0x1c0], 0
jb 0x45f6fb
push dword [ebp - 0x1d8]
call fcn.0048b2ba
add esp, 4
mov eax, dword [edi + 0xc]
mov eax, dword [eax]
movsx eax, byte [eax + 3]
push eax
lea eax, [ebp - 0x18]
push 0x60e3c4
push eax
call fcn.004479c0
lea eax, [ebp - 0x18]
push eax
call fcn.004a1320
add esp, 0x10
test eax, eax
jns 0x45f743
lea eax, [ebp - 0x18]
push eax
call fcn.004a1320
add eax, 0x100
push eax
lea eax, [ebp - 0x18]
push 0x60e3c4
push eax
call fcn.004479c0
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00437360
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.004409b0
cmp dword [ebp - 0x1c4], 0x10
jb 0x45f779
push dword [ebp - 0x1d8]
call fcn.0048b2ba
add esp, 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp dword [ebp + 0x20], 0x10
jb 0x45f790
push dword [ebp + 0xc]
call fcn.0048b2ba
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0676
mov esp, ebp
pop ebp
ret 0x1c