Function at 0x180197740
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [0x1802cd010]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov byte [rsp + 0x60], r9b
movzx r12d, r8b
mov qword [rsp + 0x68], rdx
mov r14, rcx
mov rax, qword [rbp + 0x2d0]
mov qword [rbp - 0x78], rax
mov rax, qword [rbp + 0x2d8]
mov qword [rsp + 0x70], rax
mov rsi, qword [rbp + 0x2f0]
mov qword [rsp + 0x78], rsi
mov rdi, qword [rbp + 0x2f8]
mov qword [rbp - 0x70], rdi
mov rbx, qword [rbp + 0x300]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x110], xmm0
mov qword [rbp + 0x120], rax
lea r8, str.clientHello_buildMessage
mov rdx, rbx
lea rcx, [rbp + 0x110]
call fcn.180029f30
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
movups xmmword [rbp + 0x78], xmm0
movups xmmword [rbp + 0x88], xmm0
lea rcx, [rbp + 0x68]
call fcn.18001b1b0
nop
movzx edx, byte [r14 + 0x48]
lea rcx, [rbp + 0x68]
call fcn.18001baf0
movzx edx, byte [r14 + 0x4c]
lea rcx, [rbp + 0x68]
call fcn.18001baf0
lea rdx, [r14 + 0x50]
lea rcx, [rbp + 0x68]
call fcn.18001b7c0
cmp byte [rbx + 0x16a], 0
je 0x1801978a5
mov r8d, dword [r14 + 0x48]
lea rdx, str.majorVersion
mov rcx, rbx
call fcn.18002a810
mov r8d, dword [r14 + 0x4c]
lea rdx, str.minorVersion
mov rcx, rbx
call fcn.18002a810
lea r8, [r14 + 0x50]
lea rdx, str.clientRandom
mov rcx, rbx
call fcn.18002a680
lea rcx, [r14 + 0x50]
call fcn.18001fd80
mov r8d, eax
lea rdx, str.szClientRandom
mov rcx, rbx
call fcn.18002a810
lea rdi, [r14 + 0x80]
mov rcx, rdi
call fcn.18001fd80
mov r8d, eax
lea rdx, str.sessionIdSize
mov rcx, rbx
call fcn.18002a810
jmp 0x1801978ac
lea rdi, [r14 + 0x80]
cmp byte [rbx + 0x16b], 0
je 0x1801978c8
movzx r8d, r12b
lea rdx, str.bIsAfterHelloRetryRequest
mov rcx, rbx
call fcn.18002a560
cmp dword [r14 + 0x48], 3
jne 0x180197909
mov eax, dword [r14 + 0x4c]
sub eax, 3
cmp eax, 1
ja 0x180197909
lea rcx, [rbx + 0x98]
lea rdx, str.MiddleBoxCompatibilityMode
call fcn.18000da40
test al, al
je 0x180197909
mov rcx, rdi
call fcn.18001fd80
test eax, eax
jne 0x180197909
mov rdx, rdi
lea ecx, [rax + 0x20]
call fcn.18005a6b0
mov rcx, rdi
call fcn.18001fd80
mov edx, eax
lea rcx, [rbp + 0x68]
call fcn.18001baf0
mov rcx, rdi
call fcn.18001fd80
test eax, eax
je 0x180197934
mov rdx, rdi
lea rcx, [rbp + 0x68]
call fcn.18001b7c0
xor r13d, r13d
mov dword [rsp + 0x64], r13d
call fcn.180058260
mov rcx, rax
mov qword [rbp - 0x68], rax
cmp byte [rbp + 0x2e8], r13b
je 0x180197a41
mov rsi, qword [rsi + 0x38]
test rsi, rsi
je 0x180197a41
mov rdx, qword [rsi + 0x18]
test rdx, rdx
je 0x180197a41
mov rax, qword [rdx + 0x48]
cmp rcx, rax
jge 0x18019797d
mov r15d, r13d
jmp 0x1801979b2
sub rcx, rax
mov eax, dword [rdx + 0x50]
cmp rcx, rax
jle 0x18019798d
mov r15d, r13d
jmp 0x1801979b2
mov ecx, dword [rsi + 0xc4]
call fcn.18003c370
mov r15d, eax
mov rcx, qword [rsi + 0x18]
add rcx, 0x160
call fcn.18001fd80
add r15d, 0xf
add r15d, eax
mov dword [rsp + 0x64], r15d
cmp byte [rbx + 0x16a], r13b
je 0x1801979d2
mov r8d, r15d
lea rdx, str.szPreSharedKeyExtension
mov rcx, rbx
call fcn.18002ad90
test r15d, r15d
je 0x180197a41
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x38]
movzx ecx, word [rax + 0xc0]
test cx, cx
je 0x180197a41
movzx eax, cx
shr ax, 8
mov byte [rbp + 0x60], al
mov byte [rbp + 0x61], cl
xor edx, edx
lea rcx, [rbp + 0x68]
call fcn.18001baf0
mov dl, 2
lea rcx, [rbp + 0x68]
call fcn.18001baf0
mov r8d, 2
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x68]
call fcn.18001b830
cmp byte [rbx + 0x16a], r13b
je 0x180197aca
mov rax, qword [rbx]
lea rdx, str.Using_same_cipher_suite_ID_for_TLS_1.3_session_resumption.
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x180197aa3
lea rcx, [r14 + 0xb0]
call fcn.18001fd80
mov edi, eax
mov edx, eax
shr edx, 8
lea rcx, [rbp + 0x68]
call fcn.18001baf0
movzx edx, dil
lea rcx, [rbp + 0x68]
call fcn.18001baf0
lea rdx, [r14 + 0xb0]
lea rcx, [rbp + 0x68]
call fcn.18001b7c0
cmp byte [rbx + 0x16a], r13b
je 0x180197aca
lea rcx, [r14 + 0xb0]
call fcn.18001fd80
shr eax, 1
mov r8d, eax
lea rdx, str.numCipherSuites
mov rcx, rbx
call fcn.18002a810
cmp byte [rbx + 0x16a], r13b
je 0x180197aca
lea rcx, [r14 + 0xe0]
call fcn.18001fd80
mov r8d, eax
lea rdx, str.numCompressionMethods
mov rcx, rbx
call fcn.18002a810
lea rcx, [r14 + 0xe0]
call fcn.18001fd80
mov edx, eax
lea rcx, [rbp + 0x68]
call fcn.18001baf0
lea rdx, [r14 + 0xe0]
lea rcx, [rbp + 0x68]
call fcn.18001b7c0
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
lea rcx, [rbp + 0x30]
call fcn.18001b1b0
nop
mov dil, 1
lea rcx, [rbx + 0x98]
lea rdx, str.NO_TLS_EXT_RND
call fcn.18000da10
movzx edi, dil
test al, al
cmovne edi, r13d
mov esi, r13d
test r12b, r12b
jne 0x180197b87
test dil, dil
je 0x180197b41
mov esi, 1
mov dword [rbp - 0x60], esi
jmp 0x180197b87
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 5
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 5
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 1
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea r8d, [rdx + 4]
lea rcx, [rbp + 0x30]
call fcn.18001bbc0
movzx r15d, byte [rbp + 0x2e0]
test r15b, r15b
je 0x180197bb4
test dil, dil
je 0x180197ba5
mov dword [rbp + rsi*4 - 0x60], 2
inc esi
jmp 0x180197bb4
mov r8, rbx
lea rdx, [rbp + 0x30]
mov rcx, r14
call fcn.180197580
test r12b, r12b
jne 0x180197c11
test r15b, r15b
je 0x180197c11
test dil, dil
je 0x180197bcf
mov dword [rbp + rsi*4 - 0x60], 3
inc esi
jmp 0x180197c11
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, reloc.WS2_32.dll_inet_addr
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 2
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 1
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
cmp dword [r14 + 0x48], 3
jne 0x180197c48
mov eax, dword [r14 + 0x4c]
sub eax, 3
cmp eax, 1
ja 0x180197c48
test dil, dil
je 0x180197c35
mov dword [rbp + rsi*4 - 0x60], 4
inc esi
jmp 0x180197c48
mov r9, rbx
lea r8, [rbp + 0x30]
movzx edx, r12b
mov rcx, r14
call fcn.180197400
test r12b, r12b
jne 0x180197c8a
test dil, dil
je 0x180197c5e
mov dword [rbp + rsi*4 - 0x60], 5
inc esi
jmp 0x180197c8a
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, reloc.WS2_32.dll_socket
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
movzx r15d, byte [rbp + 0x2e8]
test r15b, r15b
je 0x180197e55
lea rdx, str.SendZeroLenTicket
lea rcx, [rbx + 0x98]
call fcn.18000da10
test al, al
je 0x180197d1b
cmp dword [r14 + 0x48], 3
jne 0x180197d1b
mov eax, dword [r14 + 0x4c]
sub eax, 3
cmp eax, 1
ja 0x180197d1b
test dil, dil
je 0x180197cd6
mov dword [rbp + rsi*4 - 0x60], 6
inc esi
jmp 0x180197d1b
cmp byte [rbx + 0x16a], 0
je 0x180197cef
mov rax, qword [rbx]
lea rdx, str.Adding_zero_length_session_ticket...
mov rcx, rbx
call qword [rax + 0x30]
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 0x23
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
lea rdx, str.SendPostHandshakeAuth
lea rcx, [rbx + 0x98]
call fcn.18000da10
test al, al
je 0x180197e36
cmp dword [r14 + 0x48], 3
jne 0x180197e36
mov eax, dword [r14 + 0x4c]
sub eax, 3
cmp eax, 1
ja 0x180197e36
test dil, dil
je 0x180197d65
mov dword [rbp + rsi*4 - 0x60], send
inc esi
jmp 0x180197e3f
cmp byte [rbx + 0x16a], 0
je 0x180197d7e
mov rax, qword [rbx]
lea rdx, str.Adding_post_handshake_auth_extension...
mov rcx, rbx
call qword [rax + 0x30]
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 0x31
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x70]
mov r8, qword [rsp + 0x68]
movzx edx, r12b
mov rcx, r14
call fcn.180197120
mov r9, rbx
lea r8, [rbp + 0x30]
movzx edx, r12b
mov rcx, r14
call fcn.180197690
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x78]
movzx r8d, byte [rsp + 0x60]
movzx edx, r12b
mov rcx, r14
call fcn.180197220
mov r9, rbx
lea r8, [rbp + 0x30]
mov rdx, qword [rsp + 0x70]
mov rcx, r14
call fcn.180197300
test r15b, r15b
je 0x180198075
test dil, dil
je 0x180197e70
mov dword [rbp + rsi*4 - 0x60], reloc.WS2_32.dll_inet_addr
inc esi
jmp 0x18019807e
test dil, dil
je 0x180197daa
mov dword [rbp + rsi*4 - 0x60], 7
inc esi
mov dword [rbp + rsi*4 - 0x60], 8
inc esi
jmp 0x180197e5a
test dil, dil
je 0x180197de1
mov dword [rbp + rsi*4 - 0x60], 9
inc esi
mov dword [rbp + rsi*4 - 0x60], 0xa
inc esi
jmp 0x180197e19
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 0x2d
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 3
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 2
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 1
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 0x1c
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 2
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 0x40
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 1
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov r9, rbx
lea r8, [rbp + 0x30]
mov rdx, qword [rsp + 0x68]
mov rcx, r14
call fcn.180197010
test dil, dil
je 0x1801983d7
mov qword [rbp - 0x80], shutdown
cmp dword [0x1802e42c8], 0
jne 0x180197f38
call sub.KERNEL32.dll_GetTickCount
mov dword [0x1802e42c8], eax
call fcn.1800582f0
mov edi, eax
imul edi, dword [0x1802e42c8]
call fcn.180058300
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov eax, edx
mov dword [0x1802e42c8], edx
test edx, edx
jne 0x180197f6a
call sub.KERNEL32.dll_GetTickCount
mov dword [0x1802e42c8], eax
lea r8d, [rsi - 1]
xor edx, edx
mov ecx, eax
call fcn.180058680
movsxd r15, eax
cmp dword [0x1802e42c8], 0
jne 0x180197f8e
call sub.KERNEL32.dll_GetTickCount
mov dword [0x1802e42c8], eax
call fcn.1800582f0
mov edi, eax
imul edi, dword [0x1802e42c8]
call fcn.180058300
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov eax, edx
mov dword [0x1802e42c8], edx
test edx, edx
jne 0x180197fc0
call sub.KERNEL32.dll_GetTickCount
mov dword [0x1802e42c8], eax
lea r8d, [rsi - 1]
xor edx, edx
mov ecx, eax
call fcn.180058680
movsxd rcx, eax
cmp r15d, ecx
je 0x180198004
test eax, eax
js 0x180198004
test r15d, r15d
js 0x180198004
cmp r15d, esi
jge 0x180198004
cmp ecx, esi
jge 0x180198004
lea rdx, [rbp - 0x60]
lea rdx, [rdx + r15*4]
mov r8d, dword [rdx]
mov rax, rcx
lea rcx, [rbp - 0x60]
lea rcx, [rcx + rax*4]
mov eax, dword [rcx]
mov dword [rdx], eax
mov dword [rcx], r8d
sub qword [rbp - 0x80], 1
jne 0x180197f24
test rsi, rsi
mov r13d, 0
je 0x1801983d7
nop
mov eax, dword [rbp + r13*4 - 0x60]
cmp eax, 1
jne 0x180198097
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 5
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 5
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 1
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea r8d, [rdx + 4]
lea rcx, [rbp + 0x30]
call fcn.18001bbc0
jmp 0x1801983cb
test dil, dil
je 0x180197ebd
mov dword [rbp + rsi*4 - 0x60], reloc.WS2_32.dll_inet_ntoa
inc esi
mov dword [rbp + rsi*4 - 0x60], send
inc esi
jmp 0x180197f1c
cmp eax, 2
jne 0x1801980b0
mov r8, rbx
lea rdx, [rbp + 0x30]
mov rcx, r14
call fcn.180197580
jmp 0x1801983cb
cmp eax, 3
jne 0x1801980fc
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, reloc.WS2_32.dll_inet_addr
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 2
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 1
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
jmp 0x1801983cb
cmp eax, 4
jne 0x180198119
mov r9, rbx
lea r8, [rbp + 0x30]
movzx edx, r12b
mov rcx, r14
call fcn.180197400
jmp 0x1801983cb
cmp eax, 5
jne 0x18019814f
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, reloc.WS2_32.dll_socket
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
jmp 0x1801983cb
cmp eax, 6
jne 0x18019819e
cmp byte [rbx + 0x16a], 0
je 0x18019816d
mov rax, qword [rbx]
lea rdx, str.Adding_zero_length_session_ticket...
mov rcx, rbx
call qword [rax + 0x30]
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 0x23
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
jmp 0x1801983cb
cmp eax, 0xe
jne 0x1801981ed
cmp byte [rbx + 0x16a], 0
je 0x1801981bc
mov rax, qword [rbx]
lea rdx, str.Adding_post_handshake_auth_extension...
mov rcx, rbx
call qword [rax + 0x30]
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 0x31
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
jmp 0x1801983cb
cmp eax, 7
jne 0x18019821b
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x70]
mov r8, qword [rsp + 0x68]
movzx edx, r12b
mov rcx, r14
call fcn.180197120
jmp 0x1801983cb
cmp eax, 8
jne 0x1801982c9
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 0x2b
lea rcx, [rbp + 0x30]
call fcn.18001baf0
test r12b, r12b
je 0x180198246
mov dil, 4
xor dl, dl
jmp 0x18019828d
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 9
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 8
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 3
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 4
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 3
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dil, 1
mov dl, 3
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 3
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 2
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 3
lea rcx, [rbp + 0x30]
call fcn.18001baf0
movzx edx, dil
lea rcx, [rbp + 0x30]
call fcn.18001baf0
jmp 0x1801983cb
cmp eax, 9
jne 0x1801982f7
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x78]
movzx r8d, byte [rsp + 0x60]
movzx edx, r12b
mov rcx, r14
call fcn.180197220
jmp 0x1801983cb
cmp eax, 0xa
jne 0x180198315
mov r9, rbx
lea r8, [rbp + 0x30]
mov rdx, qword [rsp + 0x70]
mov rcx, r14
call fcn.180197300
jmp 0x1801983cb
cmp eax, 0xb
jne 0x180198369
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 0x2d
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 3
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 2
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 1
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
jmp 0x1801983cb
cmp eax, 0xc
jne 0x1801983b2
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 0x1c
lea rcx, [rbp + 0x30]
call fcn.18001baf0
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 2
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 0x40
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 1
lea rcx, [rbp + 0x30]
call fcn.18001baf0
jmp 0x1801983cb
cmp eax, 0xd
jne 0x1801983cb
mov r9, rbx
lea r8, [rbp + 0x30]
mov rdx, qword [rsp + 0x68]
mov rcx, r14
call fcn.180197010
inc r13
cmp r13, rsi
jl 0x180198020
lea rcx, [rbp + 0x30]
call fcn.18001fd80
mov esi, eax
lea rcx, [rbp + 0x68]
call fcn.18001fd80
mov r14d, dword [rsp + 0x64]
add esi, 2
add esi, r14d
add esi, eax
mov edi, 0x1f8
cmp esi, edi
jae 0x18019849b
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
movups xmmword [rbp + 0xd8], xmm0
movups xmmword [rbp + 0xe8], xmm0
lea rcx, [rbp + 0xc8]
call fcn.18001b1b0
nop
xor edx, edx
lea rcx, [rbp + 0xc8]
call fcn.18001baf0
mov dl, reloc.WS2_32.dll_setsockopt
lea rcx, [rbp + 0xc8]
call fcn.18001baf0
sub edi, esi
mov edx, edi
shr edx, 8
lea rcx, [rbp + 0xc8]
call fcn.18001baf0
movzx edx, dil
lea rcx, [rbp + 0xc8]
call fcn.18001baf0
test edi, edi
je 0x18019847e
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0xc8]
call fcn.18001bbc0
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0x30]
call fcn.18001b7c0
nop
lea rcx, [rbp + 0xc8]
call fcn.18001b360
xorps xmm0, xmm0
movups xmmword [rbp + 0x128], xmm0
movups xmmword [rbp + 0x138], xmm0
movups xmmword [rbp + 0x148], xmm0
lea rcx, [rbp + 0x128]
call fcn.18001b1b0
nop
test r14d, r14d
je 0x18019857e
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
movups xmmword [rbp + 0xa8], xmm0
movups xmmword [rbp + 0xb8], xmm0
lea rcx, [rbp + 0x98]
call fcn.18001b1b0
nop
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x128]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x98]
mov r13, qword [rsp + 0x68]
mov r8, r13
mov rdx, qword [rbp - 0x68]
mov r15, qword [rsp + 0x78]
mov rcx, qword [r15 + 0x38]
call fcn.180198920
xor edx, edx
lea rcx, [rbp + 0x30]
call fcn.18001baf0
mov dl, 0x29
lea rcx, [rbp + 0x30]
call fcn.18001baf0
lea rcx, [rbp + 0x98]
call fcn.18001fd80
mov edi, eax
mov edx, eax
shr edx, 8
lea rcx, [rbp + 0x30]
call fcn.18001baf0
movzx edx, dil
lea rcx, [rbp + 0x30]
call fcn.18001baf0
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0x30]
call fcn.18001b7c0
nop
lea rcx, [rbp + 0x98]
call fcn.18001b360
jmp 0x180198588
mov r13, qword [rsp + 0x68]
mov r15, qword [rsp + 0x78]
lea rcx, [rbp + 0x30]
call fcn.18001fd80
mov edi, eax
mov edx, eax
shr edx, 8
lea rcx, [rbp + 0x68]
call fcn.18001baf0
movzx edx, dil
lea rcx, [rbp + 0x68]
call fcn.18001baf0
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x68]
call fcn.18001b7c0
mov dl, 1
mov rsi, qword [rbp - 0x70]
mov rcx, rsi
call fcn.18001baf0
lea rcx, [rbp + 0x68]
call fcn.18001fd80
mov edi, eax
xor edx, edx
mov rcx, rsi
call fcn.18001baf0
mov edx, edi
shr edx, 8
mov rcx, rsi
call fcn.18001baf0
movzx edx, dil
mov rcx, rsi
call fcn.18001baf0
lea rdx, [rbp + 0x68]
mov rcx, rsi
call fcn.18001b7c0
test r14d, r14d
je 0x1801988c6
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], rax
lea r8, str.computePskBinder
mov rdx, rbx
lea rcx, [rbp + 0xc8]
call fcn.180029f30
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
movups xmmword [rbp + 0xa8], xmm0
movups xmmword [rbp + 0xb8], xmm0
lea rcx, [rbp + 0x98]
call fcn.18001b1b0
nop
lea rcx, [rbp + 0x98]
call fcn.18001d560
lea rdx, [r13 + 0x4a8]
lea rcx, [rbp + 0x98]
call fcn.18001b7c0
cmp qword [r15 + 0x38], 0
je 0x18019889b
mov rcx, rsi
call fcn.18001fd80
cmp eax, 3
jbe 0x18019889b
mov rax, qword [r15 + 0x38]
mov r15d, dword [rax + 0xc4]
mov ecx, r15d
call fcn.18003c370
mov r12d, eax
mov rcx, rsi
call fcn.18001fd80
mov edi, 0xfffffffd
sub edi, r12d
add edi, eax
mov rcx, rsi
call fcn.18001f920
mov rdx, rax
mov r8d, edi
lea rcx, [rbp + 0x98]
call fcn.18001b830
lea rcx, [rbp + 0x128]
call fcn.18001fd80
mov r14d, eax
lea rcx, [rbp + 0x128]
call fcn.18001f920
mov rsi, rax
mov ecx, r15d
call fcn.18003c370
mov edi, eax
xor edx, edx
lea r8d, [rdx + 0x40]
lea rcx, [rbp + 0x160]
call fcn.180018e30
mov qword [rsp + 0x30], rbx
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9d, edi
lea r8, [rbp + 0x160]
mov edx, r14d
mov rcx, rsi
call fcn.1800e2a60
lea rcx, [r13 + 0xbb]
mov r8d, gethostbyname
lea rdx, [rbp + 0x1a0]
call fcn.180018e10
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xf8], xmm0
mov qword [rbp + 0x108], rax
lea r8, str.DeriveKeyMsg
mov rdx, rbx
lea rcx, [rbp + 0xf8]
call fcn.180029f30
nop
lea r9, [rbp + 0x160]
mov r8d, r15d
xor edx, edx
xor ecx, ecx
call fcn.18003b370
mov ecx, r15d
call fcn.18003c370
mov edx, r12d
test r12d, r12d
cmovle edx, eax
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x48], eax
lea rcx, [rbp + 0x160]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], 0xa
lea rcx, str.res_binder
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 6
lea rcx, str.tls13
mov qword [rsp + 0x20], rcx
mov r9d, eax
lea r8, [rbp + 0x1a0]
lea rcx, [rbp + 0x1e0]
call fcn.1801b2770
nop
lea rcx, [rbp + 0xf8]
call fcn.18002a0e0
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x220]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x98]
mov r8d, r15d
lea rdx, [rbp + 0x1e0]
mov rcx, r13
call fcn.1801b4bc0
mov rcx, qword [rbp - 0x70]
call fcn.18001fd80
sub eax, r12d
mov edx, eax
mov rcx, qword [rbp - 0x70]
call fcn.18001f930
test rax, rax
je 0x1801988ac
cmp byte [rax], 0x96
jne 0x180198892
cmp byte [rax + 1], 0x55
jne 0x180198892
cmp byte [rax + 2], 9
jne 0x180198892
cmp byte [rax + 3], 0xad
jne 0x180198892
cmp byte [rax + 4], 0xc8
jne 0x180198892
cmp byte [rax + 5], 0xf2
jne 0x180198892
cmp byte [rax + 6], 0xd9
jne 0x180198892
cmp byte [rax + 7], 0xc7
jne 0x180198892
mov r8d, r12d
lea rdx, [rbp + 0x220]
mov rcx, rax
call fcn.180018e10
jmp 0x1801988ac
lea rdx, str.This_is_not_the_psk_binder_memory_area..
jmp 0x1801988a2
lea rdx, str.We_have_a_pre_shared_key_extension__but_no_session_info...
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
nop
lea rcx, [rbp + 0x98]
call fcn.18001b360
nop
lea rcx, [rbp + 0xc8]
call fcn.18002a0e0
nop
lea rcx, [rbp + 0x128]
call fcn.18001b360
nop
lea rcx, [rbp + 0x30]
call fcn.18001b360
nop
lea rcx, [rbp + 0x68]
call fcn.18001b360
nop
lea rcx, [rbp + 0x110]
call fcn.18002a0e0
mov al, 1
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.180009610
mov rbx, qword [rsp + 0x3c8]
add rsp, 0x370
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret