Function at 0x1400422e0
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 [0x1401b7030]
xor rax, rsp
mov qword [rbp + 0x560], rax
cmp byte [rcx + 0x73], 0
mov rdi, rcx
je 0x1400427d8
lea r14, [rcx + 0x620]
mov r8, rdx
mov rcx, r14
mov edx, 0x124
call fcn.14012524c
mov rdx, r14
mov rcx, rdi
call fcn.140042800
mov dword [rdi + 0xb84], eax
cmp eax, 0xffffffff
je 0x1400427d1
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 0x1400423b5
mov r9, r14
lea r8, [0x1401bc230]
lea rdx, str.__s____s__
lea rcx, [rbp + 0x260]
call fcn.1400480c0
lea rdx, [rbp + 0x260]
mov rcx, rdi
call fcn.140040ed0
jmp 0x1400427d1
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 0x140042798
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.14003f340
lea rax, [rbp + 0x200]
mov r9, r14
lea r8, [0x1401bd4c0]
mov qword [rsp + 0x20], rax
lea rdx, str.__s____s_____s_____
lea rcx, [rbp + 0x260]
call fcn.1400480c0
lea rdx, [rbp + 0x260]
mov rcx, rdi
call fcn.140040ed0
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.140040d70
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 0x1400424d5
lea r8, [0x1401bc980]
jmp 0x14004279f
mov rcx, qword [rdi + 0x618]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
lea rcx, [rbp + 0xd0]
mov r8d, 0x124
call fcn.1401216a0
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 0x140042523
test rax, rax
je 0x1400427d8
mov edx, 0x5c
mov rcx, r14
call fcn.14012f358
mov edx, 0x124
lea rcx, [rbp + 0xd0]
lea r8, [rax + 1]
call fcn.1401252ac
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.140048120
lea r8, [0x1401997bc]
mov edx, 0x124
lea rcx, [rbp + 0xd0]
call fcn.1401252ac
lea r8, [rbp + 0xb0]
mov edx, 0x124
lea rcx, [rbp + 0xd0]
call fcn.1401252ac
mov rcx, qword [rdi + 0x758]
test rcx, rcx
je 0x1400425eb
call fcn.14011c3a0
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 0x140042630
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.140026620
lea rax, [rbp + 0xd0]
nop dword [rax]
inc rsi
cmp byte [rax + rsi], r15b
jne 0x140042690
mov rcx, qword [rdi + 0x38]
lea rdx, [rbp + 0xd0]
mov r8, rsi
mov r9b, 1
call fcn.140026ae0
mov rcx, qword [rdi + 0x38]
xor r9d, r9d
cmp dword [rdi + 0xb54], 1
mov byte [rdi + 0xb89], 1
je 0x140042708
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.140026ae0
jmp 0x14004271c
mov dword [rsp + 0x28], r15d
xor r8d, r8d
xor edx, edx
mov byte [rsp + 0x20], r15b
call fcn.1400267b0
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 0x1400427da
lea r8, [0x1401bc230]
mov r9, r14
lea rdx, str.__s____s__
lea rcx, [rbp + 0x260]
call fcn.1400480c0
lea rdx, [rbp + 0x260]
mov rcx, rdi
call fcn.140040ed0
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.14011c340
mov rbx, qword [rsp + 0x6b0]
add rsp, 0x670
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret