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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2220
call fcn.1800db900
sub rsp, rax
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rax, qword [0x18013a210]
xor rax, rsp
mov qword [rsp + 0x2210], rax
mov r13, r9
mov r14, r8
mov r12, rdx
mov rsi, rcx
xor r15d, r15d
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x68], r15
mov rax, qword [r8 + 0x20]
cmp rax, 8
jb 0x180072353
lea rbx, [r8 + 8]
mov rcx, qword [rbx]
jmp 0x18007235a
lea rbx, [r8 + 8]
mov rcx, rbx
mov rdx, qword [r8 + 0x18]
lea rdi, [rcx + rdx*2]
test rdi, rdi
je 0x180072391
cmp rax, 8
jb 0x180072372
mov rcx, qword [rbx]
jmp 0x180072375
mov rcx, rbx
cmp rcx, rdi
ja 0x180072391
cmp rax, 8
jb 0x180072385
mov rax, qword [rbx]
jmp 0x180072388
mov rax, rbx
lea rax, [rax + rdx*2]
cmp rdi, rax
jbe 0x180072396
call fcn.1800bf138
mov qword [rsp + 0x150], r14
mov qword [rsp + 0x158], rdi
mov rax, qword [r14 + 0x20]
cmp rax, 8
jb 0x1800723b5
mov rdi, qword [rbx]
jmp 0x1800723b8
mov rdi, rbx
test rdi, rdi
je 0x1800723e6
cmp rax, 8
jb 0x1800723c8
mov rcx, qword [rbx]
jmp 0x1800723cb
mov rcx, rbx
cmp rcx, rdi
ja 0x1800723e6
cmp rax, 8
jb 0x1800723d9
mov rbx, qword [rbx]
mov rax, qword [r14 + 0x18]
lea rcx, [rbx + rax*2]
cmp rdi, rcx
jbe 0x1800723eb
call fcn.1800bf138
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rdi
movaps xmm0, xmmword [rsp + 0x150]
movdqa xmmword [rsp + 0xb0], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x90], xmm1
lea r9, [rsp + 0xb0]
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x110]
mov rcx, r14
call fcn.180064ae0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x78]
mov rcx, r12
call fcn.1800737e0
mov rcx, qword [rsi + 0x30]
test rcx, rcx
je 0x180072846
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x18007247d
mov rdx, qword [rbx]
xor esi, esi
jmp 0x180072482
xor esi, esi
mov rdx, rsi
mov r8d, 0x50
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rsi
xor r9d, r9d
call qword [sym.imp.WININET.dll_InternetConnectW]
mov r15, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x18007283b
movabs rax, 0x2a002f002a
mov qword [rsp + 0x150], rax
xor eax, eax
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x80], rax
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x1800724f3
mov r8, qword [rdi]
jmp 0x1800724f6
mov r8, rsi
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], 0x4400000
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, str.HTTP_1.0
lea rdx, [0x180109688]
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r12, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x18007282c
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x1800725fb
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
test rdi, rdi
je 0x1800725b8
or rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rdi + 0x10], eax
add eax, esi
jne 0x1800725b1
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rbx]
test rcx, rcx
je 0x180072594
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1800725a2
call fcn.1800bd9a0
mov rcx, rbx
call fcn.1800bd964
mov rbx, qword [rsp + 0x40]
jmp 0x1800725bc
mov rbx, qword [rsp + 0x40]
jmp 0x1800725bc
or rsi, 0xffffffffffffffff
test rbx, rbx
je 0x1800725f4
lock xadd dword [rbx + 0x10], esi
add esi, 0xffffffff
jne 0x1800725f4
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800725de
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1800725ec
call fcn.1800bd9a0
mov rcx, rbx
call fcn.1800bd964
xor eax, eax
jmp 0x1800728dc
mov dword [rsp + 0x60], RegisterTypeLib
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x160]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetLBound
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x1800726e8
lea rcx, [rsp + 0x160]
call fcn.1800bf9c8
mov dword [r13], eax
cmp eax, 0x194
jne 0x1800726e8
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
test rdi, rdi
je 0x1800726a5
or rsi, 0xffffffffffffffff
mov eax, esi
lock xadd dword [rdi + 0x10], eax
add eax, esi
jne 0x18007269e
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rbx]
test rcx, rcx
je 0x180072681
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18007268f
call fcn.1800bd9a0
mov rcx, rbx
call fcn.1800bd964
mov rbx, qword [rsp + 0x40]
jmp 0x1800726a9
mov rbx, qword [rsp + 0x40]
jmp 0x1800726a9
or rsi, 0xffffffffffffffff
test rbx, rbx
je 0x1800726e1
lock xadd dword [rbx + 0x10], esi
add esi, 0xffffffff
jne 0x1800726e1
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800726cb
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1800726d9
call fcn.1800bd9a0
mov rcx, rbx
call fcn.1800bd964
xor eax, eax
jmp 0x1800728dc
mov qword [rsp + 0x140], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x138], rsi
mov byte [rsp + 0x128], 0
mov dword [rsp + 0x4c], esi
nop dword [rax + rax]
mov byte [rsp + 0x200], 0
xor edx, edx
mov r8d, 0x2000
lea rcx, [rsp + 0x201]
call fcn.1800c1250
lea r9, [rsp + 0x4c]
mov r8d, 0x2000
lea rdx, [rsp + 0x200]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
mov r11d, dword [rsp + 0x4c]
mov byte [rsp + r11 + 0x200], 0
cmp esi, r11d
jge 0x180072783
movsxd rax, esi
movzx r8d, byte [rsp + rax + 0x200]
mov edx, 1
lea rcx, [rsp + reloc.OLEAUT32.dll_VARIANT_UserUnmarshal]
call fcn.180073de0
inc esi
mov r11d, dword [rsp + 0x4c]
jmp 0x180072757
test r11d, r11d
mov esi, 0
jne 0x180072710
mov qword [rsp + 0xe0], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0xd8], rsi
mov byte [rsp + 0xc8], sil
or rsi, 0xffffffffffffffff
mov r9, rsi
xor r8d, r8d
lea rdx, [rsp + reloc.OLEAUT32.dll_VARIANT_UserUnmarshal]
lea rcx, [rsp + 0xc0]
call fcn.180003b80
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xe8]
call fcn.180075820
nop
mov r9, rsi
xor r8d, r8d
mov rdx, rax
mov rcx, r14
call fcn.180003570
nop
cmp qword [rsp + 0x108], 8
jb 0x180072808
mov rcx, qword [rsp + 0xf0]
call fcn.1800bd964
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
cmp qword [rsp + 0x140], 0x10
jb 0x180072830
mov rcx, qword [rsp + 0x128]
call fcn.1800bd964
jmp 0x180072830
or rsi, 0xffffffffffffffff
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x180072854
or rsi, 0xffffffffffffffff
mov rdi, qword [rsp + 0x50]
jmp 0x180072854
or rsi, 0xffffffffffffffff
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x50]
test rdi, rdi
je 0x18007289a
mov eax, esi
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
jne 0x180072895
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rbx]
test rcx, rcx
je 0x180072878
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180072886
call fcn.1800bd9a0
mov rcx, rbx
call fcn.1800bd964
mov rbx, qword [rsp + 0x40]
jmp 0x18007289a
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1800728d3
lock xadd dword [rbx + 0x10], esi
add esi, 0xffffffff
jne 0x1800728d3
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1800728bc
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1800728ca
call fcn.1800bd9a0
mov rcx, rbx
call fcn.1800bd964
nop
mov eax, 1
jmp 0x1800728dc
mov rcx, qword [rsp + 0x2210]
xor rcx, rsp
call fcn.1800bd980
add rsp, 0x2220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret