Function at 0x40db00
Capabilities:
Check http status code
Connect to http server
Create http request
Query remote server for available data
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x46a757
mov eax, dword fs:[0]
push eax
mov eax, 0x3530
call fcn.00460740
mov eax, dword [0x493350]
xor eax, esp
mov dword [esp + 0x352c], eax
push ebp
push esi
push edi
mov eax, dword [0x493350]
xor eax, esp
push eax
lea eax, [esp + 0x3540]
mov dword fs:[0], eax
xor ebp, ebp
mov esi, ecx
mov dword [esp + 0x24], ebp
call fcn.0040daa0
test al, al
jne 0x40db5f
push ebx
mov ecx, 0x475c54
call fcn.0040ece0
jmp 0x40df0b
lea eax, [esp + 0x30]
call fcn.0040bcf0
mov ecx, dword [0x475ce8]
push 4
push ecx
lea edx, [esp + 0x38]
mov eax, 0x50
push 0x21
push edx
mov dword [esp + 0x2490], 2
mov dword [esp + 0x2494], 4
mov word [esp + 0x248c], ax
call fcn.0044db77
push eax
call fcn.0040b450
add esp, 0x14
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.0040ece0
mov esi, dword [eax]
lea eax, [esp + 0x30]
call fcn.0040bcf0
mov ecx, esi
lea edx, [esp + 0x30]
call fcn.0040b830
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dbeb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x2488], ebp
je 0x40db4f
push ebp
push ebp
push ebp
push ebp
push str.RobloxProxy
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esp + 0x1c], eax
push 1
push ebp
push 3
lea ecx, [esp + 0x382]
push ecx
lea edx, [esp + 0x284]
push edx
mov dword [esp + 0x355c], ebp
mov ecx, dword [esp + 0x2490]
push ecx
lea edx, [esp + 0x8a]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
mov dword [esp + 0x18], edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x47c]
mov byte [esp + 0x354c], 1
call fcn.0040ece0
lea eax, [esp + 0x147a]
mov byte [esp + 0x3548], 2
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x40dc70
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x147e]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.0040cd20
mov eax, dword [esp + 0x10]
push 1
push 0x20400010
push ebp
push ebp
push ebp
push eax
push 0x476088
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebp, eax
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x3548], 3
test ebp, ebp
jne 0x40dd01
push ebx
mov ecx, 0x475c54
call fcn.0040ece0
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call esi
mov byte [esp + 0x3548], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dcfb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
jmp 0x40df02
lea edx, [esp + 0x14]
push edx
mov ecx, str.RBXAuthenticationNegotiation:
call fcn.0040ece0
lea edx, [esp + 0x72]
lea edi, [esp + 0x14]
mov byte [esp + 0x3548], 4
call fcn.0040c4a0
push 0x4760cc
mov esi, edi
call fcn.0040ee10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
push 0x20000000
push ecx
push eax
push ebp
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
test eax, eax
jne 0x40ddbf
push ebx
mov ecx, 0x475c54
call fcn.0040ece0
mov byte [esp + 0x3548], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dd7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call esi
mov byte [esp + 0x3548], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ddae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov edx, dword [esp + 0x1c]
push edx
jmp 0x40df09
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x40dddc
mov ecx, 0x475c54
jmp 0x40dedc
push 0
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x24a4]
push eax
push 0x13
push ebp
mov dword [esp + 0x3c], 0x50
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x40de37
push ebx
mov ecx, 0x475c54
call fcn.0040ece0
lea eax, [esp + 0x14]
call fcn.0040c440
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call esi
lea eax, [esp + 0x10]
call fcn.0040c440
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov edx, dword [esp + 0x1c]
push edx
jmp 0x40df09
lea eax, [esp + 0x249c]
push eax
call fcn.0044dc4a
add esp, 4
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
push ebp
mov esi, eax
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x40de63
mov dword [esp + 0x20], eax
jmp 0x40de6a
cmp dword [esp + 0x20], 0
jne 0x40de9e
push ebx
mov ecx, 0x475c54
call fcn.0040ece0
lea eax, [esp + 0x14]
call fcn.0040c440
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call esi
lea eax, [esp + 0x10]
call fcn.0040c440
mov edx, dword [esp + 0x18]
push edx
call esi
mov eax, dword [esp + 0x1c]
push eax
jmp 0x40df09
cmp esi, 0xc8
jne 0x40de00
lea eax, [esp + 0x24]
push eax
push 0x800
lea ecx, [esp + 0x2544]
push ecx
push ebp
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40de6a
mov edx, dword [esp + 0x24]
xor ecx, ecx
mov word [esp + edx*2 + 0x253c], cx
lea ecx, [esp + 0x253c]
push ebx
call fcn.0040ece0
lea eax, [esp + 0x14]
call fcn.0040c440
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call esi
lea eax, [esp + 0x10]
call fcn.0040c440
mov eax, dword [esp + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call esi
mov eax, ebx
mov ecx, dword [esp + 0x3540]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x352c]
xor ecx, esp
call fcn.0044cced
add esp, 0x353c
ret