Function at 0x1400a1c70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r15
sub rsp, 0x40
mov rbx, qword [rsp + 0x80]
lea rax, str.check_cookie:_in_len_u
mov rsi, r9
mov dword [rsp + 0x28], ebx
mov r15, r8
mov qword [rsp + 0x20], rax
mov r12, rdx
lea r8, str.C:FantasyFGCLauncherCPPlibmbedtlslibrary_ssl_msg.c
mov r9d, 0xcd5
mov edx, 4
mov rdi, rcx
call fcn.1400b3650
lea rax, str.cli_id
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r12
lea r8, str.C:FantasyFGCLauncherCPPlibmbedtlslibrary_ssl_msg.c
mov r9d, 0xcd6
mov qword [rsp + 0x20], rax
mov edx, 4
mov rcx, rdi
call fcn.1400b2dd0
cmp rbx, 0x3d
jae 0x1400a1d24
lea rax, str.check_cookie:_record_too_short
mov r9d, 0xcd8
lea r8, str.C:FantasyFGCLauncherCPPlibmbedtlslibrary_ssl_msg.c
mov qword [rsp + 0x20], rax
mov edx, 4
mov rcx, rdi
call fcn.1400b3650
mov eax, 0xffff8d00
jmp 0x1400a1fe3
movzx eax, byte [rsi + 0x14]
mov qword [rsp + 0x60], rbp
movzx ebp, byte [rsi + 0x13]
shl rbp, 8
or rbp, rax
mov qword [rsp + 0x68], r14
movzx r14d, word [rsi + 3]
movzx eax, byte [rsi + 0x15]
shl rbp, 8
or rbp, rax
ror r14w, 8
cmp byte [rsi], 0x16
jne 0x1400a1f75
test r14w, r14w
jne 0x1400a1f75
test rbp, rbp
jne 0x1400a1f75
movzx r14d, byte [rsi + 0x3b]
lea r8, str.C:FantasyFGCLauncherCPPlibmbedtlslibrary_ssl_msg.c
lea edx, [rbp + 4]
mov rcx, rdi
lea rax, [r14 + 0x3d]
cmp rax, rbx
jbe 0x1400a1db1
lea eax, [rbx - 0x3d]
mov r9d, 0xcec
mov dword [rsp + 0x30], eax
lea rax, str.check_cookie:_sid_len_u____u
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
call fcn.1400b3650
jmp 0x1400a1fd4
lea rax, [rsi + 0x3c]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rax
mov r9d, 0xcf0
lea rax, str.sid_received_from_network
mov qword [rsp + 0x20], rax
call fcn.1400b2dd0
movzx ebp, byte [r14 + rsi + 0x3c]
lea rax, [r14 + 0x3d]
add rax, rbp
lea r8, str.C:FantasyFGCLauncherCPPlibmbedtlslibrary_ssl_msg.c
mov edx, 4
mov rcx, rdi
cmp rax, rbx
jbe 0x1400a1e21
sub ebx, r14d
lea rax, str.check_cookie:_cookie_len_u____u
sub ebx, 0x3d
mov r9d, 0xcf6
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call fcn.1400b3650
jmp 0x1400a1fd4
mov qword [rsp + 0x30], rbp
lea rax, str.cookie_received_from_network
lea rbx, [rsi + 0x3d]
mov r9d, 0xcfb
add rbx, r14
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.1400b2dd0
mov rax, qword [rdi]
mov r9, r12
mov r8, rbp
mov qword [rsp + 0x20], r15
mov rdx, rbx
mov rcx, qword [rax + 0x98]
call qword [rax + 0x90]
test eax, eax
jne 0x1400a1e98
lea rax, str.check_cookie:_valid
mov r9d, 0xcff
lea r8, str.C:FantasyFGCLauncherCPPlibmbedtlslibrary_ssl_msg.c
mov qword [rsp + 0x20], rax
mov edx, 4
mov rcx, rdi
call fcn.1400b3650
xor eax, eax
jmp 0x1400a1fd9
mov rcx, qword [rsp + 0x90]
cmp rcx, 0x1c
jae 0x1400a1eb0
mov eax, 0xffff9600
jmp 0x1400a1fd9
mov rbx, qword [rsp + 0x88]
lea rdx, [rsp + 0x80]
movups xmm0, xmmword [rsi]
mov r9, r12
mov qword [rsp + 0x20], r15
movups xmmword [rbx], xmm0
lea r8, [rbx + rcx]
movsd xmm1, qword [rsi + 0x10]
movsd qword [rbx + 0x10], xmm1
movzx eax, byte [rsi + 0x18]
mov byte [rbx + 0x18], al
lea rax, [rbx + 0x1c]
mov qword [rsp + 0x80], rax
mov byte [rbx + 0xd], 3
mov word [rbx + 0x19], 0xfffe
mov rax, qword [rdi]
mov rcx, qword [rax + 0x98]
call qword [rax + 0x88]
test eax, eax
je 0x1400a1f17
mov eax, 0xffff9400
jmp 0x1400a1fd9
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0x80]
sub rax, rbx
mov qword [rcx], rax
sub al, 0x1c
mov byte [rbx + 0x1b], al
mov rax, qword [rcx]
sub rax, 0x19
shr rax, 0x10
mov byte [rbx + 0x16], al
mov byte [rbx + 0xe], al
mov rax, qword [rcx]
sub rax, 0x19
shr rax, 8
mov byte [rbx + 0x17], al
mov byte [rbx + 0xf], al
movzx eax, byte [rcx]
sub al, 0x19
mov byte [rbx + 0x18], al
mov byte [rbx + 0x10], al
movzx eax, word [rcx]
sub ax, 0xd
ror ax, 8
mov word [rbx + 0xb], ax
mov eax, 0xffff9580
jmp 0x1400a1fd9
lea rax, str.check_cookie:_not_a_good_ClientHello
mov r9d, 0xce1
lea r8, str.C:FantasyFGCLauncherCPPlibmbedtlslibrary_ssl_msg.c
mov qword [rsp + 0x20], rax
mov edx, 4
mov rcx, rdi
call fcn.1400b3650
movzx ecx, byte [rsi]
lea r8, str.C:FantasyFGCLauncherCPPlibmbedtlslibrary_ssl_msg.c
mov dword [rsp + 0x38], ebp
mov r9d, 0xce4
movzx eax, r14w
mov edx, 4
mov dword [rsp + 0x30], eax
lea rax, str.____type_u_epoch_u_fragment_offset_u
mov dword [rsp + 0x28], ecx
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.1400b3650
mov eax, 0xffff8d00
mov rbp, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r12
pop rdi
ret