Function at 0x140014740
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov rax, rsp
push rbx
push r13
sub rsp, 0x2c8
mov r13, rdx
mov rbx, rcx
test rcx, rcx
je 0x140014d38
test rdx, rdx
je 0x140014d38
mov qword [rax + 0x10], rbp
mov qword [rax - 0x18], rsi
xor esi, esi
mov qword [rax - 0x20], rdi
mov qword [rax - 0x28], r12
mov r12d, esi
mov qword [rax - 0x30], r14
mov r14d, esi
mov qword [rax - 0x38], r15
movzx eax, byte [0x1400711d0]
mov qword [rsp + 0x68], rsi
test al, al
je 0x1400147aa
lea r8, [0x140073868]
xor ecx, ecx
lea rdx, [0x140072028]
call fcn.14000ab30
movzx eax, byte [0x1400711d0]
test al, al
je 0x1400147ca
lea r8, [0x140073888]
xor ecx, ecx
lea rdx, [0x140072028]
call fcn.14000ab30
movzx eax, byte [0x1400711d0]
test al, al
je 0x1400147e6
mov r8, rbx
lea rdx, [0x140072028]
xor ecx, ecx
call fcn.14000acc0
movzx eax, byte [0x1400711d0]
test al, al
je 0x140014806
lea r8, [0x140073898]
xor ecx, ecx
lea rdx, [0x140072028]
call fcn.14000ab30
movzx eax, byte [0x1400711d0]
test al, al
je 0x140014840
mov rcx, r13
call fcn.140008b20
mov rdi, rax
movzx eax, byte [0x1400711d0]
test al, al
je 0x140014838
mov r8, rdi
lea rdx, [0x140072028]
xor ecx, ecx
call fcn.14000acc0
mov rcx, rdi
call fcn.140038520
lea rax, [0x140073b30]
mov qword [rsp + 0x70], rsi
lea rcx, [0x140073b38]
mov qword [rsp + 0x78], rax
mov rbp, rsi
mov qword [rsp + 0x80], rsi
mov r15d, 7
call fcn.140008e10
mov rsi, rax
mov rdi, 0xffffffffffffffff
test rax, rax
je 0x140014d14
mov rdx, rax
mov rcx, rbx
call fcn.140037860
cmp rax, rbx
mov ecx, 8
mov r8, rdi
cmove r15d, ecx
nop dword [rax + rax]
inc r8
cmp word [rsi + r8*2], bp
jne 0x1400148a0
xor edx, edx
mov rcx, rsi
call fcn.1400376d0
mov rcx, rsi
call fcn.140038520
lea r12, [rbx + r15*2]
mov ecx, r15d
mov rax, r12
nop word [rax + rax]
movsxd rsi, ecx
lea rax, [rax + 2]
inc ecx
cmp word [rax], 0x2f
jne 0x1400148d0
mov r14d, esi
mov edx, 2
sub r14d, r15d
lea eax, [r14 + 2]
movsxd rcx, eax
call fcn.14003853c
mov qword [rsp + 0x68], rax
mov r15, rax
test rax, rax
je 0x140014953
lea eax, [r14 + 1]
movsxd r8, eax
test eax, eax
jle 0x14001491c
add r8, r8
mov rdx, r12
mov rcx, r15
call fcn.1400372c0
mov rcx, rdi
nop
inc rcx
cmp word [rbx + rcx*2], bp
jne 0x140014920
mov eax, 1
mov edx, 2
sub rax, rsi
add rcx, rax
call fcn.14003853c
mov qword [rsp + 0x70], rax
mov r12, rax
test rax, rax
jne 0x140014967
mov rcx, r15
call fcn.140038520
mov r15, rbp
mov r14, rbp
mov r12, rbp
mov rbx, rbp
mov rsi, rbp
jmp 0x140014c3a
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], bp
jne 0x140014970
sub eax, esi
movsxd r8, eax
test eax, eax
jle 0x140014995
lea rdx, [rbx + 2]
add r8, r8
lea rdx, [rdx + rsi*2]
mov rcx, r12
call fcn.1400372c0
lea rcx, [0x140073b48]
call fcn.140008e10
mov r15, rax
test rax, rax
je 0x140014956
xor esi, esi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], esi
xor edx, edx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x48], rax
mov rbx, rax
test rax, rax
je 0x140014d2d
movzx ecx, byte [0x1400711d0]
test cl, cl
je 0x1400149f1
lea r8, [0x140073b60]
xor ecx, ecx
lea rdx, [0x140072028]
call fcn.14000ab30
lea r9, [rsp + 0x2f8]
mov dword [rsp + 0x2f8], SafeArrayCopy
lea r8, [rsp + 0x88]
mov edx, 0x26
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetQueryOptionA]
mov rdx, qword [rsp + 0x68]
mov r8d, 0x50
mov qword [rsp + 0x38], 1
xor r9d, r9d
mov dword [rsp + 0x30], esi
mov rcx, rbx
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], rsi
call qword [sym.imp.WININET.dll_InternetConnectW]
mov qword [rsp + 0x40], rax
mov rsi, rax
test rax, rax
je 0x140014d22
movzx ecx, byte [0x1400711d0]
test cl, cl
je 0x140014a7c
lea r8, [0x140073b70]
xor ecx, ecx
lea rdx, [0x140072028]
call fcn.14000ab30
lea rcx, [0x140073b80]
call fcn.140008e10
mov r14, rax
test rax, rax
je 0x140014d25
xor ecx, ecx
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rcx
xor r9d, r9d
mov dword [rsp + 0x30], ecx
mov r8, r12
mov qword [rsp + 0x28], rax
mov rdx, r14
mov qword [rsp + 0x20], rcx
mov rcx, rsi
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r12, rax
test rax, rax
je 0x140014c3a
movzx ecx, byte [0x1400711d0]
test cl, cl
je 0x140014aec
lea r8, [0x140073b88]
xor ecx, ecx
lea rdx, [0x140072028]
call fcn.14000ab30
mov rbx, rdi
nop
inc rbx
cmp byte [rbx + r13], bpl
jne 0x140014af0
lea rcx, [0x140073b98]
call fcn.140008e10
mov rsi, rax
test rax, rax
je 0x140014c30
mov r8, rdi
inc r8
cmp word [rax + r8*2], bp
jne 0x140014b14
mov r9, r13
mov dword [rsp + 0x20], ebx
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpSendRequestW]
mov r8, rdi
inc r8
cmp word [rsi + r8*2], bp
jne 0x140014b34
add r8, r8
xor edx, edx
mov rcx, rsi
call fcn.1400376d0
mov rcx, rsi
call fcn.140038520
xor ebx, ebx
mov dword [rsp + 0x2e0], ebx
nop dword [rax]
lea r9, [rsp + 0x2e0]
mov r8d, 0x200
lea rdx, [rsp + 0xa0]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
cmp eax, 1
jne 0x140014bd3
mov edx, dword [rsp + 0x2e0]
mov rcx, rbp
add edx, ebx
call fcn.140038518
mov rbp, rax
xor r8d, r8d
mov eax, dword [rsp + 0x2e0]
test eax, eax
je 0x140014bcf
nop word [rax + rax]
movzx eax, byte [rsp + r8 + 0xa0]
lea ecx, [r8 + rbx]
mov byte [rcx + rbp], al
inc r8d
mov eax, dword [rsp + 0x2e0]
cmp r8d, eax
jb 0x140014bb0
add ebx, eax
jmp 0x140014bda
mov eax, dword [rsp + 0x2e0]
cmp eax, 0x200
jae 0x140014b60
cmp ebx, 0x2000
jbe 0x140014c30
cmp byte [rbp], 0x4d
jne 0x140014c30
cmp byte [rbp + 1], 0x5a
jne 0x140014c30
movzx eax, byte [0x1400711d0]
test al, al
je 0x140014c19
lea r8, [0x140073940]
xor ecx, ecx
lea rdx, [0x140072028]
call fcn.14000ab30
mov byte [0x140071148], 0
mov eax, ebx
mov qword [0x1400711a0], rbp
mov qword [0x1400711a8], rax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
call fcn.140038520
mov rcx, qword [rsp + 0x70]
call fcn.140038520
mov rbp, qword [rsp + 0x2e8]
test r15, r15
je 0x140014c78
mov r8, rdi
nop
inc r8
cmp word [r15 + r8*2], 0
jne 0x140014c60
add r8, r8
xor edx, edx
mov rcx, r15
call fcn.1400376d0
mov rcx, r15
call fcn.140038520
mov r15, qword [rsp + 0x2a0]
test r14, r14
je 0x140014cab
nop dword [rax]
cmp word [r14 + rdi*2 + 2], 0
lea rdi, [rdi + 1]
jne 0x140014c90
lea r8, [rdi + rdi]
xor edx, edx
mov rcx, r14
call fcn.1400376d0
mov rcx, r14
call fcn.140038520
mov r14, qword [rsp + 0x2a8]
mov rdi, qword [rsp + 0x2b8]
test r12, r12
je 0x140014cd1
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r12, qword [rsp + 0x2b0]
test rsi, rsi
je 0x140014ce7
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rsi, qword [rsp + 0x2c0]
test rbx, rbx
je 0x140014cfd
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movzx eax, byte [0x140071148]
test al, al
sete al
add rsp, 0x2c8
pop r13
pop rbx
ret
mov r15, rbp
mov rbx, rbp
mov rsi, rbp
jmp 0x140014c3a
mov r14, rbp
mov r12, rbp
jmp 0x140014c3a
mov r14, rsi
mov r12, rsi
jmp 0x140014c3a
xor al, al
add rsp, 0x2c8
pop r13
pop rbx
ret