Function at 0x4607b0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8e4a
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x55a3d0]
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
lea eax, [ebp - 0x250]
push eax
push 0x202
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0xc0], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x46088b
lea ecx, [ebp - 0x2f0]
push ecx
mov esi, eax
call fcn.00403200
lea edx, [ebp - 0x2f0]
push str.WSAStartup___failed_with_return_code:
push edx
mov byte [ebp - 4], 1
call fcn.00404d50
add esp, 8
push esi
lea ecx, [ebp - 0x2f0]
call fcn.00422780
lea esi, [ebp - 0x2c]
lea eax, [ebp - 0x2f0]
call fcn.00402e30
mov eax, esi
push eax
push 2
mov byte [ebp - 4], 2
call fcn.00423a40
add esp, 8
cmp dword [ebp - 0x18], 8
jb 0x460868
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b5907
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x2f0]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
mov byte [ebp - 4], bl
call fcn.00401690
jmp 0x460d42
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.0046ae62
add esp, 8
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x80]
mov edi, 0x10
cmp dword [ebp - 0x6c], edi
jae 0x4608ac
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
mov dword [ebp - 0x254], esi
cmp esi, ebx
jne 0x460968
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
lea ecx, [ebp - 0x2f0]
push ecx
mov esi, eax
call fcn.00403200
lea edx, [ebp - 0x2f0]
push str.gethostbyname___with_error:
push edx
mov byte [ebp - 4], 4
call fcn.00404d50
add esp, 8
push esi
lea ecx, [ebp - 0x2f0]
call fcn.00422780
lea esi, [ebp - 0x2c]
lea eax, [ebp - 0x2f0]
call fcn.00402e30
mov eax, esi
push eax
push 2
mov byte [ebp - 4], 5
call fcn.00423a40
add esp, 8
cmp dword [ebp - 0x18], 8
jb 0x46092c
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b5907
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x2f0]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
mov byte [ebp - 4], 3
call fcn.00401690
cmp dword [ebp - 0x6c], edi
jb 0x46095c
mov eax, dword [ebp - 0x80]
push eax
call fcn.004b5907
add esp, 4
mov dword [ebp - 0x6c], 0xf
jmp 0x460d3c
mov edi, 0xf
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
mov byte [ebp - 4], 6
push 8
push str.Domain__
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00411d00
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 7
call fcn.004496c0
add esp, 0xc
push str.__resolved_to:__n
push eax
lea ecx, [ebp - 0x48]
push ecx
mov byte [ebp - 4], 8
call fcn.00407970
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 9
call fcn.0040e400
cmp dword [ebp - 0x34], 0x10
jb 0x4609e5
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b5907
add esp, 4
cmp dword [ebp - 0xa4], 0x10
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
jb 0x460a06
mov eax, dword [ebp - 0xb8]
push eax
call fcn.004b5907
add esp, 4
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
jb 0x460a2e
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b5907
add esp, 4
mov esi, dword [esi]
mov eax, esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea ecx, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x460a40
sub eax, ecx
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.00411d00
mov byte [ebp - 4], 0xa
push 8
push str.Server:
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00411d00
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x9c]
push ecx
mov byte [ebp - 4], 0xb
call fcn.00461f80
add esp, 0xc
push 0x51bcf4
push eax
lea edx, [ebp - 0xb8]
push edx
mov byte [ebp - 4], 0xc
call fcn.00407970
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xd
call fcn.0040e400
mov esi, 0x10
cmp dword [ebp - 0xa4], esi
jb 0x460acf
mov eax, dword [ebp - 0xb8]
push eax
call fcn.004b5907
add esp, 4
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
cmp dword [ebp - 0x88], esi
jb 0x460af8
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004b5907
add esp, 4
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
cmp dword [ebp - 0x18], esi
jb 0x460b1b
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b5907
add esp, 4
mov byte [ebp - 4], 6
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x34], esi
jb 0x460b39
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b5907
add esp, 4
mov esi, dword [ebp - 0x254]
movzx eax, word [esi + 8]
cmp ax, 2
jne 0x460c56
push 0x10
push str.IPv4_Addresses:
lea ecx, [ebp - 0x64]
call fcn.0040e4f0
mov eax, dword [esi + 0xc]
cmp dword [eax], ebx
je 0x460c45
xor ecx, ecx
jmp 0x460b76
mov ecx, dword [ebp - 0x258]
mov edx, dword [eax + ecx]
mov eax, dword [edx]
add ecx, 4
push eax
mov dword [ebp - 0x258], ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea edi, [ecx + 1]
jmp 0x460ba0
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x460ba0
sub ecx, edi
push ecx
push esi
lea ecx, [ebp - 0x48]
call fcn.00411d00
push 0x517aac
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x9c]
push ecx
mov byte [ebp - 4], 0xe
call fcn.00407970
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xf
call fcn.0040e400
mov esi, 0x10
cmp dword [ebp - 0x88], esi
jb 0x460bfb
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004b5907
add esp, 4
mov byte [ebp - 4], 6
mov dword [ebp - 0x88], 0xf
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
cmp dword [ebp - 0x34], esi
jb 0x460c26
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b5907
add esp, 4
mov ecx, dword [ebp - 0x254]
mov eax, dword [ecx + 0xc]
mov edx, dword [ebp - 0x258]
mov edi, 0xf
cmp dword [eax + edx], ebx
jne 0x460b70
mov esi, ecx
push 1
push 0x51bcf4
lea ecx, [ebp - 0x64]
call fcn.0040e4f0
jmp 0x460c67
cmp ax, 0x17
jne 0x460c67
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x80]
call fcn.00460d70
push 9
push str.Aliases:
lea ecx, [ebp - 0x64]
call fcn.0040e4f0
mov esi, dword [esi + 4]
mov al, 1
cmp dword [esi], ebx
je 0x460cc1
cmp al, bl
jne 0x460c92
push 2
push 0x51bd24
lea ecx, [ebp - 0x64]
call fcn.0040e4f0
mov edi, dword [esi]
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x460ca0
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x64]
call fcn.0040e4f0
add esi, 4
xor al, al
cmp dword [esi], ebx
jne 0x460c7f
mov edi, 0xf
push 1
push 0x51bcf4
lea ecx, [ebp - 0x64]
call fcn.0040e4f0
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x64]
call fcn.0046ad28
add esp, 4
push eax
push 3
mov byte [ebp - 4], 0x10
call fcn.00423a40
add esp, 8
cmp dword [ebp - 0x88], 8
jb 0x460d09
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004b5907
add esp, 4
mov esi, 0x10
cmp dword [ebp - 0x50], esi
jb 0x460d1f
mov edx, dword [ebp - 0x64]
push edx
call fcn.004b5907
add esp, 4
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x6c], esi
jb 0x460d39
mov eax, dword [ebp - 0x80]
push eax
call fcn.004b5907
add esp, 4
mov dword [ebp - 0x6c], edi
mov byte [ebp - 0x80], bl
mov dword [ebp - 0x70], ebx
call dword [sym.imp.WS2_32.dll_WSACleanup]
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.004b58f8
mov esp, ebp
pop ebp
ret