Function at 0x1800092e0
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 - 0x1490]
mov eax, 0x1590
call fcn.18001e860
sub rsp, rax
movaps xmmword [rsp + 0x1580], xmm6
movaps xmmword [rsp + 0x1570], xmm7
movaps xmmword [rsp + 0x1560], xmm8
movaps xmmword [rsp + 0x1550], xmm9
movaps xmmword [rsp + 0x1540], xmm10
movaps xmmword [rsp + 0x1530], xmm11
movaps xmmword [rsp + 0x1520], xmm12
movaps xmmword [rsp + 0x1510], xmm13
movaps xmmword [rsp + 0x1500], xmm14
movaps xmmword [rsp + 0x14f0], xmm15
mov rax, qword [0x180028010]
xor rax, rsp
mov qword [rbp + 0x13e0], rax
mov qword [rbp - 0x70], rdx
mov rsi, rcx
mov qword [rbp - 0x80], rcx
mov qword [rbp + 8], rcx
xor r15d, r15d
mov rcx, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x18000938d
mov rcx, qword [rdx]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r12d, 1
mov r8d, r12d
mov edx, dword [rdx + 0x10]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x1800093cc
mov qword [rsi], r15
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], r15
mov rax, rsi
jmp 0x18000a356
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x13d4], 0xffffffff
mov dword [rbp + 0x54], eax
mov rdx, r12
nop dword [rax]
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 + 0x54], eax
inc rdx
cmp rdx, 0x270
jb 0x1800093f0
mov dword [rbp + 0x50], 0x270
mov dword [rbp - 0x38], 0xffffff9c
mov dword [rbp - 0x34], 0x64
mov dword [rsp + 0x40], r15d
xorps xmm10, xmm10
movsd qword [rsp + 0x48], 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 0x180009452
imul rax, rax, 0x64
jmp 0x18000946d
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 - 0x30], xmm1
mov qword [rbp - 0x20], r15
mov ecx, 8
call fcn.18001d930
lea rcx, vtable.AddOperation.0
mov qword [rax], rcx
mov qword [rbp - 0x68], r15
mov qword [rsp + 0x50], rax
mov rdx, qword [rbp - 0x28]
cmp rdx, qword [rbp - 0x20]
je 0x1800094b9
mov rcx, r15
mov qword [rsp + 0x50], rcx
mov qword [rdx], rax
add qword [rbp - 0x28], 8
jmp 0x1800094cc
lea r8, [rsp + 0x50]
lea rcx, [rbp - 0x30]
call fcn.180015680
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1800094da
mov rax, qword [rcx]
mov edx, r12d
call qword [rax]
nop
mov ecx, 8
call fcn.18001d930
lea rcx, vtable.MultiplyOperation.0
mov qword [rax], rcx
mov qword [rbp - 0x60], r15
mov qword [rsp + 0x58], rax
mov rdx, qword [rbp - 0x28]
cmp rdx, qword [rbp - 0x20]
je 0x180009513
mov rcx, r15
mov qword [rsp + 0x58], rcx
mov qword [rdx], rax
add qword [rbp - 0x28], 8
jmp 0x180009526
lea r8, [rsp + 0x58]
lea rcx, [rbp - 0x30]
call fcn.180015680
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x180009534
mov rax, qword [rcx]
mov edx, r12d
call qword [rax]
nop
mov ecx, 8
call fcn.18001d930
lea rcx, vtable.SubtractOperation.0
mov qword [rax], rcx
mov qword [rbp - 0x58], r15
mov qword [rsp + 0x60], rax
mov rdx, qword [rbp - 0x28]
cmp rdx, qword [rbp - 0x20]
je 0x18000956d
mov rcx, r15
mov qword [rsp + 0x60], rcx
mov qword [rdx], rax
add qword [rbp - 0x28], 8
jmp 0x180009580
lea r8, [rsp + 0x60]
lea rcx, [rbp - 0x30]
call fcn.180015680
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x18000958e
mov rax, qword [rcx]
mov edx, r12d
call qword [rax]
nop
mov ecx, 8
call fcn.18001d930
lea rcx, vtable.DivideOperation.0
mov qword [rax], rcx
mov qword [rbp - 0x50], r15
mov qword [rsp + 0x68], rax
mov rdx, qword [rbp - 0x28]
cmp rdx, qword [rbp - 0x20]
je 0x1800095c7
mov rcx, r15
mov qword [rsp + 0x68], rcx
mov qword [rdx], rax
add qword [rbp - 0x28], 8
jmp 0x1800095da
lea r8, [rsp + 0x68]
lea rcx, [rbp - 0x30]
call fcn.180015680
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1800095e8
mov rax, qword [rcx]
mov edx, r12d
call qword [rax]
nop
mov ecx, 8
call fcn.18001d930
lea rcx, vtable.ModulusOperation.0
mov qword [rax], rcx
mov qword [rbp - 0x48], r15
mov qword [rsp + 0x70], rax
mov rdx, qword [rbp - 0x28]
cmp rdx, qword [rbp - 0x20]
je 0x180009621
mov rcx, r15
mov qword [rsp + 0x70], rcx
mov qword [rdx], rax
add qword [rbp - 0x28], 8
jmp 0x180009634
lea r8, [rsp + 0x70]
lea rcx, [rbp - 0x30]
call fcn.180015680
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x180009642
mov rax, qword [rcx]
mov edx, r12d
call qword [rax]
nop
mov ecx, 8
call fcn.18001d930
lea rcx, vtable.ComplexOperation.0
mov qword [rax], rcx
mov qword [rbp - 0x40], r15
mov qword [rsp + 0x78], rax
mov rdx, qword [rbp - 0x28]
cmp rdx, qword [rbp - 0x20]
je 0x18000967b
mov rcx, r15
mov qword [rsp + 0x78], rcx
mov qword [rdx], rax
add qword [rbp - 0x28], 8
jmp 0x18000968e
lea r8, [rsp + 0x78]
lea rcx, [rbp - 0x30]
call fcn.180015680
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x18000969c
mov rax, qword [rcx]
mov edx, r12d
call qword [rax]
nop
movsd xmm12, qword [0x1800211e0]
movsd xmm11, qword [0x180021200]
movsd xmm13, qword [0x1800211f8]
movsd xmm14, qword [0x1800211f0]
movsd xmm15, qword [0x1800211e8]
nop dword [rax]
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 0x1800096ee
imul rax, rax, 0x64
jmp 0x180009709
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
cmp rax, rbx
jge 0x18000a1cc
mov r13d, r15d
nop word [rax + rax]
mov esi, dword [rbp - 0x38]
mov r14d, 0x80000000
cmp esi, r14d
lea ecx, [rsi + r14]
jb 0x180009738
lea ecx, [rsi - 0x80000000]
mov edi, dword [rbp - 0x34]
cmp edi, r14d
lea eax, [rdi + r14]
jb 0x18000974a
lea eax, [rdi - 0x80000000]
sub eax, ecx
lea rcx, [rbp + 0x50]
cmp eax, 0xffffffff
jne 0x18000975c
call fcn.180015970
jmp 0x18000979e
lea r14d, [rax + 1]
call fcn.180015970
mov r15d, r14d
mov ecx, eax
imul rcx, r15
cmp ecx, r14d
jae 0x180009798
mov eax, r14d
neg eax
xor edx, edx
div r14d
mov r14d, edx
cmp ecx, edx
jae 0x180009798
lea rcx, [rbp + 0x50]
call fcn.180015970
mov ecx, eax
imul rcx, r15
cmp ecx, r14d
jb 0x180009784
mov r14d, 0x80000000
cmp esi, r14d
lea r12d, [rsi + r14]
jb 0x1800097ae
lea r12d, [rsi - 0x80000000]
cmp edi, r14d
lea eax, [rdi + r14]
jb 0x1800097bd
lea eax, [rdi - 0x80000000]
sub eax, r12d
lea rcx, [rbp + 0x50]
cmp eax, 0xffffffff
jne 0x1800097d2
call fcn.180015970
mov ecx, eax
jmp 0x18000981e
lea r14d, [rax + 1]
call fcn.180015970
mov r15d, r14d
mov ecx, eax
imul rcx, r15
cmp ecx, r14d
jae 0x180009814
mov eax, r14d
neg eax
xor edx, edx
div r14d
mov r14d, edx
cmp ecx, edx
jae 0x180009814
nop word [rax + rax]
lea rcx, [rbp + 0x50]
call fcn.180015970
mov ecx, eax
imul rcx, r15
cmp ecx, r14d
jb 0x180009800
shr rcx, 0x20
mov r14d, 0x80000000
lea edx, [rcx + r12]
mov r8, qword [rbp - 0x28]
mov r9, qword [rbp - 0x30]
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 0x180009861
add r14d, esi
jmp 0x180009868
lea r14d, [rsi - 0x80000000]
mov esi, 0x80000000
add edi, esi
sub edi, r14d
lea rcx, [rbp + 0x50]
cmp edi, 0xffffffff
jne 0x180009884
call fcn.180015970
mov ecx, eax
jmp 0x1800098c1
inc edi
call fcn.180015970
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x1800098b8
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x1800098b8
lea rcx, [rbp + 0x50]
call fcn.180015970
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x1800098a5
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 + 0x40]
mov rcx, r15
call r12
mov dword [rsp + 0x40], eax
movaps xmm8, xmm10
movaps xmm1, xmm12
mov edi, 2
lea rcx, [rbp + 0x50]
call fcn.180015970
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 0x1800098f0
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 + 0x50]
call fcn.180015970
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 0x180009940
divsd xmm9, xmm1
mulsd xmm9, xmm13
subsd xmm9, xmm14
movaps xmm6, xmm9
andps xmm6, xmmword [0x1800212a0]
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 + 0x48]
addsd xmm7, xmm1
movsd qword [rsp + 0x48], xmm7
movaps xmm0, xmm10
movaps xmm2, xmm12
mov edi, 2
nop word [rax + rax]
lea rcx, [rbp + 0x50]
call fcn.180015970
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 0x1800099e0
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 + 0x48]
subsd xmm1, xmm0
movsd qword [rsp + 0x48], xmm1
movaps xmm0, xmm10
movaps xmm2, xmm12
mov edi, 2
nop
lea rcx, [rbp + 0x50]
call fcn.180015970
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 0x180009a40
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 + 0x48]
mulsd xmm0, xmm1
movsd qword [rsp + 0x48], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
xor r15d, r15d
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], r15
lea r8d, [rdi + 6]
lea rdx, str.random
lea rcx, [rbp + 0x28]
call fcn.1800143a0
nop
lea rdi, [rbp + 0x28]
cmp qword [rbp + 0x40], 0x10
jb 0x180009ac9
mov rdi, qword [rbp + 0x28]
mov rcx, rdi
jmp 0x180009acd
lea rcx, [rbp + 0x28]
mov rdx, rdi
mov rsi, qword [rbp + 0x38]
add rsi, rcx
cmp rdx, rsi
je 0x180009b18
nop dword [rax]
lea rcx, [rbp + 0x50]
call fcn.180015970
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x15
ja 0x180009b08
lea rcx, [rbp + 0x50]
call fcn.180015970
mov ecx, eax
imul rax, rcx, 0x1a
cmp eax, 0x16
jb 0x180009af4
shr rax, 0x20
add al, 0x61
mov byte [rdi], al
inc rdi
cmp rdi, rsi
jne 0x180009ae0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov qword [rbp], r15
mov ecx, 0x190
call fcn.18001d930
mov qword [rbp - 0x10], rax
lea r14, [rax + 0x190]
mov qword [rbp], r14
xor edx, edx
mov r8d, 0x190
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 8], r14
mov rsi, qword [rbp - 0x10]
cmp rsi, r14
je 0x180009b80
nop word [rax + rax]
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x38]
call fcn.180013560
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x180009b60
mov r14, qword [rbp - 8]
mov rsi, qword [rbp - 0x10]
mov dword [rbp + 8], 0xffffff9c
mov dword [rbp + 0xc], 0x64
cmp rsi, r14
je 0x180009bc4
nop dword [rax]
nop word [rax + rax]
mov edi, dword [rsi]
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 8]
call fcn.180013560
add eax, edi
mov dword [rsi], eax
add rsi, 4
cmp rsi, r14
jne 0x180009ba0
mov r14, qword [rbp - 8]
mov rsi, qword [rbp - 0x10]
mov r8, r14
sub r8, rsi
sar r8, 2
xor r9d, r9d
mov rdx, r14
mov rcx, rsi
call fcn.180016160
mov ecx, r15d
mov rax, qword [rbp - 0x10]
mov r8, r15
mov r9, qword [rbp - 8]
mov rdx, r9
sub rdx, rax
add rdx, 3
shr rdx, 2
cmp rax, r9
cmova rdx, r15
test rdx, rdx
je 0x180009c64
cmp rdx, 8
jb 0x180009c64
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 xmm0, xmm2
movdqa xmm2, xmm0
add rax, 0x20
add r8, 8
cmp r8, rdx
jne 0x180009c20
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 0x180009c7b
nop dword [rax]
add ecx, dword [rax]
add rax, 4
cmp rax, r9
jne 0x180009c70
mov eax, dword [rsp + 0x40]
add eax, ecx
mov dword [rsp + 0x40], eax
mov esi, dword [rbp - 0x38]
mov r15d, 0x80000000
cmp esi, r15d
lea r12d, [rsi + r15]
jb 0x180009c9e
lea r12d, [rsi - 0x80000000]
mov edi, dword [rbp - 0x34]
cmp edi, r15d
lea eax, [rdi + r15]
jb 0x180009cb0
lea eax, [rdi - 0x80000000]
sub eax, r12d
lea rcx, [rbp + 0x50]
cmp eax, 0xffffffff
jne 0x180009cc5
call fcn.180015970
mov ecx, eax
jmp 0x180009d0e
lea r14d, [rax + 1]
call fcn.180015970
mov r15d, r14d
mov ecx, eax
imul rcx, r15
cmp ecx, r14d
jae 0x180009d04
mov eax, r14d
neg eax
xor edx, edx
div r14d
mov r14d, edx
cmp ecx, edx
jae 0x180009d04
nop dword [rax]
lea rcx, [rbp + 0x50]
call fcn.180015970
mov ecx, eax
imul rcx, r15
cmp ecx, r14d
jb 0x180009cf0
shr rcx, 0x20
mov r15d, 0x80000000
add ecx, r12d
lea eax, [rcx - 0x80000000]
lea r14d, [rcx + r15]
cmp ecx, r15d
cmovae r14d, eax
cmp esi, r15d
jae 0x180009d2c
add r15d, esi
jmp 0x180009d33
lea r15d, [rsi - 0x80000000]
mov esi, 0x80000000
cmp edi, esi
lea eax, [rdi + rsi]
jb 0x180009d45
lea eax, [rdi - 0x80000000]
sub eax, r15d
lea rcx, [rbp + 0x50]
cmp eax, 0xffffffff
jne 0x180009d5a
call fcn.180015970
mov ecx, eax
jmp 0x180009d9c
lea edi, [rax + 1]
call fcn.180015970
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x180009d93
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x180009d93
nop dword [rax]
lea rcx, [rbp + 0x50]
call fcn.180015970
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x180009d80
shr rcx, 0x20
mov esi, 0x80000000
add ecx, r15d
lea eax, [rcx - 0x80000000]
lea r8d, [rcx + rsi]
cmp ecx, esi
cmovae r8d, eax
mov ecx, r14d
test r14d, r14d
mov eax, 1
cmove ecx, eax
mov eax, r8d
sub eax, r14d
cdq
idiv ecx
imul r14d, r8d
add eax, r14d
mov ecx, dword [rsp + 0x40]
add eax, ecx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
and eax, 0x80000001
jge 0x180009de9
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
mov eax, dword [rbp - 0x38]
lea r14d, [rax + rsi]
jne 0x180009e8c
cmp eax, esi
jb 0x180009e03
lea r14d, [rax - 0x80000000]
mov eax, dword [rbp - 0x34]
cmp eax, esi
jae 0x180009e0e
add eax, esi
jmp 0x180009e13
add eax, 0x80000000
sub eax, r14d
lea rcx, [rbp + 0x50]
cmp eax, 0xffffffff
jne 0x180009e28
call fcn.180015970
mov ecx, eax
jmp 0x180009e6c
lea edi, [rax + 1]
call fcn.180015970
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x180009e63
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x180009e63
nop word [rax + rax]
lea rcx, [rbp + 0x50]
call fcn.180015970
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x180009e50
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 + 0x40]
add edx, eax
mov dword [rsp + 0x40], edx
jmp 0x180009f18
cmp eax, esi
jb 0x180009e97
lea r14d, [rax - 0x80000000]
mov eax, dword [rbp - 0x34]
cmp eax, esi
jae 0x180009ea2
add eax, esi
jmp 0x180009ea7
add eax, 0x80000000
sub eax, r14d
lea rcx, [rbp + 0x50]
cmp eax, 0xffffffff
jne 0x180009ebc
call fcn.180015970
mov ecx, eax
jmp 0x180009efc
lea edi, [rax + 1]
call fcn.180015970
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x180009ef3
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x180009ef3
nop
lea rcx, [rbp + 0x50]
call fcn.180015970
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x180009ee0
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 + 0x40]
sub eax, ecx
mov dword [rsp + 0x40], eax
mov r12d, 5
nop
xor r15d, r15d
mov eax, dword [rbp - 0x38]
cmp eax, esi
lea r14d, [rax + rsi]
jb 0x180009f35
lea r14d, [rax - 0x80000000]
mov eax, dword [rbp - 0x34]
cmp eax, esi
jae 0x180009f40
add eax, esi
jmp 0x180009f45
add eax, 0x80000000
sub eax, r14d
lea rcx, [rbp + 0x50]
cmp eax, 0xffffffff
jne 0x180009f5a
call fcn.180015970
mov ecx, eax
jmp 0x180009f9c
lea edi, [rax + 1]
call fcn.180015970
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x180009f93
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x180009f93
nop dword [rax]
lea rcx, [rbp + 0x50]
call fcn.180015970
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x180009f80
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 + 0x40]
add edx, eax
mov dword [rsp + 0x40], edx
movaps xmm1, xmm10
movaps xmm2, xmm12
mov edi, 2
lea rcx, [rbp + 0x50]
call fcn.180015970
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 0x180009fc4
divsd xmm1, xmm2
mulsd xmm1, xmm13
subsd xmm1, xmm14
movsd xmm0, qword [rsp + 0x48]
addsd xmm1, xmm0
movsd qword [rsp + 0x48], xmm1
test r15b, 1
jne 0x18000a0aa
mov eax, dword [rbp - 0x38]
cmp eax, esi
lea r14d, [rax + rsi]
jb 0x18000a029
lea r14d, [rax - 0x80000000]
mov eax, dword [rbp - 0x34]
cmp eax, esi
jae 0x18000a034
add eax, esi
jmp 0x18000a039
add eax, 0x80000000
sub eax, r14d
lea rcx, [rbp + 0x50]
cmp eax, 0xffffffff
jne 0x18000a04e
call fcn.180015970
mov ecx, eax
jmp 0x18000a08c
lea edi, [rax + 1]
call fcn.180015970
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x18000a083
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x18000a083
lea rcx, [rbp + 0x50]
call fcn.180015970
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x18000a070
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 + 0x40]
imul edx, eax
mov dword [rsp + 0x40], edx
jmp 0x18000a105
movaps xmm1, xmm10
movaps xmm2, xmm12
mov edi, 2
lea rcx, [rbp + 0x50]
call fcn.180015970
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 0x18000a0b7
movsd xmm0, qword [rsp + 0x48]
divsd xmm1, xmm2
mulsd xmm1, xmm13
subsd xmm1, xmm14
addsd xmm1, xmm12
divsd xmm0, xmm1
movsd qword [rsp + 0x48], xmm0
inc r15d
cmp r15d, 5
jl 0x180009f23
sub r12, 1
jne 0x180009f20
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x18000a16f
mov rax, qword [rbp]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a159
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000a1be
call fcn.18001dcf4
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
xor r15d, r15d
mov qword [rbp], r15
jmp 0x18000a172
xor r15d, r15d
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x18000a1a9
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a1a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000a1c5
call fcn.18001dcf4
inc r13d
cmp r13d, 0x186a0
jl 0x180009720
jmp 0x1800096d0
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 - 0x30]
mov r12d, 1
test rbx, rbx
je 0x18000a240
mov rdi, qword [rbp - 0x28]
cmp rbx, rdi
je 0x18000a205
mov rcx, qword [rbx]
test rcx, rcx
je 0x18000a1f8
mov rax, qword [rcx]
mov edx, r12d
call qword [rax]
add rbx, 8
cmp rbx, rdi
jne 0x18000a1e8
mov rbx, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x20]
sub rdx, rbx
and rdx, 0xfffffffffffffff8
mov rax, rbx
cmp rdx, 0x1000
jb 0x18000a238
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000a238
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.18001dcf4
mov edi, dword [rbp - 0x18]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r15
test rdi, rdi
je 0x18000a2ae
cmp rdi, 0x1000
jb 0x18000a289
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x18000a3b8
call fcn.18001d930
mov rcx, rax
test rax, rax
je 0x18000a327
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x18000a291
mov rcx, rdi
call fcn.18001d930
mov qword [rbp + 0x10], rax
lea rbx, [rax + rdi]
mov qword [rbp + 0x20], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x18], rbx
mov r14, qword [rbp - 0x70]
mov edx, dword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x18000a2c0
mov r14, qword [r14]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x10]
mov r8d, r12d
mov rcx, r14
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x18000a338
mov rsi, qword [rbp - 0x80]
mov qword [rsi], r15
mov qword [rsi + 8], r15
mov qword [rsi + 0x10], r15
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x18000a333
mov rdx, qword [rbp + 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000a32e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000a32e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18001dcf4
mov rax, rsi
jmp 0x18000a356
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x10]
mov r8, qword [rbp - 0x80]
mov qword [r8], rax
mov qword [r8 + 8], rcx
mov qword [r8 + 0x10], rdx
mov rax, r8
mov rcx, qword [rbp + 0x13e0]
xor rcx, rsp
call fcn.18001d910
lea r11, [rsp + 0x1590]
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.180001130
int3