Function at 0x1400118e0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140195088]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rsi, rcx
cmp dword [rcx + 0x14c], 0
jne 0x140011a08
mov dword [rcx + 0x14c], 1
mov ebx, dword [rcx + 0x11c]
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov edx, 0x80
lea rcx, [rsp + 0x40]
call fcn.140031390
nop
mov rax, qword [rsi + 0x100]
lea rcx, str.https:__update.ergonis.com_vck_popcharwin6.xml
lea r8, str.https:__update.ergonis.com_vcktest_popcharwin6.xml
test ebx, ebx
cmove r8, rcx
mov r9d, dword [rax + 0x38]
lea rdx, str._s_s_d
lea rcx, [rsp + 0x40]
call fcn.140032800
mov rcx, qword [rsi + 0xf8]
call fcn.140038ca0
mov rdi, rax
mov rcx, qword [rsi + 0xf8]
call fcn.140038d90
mov rbx, rax
mov rcx, qword [rsi + 0xf8]
call fcn.140038da0
mov r9, rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbx
lea r8, str._s__s__s
mov edx, 0x3f
lea rcx, [rbp - 0x70]
call fcn.140004720
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x70]
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r14, rax
test rax, rax
jne 0x140011a0f
mov dword [rsi + 0x150], 1
lea rcx, [rsp + 0x40]
call fcn.140031450
xor eax, eax
jmp 0x140011c44
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rbx, rax
test rax, rax
je 0x1400119f4
mov dword [rsp + 0x38], r12d
lea r9, [rsp + 0x38]
mov r8d, 0x4000
lea r15, [0x140197df0]
mov rdx, r15
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, eax
test eax, eax
je 0x140011a8d
mov ecx, dword [rsp + 0x38]
test ecx, ecx
je 0x140011a8d
mov eax, 0x3fff
cmp ecx, 0x4000
cmovge ecx, eax
movsxd rdx, ecx
cmp rdx, 0x4000
jae 0x140011c6c
mov byte [rdx + r15], r12b
jmp 0x140011a9e
mov byte [0x140197df0], r12b
mov dword [rsi + 0x150], 1
mov rdx, r15
mov rcx, rsi
call fcn.140012050
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [rsi + 0x14c], r12d
je 0x140011c1f
lea rcx, [rsi + 0x38]
call fcn.14002e2d0
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov edx, 0x80
lea rcx, [rsp + 0x70]
call fcn.140031390
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsi + 0x38]
call fcn.14002e020
lea r8, [rsp + 0x70]
mov edx, 0x2d
mov rcx, qword [rsi + 0x10]
call fcn.140059580
cmp dword [rsi + 0x150], 0
jne 0x140011bc1
cmp dword [rsi + 0x10c], 0
jne 0x140011b50
mov rcx, qword [rsi + 0x20]
cmp qword [rcx + 8], 0
je 0x140011b50
cmp dword [rcx + 0x14], 1
jl 0x140011b50
xor r8d, r8d
mov rdx, qword [0x1400e6be0]
call fcn.140032480
test eax, eax
je 0x140011bfe
mov r8, qword [rsi + 0x50]
mov edx, 0x2a
mov rcx, qword [rsi + 0x10]
call fcn.140059580
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov edx, 0x80
lea rcx, [rsp + 0x58]
call fcn.140031390
nop
lea rcx, [rsi + 0x60]
lea rdx, [rsp + 0x58]
call fcn.14002e020
lea r8, [rsp + 0x58]
mov edx, 0x2b
mov rcx, qword [rsi + 0x10]
call fcn.140059580
lea rcx, [rsi + 0x9c]
mov rdx, qword [rsi + 0x50]
call fcn.14005c7d0
nop
lea rcx, [rsp + 0x58]
call fcn.140031450
jmp 0x140011bfe
mov rcx, qword [rsi + 0x50]
call fcn.140032950
mov rdx, qword [0x1400e6be0]
mov rcx, qword [rsi + 0x50]
call fcn.140031610
mov r8, qword [rsi + 0x50]
mov edx, 0x2a
mov rcx, qword [rsi + 0x10]
call fcn.140059580
mov r8, qword [rsi + 0x50]
mov edx, 0x2b
mov rcx, qword [rsi + 0x10]
call fcn.140059580
mov r8d, dword [rsi + 0x110]
mov edx, dword [rsi + 0x18]
mov rcx, qword [rsi + 0xf8]
call fcn.1400390b0
nop
lea rcx, [rsp + 0x70]
call fcn.140031450
cmp dword [0x1401881f0], 0
je 0x140011c31
mov rcx, qword [rsi + 8]
call fcn.140012b30
mov dword [rsi + 0x14c], r12d
lea rcx, [rsp + 0x40]
call fcn.140031450
mov eax, edi
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14005d680
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14005de64
nop
int3