Function at 0x140003600
Capabilities:
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 - 0x14e0]
mov eax, 0x15e0
call fcn.14002dd00
sub rsp, rax
movaps xmmword [rsp + 0x15d0], xmm6
movaps xmmword [rsp + 0x15c0], xmm7
movaps xmmword [rsp + 0x15b0], xmm8
movaps xmmword [rsp + 0x15a0], xmm9
movaps xmmword [rsp + 0x1590], xmm10
movaps xmmword [rsp + 0x1580], xmm11
movaps xmmword [rsp + 0x1570], xmm12
movaps xmmword [rsp + 0x1560], xmm13
movaps xmmword [rsp + 0x1550], xmm14
movaps xmmword [rsp + 0x1540], xmm15
mov rax, qword [0x14003a010]
xor rax, rsp
mov qword [rbp + 0x1430], rax
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], rcx
mov qword [rbp - 0x20], rcx
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
lea rdx, [rbp + 0x1518]
movabs rcx, 0xff00ff00ff00ff00
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rdx
mov rax, qword [rdx]
xor rax, rcx
mov qword [rbp - 0x18], rax
mov qword [rdx], rsi
xor eax, eax
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], rax
lea rcx, [rbp + 0x20]
call fcn.1400202b0
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rbp + 0x1424], 0xffffffff
mov dword [rbp + 0xa4], eax
mov r14d, 1
mov ecx, r14d
nop
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rbp + rcx*4 + 0xa4], edx
inc rcx
cmp rcx, 0x270
jb 0x140003720
mov dword [rbp + 0xa0], 0x270
mov dword [rbp - 0x58], 0xffffff9c
mov dword [rbp - 0x54], 0x64
mov dword [rsp + 0x20], esi
xorps xmm10, xmm10
movsd qword [rsp + 0x28], xmm10
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rbx, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rbx, 0x989680
jne 0x140003787
imul rax, rax, 0x64
jmp 0x1400037a2
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
add rax, rcx
lea rbx, [rax + 0x5f5e100]
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
mov qword [rbp - 0x40], rsi
mov ecx, 8
call fcn.14002cdd8
lea rcx, vtable.AddOperation.0
mov qword [rax], rcx
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x30], rax
mov rdx, qword [rbp - 0x48]
cmp rdx, qword [rbp - 0x40]
je 0x1400037ef
mov rcx, rsi
mov qword [rsp + 0x30], rcx
mov qword [rdx], rax
add qword [rbp - 0x48], 8
jmp 0x140003802
lea r8, [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.140024c30
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140003810
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
mov ecx, 8
call fcn.14002cdd8
lea rcx, vtable.MultiplyOperation.0
mov qword [rax], rcx
mov qword [rbp - 0x80], rsi
mov qword [rsp + 0x38], rax
mov rdx, qword [rbp - 0x48]
cmp rdx, qword [rbp - 0x40]
je 0x140003849
mov rcx, rsi
mov qword [rsp + 0x38], rcx
mov qword [rdx], rax
add qword [rbp - 0x48], 8
jmp 0x14000385c
lea r8, [rsp + 0x38]
lea rcx, [rbp - 0x50]
call fcn.140024c30
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000386a
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
mov ecx, 8
call fcn.14002cdd8
lea rcx, vtable.SubtractOperation.0
mov qword [rax], rcx
mov qword [rbp - 0x78], rsi
mov qword [rsp + 0x40], rax
mov rdx, qword [rbp - 0x48]
cmp rdx, qword [rbp - 0x40]
je 0x1400038a3
mov rcx, rsi
mov qword [rsp + 0x40], rcx
mov qword [rdx], rax
add qword [rbp - 0x48], 8
jmp 0x1400038b6
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.140024c30
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400038c4
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
mov ecx, 8
call fcn.14002cdd8
lea rcx, vtable.DivideOperation.0
mov qword [rax], rcx
mov qword [rbp - 0x70], rsi
mov qword [rsp + 0x48], rax
mov rdx, qword [rbp - 0x48]
cmp rdx, qword [rbp - 0x40]
je 0x1400038fd
mov rcx, rsi
mov qword [rsp + 0x48], rcx
mov qword [rdx], rax
add qword [rbp - 0x48], 8
jmp 0x140003910
lea r8, [rsp + 0x48]
lea rcx, [rbp - 0x50]
call fcn.140024c30
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000391e
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
mov ecx, 8
call fcn.14002cdd8
lea rcx, vtable.ModulusOperation.0
mov qword [rax], rcx
mov qword [rbp - 0x68], rsi
mov qword [rsp + 0x50], rax
mov rdx, qword [rbp - 0x48]
cmp rdx, qword [rbp - 0x40]
je 0x140003957
mov rcx, rsi
mov qword [rsp + 0x50], rcx
mov qword [rdx], rax
add qword [rbp - 0x48], 8
jmp 0x14000396a
lea r8, [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.140024c30
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140003978
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
mov ecx, 8
call fcn.14002cdd8
lea rcx, vtable.ComplexOperation.0
mov qword [rax], rcx
mov qword [rbp - 0x60], rsi
mov qword [rsp + 0x58], rax
mov rdx, qword [rbp - 0x48]
cmp rdx, qword [rbp - 0x40]
je 0x1400039b1
mov rcx, rsi
mov qword [rsp + 0x58], rcx
mov qword [rdx], rax
add qword [rbp - 0x48], 8
jmp 0x1400039c4
lea r8, [rsp + 0x58]
lea rcx, [rbp - 0x50]
call fcn.140024c30
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400039d2
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
nop
movsd xmm12, qword [0x1400319e0]
movsd xmm11, qword [0x140031a00]
movsd xmm13, qword [0x1400319f8]
movsd xmm14, qword [0x1400319f0]
movsd xmm15, qword [0x1400319e8]
nop
call qword [sym.imp.MSVCP140.dll__Query_perf_frequency]
mov rdi, rax
call qword [sym.imp.MSVCP140.dll__Query_perf_counter]
cmp rdi, 0x989680
jne 0x140003a1e
imul rax, rax, 0x64
jmp 0x140003a39
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
cmp rax, rbx
jge 0x140004556
mov r13d, esi
nop word [rax + rax]
mov esi, dword [rbp - 0x58]
mov r14d, 0x80000000
cmp esi, r14d
lea ecx, [rsi + r14]
jb 0x140003a68
lea ecx, [rsi - 0x80000000]
mov edi, dword [rbp - 0x54]
cmp edi, r14d
lea eax, [rdi + r14]
jb 0x140003a7a
lea eax, [rdi - 0x80000000]
sub eax, ecx
lea rcx, [rbp + 0xa0]
cmp eax, 0xffffffff
jne 0x140003a8f
call fcn.140024f00
jmp 0x140003add
lea r14d, [rax + 1]
call fcn.140024f00
mov r15d, r14d
mov ecx, eax
imul rcx, r15
cmp ecx, r14d
jae 0x140003ad7
mov eax, r14d
neg eax
xor edx, edx
div r14d
mov r14d, edx
cmp ecx, edx
jae 0x140003ad7
nop word [rax + rax]
lea rcx, [rbp + 0xa0]
call fcn.140024f00
mov ecx, eax
imul rcx, r15
cmp ecx, r14d
jb 0x140003ac0
mov r14d, 0x80000000
cmp esi, r14d
lea r12d, [rsi + r14]
jb 0x140003aed
lea r12d, [rsi - 0x80000000]
cmp edi, r14d
lea eax, [rdi + r14]
jb 0x140003afc
lea eax, [rdi - 0x80000000]
sub eax, r12d
lea rcx, [rbp + 0xa0]
cmp eax, 0xffffffff
jne 0x140003b14
call fcn.140024f00
mov ecx, eax
jmp 0x140003b61
lea r14d, [rax + 1]
call fcn.140024f00
mov r15d, r14d
mov ecx, eax
imul rcx, r15
cmp ecx, r14d
jae 0x140003b57
mov eax, r14d
neg eax
xor edx, edx
div r14d
mov r14d, edx
cmp ecx, edx
jae 0x140003b57
nop dword [rax]
lea rcx, [rbp + 0xa0]
call fcn.140024f00
mov ecx, eax
imul rcx, r15
cmp ecx, r14d
jb 0x140003b40
shr rcx, 0x20
mov r14d, 0x80000000
lea edx, [rcx + r12]
mov r8, qword [rbp - 0x48]
mov r9, qword [rbp - 0x50]
sub r8, r9
sar r8, 3
lea eax, [rdx + r14]
lea ecx, [rdx - 0x80000000]
cmp edx, r14d
cmovae ecx, eax
movsxd rax, ecx
xor edx, edx
div r8
movsxd rax, edx
mov r15, qword [r9 + rax*8]
mov rax, qword [r15]
mov r12, qword [rax + 8]
cmp esi, r14d
jae 0x140003ba4
add r14d, esi
jmp 0x140003bab
lea r14d, [rsi - 0x80000000]
mov esi, 0x80000000
add edi, esi
sub edi, r14d
lea rcx, [rbp + 0xa0]
cmp edi, 0xffffffff
jne 0x140003bca
call fcn.140024f00
mov ecx, eax
jmp 0x140003c0f
inc edi
call fcn.140024f00
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140003c06
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140003c06
nop dword [rax + rax]
lea rcx, [rbp + 0xa0]
call fcn.140024f00
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140003bf0
shr rcx, 0x20
mov esi, 0x80000000
lea edx, [rcx + r14]
lea eax, [rdx + rsi]
lea r8d, [rdx - 0x80000000]
cmp edx, esi
cmovae r8d, eax
mov edx, dword [rsp + 0x20]
mov rcx, r15
call r12
mov dword [rsp + 0x20], eax
movaps xmm8, xmm10
movaps xmm1, xmm12
mov edi, 2
nop
lea rcx, [rbp + 0xa0]
call fcn.140024f00
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 0x140003c40
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 + 0xa0]
call fcn.140024f00
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 0x140003c90
divsd xmm9, xmm1
mulsd xmm9, xmm13
subsd xmm9, xmm14
movaps xmm6, xmm9
andps xmm6, xmmword [0x140031ab0]
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_cos
movaps xmm7, xmm0
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_sin
mulsd xmm7, xmm0
addsd xmm6, xmm12
movaps xmm0, xmm6
call sub.api_ms_win_crt_math_l1_1_0.dll_log
addsd xmm7, xmm0
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_exp
subsd xmm7, xmm0
movsd xmm1, qword [rsp + 0x28]
addsd xmm7, xmm1
movsd qword [rsp + 0x28], xmm7
movaps xmm0, xmm10
movaps xmm2, xmm12
mov edi, 2
nop dword [rax]
lea rcx, [rbp + 0xa0]
call fcn.140024f00
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 0x140003d30
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 + 0x28]
subsd xmm1, xmm0
movsd qword [rsp + 0x28], xmm1
movaps xmm0, xmm10
movaps xmm2, xmm12
mov edi, 2
lea rcx, [rbp + 0xa0]
call fcn.140024f00
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 0x140003d92
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 + 0x28]
mulsd xmm0, xmm1
movsd qword [rsp + 0x28], xmm0
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xor r15d, r15d
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], r15
lea r8d, [rdi + 6]
lea rdx, str.random
lea rcx, [rbp]
call fcn.140023b70
nop
lea rdi, [rbp]
cmp qword [rbp + 0x18], 0x10
jb 0x140003e1e
mov rdi, qword [rbp]
mov rcx, rdi
jmp 0x140003e22
lea rcx, [rbp]
mov rdx, rdi
mov rsi, qword [rbp + 0x10]
add rsi, rcx
cmp rdx, rsi
je 0x140003e77
lea rcx, [rbp + 0xa0]
call fcn.140024f00
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x15
ja 0x140003e67
nop dword [rax + rax]
lea rcx, [rbp + 0xa0]
call fcn.140024f00
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x16
jb 0x140003e50
shr rax, 0x20
add al, 0x61
mov byte [rdi], al
inc rdi
cmp rdi, rsi
jne 0x140003e31
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
mov qword [rbp - 0x28], r15
mov ecx, 0x190
call fcn.14002cdd8
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 0x140003ee3
nop dword [rax]
lea rdx, [rbp + 0xa0]
lea rcx, [rbp - 0x58]
call fcn.140022860
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x140003ec0
mov r14, qword [rbp - 0x30]
mov rsi, qword [rbp - 0x38]
mov dword [rbp - 0x20], 0xffffff9c
mov dword [rbp - 0x1c], 0x64
cmp rsi, r14
je 0x140003f27
nop word [rax + rax]
mov edi, dword [rsi]
lea rdx, [rbp + 0xa0]
lea rcx, [rbp - 0x20]
call fcn.140022860
add eax, edi
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x140003f00
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.1400256f0
mov ecx, r15d
mov rax, qword [rbp - 0x38]
mov r8, r15
mov r9, qword [rbp - 0x30]
mov rdx, r9
sub rdx, rax
add rdx, 3
shr rdx, 2
cmp rax, r9
cmova rdx, r15
test rdx, rdx
je 0x140003fc4
cmp rdx, 8
jb 0x140003fc4
and rdx, 0xfffffffffffffff8
xorps xmm1, xmm1
xorps xmm2, xmm2
nop word [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, rdx
jne 0x140003f80
paddd xmm1, xmm0
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 0x140003fdb
nop dword [rax]
add ecx, dword [rax]
add rax, 4
cmp rax, r9
jne 0x140003fd0
mov eax, dword [rsp + 0x20]
add eax, ecx
mov dword [rsp + 0x20], eax
mov esi, dword [rbp - 0x58]
mov r14d, 0x80000000
cmp esi, r14d
lea r12d, [rsi + r14]
jb 0x140003ffe
lea r12d, [rsi - 0x80000000]
mov edi, dword [rbp - 0x54]
cmp edi, r14d
lea eax, [rdi + r14]
jb 0x140004010
lea eax, [rdi - 0x80000000]
sub eax, r12d
lea rcx, [rbp + 0xa0]
cmp eax, 0xffffffff
jne 0x140004028
call fcn.140024f00
mov ecx, eax
jmp 0x140004071
lea r14d, [rax + 1]
call fcn.140024f00
mov r15d, r14d
mov ecx, eax
imul rcx, r15
cmp ecx, r14d
jae 0x140004067
mov eax, r14d
neg eax
xor edx, edx
div r14d
mov r14d, edx
cmp ecx, edx
jae 0x140004067
lea rcx, [rbp + 0xa0]
call fcn.140024f00
mov ecx, eax
imul rcx, r15
cmp ecx, r14d
jb 0x140004050
shr rcx, 0x20
mov r14d, 0x80000000
add ecx, r12d
lea eax, [rcx - 0x80000000]
lea r15d, [rcx + r14]
cmp ecx, r14d
cmovae r15d, eax
cmp esi, r14d
jae 0x14000408f
add r14d, esi
jmp 0x140004096
lea r14d, [rsi - 0x80000000]
mov esi, 0x80000000
cmp edi, esi
lea eax, [rdi + rsi]
jb 0x1400040a8
lea eax, [rdi - 0x80000000]
sub eax, r14d
lea rcx, [rbp + 0xa0]
cmp eax, 0xffffffff
jne 0x1400040c0
call fcn.140024f00
mov ecx, eax
jmp 0x140004101
lea edi, [rax + 1]
call fcn.140024f00
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x1400040f8
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x1400040f8
lea rcx, [rbp + 0xa0]
call fcn.140024f00
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x1400040e2
shr rcx, 0x20
mov esi, 0x80000000
add ecx, r14d
lea eax, [rcx - 0x80000000]
lea r8d, [rcx + rsi]
cmp ecx, esi
cmovae r8d, eax
mov ecx, r15d
test r15d, r15d
mov eax, 1
cmove ecx, eax
mov eax, r8d
sub eax, r15d
cdq
idiv ecx
imul r8d, r15d
lea ecx, [r8 + rax]
mov eax, dword [rsp + 0x20]
add ecx, eax
mov dword [rsp + 0x20], ecx
mov eax, dword [rsp + 0x20]
and eax, 0x80000001
jge 0x14000414f
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
mov eax, dword [rbp - 0x58]
lea r14d, [rax + rsi]
jne 0x1400041f2
cmp eax, esi
jb 0x140004169
lea r14d, [rax - 0x80000000]
mov eax, dword [rbp - 0x54]
cmp eax, esi
jae 0x140004174
add eax, esi
jmp 0x140004179
add eax, 0x80000000
sub eax, r14d
lea rcx, [rbp + 0xa0]
cmp eax, 0xffffffff
jne 0x140004191
call fcn.140024f00
mov ecx, eax
jmp 0x1400041d2
lea edi, [rax + 1]
call fcn.140024f00
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x1400041c9
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x1400041c9
lea rcx, [rbp + 0xa0]
call fcn.140024f00
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x1400041b3
shr rcx, 0x20
mov esi, 0x80000000
add ecx, r14d
lea eax, [rcx + rsi]
lea edx, [rcx - 0x80000000]
cmp ecx, esi
cmovae edx, eax
mov eax, dword [rsp + 0x20]
add edx, eax
mov dword [rsp + 0x20], edx
jmp 0x14000428b
cmp eax, esi
jb 0x1400041fd
lea r14d, [rax - 0x80000000]
mov eax, dword [rbp - 0x54]
cmp eax, esi
jae 0x140004208
add eax, esi
jmp 0x14000420d
add eax, 0x80000000
sub eax, r14d
lea rcx, [rbp + 0xa0]
cmp eax, 0xffffffff
jne 0x140004225
call fcn.140024f00
mov ecx, eax
jmp 0x14000426f
lea edi, [rax + 1]
call fcn.140024f00
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140004266
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140004266
nop word [rax + rax]
lea rcx, [rbp + 0xa0]
call fcn.140024f00
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x140004250
shr rcx, 0x20
mov esi, 0x80000000
lea edx, [rcx + r14]
lea eax, [rdx + rsi]
lea ecx, [rdx - 0x80000000]
cmp edx, esi
cmovae ecx, eax
mov eax, dword [rsp + 0x20]
sub eax, ecx
mov dword [rsp + 0x20], eax
mov r12d, 5
xor r15d, r15d
mov eax, dword [rbp - 0x58]
cmp eax, esi
lea r14d, [rax + rsi]
jb 0x1400042a6
lea r14d, [rax - 0x80000000]
mov eax, dword [rbp - 0x54]
cmp eax, esi
jae 0x1400042b1
add eax, esi
jmp 0x1400042b6
add eax, 0x80000000
sub eax, r14d
lea rcx, [rbp + 0xa0]
cmp eax, 0xffffffff
jne 0x1400042ce
call fcn.140024f00
mov ecx, eax
jmp 0x14000430f
lea edi, [rax + 1]
call fcn.140024f00
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140004306
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140004306
lea rcx, [rbp + 0xa0]
call fcn.140024f00
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x1400042f0
shr rcx, 0x20
mov esi, 0x80000000
add ecx, r14d
lea eax, [rcx + rsi]
lea edx, [rcx - 0x80000000]
cmp ecx, esi
cmovae edx, eax
mov eax, dword [rsp + 0x20]
add edx, eax
mov dword [rsp + 0x20], edx
movaps xmm1, xmm10
movaps xmm2, xmm12
mov edi, 2
nop word [rax + rax]
lea rcx, [rbp + 0xa0]
call fcn.140024f00
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 0x140004340
divsd xmm1, xmm2
mulsd xmm1, xmm13
subsd xmm1, xmm14
movsd xmm0, qword [rsp + 0x28]
addsd xmm1, xmm0
movsd qword [rsp + 0x28], xmm1
test r15b, 1
jne 0x14000442f
mov eax, dword [rbp - 0x58]
cmp eax, esi
lea r14d, [rax + rsi]
jb 0x1400043a8
lea r14d, [rax - 0x80000000]
mov eax, dword [rbp - 0x54]
cmp eax, esi
jae 0x1400043b3
add eax, esi
jmp 0x1400043b8
add eax, 0x80000000
sub eax, r14d
lea rcx, [rbp + 0xa0]
cmp eax, 0xffffffff
jne 0x1400043d0
call fcn.140024f00
mov ecx, eax
jmp 0x140004411
lea edi, [rax + 1]
call fcn.140024f00
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x140004408
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x140004408
lea rcx, [rbp + 0xa0]
call fcn.140024f00
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x1400043f2
shr rcx, 0x20
mov esi, 0x80000000
add ecx, r14d
lea eax, [rcx + rsi]
lea edx, [rcx - 0x80000000]
cmp ecx, esi
cmovae edx, eax
mov eax, dword [rsp + 0x20]
imul edx, eax
mov dword [rsp + 0x20], edx
jmp 0x140004491
movaps xmm1, xmm10
movaps xmm2, xmm12
mov edi, 2
nop dword [rax]
lea rcx, [rbp + 0xa0]
call fcn.140024f00
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 0x140004440
movsd xmm0, qword [rsp + 0x28]
divsd xmm1, xmm2
mulsd xmm1, xmm13
subsd xmm1, xmm14
addsd xmm1, xmm12
divsd xmm0, xmm1
movsd qword [rsp + 0x28], xmm0
inc r15d
cmp r15d, 5
jl 0x140004294
sub r12, 1
jne 0x140004291
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400044fa
mov rax, qword [rbp - 0x28]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400044e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004548
call fcn.14002cdd0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
xor esi, esi
mov qword [rbp - 0x28], rsi
jmp 0x1400044fc
xor esi, esi
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x140004533
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000452e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000454f
call fcn.14002cdd0
inc r13d
cmp r13d, 0x186a0
jl 0x140003a50
jmp 0x140003a00
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 + 0x20]
mov rbx, qword [rbp - 0x50]
test rbx, rbx
je 0x1400045d2
mov rdi, qword [rbp - 0x48]
cmp rbx, rdi
je 0x14000458f
mov r14d, 1
mov rcx, qword [rbx]
test rcx, rcx
je 0x140004582
mov rax, qword [rcx]
mov edx, r14d
call qword [rax]
add rbx, 8
cmp rbx, rdi
jne 0x140004572
mov rbx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x40]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400045ca
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400045ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14002cdd0
mov rsi, qword [rsp + 0x68]
mov r8, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400045e4
mov r8, qword [rsi]
mov rcx, qword [rsi + 0x10]
lea r9, [r8 + rcx*2]
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp + 0x20]
call fcn.140022200
nop
lea rcx, [rbp + 0x20]
call fcn.1400201c0
nop
mov rdx, qword [rbp - 0x18]
xor rdx, qword [rbp - 0x10]
mov rcx, qword [rbp - 8]
mov qword [rcx], rdx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rbp + 0x1430]
xor rcx, rsp
call fcn.14002cdb0
lea r11, [rsp + 0x15e0]
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