Function at 0x1400f3830
Capabilities:
Reference http user-agent string

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x1401f4040]
xor rax, rsp
mov qword [rbp + 0x138], rax
mov rax, r8
mov qword [rsp + 0x50], rax
mov r13, rdx
mov rsi, rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x58], rdx
mov qword [rbp + 0xf0], rax
mov rbx, qword [rcx + 0x20]
mov rdi, qword [rcx + 0x28]
cmp rbx, rdi
je 0x1400f38b2
nop dword [rax]
lea rcx, [rbx + 0x20]
call fcn.140006950
mov rcx, rbx
call fcn.140006950
add rbx, 0x40
cmp rbx, rdi
jne 0x1400f3890
mov rax, qword [rsi + 0x20]
mov qword [rsi + 0x28], rax
mov rax, qword [rsi]
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xf8], xmm0
movdqa xmm1, xmmword [0x1401d22b0]
movdqu xmmword [rbp + 0x108], xmm1
mov byte [rbp + 0xf8], 0
movups xmmword [rsp + 0x70], xmm0
xor ebx, ebx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
mov r8d, reloc.WS2_32.dll_shutdown
lea rdx, str.growtopia_game_session
lea rcx, [rsp + 0x70]
call fcn.140013b60
lea r15, [rsi + 8]
lea r9, [rsp + 0x70]
mov r8, r15
lea rdx, [rbp + 0xd0]
call fcn.1400f2720
mov r12, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
mov r8d, 0xa
lea rdx, str.XSRF_TOKEN
lea rcx, [rbp - 0x70]
call fcn.140013b60
lea r9, [rbp - 0x70]
mov r8, r15
lea rdx, [rbp + 0xb0]
call fcn.1400f2720
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rbx
mov r8d, 0xa
lea rdx, str.AWSALBCORS
lea rcx, [rbp - 0x50]
call fcn.140013b60
lea r9, [rbp - 0x50]
mov r8, r15
lea rdx, [rbp + 0x90]
call fcn.1400f2720
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rbx
mov r8d, 6
lea rdx, str.AWSALB
lea rcx, [rbp - 0x30]
call fcn.140013b60
lea r9, [rbp - 0x30]
mov r8, r15
lea rdx, [rbp + 0x70]
call fcn.1400f2720
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rbx
mov qword [rbp + 8], rbx
mov r8d, recv
lea rdx, str.AWSALBTGCORS
lea rcx, [rbp - 0x10]
call fcn.140013b60
lea r9, [rbp - 0x10]
mov r8, r15
lea rdx, [rbp + 0x50]
call fcn.1400f2720
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xor eax, eax
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
mov r8d, 8
lea rdx, str.AWSALBTG
lea rcx, [rbp + 0x10]
call fcn.140013b60
lea r9, [rbp + 0x10]
mov r8, r15
lea rdx, [rbp + 0x30]
call fcn.1400f2720
nop
lea rcx, str.Cookie:_AWSALBTG__AWSALBTGCORS__AWSALB__AWSALBCORS__XSRF_TOKEN__growtopia_game_session
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], WSAGetLastError
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
mov r9, rbx
mov r8, rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x118]
call fcn.1400f79d0
nop
lea rcx, [rbp + 0x30]
call fcn.140006950
nop
lea rcx, [rbp + 0x50]
call fcn.140006950
nop
lea rcx, [rbp + 0x70]
call fcn.140006950
nop
lea rcx, [rbp + 0x90]
call fcn.140006950
nop
lea rcx, [rbp + 0xb0]
call fcn.140006950
nop
lea rcx, [rbp + 0xd0]
call fcn.140006950
call qword [sym.imp.libcurl.dll_curl_easy_init]
mov rbx, rax
test rax, rax
je 0x1400f3dc4
lea rdx, str.Host:_login.growtopiagame.com
xor ecx, ecx
call qword [sym.imp.libcurl.dll_curl_slist_append]
lea rdx, str.Connection:_keep_alive
mov rcx, rax
call qword [sym.imp.libcurl.dll_curl_slist_append]
lea rdx, str.sec_ch_ua:__Not_A_Brand__v_8____Chromium__v_126____Microsoft_Edge__v_126____Microsoft_Edge_WebView2__v_126_
mov rcx, rax
call qword [sym.imp.libcurl.dll_curl_slist_append]
lea rdx, str.sec_ch_ua_mobile:__0
mov rcx, rax
call qword [sym.imp.libcurl.dll_curl_slist_append]
lea rdx, str.sec_ch_ua_platform:__Windows_
mov rcx, rax
call qword [sym.imp.libcurl.dll_curl_slist_append]
lea rdx, str.Upgrade_Insecure_Requests:_1
mov rcx, rax
call qword [sym.imp.libcurl.dll_curl_slist_append]
lea rdx, str.User_Agent:_Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_126.0.0.0_Safari_537.36_Edg_126.0.0.0
mov rcx, rax
call qword [sym.imp.libcurl.dll_curl_slist_append]
lea rdx, str.Accept:_text_html_application_xhtmlxml_application_xml_q0.9_image_avif_image_webp_image_apng___q0.8_application_signed_exchange_vb3_q0.7
mov rcx, rax
call qword [sym.imp.libcurl.dll_curl_slist_append]
lea rdx, str.Sec_Fetch_Site:_same_origin
mov rcx, rax
call qword [sym.imp.libcurl.dll_curl_slist_append]
lea rdx, str.Sec_Fetch_Mode:_navigate
mov rcx, rax
call qword [sym.imp.libcurl.dll_curl_slist_append]
lea rdx, str.Sec_Fetch_User:__1
mov rcx, rax
call qword [sym.imp.libcurl.dll_curl_slist_append]
lea rdx, str.Sec_Fetch_Dest:_document
mov rcx, rax
call qword [sym.imp.libcurl.dll_curl_slist_append]
lea rdx, str.Referer:_https:__login.growtopiagame.com_player_login_dashboard
mov rcx, rax
call qword [sym.imp.libcurl.dll_curl_slist_append]
lea rdx, str.Accept_Language:_tr_en_q0.9_en_GB_q0.8_en_US_q0.7
mov rcx, rax
call qword [sym.imp.libcurl.dll_curl_slist_append]
lea rdx, [rbp + 0x118]
cmp qword [rbp + 0x130], 0xf
cmova rdx, qword [rbp + 0x118]
mov rcx, rax
call qword [sym.imp.libcurl.dll_curl_slist_append]
mov rsi, rax
lea r8, str._path_to_cert.pem
mov edx, 0x2751
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov rdi, qword [rsp + 0x58]
cmp byte [rdi + 0x6c4], 0
je 0x1400f3c80
lea r8, [rdi + 0x660]
cmp qword [r8 + 0x18], 0xf
jbe 0x1400f3c0b
mov r8, qword [r8]
mov edx, 0x2714
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov r8d, dword [rdi + 0x6c0]
mov edx, 0x3b
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov edx, 0x65
mov r8d, 5
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea r8, [rdi + 0x680]
cmp qword [r8 + 0x18], 0xf
jbe 0x1400f3c53
mov r8, qword [r8]
mov edx, 0x27bf
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea r8, [rdi + 0x6a0]
cmp qword [r8 + 0x18], 0xf
jbe 0x1400f3c72
mov r8, qword [r8]
mov edx, 0x27c0
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
xor r8d, r8d
mov edx, 0x40
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
xor r8d, r8d
mov edx, 0x51
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov rdi, qword [rsp + 0x50]
mov r8, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400f3cb4
mov r8, qword [rdi]
mov edx, 0x2712
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea r8, [0x1400f1c70]
mov edx, 0x4e2b
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea r8, [rbp + 0xf8]
mov edx, 0x2711
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov r8, rsi
mov edx, 0x2727
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea r8, [0x1400f3540]
mov edx, 0x4e6f
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov r8, qword [rsp + 0x68]
mov edx, 0x272d
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_perform]
test eax, eax
je 0x1400f3da1
mov ecx, eax
call qword [sym.imp.libcurl.dll_curl_easy_strerror]
mov rbx, rax
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.curl_easy_perform___failed:__s_n
mov rcx, rax
call fcn.1400eff90
xorps xmm0, xmm0
movups xmmword [r13], xmm0
xor eax, eax
mov qword [r13 + 0x10], rax
mov qword [r13 + 0x18], rax
mov r8d, 4
lea rdx, [0x140156544]
mov rcx, r13
call fcn.140013b60
nop
lea rcx, [rbp + 0x118]
call fcn.140006950
nop
lea rcx, [rbp + 0xf8]
call fcn.140006950
nop
mov rcx, rdi
jmp 0x1400f3e0b
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_slist_free_all]
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_easy_cleanup]
lea rdx, [rbp + 0xf8]
mov rcx, r13
call fcn.1400f32e0
jmp 0x1400f3d82
xorps xmm0, xmm0
movups xmmword [r13], xmm0
xor eax, eax
mov qword [r13 + 0x10], rax
mov qword [r13 + 0x18], rax
mov r8d, 4
lea rdx, [0x140156544]
mov rcx, r13
call fcn.140013b60
nop
lea rcx, [rbp + 0x118]
call fcn.140006950
nop
lea rcx, [rbp + 0xf8]
call fcn.140006950
nop
mov rcx, qword [rsp + 0x50]
call fcn.140006950
mov rax, r13
mov rcx, qword [rbp + 0x138]
xor rcx, rsp
call fcn.14012ada0
mov rbx, qword [rsp + 0x298]
add rsp, 0x240
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret