Function at 0x14007eb10
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x14007eb52
cmp dword [rsp + 0x24], 0xffffffff
jne 0x14007ee7e
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax]
mov byte [rsp + 0x44], al
movsx eax, byte [rsp + 0x44]
mov rcx, qword [rsp + 0x30]
add rcx, 1
mov qword [rsp + 0x30], rcx
cmp eax, 0x20
jne 0x14007eb85
jmp 0x14007eb5f
mov rax, qword [rsp + 0x30]
sub rax, 1
mov qword [rsp + 0x30], rax
mov edx, 0x2e
mov rcx, qword [rsp + 0x30]
call sub.MSVCR110.dll_strchr
test rax, rax
je 0x14007ee74
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x60], 0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
lea rdx, [0x1401adf74]
lea rcx, [rsp + 0x4c]
call sub.MSVCR110.dll_strcpy
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
movzx eax, byte [rax]
mov byte [rsp + 0x44], al
movsx eax, byte [rsp + 0x44]
mov rcx, qword [rsp + 0x50]
add rcx, 1
mov qword [rsp + 0x50], rcx
test eax, eax
je 0x14007ed49
movsx eax, byte [rsp + 0x44]
cmp eax, 0x2e
jne 0x14007ecf7
mov rax, qword [rsp + 0x38]
mov byte [rax], 0
mov rax, qword [rsp + 0x38]
add rax, 1
mov qword [rsp + 0x38], rax
lea rdx, [0x1401ae168]
lea rcx, [rsp + 0x4c]
call sub.MSVCR110.dll_strcmp
test eax, eax
jne 0x14007ec5b
lea rdx, [0x1401ae370]
lea rcx, [rsp + 0x4c]
call sub.MSVCR110.dll_strcpy
jmp 0x14007ec81
lea rdx, [0x1401ae374]
lea rcx, [rsp + 0x4c]
call sub.MSVCR110.dll_strcmp
test eax, eax
jne 0x14007ec81
lea rdx, [0x1401ae378]
lea rcx, [rsp + 0x4c]
call sub.MSVCR110.dll_strcpy
cmp dword [rsp + 0x58], 0
jne 0x14007ec99
lea rdx, [rsp + 0x4c]
lea rcx, [rsp + 0x28]
call sub.MSVCR110.dll_strcpy
jmp 0x14007ecc7
cmp dword [rsp + 0x58], 1
jne 0x14007ecb1
lea rdx, [rsp + 0x4c]
lea rcx, [rsp + 0x40]
call sub.MSVCR110.dll_strcpy
jmp 0x14007ecc7
cmp dword [rsp + 0x58], 2
jne 0x14007ecc7
lea rdx, [rsp + 0x4c]
lea rcx, [rsp + 0x48]
call sub.MSVCR110.dll_strcpy
mov eax, dword [rsp + 0x58]
add eax, 1
mov dword [rsp + 0x58], eax
lea rdx, [0x1401ae37c]
lea rcx, [rsp + 0x4c]
call sub.MSVCR110.dll_strcpy
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x60], 0
jmp 0x14007ed44
movsx eax, byte [rsp + 0x44]
mov ecx, eax
call sub.MSVCR110.dll_isdigit
test eax, eax
je 0x14007ed42
mov eax, dword [rsp + 0x5c]
add eax, 1
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x60]
add eax, 1
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 3
jle 0x14007ed26
jmp 0x14007ed49
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x44]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
add rax, 1
mov qword [rsp + 0x38], rax
jmp 0x14007ed44
jmp 0x14007ed49
jmp 0x14007ebe8
cmp dword [rsp + 0x58], 3
jne 0x14007ed75
mov rax, qword [rsp + 0x38]
mov byte [rax], 0
mov rax, qword [rsp + 0x38]
add rax, 1
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x4c]
lea rcx, [rsp + 0x2c]
call sub.MSVCR110.dll_strcpy
cmp dword [rsp + 0x58], 3
jne 0x14007ee6a
cmp dword [rsp + 0x5c], 0
jl 0x14007ee6a
cmp dword [rsp + 0x5c], 0xc
jg 0x14007ee6a
cmp dword [rsp + 0x24], 0
jne 0x14007edfb
lea rdx, [0x1401ae380]
lea rcx, [rsp + 0x28]
call sub.MSVCR110.dll_strcmp
test eax, eax
jne 0x14007edfb
lea rdx, [0x1401ae384]
lea rcx, [rsp + 0x40]
call sub.MSVCR110.dll_strcmp
test eax, eax
jne 0x14007edfb
lea rdx, [0x1401ae388]
lea rcx, [rsp + 0x48]
call sub.MSVCR110.dll_strcmp
test eax, eax
jne 0x14007edfb
lea rdx, [0x1401ae38c]
lea rcx, [rsp + 0x2c]
call sub.MSVCR110.dll_strcmp
test eax, eax
jne 0x14007edfb
mov dword [rsp + 0x20], 1
jmp 0x14007ee68
cmp dword [rsp + 0x24], 0xffffffff
jne 0x14007ee60
lea rdx, [0x1401ae390]
lea rcx, [rsp + 0x28]
call sub.MSVCR110.dll_strcmp
test eax, eax
jne 0x14007ee60
lea rdx, [0x1401ae394]
lea rcx, [rsp + 0x40]
call sub.MSVCR110.dll_strcmp
test eax, eax
jne 0x14007ee60
lea rdx, [0x1401ae398]
lea rcx, [rsp + 0x48]
call sub.MSVCR110.dll_strcmp
test eax, eax
jne 0x14007ee60
lea rdx, [0x1401ae39c]
lea rcx, [rsp + 0x2c]
call sub.MSVCR110.dll_strcmp
test eax, eax
jne 0x14007ee60
mov dword [rsp + 0x20], 1
jmp 0x14007ee68
mov dword [rsp + 0x20], 0
jmp 0x14007ee72
mov dword [rsp + 0x20], 0
jmp 0x14007ee7c
mov dword [rsp + 0x20], 0
jmp 0x14007ee86
mov dword [rsp + 0x20], 1
mov r8d, 4
lea rdx, [rsp + 0x24]
mov rcx, qword [rsp + 0x88]
call sub.MSVCR110.dll_memcpy
mov eax, dword [rsp + 0x20]
add rsp, 0x78
ret