Function at 0x1401174b0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov rax, qword [0x140413c00]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.A_WinHTTP_FiveM_Request_Program_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x140117771
mov rcx, qword [rsp + 0xd8]
call fcn.14004c200
xor r9d, r9d
movzx r8d, word [rsp + 0xe0]
mov rdx, rax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140117765
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str._players.json
lea rdx, [0x14038b008]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140117759
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x14011774d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x14011774d
mov dword [rsp + 0x88], 0
mov dword [rsp + 0x8c], 0
mov dword [rsp + 0x70], 0
lea rcx, [rsp + 0x90]
call fcn.140017ee0
nop
mov dword [rsp + 0x88], 0
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x1401176fa
mov eax, dword [rsp + 0x88]
inc eax
mov eax, eax
mov ecx, eax
call fcn.14011d570
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14011765e
mov dword [rsp + 0x88], 0
jmp 0x1401176ba
mov eax, dword [rsp + 0x88]
inc eax
mov eax, eax
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x48]
call sub.VCRUNTIME140.dll_memset
nop
lea r9, [rsp + 0x8c]
mov r8d, dword [rsp + 0x88]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x1401176ba
mov eax, dword [rsp + 0x8c]
mov r8d, eax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x90]
call fcn.14001a860
nop
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.14011cc98
cmp qword [rsp + 0x68], 0
jne 0x1401176e4
mov qword [rsp + 0x80], 0
jmp 0x1401176fa
mov qword [rsp + 0x48], 0x8123
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x80], rax
cmp dword [rsp + 0x88], 0
ja 0x140117602
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0xd0]
call fcn.140017b10
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x90]
call fcn.140018750
nop
mov rcx, qword [rsp + 0xd8]
call fcn.140018780
mov rax, qword [rsp + 0xd0]
jmp 0x1401177a0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
xor edx, edx
mov rcx, qword [rsp + 0xd0]
call fcn.140017c40
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0xd8]
call fcn.140018780
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14011cd30
add rsp, 0xc8
ret