Function at 0x140007d40
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.14002b610
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 [0x140038040]
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 [0x14002ece8]
movsd qword [rsp + 0x58], xmm0
mov eax, dword [0x14002ecf0]
mov dword [rsp + 0x60], eax
mov r9d, r13d
cmp dword [0x140038090], 2
jl 0x140007fbe
movdqa xmm6, xmmword [0x14002fa40]
movdqa xmm7, xmmword [0x14002fa70]
movdqa xmm4, xmmword [0x14002f9e0]
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, 5
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 [0x14002fa80]
movdqa xmm1, xmm4
psubd xmm1, xmm0
movdqa xmm5, xmmword [0x14002fa10]
andps xmm1, xmm5
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movdqa xmm0, xmm3
psrld xmm0, 0x1f
paddd xmm0, xmm3
pmulld xmm0, xmmword [0x14002fa00]
psubd xmm4, xmm0
andps xmm4, xmm5
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
paddb xmm1, xmmword [0x14002fa50]
movd xmm0, dword [0x14002ece8]
xorps xmm1, xmm0
movd dword [rsp + 0x58], xmm1
movdqa xmm4, xmmword [0x14002f9f0]
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, 5
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 [0x14002fa80]
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 [0x14002fa00]
psubd xmm4, xmm0
andps xmm4, xmm5
packuswb xmm4, xmm4
packuswb xmm4, xmm4
paddb xmm1, xmm4
paddb xmm1, xmmword [0x14002fa50]
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, 0xb37072d7
imul r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x6b
sub cl, r8b
lea eax, [r9 + 0x2a]
add al, al
add cl, al
xor byte [r10], cl
inc r9d
lea r10, [r10 + 1]
cmp r9d, 0xc
jl 0x140007fd0
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 0x140008050
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.140001640
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.14002a5d8
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 0x1400080f3
mov rcx, r13
mov qword [rsp + 0x38], rcx
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x140008106
lea r8, [rsp + 0x38]
lea rcx, [rbp - 0x60]
call fcn.140021dc0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140008113
mov rax, qword [rcx]
mov edx, esi
call qword [rax]
nop
mov ecx, 8
call fcn.14002a5d8
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 0x14000814d
mov rcx, r13
mov qword [rsp + 0x38], rcx
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x140008160
lea r8, [rsp + 0x38]
lea rcx, [rbp - 0x60]
call fcn.140021dc0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000816d
mov rax, qword [rcx]
mov edx, esi
call qword [rax]
nop
mov ecx, 8
call fcn.14002a5d8
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 0x1400081a7
mov rcx, r13
mov qword [rsp + 0x38], rcx
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x1400081ba
lea r8, [rsp + 0x38]
lea rcx, [rbp - 0x60]
call fcn.140021dc0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400081c7
mov rax, qword [rcx]
mov edx, esi
call qword [rax]
nop
mov ecx, 8
call fcn.14002a5d8
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 0x140008201
mov rcx, r13
mov qword [rsp + 0x38], rcx
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x140008214
lea r8, [rsp + 0x38]
lea rcx, [rbp - 0x60]
call fcn.140021dc0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140008221
mov rax, qword [rcx]
mov edx, esi
call qword [rax]
nop
mov ecx, 8
call fcn.14002a5d8
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 0x14000825b
mov rcx, r13
mov qword [rsp + 0x38], rcx
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x14000826e
lea r8, [rsp + 0x38]
lea rcx, [rbp - 0x60]
call fcn.140021dc0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000827b
mov rax, qword [rcx]
mov edx, esi
call qword [rax]
nop
mov ecx, 8
call fcn.14002a5d8
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 0x1400082bd
mov rcx, r13
mov qword [rsp + 0x38], rcx
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x1400082d0
lea r8, [rsp + 0x38]
lea rcx, [rbp - 0x60]
call fcn.140021dc0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400082dd
mov rax, qword [rcx]
mov edx, esi
call qword [rax]
nop
movsd xmm10, qword [0x14002f988]
movsd xmm9, qword [0x14002f9a8]
movsd xmm13, qword [0x14002f9a0]
movsd xmm14, qword [0x14002f998]
movsd xmm15, qword [0x14002f990]
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 0x140008335
imul rax, rcx, 0x64
jmp 0x1400083a4
cmp rdi, 0x16e3600
jne 0x140008389
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 0x1400083a4
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
cmp rax, rbx
jge 0x140008d08
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 0x1400083f1
call fcn.140022cf0
lea esi, [r13 + 1]
mov r15d, r12d
lea rcx, [rbp + 0x20]
call fcn.140022cf0
mov ecx, eax
jmp 0x140008496
lea edi, [r13 + 1]
call fcn.140022cf0
mov r14d, edi
mov ecx, eax
imul rcx, r14
mov eax, edi
cmp ecx, edi
jae 0x14000842c
neg eax
xor edx, edx
div edi
mov esi, edx
mov eax, edi
cmp ecx, edx
jae 0x14000842c
lea rcx, [rbp + 0x20]
call fcn.140022cf0
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jb 0x140008417
jmp 0x14000842e
mov edi, eax
mov r14d, r12d
lea rcx, [rbp + 0x20]
call fcn.140022cf0
mov edx, edi
mov qword [rsp + 0x50], rdx
mov ecx, eax
imul rcx, rdx
mov esi, edi
mov r15d, r12d
cmp ecx, edi
jae 0x140008492
mov eax, edi
neg eax
xor edx, edx
div edi
cmp ecx, edx
jae 0x140008492
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.140022cf0
mov ecx, eax
imul rcx, r12
cmp ecx, ebx
jb 0x140008470
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.140022cf0
cmp r13d, 0xffffffff
jne 0x1400084dc
mov ecx, eax
jmp 0x140008513
mov r14d, esi
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jae 0x14000850f
mov eax, esi
neg eax
xor edx, edx
div esi
mov edi, edx
cmp ecx, edx
jae 0x14000850a
lea rcx, [rbp + 0x20]
call fcn.140022cf0
mov ecx, eax
imul rcx, r14
cmp ecx, edi
jb 0x1400084f7
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.140022cf0
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 0x140008536
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.140022cf0
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 0x140008580
divsd xmm12, xmm1
mulsd xmm12, xmm13
subsd xmm12, xmm14
movaps xmm0, xmm12
andps xmm0, xmmword [0x14002fa60]
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.140022cf0
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 0x140008616
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.140022cf0
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 0x140008675
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, 6
lea rdx, str.random
lea rcx, [rbp]
call fcn.140020e60
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 0x140008748
nop dword [rax]
lea rcx, [rbp + 0x20]
call fcn.140022cf0
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x15
ja 0x140008738
lea rcx, [rbp + 0x20]
call fcn.140022cf0
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x16
jb 0x140008724
shr rax, 0x20
add al, 0x61
mov byte [rdi], al
inc rdi
cmp rdi, rsi
jne 0x140008710
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
mov qword [rbp - 0x28], r15
mov ecx, 0x190
call fcn.14002a5d8
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 0x1400087b0
nop word [rax + rax]
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x48]
call fcn.14001fa30
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x140008790
mov r14, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x38]
mov dword [rbp - 0x20], 0xffffff9c
mov dword [rbp - 0x1c], 0x64
cmp rsi, r14
je 0x1400087f4
nop dword [rax]
nop word [rax + rax]
mov edi, dword [rsi]
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x20]
call fcn.14001fa30
add eax, edi
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x1400087d0
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.140022730
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 0x140008891
cmp rcx, 8
jb 0x140008891
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 0x140008850
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 0x1400088ac
nop word [rax + rax]
add r8d, dword [rax]
add rax, 4
cmp rax, r9
jne 0x1400088a0
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 0x1400088f2
call fcn.140022cf0
lea edi, [rax + rsi]
xor edi, 0x80000000
lea rcx, [rbp + 0x20]
call fcn.140022cf0
mov ecx, eax
jmp 0x14000898e
inc r12d
call fcn.140022cf0
mov r14d, r12d
mov ecx, eax
imul rcx, r14
cmp ecx, r12d
jae 0x140008933
mov eax, r12d
neg eax
xor edx, edx
div r12d
mov edi, edx
cmp ecx, edx
jae 0x140008933
nop dword [rax + rax]
lea rcx, [rbp + 0x20]
call fcn.140022cf0
mov ecx, eax
imul rcx, r14
cmp ecx, edi
jb 0x140008920
shr rcx, 0x20
lea r14d, [rcx + rsi]
xor r14d, 0x80000000
mov r15d, esi
lea rcx, [rbp + 0x20]
call fcn.140022cf0
mov r13d, r12d
mov ecx, eax
imul rcx, r13
mov edi, r14d
cmp ecx, r12d
jae 0x14000898a
mov eax, r12d
neg eax
xor edx, edx
div r12d
mov r12d, edx
cmp ecx, edx
jae 0x14000898a
mov esi, r15d
mov edi, r14d
lea rcx, [rbp + 0x20]
call fcn.140022cf0
mov ecx, eax
imul rcx, r13
cmp ecx, r12d
jb 0x140008970
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 0x140008a46
btc eax, 0x1f
sub eax, r14d
cmp eax, 0xffffffff
jne 0x1400089f9
call fcn.140022cf0
mov ecx, eax
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
add eax, ecx
jmp 0x140008aa4
lea edi, [rax + 1]
call fcn.140022cf0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140008a33
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140008a33
nop dword [rax + rax]
lea rcx, [rbp + 0x20]
call fcn.140022cf0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140008a20
shr rcx, 0x20
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
add eax, ecx
jmp 0x140008aa4
btc eax, 0x1f
sub eax, r14d
cmp eax, 0xffffffff
jne 0x140008a5b
call fcn.140022cf0
mov ecx, eax
jmp 0x140008a97
lea edi, [rax + 1]
call fcn.140022cf0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140008a93
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140008a93
nop dword [rax]
lea rcx, [rbp + 0x20]
call fcn.140022cf0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140008a80
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 0x140008ad9
call fcn.140022cf0
mov ecx, eax
jmp 0x140008b17
lea edi, [r15 + 1]
call fcn.140022cf0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140008b13
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140008b13
nop dword [rax]
lea rcx, [rbp + 0x20]
call fcn.140022cf0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140008b00
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.140022cf0
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 0x140008b35
divsd xmm1, xmm2
mulsd xmm1, xmm13
subsd xmm1, xmm14
addsd xmm1, qword [rsp + 0x40]
movsd qword [rsp + 0x40], xmm1
test r14b, 1
jne 0x140008be1
lea rcx, [rbp + 0x20]
cmp r15d, 0xffffffff
jne 0x140008b93
call fcn.140022cf0
mov ecx, eax
jmp 0x140008bcd
lea edi, [r15 + 1]
call fcn.140022cf0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140008bc9
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140008bc9
lea rcx, [rbp + 0x20]
call fcn.140022cf0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140008bb6
shr rcx, 0x20
add ecx, r12d
btc ecx, 0x1f
mov eax, dword [rsp + 0x30]
imul eax, ecx
mov dword [rsp + 0x30], eax
jmp 0x140008c3e
movaps xmm1, xmm8
movaps xmm2, xmm10
mov edi, 2
nop
lea rcx, [rbp + 0x20]
call fcn.140022cf0
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 0x140008bf0
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 0x140008ac6
sub r13, 1
jne 0x140008ac3
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140008ca8
mov rax, qword [rbp - 0x28]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008c92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008cfa
call fcn.14002a5d0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
xor r13d, r13d
mov qword [rbp - 0x28], r13
jmp 0x140008cab
xor r13d, r13d
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x140008ce2
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008cdd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008d01
call fcn.14002a5d0
mov eax, dword [rbp - 0x40]
inc eax
mov dword [rbp - 0x40], eax
cmp eax, 0x186a0
jl 0x1400083b1
jmp 0x14000830a
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 0x140008d82
mov rdi, qword [rbp - 0x58]
cmp rbx, rdi
je 0x140008d3f
mov esi, 1
mov rcx, qword [rbx]
test rcx, rcx
je 0x140008d32
mov rax, qword [rcx]
mov edx, esi
call qword [rax]
add rbx, 8
cmp rbx, rdi
jne 0x140008d23
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 0x140008d7a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140008d7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14002a5d0
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 0x140008edc
mov rdx, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x140008dc1
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 0x140008edc
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 0x140008e4a
lea rax, [rcx + rdi]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 0xf
jbe 0x140008e31
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 0x140008e5e
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x20]
mov rdx, rdi
mov rcx, r14
call fcn.140020cd0
xor edx, edx
mov r8d, 0x4e20
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memset
cmp dword [rbp - 0x40], 0
jne 0x140008df0
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 0x140008f2b
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140008f26
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140008f23
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 0x140008f2b
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140008f26
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140008fa0
mov rcx, r8
call fcn.14002a5d0
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.14002a5b0
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