Function at 0x140042000
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x570]
sub rsp, 0x670
mov rax, qword [0x1401b5030]
xor rax, rsp
mov qword [rbp + 0x560], rax
cmp byte [rcx + 0x73], 0
mov rdi, rcx
je 0x1400424f8
lea r14, [rcx + 0x620]
mov r8, rdx
mov rcx, r14
mov edx, 0x124
call fcn.14012209c
mov rdx, r14
mov rcx, rdi
call fcn.140042520
mov dword [rdi + 0xb84], eax
cmp eax, 0xffffffff
je 0x1400424f1
xor r15d, r15d
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x8000000
mov rcx, r14
mov dword [rsp + 0x20], 3
lea r8d, [r15 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rdi + 0x618], rax
cmp rax, 0xffffffffffffffff
jne 0x1400420d5
mov r9, r14
lea r8, [0x1402bcd50]
lea rdx, str.__s____s__
lea rcx, [rbp + 0x260]
call fcn.140047e20
lea rdx, [rbp + 0x260]
mov rcx, rdi
call fcn.140040bf0
jmp 0x1400424f1
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp rbx, 0xffffffffffffffff
je 0x1400424b8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [rbp - 0x70]
lea r8, [rbp + 0x200]
mov ebx, dword [rbp - 0x74]
mov r9d, WSAAsyncSelect
shl rbx, 0x20
add rbx, rax
mov rdx, rbx
mov qword [rsp + 0x40], rbx
call fcn.14003f050
lea rax, [rbp + 0x200]
mov r9, r14
lea r8, [0x1402bded0]
mov qword [rsp + 0x20], rax
lea rdx, str.__s____s_____s_____
lea rcx, [rbp + 0x260]
call fcn.140047e20
lea rdx, [rbp + 0x260]
mov rcx, rdi
call fcn.140040bf0
mov rsi, qword [rdi + 0x40]
mov edx, 0x40a
xor r9d, r9d
mov qword [rdi + 0x600], rbx
mov rcx, rsi
mov qword [rsp + 0x20], r15
lea r8d, [rdx - 8]
call qword [sym.imp.USER32.dll_SendDlgItemMessageA]
movzx eax, word [rdi + 0xb58]
mov edx, 0x40a
shl rax, 0x10
xor r9d, r9d
mov rcx, rsi
mov qword [rsp + 0x20], rax
lea r8d, [rdx - 9]
call qword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov rdx, qword [rdi + 0x40]
xor r8d, r8d
mov rcx, rdi
call fcn.140040a90
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rdi + 0x618]
lea r9, [rsp + 0x48]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x1400421f5
lea r8, [0x1402bd490]
jmp 0x1400424bf
mov rcx, qword [rdi + 0x618]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea rcx, [rbp + 0xd0]
mov r8d, 0x124
call fcn.14011fff0
mov rcx, qword [rdi + 0x40]
lea r8, [rbp + 0xd0]
mov r9d, 0x124
mov edx, 0x411
call qword [sym.imp.USER32.dll_GetDlgItemTextA]
mov rsi, 0xffffffffffffffff
lea rcx, [rbp + 0xd0]
mov rax, rsi
inc rax
cmp byte [rcx + rax], r15b
jne 0x140042243
test rax, rax
je 0x1400424f8
mov edx, 0x5c
mov rcx, r14
call fcn.14012bfe8
mov edx, 0x124
lea rcx, [rbp + 0xd0]
lea r8, [rax + 1]
call fcn.1401220fc
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx ecx, word [rsp + 0x68]
lea rdx, str._2.2d__2.2d__4.4d__2.2d:_2.2d
movzx eax, word [rsp + 0x6a]
movzx r10d, word [rsp + 0x60]
movzx r9d, word [rsp + 0x66]
movzx r8d, word [rsp + 0x62]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
lea rcx, [rbp + 0xb0]
mov dword [rsp + 0x20], r10d
call fcn.140047e80
lea r8, [0x140195b7c]
mov edx, 0x124
lea rcx, [rbp + 0xd0]
call fcn.1401220fc
lea r8, [rbp + 0xb0]
mov edx, 0x124
lea rcx, [rbp + 0xd0]
call fcn.1401220fc
mov rcx, qword [rdi + 0x758]
test rcx, rcx
je 0x14004230b
call fcn.14011b120
mov qword [rdi + 0x758], r15
mov eax, ebx
mov qword [rdi + 0x760], r15
shr eax, 0x10
mov ecx, ebx
and ecx, 0xff0000
mov dword [rsp + 0x50], 0x807
or ecx, eax
mov rdx, rsi
mov eax, ebx
shr ecx, 8
shl eax, 0x10
and ebx, 0xff00
or eax, ebx
shl eax, 8
or ecx, eax
lea rax, [rbp + 0xd0]
mov dword [rsp + 0x54], ecx
nop dword [rax]
inc rdx
cmp byte [rax + rdx], r15b
jne 0x140042350
mov rax, rdx
mov byte [rsp + 0x20], 1
shr rax, 0x18
mov r9b, 7
movzx ecx, al
mov r8d, InitCommonControls
mov rax, rdx
shl rax, 8
and eax, 0xff0000
or ecx, eax
mov rax, rdx
shl rdx, 0x18
shr rax, 8
and eax, 0xff00
or ecx, eax
or ecx, edx
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x58], ecx
mov rcx, qword [rdi + 0x38]
call fcn.140026140
lea rax, [rbp + 0xd0]
nop dword [rax]
inc rsi
cmp byte [rax + rsi], r15b
jne 0x1400423b0
mov rcx, qword [rdi + 0x38]
lea rdx, [rbp + 0xd0]
mov r8, rsi
mov r9b, 1
call fcn.140026600
mov rcx, qword [rdi + 0x38]
xor r9d, r9d
cmp dword [rdi + 0xb54], 1
mov byte [rdi + 0xb89], 1
je 0x140042428
mov edx, dword [rsp + 0x44]
mov r8d, edx
and r8d, 0xff0000
mov eax, edx
shr eax, 0x10
or r8d, eax
mov eax, edx
shl eax, 0x10
and edx, 0xff00
or eax, edx
shr r8d, 8
shl eax, 8
lea rdx, [rsp + 0x40]
or r8d, eax
mov dword [rsp + 0x40], r8d
lea r8d, [r9 + 4]
call fcn.140026600
jmp 0x14004243c
mov dword [rsp + 0x28], r15d
xor r8d, r8d
xor edx, edx
mov byte [rsp + 0x20], r15b
call fcn.1400262d0
mov rcx, qword [rdi + 0x40]
mov edx, 0x40e
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x40]
mov edx, 0x412
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x38]
lea r9, [rsp + 0x40]
mov r8d, 0x1005
mov dword [rsp + 0x20], 4
mov rax, qword [rcx + 0xd748]
mov rcx, qword [rcx + 0x748]
imul edx, dword [rax + 0x7f8], 0x3e8
mov dword [rsp + 0x40], edx
mov edx, 0xffff
call qword [sym.imp.WS2_32.dll_setsockopt]
mov al, 1
jmp 0x1400424fa
lea r8, [0x1402bcd50]
mov r9, r14
lea rdx, str.__s____s__
lea rcx, [rbp + 0x260]
call fcn.140047e20
lea rdx, [rbp + 0x260]
mov rcx, rdi
call fcn.140040bf0
mov rcx, qword [rdi + 0x618]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rdi + 0x751], 1
xor al, al
mov rcx, qword [rbp + 0x560]
xor rcx, rsp
call fcn.14011b0c0
mov rbx, qword [rsp + 0x6b0]
add rsp, 0x670
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret