Function at 0x1400117e0
Capabilities:
Decode data using base64 via winapi
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1480]
mov eax, 0x1580
call fcn.140032620
sub rsp, rax
movaps xmmword [rsp + 0x1570], xmm6
movaps xmmword [rsp + 0x1560], xmm7
movaps xmmword [rsp + 0x1550], xmm8
movaps xmmword [rsp + 0x1540], xmm9
movaps xmmword [rsp + 0x1530], xmm10
movaps xmmword [rsp + 0x1520], xmm11
movaps xmmword [rsp + 0x1510], xmm12
movaps xmmword [rsp + 0x1500], xmm13
movaps xmmword [rsp + 0x14f0], xmm14
movaps xmmword [rsp + 0x14e0], xmm15
mov rax, qword [0x14003f040]
xor rax, rsp
mov qword [rbp + 0x13d0], rax
mov qword [rbp - 0x68], rdx
mov r14, rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x58], rcx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rdi, [rbp + 0x14b8]
movabs r15, 0xff00ff00ff00ff00
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], rdi
mov rbx, qword [rdi]
xor rbx, r15
mov qword [rbp - 0x20], rbx
mov qword [rdi], r12
mov rcx, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x1400118bc
mov rcx, qword [rdx]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r13d, 1
mov r8d, r13d
mov edx, dword [rdx + 0x10]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x140011901
mov qword [r14], r12
mov qword [r14 + 8], r12
mov qword [r14 + 0x10], r12
xor rbx, r15
mov qword [rdi], rbx
mov rax, r14
jmp 0x1400134ad
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x13c4], 0xffffffff
mov dword [rbp + 0x44], eax
mov rdx, r13
nop word [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 + 0x44], eax
inc rdx
cmp rdx, 0x270
jb 0x140011920
mov dword [rbp + 0x40], 0x270
mov dword [rsp + 0x78], 0xffffff9c
mov dword [rsp + 0x7c], 0x64
mov dword [rsp + 0x40], r12d
xorps xmm10, xmm10
movsd qword [rsp + 0x50], xmm10
lea rcx, [rsp + 0x58]
call fcn.140001660
mov rbx, qword [rsp + 0x58]
add rbx, 0x5f5e100
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov qword [rbp - 0x70], r12
mov ecx, 8
call fcn.1400315e0
lea r15, vtable.AddOperation.0
mov qword [rax], r15
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x48], rax
mov rdx, qword [rbp - 0x78]
cmp rdx, qword [rbp - 0x70]
je 0x1400119c2
mov rcx, r12
mov qword [rsp + 0x48], rcx
mov qword [rdx], rax
add qword [rbp - 0x78], 8
jmp 0x1400119d5
lea r8, [rsp + 0x48]
lea rcx, [rbp - 0x80]
call fcn.140028b90
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400119e3
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
nop
mov ecx, 8
call fcn.1400315e0
lea r14, vtable.MultiplyOperation.0
mov qword [rax], r14
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x48], rax
mov rdx, qword [rbp - 0x78]
cmp rdx, qword [rbp - 0x70]
je 0x140011a1d
mov rcx, r12
mov qword [rsp + 0x48], rcx
mov qword [rdx], rax
add qword [rbp - 0x78], 8
jmp 0x140011a30
lea r8, [rsp + 0x48]
lea rcx, [rbp - 0x80]
call fcn.140028b90
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140011a3e
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
nop
mov ecx, 8
call fcn.1400315e0
lea r14, vtable.SubtractOperation.0
mov qword [rax], r14
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x48], rax
mov rdx, qword [rbp - 0x78]
cmp rdx, qword [rbp - 0x70]
je 0x140011a78
mov rcx, r12
mov qword [rsp + 0x48], rcx
mov qword [rdx], rax
add qword [rbp - 0x78], 8
jmp 0x140011a8b
lea r8, [rsp + 0x48]
lea rcx, [rbp - 0x80]
call fcn.140028b90
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140011a99
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
nop
mov ecx, 8
call fcn.1400315e0
lea r14, vtable.DivideOperation.0
mov qword [rax], r14
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x48], rax
mov rdx, qword [rbp - 0x78]
cmp rdx, qword [rbp - 0x70]
je 0x140011ad3
mov rcx, r12
mov qword [rsp + 0x48], rcx
mov qword [rdx], rax
add qword [rbp - 0x78], 8
jmp 0x140011ae6
lea r8, [rsp + 0x48]
lea rcx, [rbp - 0x80]
call fcn.140028b90
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140011af4
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
nop
mov ecx, 8
call fcn.1400315e0
lea r14, vtable.ModulusOperation.0
mov qword [rax], r14
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x48], rax
mov rdx, qword [rbp - 0x78]
cmp rdx, qword [rbp - 0x70]
je 0x140011b2e
mov rcx, r12
mov qword [rsp + 0x48], rcx
mov qword [rdx], rax
add qword [rbp - 0x78], 8
jmp 0x140011b41
lea r8, [rsp + 0x48]
lea rcx, [rbp - 0x80]
call fcn.140028b90
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140011b4f
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
nop
mov ecx, 8
call fcn.1400315e0
lea rcx, vtable.ComplexOperation.0
mov qword [rax], rcx
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x48], rax
mov rdx, qword [rbp - 0x78]
cmp rdx, qword [rbp - 0x70]
je 0x140011b89
mov rcx, r12
mov qword [rsp + 0x48], rcx
mov qword [rdx], rax
add qword [rbp - 0x78], 8
jmp 0x140011b9c
lea r8, [rsp + 0x48]
lea rcx, [rbp - 0x80]
call fcn.140028b90
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140011baa
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
nop
movsd xmm12, qword [0x140037268]
movsd xmm11, qword [0x140037288]
movsd xmm13, qword [0x140037280]
movsd xmm14, qword [0x140037278]
movsd xmm15, qword [0x140037270]
movsd xmm6, qword [0x140037340]
movabs r14, 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 0x140011c0a
imul rax, rcx, 0x64
jmp 0x140011c79
cmp rdi, 0x16e3600
jne 0x140011c5e
mov rax, r14
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, r14
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rax, rdx
add rax, r8
jmp 0x140011c79
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
cmp rax, rbx
jge 0x1400125f2
mov dword [rsp + 0x64], r12d
nop word [rax + rax]
mov r15d, dword [rsp + 0x78]
btc r15d, 0x1f
mov dword [rsp + 0x48], r15d
mov r12d, dword [rsp + 0x7c]
btc r12d, 0x1f
sub r12d, r15d
mov dword [rsp + 0x60], r12d
lea rcx, [rbp + 0x40]
cmp r12d, 0xffffffff
jne 0x140011cd8
call fcn.140029bf0
lea esi, [r12 + 1]
mov r14d, r15d
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
jmp 0x140011d68
lea edi, [r12 + 1]
call fcn.140029bf0
mov r14d, edi
mov ecx, eax
imul rcx, r14
mov eax, edi
cmp ecx, edi
jae 0x140011d15
neg eax
xor edx, edx
div edi
mov esi, edx
mov eax, edi
cmp ecx, edx
jae 0x140011d15
nop
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jb 0x140011d00
jmp 0x140011d17
mov edi, eax
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov r13d, edi
mov ecx, eax
imul rcx, r13
mov esi, edi
mov r14d, r15d
cmp ecx, edi
jae 0x140011d5f
mov eax, edi
neg eax
xor edx, edx
div edi
mov r12d, edx
cmp ecx, edx
jae 0x140011d5a
mov r14d, r15d
mov esi, edi
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
imul rcx, r13
cmp ecx, r12d
jb 0x140011d41
mov r12d, dword [rsp + 0x60]
shr rcx, 0x20
mov r15d, dword [rsp + 0x48]
lea eax, [rcx + r14]
cdqe
xor rax, 0xffffffff80000000
mov rcx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x80]
sub rcx, r8
sar rcx, 3
xor edx, edx
div rcx
movsxd rax, edx
mov r13, qword [r8 + rax*8]
mov rax, qword [r13]
mov rdi, qword [rax + 8]
mov qword [rsp + 0x48], rdi
lea rcx, [rbp + 0x40]
call fcn.140029bf0
cmp r12d, 0xffffffff
jne 0x140011daf
mov ecx, eax
jmp 0x140011dec
mov r14d, esi
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jae 0x140011de8
mov eax, esi
neg eax
xor edx, edx
div esi
mov edi, edx
cmp ecx, edx
jae 0x140011de3
nop word [rax + rax]
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
imul rcx, r14
cmp ecx, edi
jb 0x140011dd0
mov rdi, qword [rsp + 0x48]
shr rcx, 0x20
lea r8d, [rcx + r15]
btc r8d, 0x1f
mov edx, dword [rsp + 0x40]
mov rcx, r13
call rdi
mov dword [rsp + 0x40], eax
movaps xmm8, xmm10
movaps xmm1, xmm12
mov edi, 2
nop
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm10
mulsd xmm0, xmm1
addsd xmm8, xmm0
mulsd xmm1, xmm11
sub rdi, 1
jne 0x140011e10
divsd xmm8, xmm1
mulsd xmm8, xmm13
subsd xmm8, xmm14
movaps xmm9, xmm10
movaps xmm1, xmm12
mov edi, 2
nop dword [rax + rax]
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm10
mulsd xmm0, xmm1
addsd xmm9, xmm0
mulsd xmm1, xmm11
sub rdi, 1
jne 0x140011e60
divsd xmm9, xmm1
mulsd xmm9, xmm13
subsd xmm9, xmm14
movaps xmm0, xmm9
andps xmm0, xmm6
addsd xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_log
movaps xmm7, xmm0
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm6, xmm0
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
mulsd xmm6, xmm0
addsd xmm7, xmm6
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_exp
subsd xmm7, xmm0
addsd xmm7, qword [rsp + 0x50]
movsd qword [rsp + 0x50], xmm7
movaps xmm0, xmm10
movaps xmm2, xmm12
mov edi, 2
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov eax, eax
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
subsd xmm1, xmm10
mulsd xmm1, xmm2
addsd xmm0, xmm1
mulsd xmm2, xmm11
sub rdi, 1
jne 0x140011ef2
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 + 0x50]
subsd xmm1, xmm0
movsd qword [rsp + 0x50], xmm1
movaps xmm0, xmm10
movaps xmm2, xmm12
mov edi, 2
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov eax, eax
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
subsd xmm1, xmm10
mulsd xmm1, xmm2
addsd xmm0, xmm1
mulsd xmm2, xmm11
sub rdi, 1
jne 0x140011f51
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 + 0x50]
mulsd xmm0, xmm1
movsd qword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
xor r15d, r15d
mov qword [rbp + 8], r15
mov qword [rbp + 0x10], r15
mov r8d, 3
lea rdx, [0x14003597c]
lea rcx, [rbp - 8]
call fcn.140027f20
nop
lea rdi, [rbp - 8]
cmp qword [rbp + 0x10], 0xf
cmova rdi, qword [rbp - 8]
lea rsi, [rbp - 8]
cmova rsi, qword [rbp - 8]
add rsi, qword [rbp + 8]
cmp rdi, rsi
je 0x140012028
nop dword [rax + rax]
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x15
ja 0x140012018
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x16
jb 0x140012004
shr rax, 0x20
add al, 0x61
mov byte [rdi], al
inc rdi
cmp rdi, rsi
jne 0x140011ff0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
mov qword [rbp - 0x50], r15
mov ecx, 0x190
call fcn.1400315e0
mov qword [rbp - 0x60], rax
lea r14, [rax + 0x190]
mov qword [rbp - 0x50], r14
xor edx, edx
mov r8d, 0x190
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x58], r14
mov rsi, qword [rbp - 0x60]
cmp rsi, r14
je 0x140012091
nop word [rax + rax]
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.140026f50
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x140012070
mov r14, qword [rbp - 0x58]
mov rsi, qword [rbp - 0x60]
mov dword [rbp - 0x48], 0xffffff9c
mov dword [rbp - 0x44], 0x64
cmp rsi, r14
je 0x1400120d4
nop dword [rax]
nop dword [rax + rax]
mov edi, dword [rsi]
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x48]
call fcn.140026f50
add eax, edi
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x1400120b0
mov r14, qword [rbp - 0x58]
mov rsi, qword [rbp - 0x60]
mov r8, r14
sub r8, rsi
sar r8, 2
xor r9d, r9d
mov rdx, r14
mov rcx, rsi
call fcn.1400295b0
mov ecx, r15d
mov rax, qword [rbp - 0x60]
mov r8, r15
mov r9, qword [rbp - 0x58]
mov rdx, r9
sub rdx, rax
add rdx, 3
shr rdx, 2
cmp rax, r9
cmova rdx, r15
test rdx, rdx
je 0x140012170
cmp rdx, 8
jb 0x140012170
and rdx, 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 r8, 8
cmp r8, rdx
jne 0x140012130
paddd xmm1, xmm2
movdqa xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd ecx, xmm1
cmp rax, r9
je 0x140012180
add ecx, dword [rax]
add rax, 4
cmp rax, r9
jne 0x140012175
mov eax, dword [rsp + 0x40]
add eax, ecx
mov dword [rsp + 0x40], eax
mov esi, dword [rsp + 0x78]
btc esi, 0x1f
mov eax, dword [rsp + 0x7c]
btc eax, 0x1f
sub eax, esi
lea rcx, [rbp + 0x40]
cmp eax, 0xffffffff
jne 0x1400121c3
call fcn.140029bf0
lea edi, [rsi + rax]
xor edi, 0x80000000
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
jmp 0x14001225e
lea r12d, [rax + 1]
call fcn.140029bf0
mov r14d, r12d
mov ecx, eax
imul rcx, r14
cmp ecx, r12d
jae 0x140012203
mov eax, r12d
neg eax
xor edx, edx
div r12d
mov edi, edx
cmp ecx, edx
jae 0x140012203
nop word [rax + rax]
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
imul rcx, r14
cmp ecx, edi
jb 0x1400121f0
shr rcx, 0x20
lea r14d, [rsi + rcx]
xor r14d, 0x80000000
mov r15d, esi
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov r13d, r12d
mov ecx, eax
imul rcx, r13
mov edi, r14d
cmp ecx, r12d
jae 0x14001225a
mov eax, r12d
neg eax
xor edx, edx
div r12d
mov r12d, edx
cmp ecx, edx
jae 0x14001225a
mov esi, r15d
mov edi, r14d
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
imul rcx, r13
cmp ecx, r12d
jb 0x140012240
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
add eax, edi
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov dword [rsp + 0x40], ecx
mov eax, dword [rsp + 0x40]
mov r14d, dword [rsp + 0x78]
btc r14d, 0x1f
test al, 1
mov eax, dword [rsp + 0x7c]
lea rcx, [rbp + 0x40]
jne 0x140012316
btc eax, 0x1f
sub eax, r14d
cmp eax, 0xffffffff
jne 0x1400122ca
call fcn.140029bf0
mov ecx, eax
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x40]
add eax, ecx
jmp 0x140012374
lea edi, [rax + 1]
call fcn.140029bf0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140012303
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140012303
nop dword [rax]
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x1400122f0
shr rcx, 0x20
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x40]
add eax, ecx
jmp 0x140012374
btc eax, 0x1f
sub eax, r14d
cmp eax, 0xffffffff
jne 0x14001232b
call fcn.140029bf0
mov ecx, eax
jmp 0x140012367
lea edi, [rax + 1]
call fcn.140029bf0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140012363
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140012363
nop dword [rax]
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140012350
shr rcx, 0x20
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x40]
sub eax, ecx
mov dword [rsp + 0x40], eax
mov r12d, dword [rsp + 0x78]
btc r12d, 0x1f
mov r13d, 5
mov r15d, dword [rsp + 0x7c]
btc r15d, 0x1f
sub r15d, r12d
nop word [rax + rax]
xor r14d, r14d
lea rcx, [rbp + 0x40]
cmp r15d, 0xffffffff
jne 0x1400123b6
call fcn.140029bf0
mov ecx, eax
jmp 0x1400123f7
lea edi, [r15 + 1]
call fcn.140029bf0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x1400123f3
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x1400123f3
nop dword [rax]
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x1400123e0
shr rcx, 0x20
add ecx, r12d
btc ecx, 0x1f
mov eax, dword [rsp + 0x40]
add eax, ecx
mov dword [rsp + 0x40], eax
movaps xmm1, xmm10
movaps xmm2, xmm12
mov edi, 2
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm10
mulsd xmm0, xmm2
addsd xmm1, xmm0
mulsd xmm2, xmm11
sub rdi, 1
jne 0x140012415
divsd xmm1, xmm2
mulsd xmm1, xmm13
subsd xmm1, xmm14
addsd xmm1, qword [rsp + 0x50]
movsd qword [rsp + 0x50], xmm1
test r14b, 1
jne 0x1400124c1
lea rcx, [rbp + 0x40]
cmp r15d, 0xffffffff
jne 0x140012473
call fcn.140029bf0
mov ecx, eax
jmp 0x1400124ad
lea edi, [r15 + 1]
call fcn.140029bf0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x1400124a9
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x1400124a9
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140012496
shr rcx, 0x20
add ecx, r12d
btc ecx, 0x1f
mov eax, dword [rsp + 0x40]
imul eax, ecx
mov dword [rsp + 0x40], eax
jmp 0x14001251e
movaps xmm1, xmm10
movaps xmm2, xmm12
mov edi, 2
nop
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm10
mulsd xmm0, xmm2
addsd xmm1, xmm0
mulsd xmm2, xmm11
sub rdi, 1
jne 0x1400124d0
divsd xmm1, xmm2
mulsd xmm1, xmm13
subsd xmm1, xmm14
movsd xmm0, qword [rsp + 0x50]
addsd xmm1, xmm12
divsd xmm0, xmm1
movsd qword [rsp + 0x50], xmm0
inc r14d
cmp r14d, 5
jl 0x1400123a3
sub r13, 1
jne 0x1400123a0
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140012588
mov rax, qword [rbp - 0x50]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012572
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400125e4
call fcn.140031934
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
xor r12d, r12d
mov qword [rbp - 0x50], r12
jmp 0x14001258b
xor r12d, r12d
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x1400125c2
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400125bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400125eb
call fcn.140031934
mov eax, dword [rsp + 0x64]
inc eax
mov dword [rsp + 0x64], eax
cmp eax, 0x186a0
movsd xmm6, qword [0x140037340]
jl 0x140011c90
jmp 0x140011bd7
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 + 0x40]
mov rbx, qword [rbp - 0x80]
mov r13d, 1
test rbx, rbx
je 0x14001267c
mov rdi, qword [rbp - 0x78]
cmp rbx, rdi
je 0x14001262d
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x140012620
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
add rbx, 8
cmp rbx, rdi
jne 0x140012610
mov rbx, qword [rbp - 0x80]
mov rax, qword [rbp - 0x70]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140012668
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012668
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140031934
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r12
xorps xmm0, xmm0
mov edi, dword [rbp - 0x40]
movdqu xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r12
test rdi, rdi
je 0x1400126ea
cmp rdi, 0x1000
jb 0x1400126c5
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x14001350f
call fcn.1400315e0
mov rcx, rax
test rax, rax
je 0x140012763
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400126cd
mov rcx, rdi
call fcn.1400315e0
mov qword [rbp - 0x38], rax
lea rbx, [rax + rdi]
mov qword [rbp - 0x28], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x30], rbx
mov rsi, qword [rbp - 0x68]
mov edx, dword [rsi + 0x10]
cmp qword [rsi + 0x18], 0xf
jbe 0x1400126fb
mov rsi, qword [rsi]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x38]
mov r8d, r13d
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x140012787
mov r14, qword [rsp + 0x68]
mov qword [r14], r12
mov qword [r14 + 8], r12
mov qword [r14 + 0x10], r12
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140012770
mov rdx, qword [rbp - 0x28]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001276a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001276a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140031934
nop
mov rcx, qword [rbp - 0x18]
xor rcx, qword [rbp - 0x20]
mov rax, qword [rbp - 0x10]
mov qword [rax], rcx
mov rax, r14
jmp 0x1400134ad
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
lea rcx, [rbp + 0x40]
call fcn.140025220
mov dword [rsp + 0x78], 0xffffff9c
mov dword [rsp + 0x7c], 0x64
mov dword [rsp + 0x40], r12d
movsd qword [rsp + 0x50], xmm10
lea rcx, [rsp + 0x58]
call fcn.140001660
mov rbx, qword [rsp + 0x58]
add rbx, 0x5f5e100
mov qword [rsp + 0x58], rbx
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov qword [rbp - 0x70], r12
mov ecx, 8
call fcn.1400315e0
lea rcx, vtable.AddOperation.0
mov qword [rax], rcx
mov qword [rbp - 0x68], r12
mov qword [rsp + 0x48], rax
mov rdx, qword [rbp - 0x78]
cmp rdx, qword [rbp - 0x70]
je 0x140012814
mov rcx, r12
mov qword [rsp + 0x48], rcx
mov qword [rdx], rax
add qword [rbp - 0x78], 8
jmp 0x140012827
lea r8, [rsp + 0x48]
lea rcx, [rbp - 0x80]
call fcn.140028b90
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140012835
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
nop
mov ecx, 8
call fcn.1400315e0
lea rcx, vtable.MultiplyOperation.0
mov qword [rax], rcx
mov qword [rbp - 0x68], r12
mov qword [rsp + 0x48], rax
mov rdx, qword [rbp - 0x78]
cmp rdx, qword [rbp - 0x70]
je 0x14001286e
mov rcx, r12
mov qword [rsp + 0x48], rcx
mov qword [rdx], rax
add qword [rbp - 0x78], 8
jmp 0x140012881
lea r8, [rsp + 0x48]
lea rcx, [rbp - 0x80]
call fcn.140028b90
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14001288f
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
nop
mov ecx, 8
call fcn.1400315e0
lea rcx, vtable.SubtractOperation.0
mov qword [rax], rcx
mov qword [rbp - 0x68], r12
mov qword [rsp + 0x48], rax
mov rdx, qword [rbp - 0x78]
cmp rdx, qword [rbp - 0x70]
je 0x1400128c8
mov rcx, r12
mov qword [rsp + 0x48], rcx
mov qword [rdx], rax
add qword [rbp - 0x78], 8
jmp 0x1400128db
lea r8, [rsp + 0x48]
lea rcx, [rbp - 0x80]
call fcn.140028b90
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400128e9
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
nop
mov ecx, 8
call fcn.1400315e0
lea rcx, vtable.DivideOperation.0
mov qword [rax], rcx
mov qword [rbp - 0x68], r12
mov qword [rsp + 0x48], rax
mov rdx, qword [rbp - 0x78]
cmp rdx, qword [rbp - 0x70]
je 0x140012922
mov rcx, r12
mov qword [rsp + 0x48], rcx
mov qword [rdx], rax
add qword [rbp - 0x78], 8
jmp 0x140012935
lea r8, [rsp + 0x48]
lea rcx, [rbp - 0x80]
call fcn.140028b90
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140012943
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
nop
mov ecx, 8
call fcn.1400315e0
lea rcx, vtable.ModulusOperation.0
mov qword [rax], rcx
mov qword [rbp - 0x68], r12
mov qword [rsp + 0x48], rax
mov rdx, qword [rbp - 0x78]
cmp rdx, qword [rbp - 0x70]
je 0x140012979
mov qword [rsp + 0x48], r12
mov qword [rdx], rax
add qword [rbp - 0x78], 8
jmp 0x140012988
lea r8, [rsp + 0x48]
lea rcx, [rbp - 0x80]
call fcn.140028b90
nop
lea rcx, [rsp + 0x48]
call fcn.1400250e0
nop
lea rcx, [rbp - 0x68]
call fcn.1400250e0
lea rcx, [rbp - 0x68]
call fcn.140027130
nop
mov rcx, qword [rax]
mov qword [rax], r12
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x80]
call fcn.140025120
nop
lea rcx, [rbp - 0x48]
call fcn.1400250e0
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x1400129e0
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
nop dword [rax]
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 0x140012a01
imul rax, rcx, 0x64
jmp 0x140012a70
cmp rdi, 0x16e3600
jne 0x140012a55
mov rax, r14
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, r14
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rax, rdx
add rax, r8
jmp 0x140012a70
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
cmp rax, rbx
jge 0x140013401
mov dword [rsp + 0x60], r12d
nop
mov r12d, dword [rsp + 0x78]
btc r12d, 0x1f
mov dword [rsp + 0x64], r12d
mov r13d, dword [rsp + 0x7c]
btc r13d, 0x1f
sub r13d, r12d
lea rcx, [rbp + 0x40]
cmp r13d, 0xffffffff
jne 0x140012ac2
call fcn.140029bf0
lea esi, [r13 + 1]
mov r15d, r12d
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
jmp 0x140012b62
lea edi, [r13 + 1]
call fcn.140029bf0
mov r14d, edi
mov ecx, eax
imul rcx, r14
mov eax, edi
cmp ecx, edi
jae 0x140012b05
neg eax
xor edx, edx
div edi
mov esi, edx
mov eax, edi
cmp ecx, edx
jae 0x140012b05
nop dword [rax + rax]
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jb 0x140012af0
jmp 0x140012b07
mov edi, eax
mov r14d, r12d
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov edx, edi
mov qword [rbp - 0x48], rdx
mov ecx, eax
imul rcx, rdx
mov esi, edi
mov r15d, r12d
cmp ecx, edi
jae 0x140012b5e
mov eax, edi
neg eax
xor edx, edx
div edi
mov r12d, edx
cmp ecx, edx
jae 0x140012b59
mov rbx, qword [rbp - 0x48]
nop dword [rax + rax]
mov r15d, r14d
mov esi, edi
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
imul rcx, rbx
cmp ecx, r12d
jb 0x140012b40
mov r12d, dword [rsp + 0x64]
shr rcx, 0x20
lea eax, [rcx + r15]
cdqe
xor rax, 0xffffffff80000000
mov rcx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x80]
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 [rbp - 0x48], rdi
lea rcx, [rbp + 0x40]
call fcn.140029bf0
cmp r13d, 0xffffffff
jne 0x140012ba7
mov ecx, eax
jmp 0x140012bdd
mov r14d, esi
mov ecx, eax
imul rcx, r14
cmp ecx, esi
jae 0x140012bd9
mov eax, esi
neg eax
xor edx, edx
div esi
mov edi, edx
cmp ecx, edx
jae 0x140012bd5
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
imul rcx, r14
cmp ecx, edi
jb 0x140012bc2
mov rdi, qword [rbp - 0x48]
shr rcx, 0x20
lea r8d, [rcx + r12]
btc r8d, 0x1f
mov edx, dword [rsp + 0x40]
mov rcx, r15
call rdi
mov dword [rsp + 0x40], eax
movaps xmm8, xmm10
movaps xmm1, xmm12
mov edi, 2
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm10
mulsd xmm0, xmm1
addsd xmm8, xmm0
mulsd xmm1, xmm11
sub rdi, 1
jne 0x140012c00
divsd xmm8, xmm1
mulsd xmm8, xmm13
subsd xmm8, xmm14
movaps xmm9, xmm10
movaps xmm1, xmm12
mov edi, 2
nop dword [rax + rax]
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm10
mulsd xmm0, xmm1
addsd xmm9, xmm0
mulsd xmm1, xmm11
sub rdi, 1
jne 0x140012c50
divsd xmm9, xmm1
mulsd xmm9, xmm13
subsd xmm9, xmm14
movaps xmm0, xmm9
andps xmm0, xmm6
addsd xmm0, xmm12
call sub.api_ms_win_crt_math_l1_1_0.dll_log
movaps xmm7, xmm0
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm6, xmm0
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
mulsd xmm6, xmm0
addsd xmm7, xmm6
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_exp
subsd xmm7, xmm0
addsd xmm7, qword [rsp + 0x50]
movsd qword [rsp + 0x50], xmm7
movaps xmm0, xmm10
movaps xmm2, xmm12
mov edi, 2
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov eax, eax
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
subsd xmm1, xmm10
mulsd xmm1, xmm2
addsd xmm0, xmm1
mulsd xmm2, xmm11
sub rdi, 1
jne 0x140012ce2
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 + 0x50]
subsd xmm1, xmm0
movsd qword [rsp + 0x50], xmm1
movaps xmm0, xmm10
movaps xmm2, xmm12
mov edi, 2
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov eax, eax
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
subsd xmm1, xmm10
mulsd xmm1, xmm2
addsd xmm0, xmm1
mulsd xmm2, xmm11
sub rdi, 1
jne 0x140012d41
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 + 0x50]
mulsd xmm0, xmm1
movsd qword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
xor r15d, r15d
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], r15
mov r8d, 3
lea rdx, [0x14003597c]
lea rcx, [rbp + 0x18]
call fcn.140027f20
nop
lea rdi, [rbp + 0x18]
cmp qword [rbp + 0x30], 0xf
cmova rdi, qword [rbp + 0x18]
lea rcx, [rbp + 0x18]
cmova rcx, qword [rbp + 0x18]
mov rsi, qword [rbp + 0x28]
add rsi, rcx
cmp rdi, rsi
je 0x140012e18
nop dword [rax + rax]
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x15
ja 0x140012e08
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x16
jb 0x140012df4
shr rax, 0x20
add al, 0x61
mov byte [rdi], al
inc rdi
cmp rdi, rsi
jne 0x140012de0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
mov qword [rbp - 0x50], r15
mov ecx, 0x190
call fcn.1400315e0
mov qword [rbp - 0x60], rax
lea r14, [rax + 0x190]
mov qword [rbp - 0x50], r14
xor edx, edx
mov r8d, 0x190
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x58], r14
mov rsi, qword [rbp - 0x60]
cmp rsi, r14
je 0x140012e81
nop word [rax + rax]
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.140026f50
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x140012e60
mov r14, qword [rbp - 0x58]
mov rsi, qword [rbp - 0x60]
mov dword [rbp - 0x68], 0xffffff9c
mov dword [rbp - 0x64], 0x64
cmp rsi, r14
je 0x140012ec4
nop dword [rax]
nop dword [rax + rax]
mov edi, dword [rsi]
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.140026f50
add eax, edi
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x140012ea0
mov r14, qword [rbp - 0x58]
mov rsi, qword [rbp - 0x60]
mov r8, r14
sub r8, rsi
sar r8, 2
xor r9d, r9d
mov rdx, r14
mov rcx, rsi
call fcn.1400295b0
mov edx, r15d
mov rax, qword [rbp - 0x60]
mov r8, r15
mov r9, qword [rbp - 0x58]
mov rcx, r9
sub rcx, rax
add rcx, 3
shr rcx, 2
cmp rax, r9
cmova rcx, r15
test rcx, rcx
je 0x140012f64
cmp rcx, 8
jb 0x140012f64
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 xmm0, xmm2
movdqa xmm2, xmm0
add rax, 0x20
add r8, 8
cmp r8, rcx
jne 0x140012f20
paddd xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
paddd xmm1, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 4
paddd xmm1, xmm0
movd edx, xmm1
cmp rax, r9
je 0x140012f7b
nop dword [rax]
add edx, dword [rax]
add rax, 4
cmp rax, r9
jne 0x140012f70
mov eax, dword [rsp + 0x40]
add eax, edx
mov dword [rsp + 0x40], eax
mov esi, dword [rsp + 0x78]
btc esi, 0x1f
mov eax, dword [rsp + 0x7c]
btc eax, 0x1f
sub eax, esi
lea rcx, [rbp + 0x40]
cmp eax, 0xffffffff
jne 0x140012fbe
call fcn.140029bf0
lea edi, [rax + rsi]
xor edi, 0x80000000
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
jmp 0x14001305e
lea r12d, [rax + 1]
call fcn.140029bf0
mov r14d, r12d
mov ecx, eax
imul rcx, r14
cmp ecx, r12d
jae 0x140012ff8
mov eax, r12d
neg eax
xor edx, edx
div r12d
mov edi, edx
cmp ecx, edx
jae 0x140012ff8
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
imul rcx, r14
cmp ecx, edi
jb 0x140012fe5
shr rcx, 0x20
lea r14d, [rcx + rsi]
xor r14d, 0x80000000
mov r15d, esi
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov r13d, r12d
mov ecx, eax
imul rcx, r13
mov edi, r14d
cmp ecx, r12d
jae 0x14001305a
mov eax, r12d
neg eax
xor edx, edx
div r12d
mov r12d, edx
cmp ecx, edx
jae 0x14001305a
nop word [rax + rax]
mov esi, r15d
mov edi, r14d
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
imul rcx, r13
cmp ecx, r12d
jb 0x140013040
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
add eax, edi
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov dword [rsp + 0x40], ecx
mov eax, dword [rsp + 0x40]
mov r14d, dword [rsp + 0x78]
btc r14d, 0x1f
test al, 1
mov eax, dword [rsp + 0x7c]
lea rcx, [rbp + 0x40]
jne 0x140013116
btc eax, 0x1f
sub eax, r14d
cmp eax, 0xffffffff
jne 0x1400130ca
call fcn.140029bf0
mov ecx, eax
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x40]
add eax, ecx
jmp 0x140013174
lea edi, [rax + 1]
call fcn.140029bf0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140013103
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140013103
nop dword [rax]
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x1400130f0
shr rcx, 0x20
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x40]
add eax, ecx
jmp 0x140013174
btc eax, 0x1f
sub eax, r14d
cmp eax, 0xffffffff
jne 0x14001312b
call fcn.140029bf0
mov ecx, eax
jmp 0x140013167
lea edi, [rax + 1]
call fcn.140029bf0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140013163
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140013163
nop dword [rax]
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140013150
shr rcx, 0x20
add ecx, r14d
btc ecx, 0x1f
mov eax, dword [rsp + 0x40]
sub eax, ecx
mov dword [rsp + 0x40], eax
mov r12d, dword [rsp + 0x78]
btc r12d, 0x1f
mov r13d, 5
mov r15d, dword [rsp + 0x7c]
btc r15d, 0x1f
sub r15d, r12d
xor ebx, ebx
nop word [rax + rax]
mov r14d, ebx
lea rcx, [rbp + 0x40]
cmp r15d, 0xffffffff
jne 0x1400131b6
call fcn.140029bf0
mov ecx, eax
jmp 0x1400131f7
lea edi, [r15 + 1]
call fcn.140029bf0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x1400131f3
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x1400131f3
nop dword [rax]
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x1400131e0
shr rcx, 0x20
add ecx, r12d
btc ecx, 0x1f
mov eax, dword [rsp + 0x40]
add eax, ecx
mov dword [rsp + 0x40], eax
movaps xmm1, xmm10
movaps xmm2, xmm12
mov edi, 2
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm10
mulsd xmm0, xmm2
addsd xmm1, xmm0
mulsd xmm2, xmm11
sub rdi, 1
jne 0x140013215
divsd xmm1, xmm2
mulsd xmm1, xmm13
subsd xmm1, xmm14
addsd xmm1, qword [rsp + 0x50]
movsd qword [rsp + 0x50], xmm1
test r14b, 1
jne 0x1400132c1
lea rcx, [rbp + 0x40]
cmp r15d, 0xffffffff
jne 0x140013273
call fcn.140029bf0
mov ecx, eax
jmp 0x1400132ad
lea edi, [r15 + 1]
call fcn.140029bf0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x1400132a9
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x1400132a9
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140013296
shr rcx, 0x20
add ecx, r12d
btc ecx, 0x1f
mov eax, dword [rsp + 0x40]
imul eax, ecx
mov dword [rsp + 0x40], eax
jmp 0x14001331e
movaps xmm1, xmm10
movaps xmm2, xmm12
mov edi, 2
nop
lea rcx, [rbp + 0x40]
call fcn.140029bf0
mov eax, eax
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
subsd xmm0, xmm10
mulsd xmm0, xmm2
addsd xmm1, xmm0
mulsd xmm2, xmm11
sub rdi, 1
jne 0x1400132d0
divsd xmm1, xmm2
mulsd xmm1, xmm13
subsd xmm1, xmm14
movsd xmm0, qword [rsp + 0x50]
addsd xmm1, xmm12
divsd xmm0, xmm1
movsd qword [rsp + 0x50], xmm0
inc r14d
cmp r14d, 5
jl 0x1400131a3
sub r13, 1
jne 0x1400131a0
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x14001338d
mov rax, qword [rbp - 0x50]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140013377
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400133f3
call fcn.140031934
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
xor r12d, r12d
mov qword [rbp - 0x50], r12
jmp 0x140013390
xor r12d, r12d
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x1400133c7
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400133c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400133fa
call fcn.140031934
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
cmp eax, 0x186a0
movsd xmm6, qword [0x140037340]
jl 0x140012a80
movabs r14, 0xb2f4fc0794908cf3
jmp 0x1400129e0
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 + 0x40]
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x140013480
mov rdi, qword [rbp - 0x78]
cmp rbx, rdi
je 0x14001343d
mov r13d, 1
nop dword [rax]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140013430
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
add rbx, 8
cmp rbx, rdi
jne 0x140013420
mov rbx, qword [rbp - 0x80]
mov rax, qword [rbp - 0x70]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140013478
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140013478
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140031934
lea rdx, [rbp - 0x38]
mov rcx, qword [rsp + 0x68]
call fcn.1400250b0
nop
lea rcx, [rbp - 0x38]
call fcn.140025050
nop
mov rcx, qword [rbp - 0x18]
xor rcx, qword [rbp - 0x20]
mov rax, qword [rbp - 0x10]
mov qword [rax], rcx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rbp + 0x13d0]
xor rcx, rsp
call fcn.1400314a0
lea r11, [rsp + 0x1580]
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 fcn.140001840
nop
int3