Function at 0x140029110
Capabilities:
Encode data using xor
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1c0
movaps xmmword [rax - 0x38], xmm6
lea r12, [rbp + 0xe8]
mov r14, qword [r12]
xor r15d, r15d
movaps xmmword [rax - 0x48], xmm7
xorps xmm0, xmm0
xor eax, eax
mov qword [r12], r15
mov dword [rsp + 0x54], eax
mov word [rsp + 0x58], ax
mov byte [rsp + 0x5a], al
movups xmmword [rsp + 0x44], xmm0
nop
call fcn.140027c50
mov edi, dword [0x140238558]
lea rax, [0x1400b3240]
lea rcx, [rbp - 0x70]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax]
movups xmmword [rcx - 0x20], xmm0
movups xmm0, xmmword [rax - 0x10]
movups xmmword [rcx - 0x10], xmm0
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rcx], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movzx eax, word [rax + 0x60]
movups xmmword [rcx + 0x40], xmm1
movups xmmword [rcx + 0x50], xmm0
mov word [rcx + 0x60], ax
mov ecx, r15d
cmp edi, 2
jl 0x140029324
movdqa xmm5, xmmword [0x1400b4620]
lea rdx, [rbp - 0x70]
movdqa xmm4, xmmword [0x1400b46f0]
movdqa xmm6, xmmword [str.::::]
movdqa xmm7, xmmword [0x1400b46a0]
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm5
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x70
jl 0x140029230
cmp ecx, 0x71
jge 0x140029363
movsxd rax, ecx
lea r8, [rbp - 0x70]
lea r8, [r8 + rax*2]
nop
mov eax, 0x8d3dcb09
lea r8, [r8 + 2]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x3a
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x33
xor word [r8 - 2], ax
cmp ecx, 0x71
jl 0x140029330
xor r9d, r9d
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea rcx, [rbp - 0x70]
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov rbx, rax
test rax, rax
je 0x1400299d8
movzx ecx, word [0x1400b3390]
mov r8d, r15d
mov qword [rsp + 0x200], rsi
movaps xmmword [rsp + 0x190], xmm8
movq xmm8, qword [0x1400b3388]
movq qword [rsp + 0x50], xmm8
mov word [rsp + 0x58], cx
movups xmm7, xmmword [str.CMAQBYK]
movups xmmword [rsp + 0x40], xmm7
cmp edi, 2
jl 0x140029527
movdqa xmm2, xmmword [0x1400b4620]
mov r8d, 0xc
movdqa xmm4, xmmword [0x1400b46f0]
movdqa xmm1, xmm2
movdqa xmm5, xmmword [str.::::]
movdqa xmm0, xmm2
movdqa xmm6, xmmword [0x1400b46a0]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm6
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm1, xmm7
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x1400b4630]
xorps xmm3, xmm1
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movq qword [rsp + 0x40], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm6
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x48]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x1400b4640]
xorps xmm3, xmm0
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movq qword [rsp + 0x48], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm6
pshuflw xmm1, xmm0, 0xd8
movq xmm0, xmm8
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rsp + 0x50], xmm3
mov eax, r8d
lea r9, [rsp + 0x40]
lea r9, [r9 + rax*2]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x33
xor word [r9 - 2], ax
cmp r8d, 0xd
jl 0x140029540
mov r8d, 0x1bb
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov rsi, rax
test rax, rax
je 0x140029998
movq xmm7, qword [0x1400b3cf8]
mov r8d, r15d
movdqa xmm8, xmmword [str.::::]
movdqa xmm4, xmmword [0x1400b4620]
movdqa xmm5, xmmword [0x1400b46f0]
movaps xmmword [rsp + 0x180], xmm9
movdqa xmm9, xmmword [0x1400b46a0]
movq qword [rbp - 0x80], xmm7
movups xmm6, xmmword [0x1400b3cd8]
movups xmm0, xmmword [0x1400b3ce8]
movups xmmword [rsp + 0x60], xmm6
movups xmmword [rsp + 0x70], xmm0
cmp edi, 2
jl 0x140029811
movdqa xmm2, xmm4
movdqa xmm0, xmm4
punpckhdq xmm0, xmm4
pmuldq xmm0, xmm5
punpckldq xmm2, xmm4
pmuldq xmm2, xmm5
shufps xmm2, xmm0, 0xdd
movdqa xmm0, xmm4
paddd xmm2, xmm4
psrad xmm2, 5
movdqa xmm1, xmm2
psrld xmm1, 0x1f
paddd xmm1, xmm2
movq xmm2, xmm9
pmulld xmm1, xmm8
psubd xmm0, xmm1
pshufhw xmm0, xmm0, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm3, xmm1, 0xd8
movq xmm1, xmm6
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x1400b4630]
xorps xmm3, xmm1
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
movq qword [rsp + 0x60], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x68]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x1400b4640]
xorps xmm3, xmm0
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
movq qword [rsp + 0x68], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x70]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x1400b4650]
xorps xmm3, xmm0
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm1, xmm5
pmuldq xmm0, xmm5
movq qword [rsp + 0x70], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x78]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movdqa xmm2, xmmword [0x1400b4660]
xorps xmm3, xmm0
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
movq qword [rsp + 0x78], xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshuflw xmm1, xmm0, 0xd8
movq xmm0, xmm7
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rbp - 0x80], xmm3
jmp 0x14002984e
lea r9, [rsp + 0x60]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 2]
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x33
xor word [r9 - 2], ax
cmp r8d, 0x14
jl 0x140029820
cmp word [0x1400b35de], r15w
lea r10, [rsp + 0x60]
mov rax, qword [0x1400b35d8]
mov qword [rbp + 0xf8], rax
je 0x14002991e
mov r8d, r15d
cmp edi, 2
jl 0x1400298de
movdqa xmm1, xmm4
movdqa xmm0, xmm4
punpckhdq xmm0, xmm4
pmuldq xmm0, xmm5
punpckldq xmm1, xmm4
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm4
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm8
psubd xmm4, xmm0
pshufhw xmm0, xmm4, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rbp + 0xf8]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmm9
xorps xmm2, xmm0
movq qword [rbp + 0xf8], xmm2
jmp 0x14002991e
lea r9, [rbp + 0xf8]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r9, [r9 + 2]
mul r8d
shr edx, 5
movzx eax, dx
imul ecx, eax, 0x3a
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x33
xor word [r9 - 2], ax
cmp r8d, 4
jl 0x1400298f0
mov dword [rsp + 0x30], 0x800000
lea rdx, [rbp + 0xf8]
mov qword [rsp + 0x28], r15
xor r9d, r9d
mov r8, r10
mov qword [rsp + 0x20], r15
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
movaps xmm9, xmmword [rsp + 0x180]
mov rdi, rax
test rax, rax
je 0x14002998f
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], r15d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], r15d
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x140029986
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
mov rcx, rdi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rcx, rbx
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rsi, qword [rsp + 0x200]
movaps xmm8, xmmword [rsp + 0x190]
mov qword [r12], r14
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov qword [r12], r14
jmp 0x1400299b6