Function at 0x1400997b0
Capabilities:
Initialize winhttp library

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x180], rbx
mov rax, qword [0x14024a080]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r13, r9
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x68], rcx
xor ebx, ebx
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
movdqa xmm0, xmmword [0x140201ef0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], bx
lea r8d, [rbx + 0x1e]
lea rdx, str.A_WinHTTP_download_Program_1.0
lea rcx, [rsp + 0x40]
call fcn.14007dc20
nop
lea rdi, [rsi + 0x10]
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rdi + 8], rax
lea rcx, vtable.http::session_t.0
mov qword [rdi], rcx
test rax, rax
je 0x140099ab8
lea rcx, [rsp + 0x40]
call fcn.14007dbb0
lea r15, [rsi + 0x20]
mov qword [rsp + 0x30], r15
mov rdx, r14
mov rcx, r15
call fcn.140080e00
nop
lea r12, [r15 + 0x24]
movzx eax, bx
mov rdi, r12
mov ecx, 0x100
rep stosw word [rdi], ax
lea rbx, [r15 + 0x224]
xor eax, eax
movzx eax, ax
mov rdi, rbx
mov ecx, 0x100
rep stosw word [rdi], ax
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x50]
call fcn.140159570
mov dword [rbp - 0x50], 0x68
mov qword [rbp - 0x38], r12
mov dword [rbp - 0x30], 0x100
mov qword [rbp - 8], rbx
mov dword [rbp], 0x100
mov rax, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 8
jb 0x1400998ec
mov r14, qword [r14]
lea r9, [rbp - 0x50]
xor r8d, r8d
mov edx, eax
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x140099adc
cmp dword [rbp - 0x3c], 2
sete al
mov byte [r15 + 0x20], al
movzx eax, word [rbp - 0x2c]
mov word [r15 + 0x22], ax
lea r14, [rsi + 0x448]
mov qword [rsp + 0x30], r14
xor r9d, r9d
movzx r8d, ax
mov rdx, r12
mov rcx, qword [rsi + 0x18]
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [r14 + 8], rax
lea rax, vtable.http::connection_t.0
mov qword [r14], rax
lea rbx, [r14 + 0x10]
mov qword [rsp + 0x38], rbx
mov rdx, r15
mov rcx, rbx
call fcn.140080e00
movzx eax, byte [r15 + 0x20]
mov byte [rbx + 0x20], al
movzx eax, word [r15 + 0x22]
mov word [rbx + 0x22], ax
lea rax, [rbx + 0x24]
lea rcx, [r15 + 0x24]
mov edx, 4
mov edi, edx
nop dword [rax]
movups xmm0, xmmword [rcx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rax + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rax + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rax + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rax + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rax + 0x60], xmm0
lea rax, [rax + 0x80]
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rax - 0x10], xmm1
lea rcx, [rcx + 0x80]
sub rdi, 1
jne 0x140099980
lea rcx, [rbx + 0x224]
lea rax, [r15 + 0x224]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x1400999e0
cmp qword [r14 + 8], rdx
je 0x140099a93
mov dword [rsi + 0x880], 1
lea rbx, [rsi + 0x888]
mov qword [rsp + 0x38], rbx
xor eax, eax
mov qword [rbx + 0x38], rax
mov rcx, qword [r13 + 0x38]
test rcx, rcx
je 0x140099a69
mov rdi, qword [rcx]
mov rdx, rbx
call qword [rdi]
mov qword [rbx + 0x38], rax
mov rax, rsi
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400c7300
mov rbx, qword [rsp + 0x180]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.14009cdf0
lea rdx, [0x140248648]
lea rcx, [rsp + 0x70]
call fcn.140158fa0
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.14009cdf0
lea rdx, [0x140248648]
lea rcx, [rsp + 0x70]
call fcn.140158fa0
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.14009cdf0
lea rdx, [0x140248648]
lea rcx, [rsp + 0x70]
call fcn.140158fa0
int3