Function at 0x433a89
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push 0x10
push 0
mov eax, dword [ebp + 0xc]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
cmp eax, 0x17
jb 0x433d4d
mov edx, dword [ebp + 8]
movsx eax, byte [edx + 8]
cmp eax, 0x3a
jne 0x433d4d
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + 0x15]
cmp edx, 0x3a
jne 0x433d4d
mov eax, dword [ebp + 0xc]
mov word [eax], 6
mov byte [ebp - 0x86], 0
mov ecx, dword [ebp + 8]
mov dl, byte [ecx]
mov byte [ebp - 0x88], dl
mov eax, dword [ebp + 8]
mov cl, byte [eax + 1]
mov byte [ebp - 0x87], cl
lea edx, [ebp - 4]
push edx
push 0x45716c
lea eax, [ebp - 0x88]
push eax
call sub.MSVCRT.dll_sscanf
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 4]
mov byte [ecx + 2], dl
mov eax, dword [ebp + 8]
mov cl, byte [eax + 2]
mov byte [ebp - 0x88], cl
mov edx, dword [ebp + 8]
mov al, byte [edx + 3]
mov byte [ebp - 0x87], al
lea ecx, [ebp - 4]
push ecx
push 0x457170
lea edx, [ebp - 0x88]
push edx
call sub.MSVCRT.dll_sscanf
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 4]
mov byte [eax + 3], cl
mov edx, dword [ebp + 8]
mov al, byte [edx + 4]
mov byte [ebp - 0x88], al
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 5]
mov byte [ebp - 0x87], dl
lea eax, [ebp - 4]
push eax
push 0x457174
lea ecx, [ebp - 0x88]
push ecx
call sub.MSVCRT.dll_sscanf
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 4]
mov byte [edx + 4], al
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 6]
mov byte [ebp - 0x88], dl
mov eax, dword [ebp + 8]
mov cl, byte [eax + 7]
mov byte [ebp - 0x87], cl
lea edx, [ebp - 4]
push edx
push 0x457178
lea eax, [ebp - 0x88]
push eax
call sub.MSVCRT.dll_sscanf
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 4]
mov byte [ecx + 5], dl
mov eax, dword [ebp + 8]
mov cl, byte [eax + 9]
mov byte [ebp - 0x88], cl
mov edx, dword [ebp + 8]
mov al, byte [edx + 0xa]
mov byte [ebp - 0x87], al
lea ecx, [ebp - 4]
push ecx
push 0x45717c
lea edx, [ebp - 0x88]
push edx
call sub.MSVCRT.dll_sscanf
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 4]
mov byte [eax + 6], cl
mov edx, dword [ebp + 8]
mov al, byte [edx + 0xb]
mov byte [ebp - 0x88], al
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0xc]
mov byte [ebp - 0x87], dl
lea eax, [ebp - 4]
push eax
push 0x457180
lea ecx, [ebp - 0x88]
push ecx
call sub.MSVCRT.dll_sscanf
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 4]
mov byte [edx + 7], al
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0xd]
mov byte [ebp - 0x88], dl
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0xe]
mov byte [ebp - 0x87], cl
lea edx, [ebp - 4]
push edx
push 0x457184
lea eax, [ebp - 0x88]
push eax
call sub.MSVCRT.dll_sscanf
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 4]
mov byte [ecx + 8], dl
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0xf]
mov byte [ebp - 0x88], cl
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x10]
mov byte [ebp - 0x87], al
lea ecx, [ebp - 4]
push ecx
push 0x457188
lea edx, [ebp - 0x88]
push edx
call sub.MSVCRT.dll_sscanf
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov cl, byte [ebp - 4]
mov byte [eax + 9], cl
mov edx, dword [ebp + 8]
mov al, byte [edx + 0x11]
mov byte [ebp - 0x88], al
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x12]
mov byte [ebp - 0x87], dl
lea eax, [ebp - 4]
push eax
push 0x45718c
lea ecx, [ebp - 0x88]
push ecx
call sub.MSVCRT.dll_sscanf
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov al, byte [ebp - 4]
mov byte [edx + 0xa], al
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x13]
mov byte [ebp - 0x88], dl
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x14]
mov byte [ebp - 0x87], cl
lea edx, [ebp - 4]
push edx
push 0x457190
lea eax, [ebp - 0x88]
push eax
call sub.MSVCRT.dll_sscanf
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov dl, byte [ebp - 4]
mov byte [ecx + 0xb], dl
lea eax, [ebp - 4]
push eax
push 0x457194
mov ecx, dword [ebp + 8]
add ecx, 0x16
push ecx
call sub.MSVCRT.dll_sscanf
add esp, 0xc
mov dx, word [ebp - 4]
push edx
call sub.WSOCK32.dll_htons
mov ecx, dword [ebp + 0xc]
mov word [ecx + 0xc], ax
jmp 0x433e1c
mov edx, dword [ebp + 0xc]
mov word [edx], 2
mov eax, dword [ebp + 0xc]
mov word [eax + 2], 0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x88]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea eax, [ebp - 0x88]
mov dword [ebp - 8], eax
jmp 0x433d85
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
movsx eax, byte [edx]
test eax, eax
je 0x433dbe
mov ecx, dword [ebp - 8]
movsx edx, byte [ecx]
cmp edx, 0x3a
jne 0x433dbc
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov ecx, dword [ebp - 8]
add ecx, 1
push ecx
call sub.MSVCRT.dll_atoi
add esp, 4
push eax
call sub.WSOCK32.dll_htons
mov edx, dword [ebp + 0xc]
mov word [edx + 2], ax
jmp 0x433d7c
movsx eax, byte [ebp - 0x88]
cmp eax, 0x30
jl 0x433dea
movsx ecx, byte [ebp - 0x88]
cmp ecx, 0x39
jg 0x433dea
lea edx, [ebp - 0x88]
push edx
call sub.WSOCK32.dll_inet_addr
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
jmp 0x433e1c
lea edx, [ebp - 0x88]
push edx
call sub.WSOCK32.dll_gethostbyname
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x433e09
xor eax, eax
jmp 0x433e21
mov eax, dword [ebp - 0x8c]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp + 0xc]
mov ecx, dword [edx]
mov dword [eax + 4], ecx
mov eax, 1
mov esp, ebp
pop ebp
ret