Function at 0x140110340
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 [0x14028c238]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rsi, rdx
mov rbx, rcx
call fcn.140117d70
mov r9, rax
lea rdx, [rbp - 0x41]
mov r8d, 2
mov rcx, rbx
mov r14, rax
call fcn.1400ced30
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x140110397
mov rcx, qword [rax]
jmp 0x14011039a
mov rcx, rdi
call fcn.1401c37d8
mov r8, qword [rdi + 0x18]
mov r15d, eax
cmp r8, 8
jb 0x1401103ba
mov rdx, qword [rdi]
inc r8
mov rcx, rdi
call fcn.1400c3a10
xor r13d, r13d
mov qword [rdi + 0x18], 7
cmp qword [rdi + 0x18], 8
mov qword [rdi + 0x10], r13
jb 0x1401103d3
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.1400ced30
mov rdi, rax
cmp qword [rax + 0x18], 8
jb 0x1401103fe
mov rcx, qword [rax]
jmp 0x140110401
mov rcx, rdi
call fcn.1401c37d8
mov r8, qword [rdi + 0x18]
mov r14d, eax
cmp r8, 8
jb 0x140110421
mov rdx, qword [rdi]
inc r8
mov rcx, rdi
call fcn.1400c3a10
mov qword [rdi + 0x18], 7
cmp qword [rdi + 0x18], 8
mov qword [rdi + 0x10], r13
jb 0x140110437
mov rdi, qword [rdi]
mov word [rdi], r13w
cmp r14d, 0x9b
jge 0x140110480
cmp r15d, 7
ja 0x140110480
lea eax, [r14 - 1]
movsxd r8, eax
movsxd rax, r15d
imul rdx, rax, 0x9b
lea rax, [0x140231e50]
add r8, rdx
movsx edi, byte [r8 + rax]
dec edi
cmp edi, 0xffffffff
je 0x140110480
mov rcx, rbx
call fcn.1400c3490
mov eax, edi
jmp 0x140110aa2
cmp byte [rsi], 1
mov qword [rsp + 0x130], r12
jne 0x140110a63
mov r8, rbx
lea rdx, str._en_us_library_security_
lea rcx, [rbp - 0x41]
call fcn.1400e2040
mov rdx, rax
lea r8, str..aspx
lea rcx, [rbp - 0x61]
call fcn.1400cb5f0
mov r8, qword [rbp - 0x29]
cmp r8, 8
jb 0x1401104d1
mov rdx, qword [rbp - 0x41]
lea rcx, [rbp - 0x41]
inc r8
call fcn.1400c3a10
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 0x14011052e
xor ecx, ecx
mov byte [rsi], r13b
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r8, qword [rbp - 0x49]
cmp r8, 8
jb 0x140110518
mov rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x61]
inc r8
call fcn.1400c3a10
mov qword [rbp - 0x49], 7
mov qword [rbp - 0x51], r13
mov word [rbp - 0x61], r13w
jmp 0x140110a63
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 r9d, 4
lea r8, [rbp - 0x79]
mov rcx, rdi
lea edx, [r9 + 1]
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov r9d, 4
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 r12, rax
test rax, rax
jne 0x140110601
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 0x1401105e3
mov rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x61]
inc r8
call fcn.1400c3a10
mov rcx, rbx
mov qword [rbp - 0x49], 7
mov qword [rbp - 0x51], r13
mov word [rbp - 0x61], r13w
call fcn.1400c3490
jmp 0x140110a95
cmp qword [rbp - 0x49], 8
lea rax, [0x140236090]
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, [0x1402396b8]
lea rax, [rbp - 0x71]
mov dword [rsp + 0x30], 0x4400000
mov qword [rsp + 0x28], rax
mov rcx, r12
mov qword [rsp + 0x20], r13
mov qword [rbp - 0x69], r13
call qword [sym.imp.WININET.dll_HttpOpenRequestW]
mov r15, rax
test rax, rax
jne 0x14011066b
xor ecx, ecx
mov byte [rsi], r13b
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
jmp 0x1401105ba
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x140110a2b
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.1400d6a50
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, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
cmp eax, 1
jne 0x140110a20
cmp dword [rbp - 0x75], r13d
jbe 0x140110a20
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.1400d2ee0
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.140102320
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x140110a14
mov r8, qword [rbp + 0xf]
lea rdx, str.__title_
mov esi, 8
lea rcx, [rbp - 0x21]
add r8, rax
mov r9d, esi
call fcn.140102320
cmp rax, 0xffffffffffffffff
je 0x140110a14
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.140101dd0
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
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 r15, qword [rbp - 0x41]
cmp r12, 0x10
cmovae rcx, r15
cmp rdi, rsi
cmovb rsi, rdi
test rsi, rsi
je 0x1401107cb
mov r8, rsi
lea rdx, str.Critical
call fcn.1401b1ae0
test eax, eax
jne 0x140110827
cmp rdi, 8
jne 0x140110827
lea rcx, [rbp - 0x41]
call fcn.1400d1b40
lea rcx, [rbp - 1]
call fcn.1400d1b40
lea rcx, [rbp - 0x21]
call fcn.1400d1b40
mov r8, qword [rbp - 0x49]
cmp r8, rdi
jb 0x140110805
mov rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x61]
inc r8
call fcn.1400c3a10
xor eax, eax
mov qword [rbp - 0x49], 7
mov rcx, rbx
mov qword [rbp - 0x51], rax
mov word [rbp - 0x61], ax
call fcn.1400c3490
mov eax, r14d
jmp 0x140110a9a
cmp r12, 0x10
lea rcx, [rbp - 0x41]
mov r8d, 9
cmovae rcx, r15
cmp rdi, r8
cmovb r8, rdi
test r8, r8
je 0x140110855
lea rdx, str.Important
call fcn.1401b1ae0
test eax, eax
jne 0x1401108b4
cmp rdi, 9
jne 0x1401108b4
lea rcx, [rbp - 0x41]
call fcn.1400d1b40
lea rcx, [rbp - 1]
call fcn.1400d1b40
lea rcx, [rbp - 0x21]
call fcn.1400d1b40
mov r8, qword [rbp - 0x49]
cmp r8, 8
jb 0x140110890
mov rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x61]
inc r8
call fcn.1400c3a10
xor eax, eax
mov qword [rbp - 0x49], 7
mov rcx, rbx
mov qword [rbp - 0x51], rax
mov word [rbp - 0x61], ax
call fcn.1400c3490
mov eax, 2
jmp 0x140110a9a
cmp r12, 0x10
lea rcx, [rbp - 0x41]
cmovae rcx, r15
test rsi, rsi
je 0x1401108d8
mov r8, rsi
lea rdx, str.Moderate
call fcn.1401b1ae0
test eax, eax
jne 0x140110936
cmp rdi, 8
jne 0x140110936
lea rcx, [rbp - 0x41]
call fcn.1400d1b40
lea rcx, [rbp - 1]
call fcn.1400d1b40
lea rcx, [rbp - 0x21]
call fcn.1400d1b40
mov r8, qword [rbp - 0x49]
cmp r8, rdi
jb 0x140110912
mov rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x61]
inc r8
call fcn.1400c3a10
xor eax, eax
mov qword [rbp - 0x49], 7
mov rcx, rbx
mov qword [rbp - 0x51], rax
mov word [rbp - 0x61], ax
call fcn.1400c3490
mov eax, 1
jmp 0x140110a9a
cmp r12, 0x10
lea rcx, [rbp - 0x41]
cmovae rcx, r15
cmp rdi, r14
cmovb r14, rdi
test r14, r14
je 0x140110961
mov r8, r14
lea rdx, [0x1402396e4]
call fcn.1401b1ae0
test eax, eax
jne 0x1401109bd
cmp rdi, 3
jne 0x1401109bd
lea rcx, [rbp - 0x41]
call fcn.1400d1b40
lea rcx, [rbp - 1]
call fcn.1400d1b40
lea rcx, [rbp - 0x21]
call fcn.1400d1b40
mov r8, qword [rbp - 0x49]
cmp r8, 8
jb 0x14011099c
mov rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x61]
inc r8
call fcn.1400c3a10
xor eax, eax
mov qword [rbp - 0x49], 7
mov rcx, rbx
mov qword [rbp - 0x51], rax
mov word [rbp - 0x61], ax
call fcn.1400c3490
xor eax, eax
jmp 0x140110a9a
lea rcx, [rbp - 0x41]
call fcn.1400d1b40
lea rcx, [rbp - 1]
call fcn.1400d1b40
lea rcx, [rbp - 0x21]
call fcn.1400d1b40
mov r8, qword [rbp - 0x49]
cmp r8, 8
jb 0x1401109f2
mov rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x61]
inc r8
call fcn.1400c3a10
xor eax, eax
mov qword [rbp - 0x49], 7
mov rcx, rbx
mov qword [rbp - 0x51], rax
mov word [rbp - 0x61], ax
call fcn.1400c3490
or eax, 0xffffffff
jmp 0x140110a9a
lea rcx, [rbp - 1]
call fcn.1400d1b40
xor r13d, r13d
lea rcx, [rbp - 0x21]
call fcn.1400d1b40
jmp 0x140110a2e
mov byte [rsi], r13b
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r12
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 0x140110a63
mov rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x61]
inc r8
call fcn.1400c3a10
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x140110a7b
mov rdx, qword [rbx]
inc r8
mov rcx, rbx
call fcn.1400c3a10
mov qword [rbx + 0x18], 7
cmp qword [rbx + 0x18], 8
mov qword [rbx + 0x10], r13
jb 0x140110a91
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.14016e480
add rsp, 0xe0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret