Function at 0x1400e2070
Capabilities:
Initialize winhttp library

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xc8
mov qword [rbp - 0x71], 0xfffffffffffffffe
mov rax, qword [0x14014c228]
xor rax, rsp
mov qword [rbp - 9], rax
mov rsi, r9
mov r12, r8
mov qword [rbp - 0x79], rdx
mov r15, rcx
mov r14, qword [rbp + 0x6f]
mov r13, qword [rbp + 0x77]
xor edi, edi
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x30], edi
call fcn.14000ce10
mov rcx, rax
test rax, rax
je 0x1400e227e
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
call fcn.14000ce10
mov rcx, rax
test rax, rax
je 0x1400e2289
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rax, qword [rsi]
lea rbx, [rdi - 1]
cmp dword [rax - 0x10], edi
je 0x1400e2151
mov r9d, dword [r14]
test r9d, r9d
je 0x1400e2151
mov r8, rax
lea rdx, str._s:_d
lea rcx, [rsp + 0x40]
call fcn.14000c9f0
lea rdx, str._local_
mov rax, rbx
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400e2130
mov r8d, eax
lea rcx, [rsp + 0x38]
call fcn.14000fd40
mov dword [rsp + 0x30], 3
jmp 0x1400e216e
mov rax, qword [rbp + 0x7f]
cmp byte [rax], 0
jne 0x1400e216e
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.1400e37f0
mov rax, qword [rsp + 0x40]
mov r8, rdi
cmp dword [rax - 0x10], r8d
cmovne r8, rax
mov dword [rsp + 0x20], edi
mov r9, qword [rsp + 0x38]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rbp - 0x79]
mov rcx, qword [rcx]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [r15 + 8], rax
test rax, rax
je 0x1400e2294
xor r9d, r9d
movzx r8d, word [r13]
mov rdx, qword [r12]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov qword [r15 + 0x10], rax
test rax, rax
je 0x1400e221e
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400e21e2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400e21fe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1400a79f0
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x20
call fcn.1400a72cc
mov rbx, rax
mov qword [rbp - 0x79], rax
test rax, rax
je 0x1400e2261
lea rdx, str.Cant_connect_to_the_server.
lea rcx, [rbp - 0x29]
call fcn.14006d2a0
nop
mov dword [rsp + 0x34], 2
lea r8, [rbp - 0x29]
mov edx, 2
mov rcx, rbx
call fcn.1400e1ed0
mov rdi, rax
mov rdx, rdi
lea rcx, [rbp - 0x59]
call fcn.1400e1db0
lea rdx, [0x140147458]
lea rcx, [rbp - 0x59]
call fcn.1400ae2cc
nop
mov ecx, 0x80004005
call fcn.14000c310
nop
mov ecx, 0x80004005
call fcn.14000c310
nop
mov ecx, 0x20
call fcn.1400a72cc
mov rbx, rax
mov qword [rbp - 0x79], rax
test rax, rax
je 0x1400e22d7
lea rdx, str.Cant_open_http_connection_to_the_server.
lea rcx, [rbp - 0x49]
call fcn.14006d2a0
nop
mov dword [rsp + 0x34], 1
lea r8, [rbp - 0x49]
mov edx, 2
mov rcx, rbx
call fcn.1400e1ed0
mov rdi, rax
mov rdx, rdi
lea rcx, [rbp - 0x69]
call fcn.1400e1db0
lea rdx, [0x140147458]
lea rcx, [rbp - 0x69]
call fcn.1400ae2cc
int3