Function at 0x1800733c0
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, 0x2230
call fcn.1800dd850
sub rsp, rax
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov rax, qword [0x18013e1e0]
xor rax, rsp
mov qword [rsp + 0x2220], rax
mov r14, r9
mov qword [rsp + 0x50], r9
mov r13, r8
mov rsi, rdx
mov r12, rcx
mov qword [rsp + 0x128], r8
mov r15, qword [rsp + 0x2290]
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x58], rax
mov rax, qword [r9 + 0x20]
cmp rax, 8
jb 0x180073437
lea rdi, [r9 + 8]
mov rcx, qword [rdi]
jmp 0x18007343e
lea rdi, [r9 + 8]
mov rcx, rdi
mov rdx, qword [r9 + 0x18]
lea rbx, [rcx + rdx*2]
test rbx, rbx
je 0x180073475
cmp rax, 8
jb 0x180073456
mov rcx, qword [rdi]
jmp 0x180073459
mov rcx, rdi
cmp rcx, rbx
ja 0x180073475
cmp rax, 8
jb 0x180073469
mov rax, qword [rdi]
jmp 0x18007346c
mov rax, rdi
lea rax, [rax + rdx*2]
cmp rbx, rax
jbe 0x18007347a
call fcn.1800c1088
mov qword [rsp + 0x160], r14
mov qword [rsp + 0x168], rbx
mov rax, qword [r14 + 0x20]
cmp rax, 8
jb 0x180073499
mov rbx, qword [rdi]
jmp 0x18007349c
mov rbx, rdi
test rbx, rbx
je 0x1800734ca
cmp rax, 8
jb 0x1800734ac
mov rcx, qword [rdi]
jmp 0x1800734af
mov rcx, rdi
cmp rcx, rbx
ja 0x1800734ca
cmp rax, 8
jb 0x1800734bd
mov rdi, qword [rdi]
mov rax, qword [r14 + 0x18]
lea rcx, [rdi + rax*2]
cmp rbx, rcx
jbe 0x1800734cf
call fcn.1800c1088
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], rbx
movaps xmm0, xmmword [rsp + 0x160]
movdqa xmmword [rsp + 0xe0], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0xa0], xmm1
lea r9, [rsp + 0xe0]
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0x118]
mov rcx, r14
call fcn.180066760
xor r14d, r14d
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x60], r14
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.1800742a0
mov edi, 0x4400000
lea eax, [r14 + 0x50]
cmp dword [rsp + 0x2298], r14d
je 0x180073566
mov edi, 0x84c00000
mov eax, 0x1bb
mov rcx, qword [r12 + 0x30]
test rcx, rcx
je 0x1800739b2
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x180073583
mov rdx, qword [rbx]
jmp 0x180073586
mov rdx, r14
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], r14
xor r9d, r9d
movzx r8d, ax
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rsp + 0x58], rax
test rax, rax
je 0x1800739a7
movabs rcx, 0x2a002f002a
mov qword [rsp + 0x160], rcx
xor ecx, ecx
mov qword [rsp + 0x90], rcx
lea rcx, [rsp + 0x160]
mov qword [rsp + 0x88], rcx
mov rsi, qword [rsp + 0x60]
test rsi, rsi
je 0x1800735f3
mov r8, qword [rsi]
jmp 0x1800735f6
mov r8, r14
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r14
lea r9, str.HTTP_1.0
lea rdx, [0x18010bfa8]
mov rcx, rax
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r14, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x180073993
cmp qword [r13 + 0x18], 0
je 0x180073687
mov r8, qword [r13 + 0x20]
cmp r8, 8
jb 0x180073653
lea rdx, [r13 + 8]
mov rdi, qword [rdx]
jmp 0x18007365a
lea rdx, [r13 + 8]
mov rdi, rdx
xor eax, eax
or r12, 0xffffffffffffffff
mov rcx, r12
repne scasw ax, word [rdi]
not rcx
cmp r8, 8
jb 0x180073672
mov rdx, qword [rdx]
mov r9d, 0x20000000
lea r8d, [rcx - 1]
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
jmp 0x18007368b
or r12, 0xffffffffffffffff
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x180073752
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
test rsi, rsi
je 0x180073708
mov eax, r12d
lock xadd dword [rsi + 0x10], eax
add eax, 0xffffffff
jne 0x180073703
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800736e6
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1800736f4
call fcn.1800bf8f0
mov rcx, rdi
call fcn.1800bf8b4
mov rbx, qword [rsp + 0x40]
jmp 0x180073708
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x180073743
lock xadd dword [rbx + 0x10], r12d
add r12d, 0xffffffff
jne 0x180073743
mov rdi, qword [rsp + 0x40]
mov rcx, qword [rdi]
test rcx, rcx
je 0x18007372c
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x18007373a
call fcn.1800bf8f0
mov rcx, rdi
call fcn.1800bf8b4
nop
mov rcx, r13
call fcn.180062430
xor eax, eax
jmp 0x180073a79
mov dword [rsp + 0x74], RegisterTypeLib
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x74]
lea r8, [rsp + 0x170]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetLBound
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x180073847
lea rcx, [rsp + 0x170]
call fcn.1800c1918
mov dword [r15], eax
cmp eax, 0xc8
je 0x180073847
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
test rsi, rsi
je 0x1800737fd
mov eax, r12d
lock xadd dword [rsi + 0x10], eax
add eax, 0xffffffff
jne 0x1800737f8
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800737db
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1800737e9
call fcn.1800bf8f0
mov rcx, rdi
call fcn.1800bf8b4
mov rbx, qword [rsp + 0x40]
jmp 0x1800737fd
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x180073838
lock xadd dword [rbx + 0x10], r12d
add r12d, 0xffffffff
jne 0x180073838
mov rdi, qword [rsp + 0x40]
mov rcx, qword [rdi]
test rcx, rcx
je 0x180073821
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x18007382f
call fcn.1800bf8f0
mov rcx, rdi
call fcn.1800bf8b4
nop
mov rcx, r13
call fcn.180062430
xor eax, eax
jmp 0x180073a79
mov qword [rsp + 0x150], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x148], 0
mov byte [rsp + 0x138], 0
mov dword [rsp + 0x48], 0
nop
mov byte [rsp + 0x210], 0
xor edx, edx
mov r8d, 0x2000
lea rcx, [rsp + 0x211]
call fcn.1800c31a0
lea r9, [rsp + 0x48]
mov r8d, 0x2000
lea rdx, [rsp + 0x210]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
mov r11d, dword [rsp + 0x48]
mov byte [rsp + r11 + 0x210], 0
xor edi, edi
nop dword [rax]
cmp edi, r11d
jge 0x1800738ec
movsxd rax, edi
movzx r8d, byte [rsp + rax + 0x210]
mov edx, 1
lea rcx, [rsp + 0x130]
call fcn.1800748a0
inc edi
mov r11d, dword [rsp + 0x48]
jmp 0x1800738c0
test r11d, r11d
jne 0x180073870
mov qword [rsp + 0xd0], reloc.OLEAUT32.dll_SafeArrayDestroy
xor eax, eax
mov qword [rsp + 0xc8], rax
mov byte [rsp + 0xb8], al
mov r9, r12
xor r8d, r8d
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0xb0]
call fcn.180003b20
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xf0]
call fcn.180077740
nop
mov r9, r12
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.180003570
nop
cmp qword [rsp + 0x110], 8
jb 0x18007396f
mov rcx, qword [rsp + 0xf8]
call fcn.1800bf8b4
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
cmp qword [rsp + 0x150], 0x10
jb 0x180073997
mov rcx, qword [rsp + 0x138]
call fcn.1800bf8b4
jmp 0x180073997
or r12, 0xffffffffffffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r14d, r14d
jmp 0x1800739c0
or r12, 0xffffffffffffffff
mov rsi, qword [rsp + 0x60]
jmp 0x1800739c0
or r12, 0xffffffffffffffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x60]
test rsi, rsi
je 0x180073a07
mov eax, r12d
lock xadd dword [rsi + 0x10], eax
add eax, 0xffffffff
jne 0x180073a02
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800739e5
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1800739f3
call fcn.1800bf8f0
mov rcx, rdi
call fcn.1800bf8b4
mov rbx, qword [rsp + 0x40]
jmp 0x180073a07
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x180073a42
lock xadd dword [rbx + 0x10], r12d
add r12d, 0xffffffff
jne 0x180073a42
mov rdi, qword [rsp + 0x40]
mov rcx, qword [rdi]
test rcx, rcx
je 0x180073a2b
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x180073a39
call fcn.1800bf8f0
mov rcx, rdi
call fcn.1800bf8b4
nop
cmp qword [r13 + 0x20], 8
jb 0x180073a52
mov rcx, qword [r13 + 8]
call fcn.1800bf8b4
mov qword [r13 + 0x20], 7
mov qword [r13 + 0x18], r14
mov word [r13 + 8], r14w
mov eax, 1
jmp 0x180073a79
mov rcx, qword [rsp + 0x2220]
xor rcx, rsp
call fcn.1800bf8d0
add rsp, 0x2230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret