Function at 0x140003050
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1460]
mov eax, 0x1560
call fcn.140248160
sub rsp, rax
movaps xmmword [rsp + 0x1550], xmm6
movaps xmmword [rsp + 0x1540], xmm7
movaps xmmword [rsp + 0x1530], xmm8
mov rax, qword [0x140353c70]
xor rax, rsp
mov qword [rbp + 0x1428], rax
xor edi, edi
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_105]
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rbp + 0x1404], 0xffffffff
mov dword [rbp + 0x84], eax
mov esi, 1
mov edx, esi
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rbp + rdx*4 + 0x84], eax
inc rdx
cmp rdx, 0x270
jb 0x1400030d0
mov dword [rbp + 0x80], 0x270
lea rcx, [rbp + 0x80]
call fcn.140004c40
mov ecx, eax
imul rbx, rcx, 0x3b90c77b
cmp ebx, 0x11bce213
ja 0x14000313d
nop dword [rax]
lea rcx, [rbp + 0x80]
call fcn.140004c40
mov ecx, eax
imul rbx, rcx, 0x3b90c77b
cmp ebx, 0x11bce214
jb 0x140003120
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
movzx eax, byte [0x1402f9128]
shr rbx, 0x20
mov byte [rbp + 0x1420], al
add ebx, 0x267e
movups xmm0, xmmword [0x1402f9118]
imul eax, ebx, 0x21
movups xmmword [rbp + 0x1410], xmm0
mov dword [0x14035a9c0], eax
mov r8d, edi
mov r15d, 5
lea r12d, [r15 + 0x1a]
mov r13d, dword [0x140353c80]
cmp r13d, 2
jl 0x1400032df
movdqa xmm5, xmmword [0x140304160]
movdqa xmm4, xmmword [0x1403042e0]
movd xmm6, r15d
movdqa xmm7, xmmword [0x1403041d0]
movd xmm8, r12d
movdqa xmm0, xmmword [0x140304250]
movdqa xmmword [rbp - 0x70], xmm0
lea rcx, [rbp + 0x1414]
mov edx, dword [rbp - 0x70]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x1400031d0
cmp r8d, 0x11
jge 0x140003323
movsxd rax, r8d
lea r9, [rbp + 0x1410]
add r9, rax
nop dword [rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x11
jl 0x1400032f0
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rdi
lea rax, [rbp + 0x1410]
mov r14, 0xffffffffffffffff
mov r8, r14
inc r8
cmp byte [rax + r8], dil
jne 0x140003343
lea rdx, [rbp + 0x1410]
lea rcx, [rbp - 0x50]
call fcn.140002ef0
nop
lea r9, [rbp + 0x1425]
nop dword [rax]
nop dword [rax + rax]
dec r9
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub bl, cl
add bl, 0x30
mov byte [r9], bl
mov ebx, edx
test edx, edx
jne 0x140003370
lea r8, [rbp + 0x1425]
mov rdx, r9
lea rcx, [rbp + 0x18]
call fcn.140004ab0
nop
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x18]
lea rcx, [rsp + 0x28]
call fcn.140001fc0
mov rbx, rax
lea r9, [rbp + 0x1425]
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul esi
shr edx, 3
movzx ecx, dl
shl cl, 2
lea eax, [rcx + rdx]
add al, al
sub sil, al
add sil, 0x30
mov byte [r9], sil
mov esi, edx
test edx, edx
jne 0x1400033d0
lea r8, [rbp + 0x1425]
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.140004ab0
nop
mov r9, rbx
lea r8, [rsp + 0x48]
lea rcx, [rbp + 0x58]
call fcn.1400048c0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140003460
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000345a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000345a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400034a0
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000349b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000349b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
lea rax, [rsp + 0x70]
movdqa xmm0, xmmword [0x140304150]
mov qword [rsp + 0x20], rax
movdqu xmmword [rsp + 0x38], xmm0
movzx eax, byte [0x1402f9128]
movups xmm0, xmmword [0x1402f9118]
mov byte [rbp + 0x1420], al
movups xmmword [rbp + 0x1410], xmm0
mov byte [rsp + 0x28], 0
mov r8d, edi
cmp r13d, 2
jl 0x14000362f
movdqa xmm5, xmmword [0x140304160]
movdqa xmm4, xmmword [0x1403042e0]
movd xmm6, r15d
movdqa xmm7, xmmword [0x1403041d0]
movd xmm8, r12d
movdqa xmm0, xmmword [0x140304250]
movdqa xmmword [rbp - 0x70], xmm0
lea rcx, [rbp + 0x1414]
mov edx, dword [rbp - 0x70]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x140003520
cmp r8d, 0x11
jge 0x140003673
movsxd rax, r8d
lea r9, [rbp + 0x1410]
add r9, rax
nop dword [rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x11
jl 0x140003640
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rdi
lea rax, [rbp + 0x1410]
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140003690
lea rdx, [rbp + 0x1410]
lea rcx, [rsp + 0x70]
call fcn.140002ef0
nop
lea rdx, [rbp + 0x58]
lea rcx, [rbp - 0x30]
call fcn.140004590
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140005610
nop
cmp qword [rax + 0x18], 0x10
jb 0x1400036d1
mov rax, qword [rax]
lea r8, [rsp + 0x70]
mov rdx, rax
lea rcx, [rbp + 0x38]
call fcn.140001490
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140003723
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000371e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000371e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
movdqa xmm0, xmmword [0x140304150]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov ecx, dword [0x14035a9c0]
lea r9, [rbp + 0x1425]
test ecx, ecx
jns 0x140003790
neg ecx
nop dword [rax]
dec r9
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
lea r8d, [rax + rdx]
add r8b, r8b
sub cl, r8b
add cl, 0x30
mov byte [r9], cl
mov ecx, edx
test edx, edx
jne 0x140003750
dec r9
mov byte [r9], 0x2d
jmp 0x1400037b9
dec r9
mov eax, 0xcccccccd
mul ecx
shr edx, 3
movzx eax, dl
shl al, 2
lea r8d, [rax + rdx]
add r8b, r8b
sub cl, r8b
add cl, 0x30
mov byte [r9], cl
mov ecx, edx
test edx, edx
jne 0x140003790
lea r8, [rbp + 0x1425]
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.140004ab0
lea rdx, [rsp + 0x28]
mov rbx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x40]
cmp rsi, 0x10
cmovae rdx, rbx
lea rcx, [rbp + 0x38]
mov r15, qword [rbp + 0x38]
cmp qword [rbp + 0x50], 0x10
cmovae rcx, r15
mov r8, qword [rbp + 0x48]
cmp r8, qword [rsp + 0x38]
jne 0x14000380e
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000380e
xor r12b, r12b
jmp 0x140003811
mov r12b, 1
cmp rsi, 0x10
jb 0x140003848
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140003840
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004126
mov rcx, rbx
call fcn.140247544
test r12b, r12b
je 0x140003a0f
lea rdx, [rbp - 0x30]
call fcn.1400041f0
mov r10, rax
cmp byte [rax + 0x20], 0
je 0x1400039f1
cmp r13d, 2
jl 0x1400039bc
movdqa xmm5, xmmword [0x140304160]
movdqa xmm4, xmmword [0x1403042e0]
mov esi, 5
movd xmm6, esi
movdqa xmm7, xmmword [0x1403041d0]
mov r12d, 0x1f
movd xmm8, r12d
movdqa xmm0, xmmword [0x140304250]
movdqa xmmword [rbp - 0x70], xmm0
mov rcx, rax
mov edx, dword [rbp - 0x70]
movd xmm2, edi
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [rdi + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
pxor xmm2, xmm0
movd dword [rcx + 4], xmm2
add edi, 8
mov eax, edi
lea rcx, [rcx + 8]
cmp edi, 0x20
jl 0x1400038b0
cmp eax, 0x21
jge 0x1400039f1
movsxd r8, edi
add r8, r10
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, dil
sub al, cl
add al, 0x37
xor byte [r8], al
inc edi
lea r8, [r8 + 1]
cmp edi, 0x21
jl 0x1400039c2
xor r9d, r9d
lea r8, [0x1402f9106]
mov rdx, r10
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rax, [rbp - 0x50]
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [0x1402f9118]
movups xmmword [rbp + 0x1410], xmm0
movzx eax, byte [0x1402f9128]
mov byte [rbp + 0x1420], al
mov r8d, edi
mov esi, 5
lea r12d, [rsi + 0x1a]
cmp r13d, 2
jl 0x140003b90
movdqa xmm5, xmmword [0x140304160]
movdqa xmm4, xmmword [0x1403042e0]
movd xmm6, esi
movdqa xmm7, xmmword [0x1403041d0]
movd xmm8, r12d
movdqa xmm0, xmmword [0x140304250]
movdqa xmmword [rbp - 0x70], xmm0
lea rcx, [rbp + 0x1414]
mov edx, dword [rbp - 0x70]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x140003a81
cmp r8d, 0x11
jge 0x140003bd3
movsxd rax, r8d
lea r9, [rbp + 0x1410]
add r9, rax
nop dword [rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x11
jl 0x140003ba0
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rdi
lea rax, [rbp + 0x1410]
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140003bf0
lea rdx, [rbp + 0x1410]
lea rcx, [rbp - 0x50]
call fcn.140002ef0
nop
mov r8d, dword [0x14035a9c0]
lea r9, [rbp + 0x1425]
test r8d, r8d
jns 0x140003c60
neg r8d
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140003c21
dec r9
mov byte [r9], 0x2d
jmp 0x140003c8a
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140003c60
lea r8, [rbp + 0x1425]
mov rdx, r9
lea rcx, [rbp - 8]
call fcn.140004ab0
nop
lea r8, [rbp - 0x50]
lea rdx, [rbp - 8]
lea rcx, [rsp + 0x28]
call fcn.140001fc0
mov rbx, rax
lea r9, [rbp + 0x1425]
mov r8d, 2
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx ecx, dl
shl cl, 2
lea eax, [rcx + rdx]
add al, al
sub r8b, al
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140003cc0
lea r8, [rbp + 0x1425]
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.140004ab0
nop
mov r9, rbx
lea r8, [rsp + 0x48]
lea rcx, [rbp + 0x18]
call fcn.1400048c0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140003d52
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d4c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003d4c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140003d92
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003d8d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
lea rax, [rsp + 0x70]
movdqa xmm0, xmmword [0x140304150]
mov qword [rsp + 0x20], rax
movdqu xmmword [rsp + 0x38], xmm0
movzx eax, byte [0x1402f9128]
movups xmm0, xmmword [0x1402f9118]
mov byte [rbp + 0x1420], al
movups xmmword [rbp + 0x1410], xmm0
mov byte [rsp + 0x28], 0
mov r8d, edi
cmp r13d, 2
jl 0x140003f1f
movdqa xmm5, xmmword [0x140304160]
movdqa xmm4, xmmword [0x1403042e0]
movd xmm6, esi
movdqa xmm7, xmmword [0x1403041d0]
movd xmm8, r12d
movdqa xmm0, xmmword [0x140304250]
movdqa xmmword [rbp - 0x70], xmm0
lea rcx, [rbp + 0x1414]
mov edx, dword [rbp - 0x70]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140304200]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x140003e10
cmp r8d, 0x11
jge 0x140003f63
movsxd rax, r8d
lea r9, [rbp + 0x1410]
add r9, rax
nop dword [rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x11
jl 0x140003f30
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rdi
mov qword [rbp - 0x78], rdi
lea rax, [rbp + 0x1410]
nop word [rax + rax]
inc r14
cmp byte [rax + r14], 0
jne 0x140003f80
mov r8, r14
lea rdx, [rbp + 0x1410]
lea rcx, [rsp + 0x70]
call fcn.140002ef0
nop
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x30]
call fcn.140004590
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140005610
nop
cmp qword [rax + 0x18], 0x10
jb 0x140003fc3
mov rax, qword [rax]
lea r8, [rsp + 0x70]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140001490
mov rbx, rax
lea rax, [0x140353cb0]
cmp rax, rbx
je 0x14000405c
mov rdx, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, 0x10
jb 0x140004021
mov rcx, qword [0x140353cb0]
inc rdx
cmp rdx, 0x1000
jb 0x14000401c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004090
mov rcx, r8
call fcn.140247544
movdqa xmm0, xmmword [0x140304150]
movdqu xmmword [0x140353cc0], xmm0
mov byte [0x140353cb0], 0
movups xmm0, xmmword [rbx]
movups xmmword [0x140353cb0], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x140353cc0], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14000409c
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004097
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004097
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
movdqa xmm0, xmmword [0x140304150]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x1400040ed
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400040e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400040e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_505]
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x140004133
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000412d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000412d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
nop
mov rax, qword [rbp + 0x50]
cmp rax, 0x10
jb 0x140004172
lea rdx, [rax + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x140004169
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004169
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.140247544
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x1400041b0
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400041ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400041ab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140247544
mov rcx, qword [rbp + 0x1428]
xor rcx, rsp
call fcn.1402474e0
lea r11, [rsp + 0x1560]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret