Function at 0x14004c8b0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rbx, rdx
mov rsi, qword [0x140223240]
call fcn.140031bd0
mov rcx, rax
test rax, rax
je 0x14004cb87
mov rax, qword [rax]
call qword [rax + SafeArrayPutElement]
add rax, 0x18
mov qword [rsp + 0x90], rax
lea rbp, str.VWdsRlJSTh4vLC4
mov rdx, rbp
lea rcx, [rsp + 0x90]
call fcn.140031e00
mov rdi, 0xffffffffffffffff
test al, al
jne 0x14004c93f
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rbp + rax*2], 0
jne 0x14004c920
mov r8d, eax
mov rdx, rbp
lea rcx, [rsp + 0x90]
call fcn.140032190
nop
mov r14, qword [rsp + 0x90]
lea rcx, [r14 - 0x18]
call fcn.1400318c0
add rax, 0x18
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x50]
call fcn.14004beb0
xor r15d, r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rax]
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rbp, rax
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14004c9a9
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
test rbp, rbp
je 0x14004cb4d
mov rdx, qword [rbx + 0x20]
cmp dword [rdx - 0x10], r15d
jne 0x14004c9c3
mov rdx, qword [rsi + 0xe8]
mov r8d, 0x1bb
xor r9d, r9d
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rbp, rax
test rax, rax
je 0x14004cb4d
call fcn.140031bd0
mov rcx, rax
test rax, rax
je 0x14004cb7c
mov rax, qword [rax]
call qword [rax + SafeArrayPutElement]
add rax, 0x18
mov qword [rsp + 0xa8], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rcx, qword [rbx]
mov rdx, qword [rbx + 0x18]
mov r8, qword [rbx + 0x10]
mov r9, qword [rbx + 8]
mov r10, qword [rsi + 8]
mov r11, qword [rbx + 0x28]
cmp dword [r11 - 0x10], 0
jne 0x14004ca2f
mov r11, qword [rsi + 0xf0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r10
mov r9, qword [rsi]
mov r8, r11
mov rdx, qword [rsi + 0xf8]
lea rcx, [rsp + 0xa8]
call fcn.140025c80
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov rbx, qword [rsp + 0xa8]
mov r8, rbx
lea rdx, [0x1401e54a0]
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rsi, rax
test rax, rax
je 0x14004caed
mov dword [rsp + 0x20], 0x2710
mov edx, 0x2710
mov r9d, edx
mov r8d, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x14004caed
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004cb4d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14004cb4d
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004cb06
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test rsi, rsi
je 0x14004cb43
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x14004cb3a
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbp
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
nop
lock xadd dword [r14 - 8], edi
sub edi, 1
jg 0x14004cb66
mov rcx, qword [r14 - 0x18]
mov rax, qword [rcx]
lea rdx, [r14 - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140032160
nop
mov ecx, 0x80004005
call fcn.140032160
int3