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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xe0
mov rax, qword [0x14027f238]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rsi, rdx
mov rbx, rcx
call fcn.14010dd10
mov r9, rax
lea rdx, [rbp - 0x41]
mov r8d, 2
mov rcx, rbx
mov r14, rax
call fcn.1400c9080
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x140106387
mov rcx, qword [rax]
jmp 0x14010638a
mov rcx, rdi
call fcn.1401b9cf0
mov r8, qword [rdi + 0x18]
mov r15d, eax
cmp r8, 8
jb 0x1401063aa
mov rdx, qword [rdi]
inc r8
mov rcx, rdi
call fcn.1400be810
xor r13d, r13d
mov qword [rdi + 0x18], 7
cmp qword [rdi + 0x18], 8
mov qword [rdi + 0x10], r13
jb 0x1401063c3
mov rdi, qword [rdi]
lea r8, [r14 + 1]
mov word [rdi], r13w
or r9, 0xffffffffffffffff
lea rdx, [rbp - 0x41]
mov rcx, rbx
add r15d, 0xfffffff6
call fcn.1400c9080
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x1401063ee
mov rcx, qword [rax]
jmp 0x1401063f1
mov rcx, rdi
call fcn.1401b9cf0
mov r8, qword [rdi + 0x18]
mov r14d, eax
cmp r8, 8
jb 0x140106411
mov rdx, qword [rdi]
inc r8
mov rcx, rdi
call fcn.1400be810
mov qword [rdi + 0x18], 7
cmp qword [rdi + 0x18], 8
mov qword [rdi + 0x10], r13
jb 0x140106427
mov rdi, qword [rdi]
mov word [rdi], r13w
cmp r14d, 0x9b
jge 0x140106470
cmp r15d, 7
ja 0x140106470
lea eax, [r14 - 1]
movsxd r8, eax
movsxd rax, r15d
imul rdx, rax, 0x9b
lea rax, [0x140226a20]
add r8, rdx
movsx edi, byte [r8 + rax]
dec edi
cmp edi, 0xffffffff
je 0x140106470
mov rcx, rbx
call fcn.1400be290
mov eax, edi
jmp 0x140106a69
cmp byte [rsi], 1
mov qword [rsp + 0x130], r12
jne 0x140106a2a
mov r8, rbx
lea rdx, str._en_us_library_security_
lea rcx, [rbp - 0x41]
call fcn.1400dc290
mov rdx, rax
lea r8, str..aspx
lea rcx, [rbp - 0x61]
call fcn.1400c5940
mov r8, qword [rbp - 0x29]
cmp r8, 8
jb 0x1401064c1
mov rdx, qword [rbp - 0x41]
lea rcx, [rbp - 0x41]
inc r8
call fcn.1400be810
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
lea rcx, str.HTTPGET_agent
xor edx, edx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rdi, rax
test rax, rax
jne 0x14010651e
xor ecx, ecx
mov byte [rsi], r13b
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r8, qword [rbp - 0x49]
cmp r8, 8
jb 0x140106508
mov rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x61]
inc r8
call fcn.1400be810
mov qword [rbp - 0x49], 7
mov qword [rbp - 0x51], r13
mov word [rbp - 0x61], r13w
jmp 0x140106a2a
mov r9d, 4
mov dword [rbp - 0x79], 0xbb8
lea r8, [rbp - 0x79]
mov rcx, rdi
lea edx, [r9 + 2]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov qword [rsp + 0x38], r13
lea rdx, str.technet.microsoft.com
mov dword [rsp + 0x30], r13d
mov r14d, 3
mov dword [rsp + 0x28], r14d
mov r8d, 0x50
xor r9d, r9d
mov qword [rsp + 0x20], r13
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetConnectW]
mov r15, rax
test rax, rax
jne 0x1401065c3
mov byte [rsi], r13b
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r8, qword [rbp - 0x49]
cmp r8, 8
jb 0x1401065a5
mov rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x61]
inc r8
call fcn.1400be810
mov rcx, rbx
mov qword [rbp - 0x49], 7
mov qword [rbp - 0x51], r13
mov word [rbp - 0x61], r13w
call fcn.1400be290
jmp 0x140106a5c
cmp qword [rbp - 0x49], 8
lea rax, [0x14022a6e8]
mov qword [rsp + 0x38], r13
lea r8, [rbp - 0x61]
cmovae r8, qword [rbp - 0x61]
lea r9, str.HTTP_1.1
mov qword [rbp - 0x71], rax
lea rdx, [0x14022c5c0]
lea rax, [rbp - 0x71]
mov dword [rsp + 0x30], 0x4400000
mov qword [rsp + 0x28], rax
mov rcx, r15
mov qword [rsp + 0x20], r13
mov qword [rbp - 0x69], r13
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r12, rax
test rax, rax
jne 0x14010662d
xor ecx, ecx
mov byte [rsi], r13b
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
jmp 0x14010657c
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x1401069f2
xor r8d, r8d
mov byte [rsi], 1
mov edx, 0x400
mov qword [rbp - 9], reloc.OLEAUT32.dll_SafeArrayDestroy
lea rcx, [rbp - 0x21]
mov qword [rbp - 0x11], r13
mov byte [rbp - 0x21], r13b
call fcn.1400d0ca0
cmp qword [rbp - 9], 0x10
lea rdx, [rbp - 0x21]
mov r8d, dword [rbp - 0x11]
lea r9, [rbp - 0x75]
cmovae rdx, qword [rbp - 0x21]
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
cmp eax, 1
jne 0x1401069e7
cmp dword [rbp - 0x75], r13d
jbe 0x1401069e7
lea r8d, [rax + 0x22]
mov qword [rbp + 0x17], reloc.OLEAUT32.dll_SafeArrayDestroy
lea rdx, str._title_Microsoft_Security_Bulletin
mov qword [rbp + 0xf], r13
lea rcx, [rbp - 1]
mov byte [rbp - 1], r13b
call fcn.1400ccaa0
cmp qword [rbp + 0x17], 0x10
lea rdx, [rbp - 1]
mov r9, qword [rbp + 0xf]
lea rcx, [rbp - 0x21]
cmovae rdx, qword [rbp - 1]
xor r8d, r8d
call fcn.1400f8320
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x1401069db
mov r8, qword [rbp + 0xf]
lea rdx, str.__title_
mov esi, 8
lea rcx, [rbp - 0x21]
add r8, rax
mov r9d, esi
call fcn.1400f8320
cmp rax, 0xffffffffffffffff
je 0x1401069db
mov rcx, qword [rbp + 0xf]
lea rdx, [rbp - 0x41]
sub rax, rcx
sub rax, r13
lea r8, [rcx + 0xb]
add r8, r13
lea rcx, [rbp - 0x21]
lea r9, [rax - 0xb]
call fcn.1400f7dd0
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rdi, qword [rbp - 0x31]
lea rcx, [rbp - 0x41]
mov r12, qword [rbp - 0x29]
mov r8d, esi
mov r15, qword [rbp - 0x41]
cmp r12, 0x10
cmovae rcx, r15
cmp rdi, rsi
cmovb r8, rdi
test r8, r8
je 0x14010678d
lea rdx, str.Critical
call fcn.1401a84f0
test eax, eax
jne 0x1401067e8
cmp rdi, rsi
jne 0x1401067e8
lea rcx, [rbp - 0x41]
call fcn.1400cb8c0
lea rcx, [rbp - 1]
call fcn.1400cb8c0
lea rcx, [rbp - 0x21]
call fcn.1400cb8c0
mov r8, qword [rbp - 0x49]
cmp r8, rsi
jb 0x1401067c6
mov rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x61]
inc r8
call fcn.1400be810
xor eax, eax
mov qword [rbp - 0x49], 7
mov rcx, rbx
mov qword [rbp - 0x51], rax
mov word [rbp - 0x61], ax
call fcn.1400be290
mov eax, r14d
jmp 0x140106a61
cmp r12, 0x10
lea rcx, [rbp - 0x41]
mov r8d, 9
cmovae rcx, r15
cmp rdi, r8
cmovb r8, rdi
test r8, r8
je 0x140106816
lea rdx, str.Important
call fcn.1401a84f0
test eax, eax
jne 0x140106874
cmp rdi, 9
jne 0x140106874
lea rcx, [rbp - 0x41]
call fcn.1400cb8c0
lea rcx, [rbp - 1]
call fcn.1400cb8c0
lea rcx, [rbp - 0x21]
call fcn.1400cb8c0
mov r8, qword [rbp - 0x49]
cmp r8, rsi
jb 0x140106850
mov rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x61]
inc r8
call fcn.1400be810
xor eax, eax
mov qword [rbp - 0x49], 7
mov rcx, rbx
mov qword [rbp - 0x51], rax
mov word [rbp - 0x61], ax
call fcn.1400be290
mov eax, 2
jmp 0x140106a61
cmp r12, 0x10
lea rcx, [rbp - 0x41]
cmovae rcx, r15
cmp rdi, rsi
cmovb rsi, rdi
test rsi, rsi
je 0x14010689f
mov r8, rsi
lea rdx, str.Moderate
call fcn.1401a84f0
test eax, eax
jne 0x1401068fd
cmp rdi, 8
jne 0x1401068fd
lea rcx, [rbp - 0x41]
call fcn.1400cb8c0
lea rcx, [rbp - 1]
call fcn.1400cb8c0
lea rcx, [rbp - 0x21]
call fcn.1400cb8c0
mov r8, qword [rbp - 0x49]
cmp r8, rdi
jb 0x1401068d9
mov rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x61]
inc r8
call fcn.1400be810
xor eax, eax
mov qword [rbp - 0x49], 7
mov rcx, rbx
mov qword [rbp - 0x51], rax
mov word [rbp - 0x61], ax
call fcn.1400be290
mov eax, 1
jmp 0x140106a61
cmp r12, 0x10
lea rcx, [rbp - 0x41]
cmovae rcx, r15
cmp rdi, r14
cmovb r14, rdi
test r14, r14
je 0x140106928
mov r8, r14
lea rdx, [0x14022c5ec]
call fcn.1401a84f0
test eax, eax
jne 0x140106984
cmp rdi, 3
jne 0x140106984
lea rcx, [rbp - 0x41]
call fcn.1400cb8c0
lea rcx, [rbp - 1]
call fcn.1400cb8c0
lea rcx, [rbp - 0x21]
call fcn.1400cb8c0
mov r8, qword [rbp - 0x49]
cmp r8, 8
jb 0x140106963
mov rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x61]
inc r8
call fcn.1400be810
xor eax, eax
mov qword [rbp - 0x49], 7
mov rcx, rbx
mov qword [rbp - 0x51], rax
mov word [rbp - 0x61], ax
call fcn.1400be290
xor eax, eax
jmp 0x140106a61
lea rcx, [rbp - 0x41]
call fcn.1400cb8c0
lea rcx, [rbp - 1]
call fcn.1400cb8c0
lea rcx, [rbp - 0x21]
call fcn.1400cb8c0
mov r8, qword [rbp - 0x49]
cmp r8, 8
jb 0x1401069b9
mov rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x61]
inc r8
call fcn.1400be810
xor eax, eax
mov qword [rbp - 0x49], 7
mov rcx, rbx
mov qword [rbp - 0x51], rax
mov word [rbp - 0x61], ax
call fcn.1400be290
or eax, 0xffffffff
jmp 0x140106a61
lea rcx, [rbp - 1]
call fcn.1400cb8c0
xor r13d, r13d
lea rcx, [rbp - 0x21]
call fcn.1400cb8c0
jmp 0x1401069f5
mov byte [rsi], r13b
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r8, qword [rbp - 0x49]
cmp r8, 8
jb 0x140106a2a
mov rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x61]
inc r8
call fcn.1400be810
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x140106a42
mov rdx, qword [rbx]
inc r8
mov rcx, rbx
call fcn.1400be810
mov qword [rbx + 0x18], 7
cmp qword [rbx + 0x18], 8
mov qword [rbx + 0x10], r13
jb 0x140106a58
mov rbx, qword [rbx]
mov word [rbx], r13w
mov eax, 0xfffffffe
mov r12, qword [rsp + 0x130]
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.140164ec0
add rsp, 0xe0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret