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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x424ee3
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x431074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x18]
lea ecx, [ebp + 0x14]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
mov dword [ebp - 4], 2
mov dword [esi + 0x24], eax
call dword [sym.imp.mfc140.dll_Ordinal_1661]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 0x20], eax
test eax, eax
jne 0x4112d1
mov ecx, dword [ebp - 0x44]
push 0x427da8
call dword [sym.imp.mfc140.dll_Ordinal_1529]
or esi, 0xffffffff
jmp 0x41149c
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140.dll_Ordinal_5096]
sub esp, 0x18
mov dword [ebp - 0x48], eax
mov edx, esp
mov ecx, eax
lea eax, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov dword [ebp - 0x44], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x411311
sub ecx, dword [ebp - 0x44]
push ecx
push dword [ebp - 0x48]
mov ecx, edx
call fcn.00403030
lea eax, [ebp - 0x28]
push eax
call fcn.00410ce0
call sub.libcurl.dll_curl_easy_init
push str.accept:__
push 0
mov dword [esi], eax
call sub.libcurl.dll_curl_slist_append
push str.Accept_Encoding:_gzip__deflate
push eax
call sub.libcurl.dll_curl_slist_append
push str.Content_Type:_application_json_charsetUTF_8
push eax
call sub.libcurl.dll_curl_slist_append
push str.Connection:_keep_alive
push eax
call sub.libcurl.dll_curl_slist_append
push str.User_Agent:_Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_86.0.4240.198_Safari_537.36
push eax
call sub.libcurl.dll_curl_slist_append
add esp, 0x44
push eax
push 0x50
push dword [esi]
call sub.libcurl.dll_curl_easy_setopt
movups xmm0, xmmword [ebp - 0x28]
sub esp, 0xc
mov eax, esp
push 0x2712
push dword [esi]
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
call sub.libcurl.dll_curl_easy_setopt
push 0x411540
push 0x4e2b
push dword [esi]
call sub.libcurl.dll_curl_easy_setopt
push esi
push 0x2711
push dword [esi]
call sub.libcurl.dll_curl_easy_setopt
push 0
push 0x2b
push dword [esi]
call sub.libcurl.dll_curl_easy_setopt
add esp, 0x44
push 0x410be0
push 0x4e58
push dword [esi]
call sub.libcurl.dll_curl_easy_setopt
push esi
push 0x2749
push dword [esi]
call sub.libcurl.dll_curl_easy_setopt
push 0x1e
push 0x14
push dword [esi]
call sub.libcurl.dll_curl_easy_setopt
push 0xa
push 0x13
push dword [esi]
call sub.libcurl.dll_curl_easy_setopt
push 0
push 0x40
push dword [esi]
call sub.libcurl.dll_curl_easy_setopt
push 0
push 0x51
push dword [esi]
call sub.libcurl.dll_curl_easy_setopt
add esp, 0x48
push dword [esi]
call sub.libcurl.dll_curl_easy_perform
add esp, 4
mov dword [ebp - 0x48], eax
test eax, eax
jne 0x41143e
push edi
xorps xmm0, xmm0
movsd qword [edi], xmm0
push 0x30000f
push dword [esi]
call sub.libcurl.dll_curl_easy_getinfo
add esp, 0xc
push dword [esi]
call sub.libcurl.dll_curl_easy_cleanup
add esp, 4
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x411487
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41147d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41147d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00421e33
add esp, 8
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea ecx, [ebp + 8]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
lea ecx, [ebp + 0x14]
call dword [sym.imp.mfc140.dll_Ordinal_1044]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00421e64
mov esp, ebp
pop ebp
ret 0x1c