Function at 0x1c5546f9060
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.1c5546fd8b0
sub rsp, rax
mov rax, qword [0x1c55473c080]
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 0x1c5546f9341
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 0x1c5546f9125
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x1c5546f9339
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 0x1c5546f931d
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rbx + rax], r12b
jne 0x1c5546f9170
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 0x1c5546f9314
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 0x1c5546f9314
cmp dword [rsp + 0x44], 0xc8
jne 0x1c5546f9314
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 0x1c5546f929d
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x1c5546f929d
mov ebx, eax
cmp rax, 0x1000
jae 0x1c5546f936a
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 0x1c5546f9264
lea rax, [rcx + rbx]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x1c5546f924a
mov rax, qword [rsi]
lea rdi, [rax + rcx]
mov r8, rbx
mov rcx, rdi
lea rdx, [rsp + 0x50]
call fcn.1c5547237f0
mov byte [rdi + rbx], r12b
jmp 0x1c5546f927c
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call fcn.1c5546eac50
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 0x1c5546f9204
mov edx, dword [rsp + 0x44]
lea rcx, str.Response_Code:__d_n
call fcn.1c5546f8d70
call fcn.1c5546f9c60
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x1c5546f92bf
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.1c5546fa0f0
mov rbx, rax
mov dl, 0xa
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
call fcn.1c5546e9d90
movzx edx, al
mov rcx, rbx
call fcn.1c5546f9f40
mov rcx, rbx
call fcn.1c5546e7f60
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 0x1c5546f9331
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.1c5546fcfc0
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.1c5546fd158
int3