Function at 0x1cf44a79060
Capabilities:
Check http status code
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
mov eax, 0x1060
call fcn.1cf44a7d8b0
sub rsp, rax
mov rax, qword [0x1cf44abc080]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rdi, qword [rsp + 0x10a0]
lea rcx, str.WinInetOy
mov rbx, qword [rsp + 0x10a8]
xor r12d, r12d
mov rsi, qword [rsp + 0x10b0]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov edx, 1
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r14, rax
test rax, rax
je 0x1cf44a79341
mov qword [rsp + 0x38], r12
lea rdx, str.dotnetisnotforchildren.com
mov dword [rsp + 0x30], 0x800000
mov r8d, 0x1bb
mov dword [rsp + 0x28], 3
xor r9d, r9d
mov rcx, r14
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x1088], r15
call qword [sym.imp.WININET.dll_InternetConnectW]
mov r15, rax
test rax, rax
jne 0x1cf44a79125
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x1cf44a79339
mov qword [rsp + 0x38], r12
lea rdx, str.POST
mov dword [rsp + 0x30], 0x80800000
xor r9d, r9d
mov qword [rsp + 0x28], r12
mov r8, rdi
mov rcx, r15
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x1080], rbp
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov rbp, rax
test rax, rax
je 0x1cf44a7931d
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rbx + rax], r12b
jne 0x1cf44a79170
mov r9, rbx
mov dword [rsp + 0x20], eax
mov r8d, 0x1e
lea rdx, str.Content_Type:_application_json
mov rcx, rbp
call qword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x1cf44a79314
lea r9, [rsp + 0x48]
mov dword [rsp + 0x44], r12d
lea r8, [rsp + 0x44]
mov dword [rsp + 0x48], 4
mov edx, 0x20000013
mov qword [rsp + 0x20], r12
mov rcx, rbp
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x1cf44a79314
cmp dword [rsp + 0x44], 0xc8
jne 0x1cf44a79314
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], r12d
mov r8d, 0xfff
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1cf44a7929d
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x1cf44a7929d
mov ebx, eax
cmp rax, 0x1000
jae 0x1cf44a7936a
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x10]
mov byte [rsp + rax + 0x50], r12b
mov rax, rdx
sub rax, rcx
cmp rbx, rax
ja 0x1cf44a79264
lea rax, [rcx + rbx]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x1cf44a7924a
mov rax, qword [rsi]
lea rdi, [rax + rcx]
mov r8, rbx
mov rcx, rdi
lea rdx, [rsp + 0x50]
call fcn.1cf44aa37f0
mov byte [rdi + rbx], r12b
jmp 0x1cf44a7927c
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.1cf44a6ac50
lea r9, [rsp + 0x40]
mov r8d, 0xfff
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1cf44a79204
mov edx, dword [rsp + 0x44]
lea rcx, str.Response_Code:__d_n
call fcn.1cf44a78d70
call fcn.1cf44a79c60
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x1cf44a792bf
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.1cf44a7a0f0
mov rbx, rax
mov dl, 0xa
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
call fcn.1cf44a69d90
movzx edx, al
mov rcx, rbx
call fcn.1cf44a79f40
mov rcx, rbx
call fcn.1cf44a67f60
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 1
jmp 0x1cf44a79331
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
mov rbp, qword [rsp + 0x1080]
mov r15, qword [rsp + 0x1088]
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.1cf44a7cfc0
lea r11, [rsp + 0x1060]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rdi
ret
call fcn.1cf44a7d158
int3