Function at 0x140022230
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x140072180]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r12, rdx
mov rsi, rcx
xor ebx, ebx
cmp qword [0x140072010], rbx
jne 0x1400222a6
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x30]
call fcn.140019940
cmp byte [rax + 0xd], bl
je 0x140023231
mov rcx, rax
lea r8d, [rbx + 0xe]
mov r15b, 0x31
lea edi, [rbx + 1]
xor byte [rcx], r15b
add rcx, rdi
sub r8, rdi
je 0x140023231
jmp 0x140022295
mov rax, qword [str.__RW_AT2YEZU2]
mov qword [rbp - 0x10], rax
mov r15b, 0x31
mov edi, 1
cmp byte [0x140059707], bl
je 0x1400222db
mov ecx, ebx
lea rdx, [rbp - 0x10]
mov al, cl
and al, dil
add al, r15b
xor byte [rdx], al
add ecx, edi
add rdx, rdi
cmp ecx, 8
jl 0x1400222c7
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
lea rax, [rbp - 0x10]
or r14, 0xffffffffffffffff
mov r8, r14
inc r8
cmp byte [rax + r8], bl
jne 0x1400222f5
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x30]
call fcn.140002230
nop
mov byte [rbp + 0x70], bl
xor eax, eax
mov qword [rbp + 0x78], rax
mov dl, bl
lea rcx, [rbp + 0x78]
call fcn.140024508
mov byte [rbp + 0x70], 3
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x40]
call fcn.140015c9c
mov rax, qword [rbp - 0x40]
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rbx
mov byte [rbp + 0x88], bl
xor eax, eax
mov qword [rbp + 0x90], rax
mov dl, bl
lea rcx, [rbp + 0x90]
call fcn.140024508
mov byte [rbp + 0x88], 3
mov rcx, rsi
call fcn.14000a868
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rbx
lea rax, [rbp + 0x70]
mov qword [rbp - 0x60], rax
lea rax, [rbp + 0xa0]
mov qword [rbp - 0x58], rax
mov r9b, 2
mov r8b, dil
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x140]
call fcn.1400129ac
mov qword [rbp + 0x150], rbx
mov eax, dword [0x140059708]
mov dword [rbp - 0x68], eax
mov al, byte [0x14005970c]
mov byte [rbp - 0x64], al
mov r8d, ebx
lea r9, [rbp - 0x68]
mov eax, 0xaaaaaaab
mul r8d
shr edx, 1
lea eax, [rdx + rdx*2]
mov ecx, r8d
sub ecx, eax
add cl, r15b
xor byte [r9], cl
add r8d, edi
add r9, rdi
cmp r8d, 5
jl 0x1400223c3
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
lea rax, [rbp - 0x68]
mov r8, r14
inc r8
cmp byte [rax + r8], bl
jne 0x1400223fd
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x10]
call fcn.140002230
nop
mov byte [rbp + 0xd0], bl
xor eax, eax
mov qword [rbp + 0xd8], rax
mov dl, bl
lea rcx, [rbp + 0xd8]
call fcn.140024508
mov byte [rbp + 0xd0], 3
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x40]
call fcn.140015c9c
mov rax, qword [rbp - 0x40]
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], rbx
mov byte [rbp + 0xe8], bl
xor eax, eax
mov qword [rbp + 0xf0], rax
mov dl, bl
lea rcx, [rbp + 0xf0]
call fcn.140024508
mov byte [rbp + 0xe8], 3
mov rcx, r12
call fcn.14000a868
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rbx
lea rax, [rbp + 0xd0]
mov qword [rbp - 0x60], rax
lea rax, [rbp + 0x100]
mov qword [rbp - 0x58], rax
mov r9b, 2
mov r8b, dil
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x158]
call fcn.1400129ac
mov qword [rbp + 0x168], rbx
movsd xmm0, qword [str.CS_P__QBA3]
movsd qword [rbp], xmm0
movzx eax, word [0x140059718]
mov word [rbp + 8], ax
mov al, byte [0x14005971a]
mov byte [rbp + 0xa], al
mov ecx, ebx
lea rdx, [rbp]
mov al, cl
and al, 3
add al, r15b
xor byte [rdx], al
add ecx, edi
add rdx, rdi
cmp ecx, 0xb
jl 0x1400224eb
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
lea rax, [rbp]
mov r8, r14
inc r8
cmp byte [rax + r8], bl
jne 0x140022514
lea rdx, [rbp]
lea rcx, [rbp + 0x50]
call fcn.140002230
nop
mov byte [rbp + 0xa0], bl
xor eax, eax
mov qword [rbp + 0xa8], rax
mov dl, bl
lea rcx, [rbp + 0xa8]
call fcn.140024508
mov byte [rbp + 0xa0], 3
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x40]
call fcn.140015c9c
mov rax, qword [rbp - 0x40]
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb0], rbx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov esi, eax
and esi, 0x800000ff
jge 0x140022588
sub esi, edi
or esi, 0xffffff00
add esi, edi
mov byte [rbp + 0xb8], bl
xor eax, eax
mov qword [rbp + 0xc0], rax
mov dl, bl
lea rcx, [rbp + 0xc0]
call fcn.140024508
mov byte [rbp + 0xb8], 5
movsxd rax, esi
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rbx
lea rax, [rbp + 0xa0]
mov qword [rbp - 0x60], rax
lea rax, [rbp + 0xd0]
mov qword [rbp - 0x58], rax
mov r9b, 2
mov r8b, dil
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x170]
call fcn.1400129ac
mov qword [rbp + 0x180], rbx
lea rax, [rbp + 0x140]
mov qword [rbp - 0x60], rax
lea rax, [rbp + 0x188]
mov qword [rbp - 0x58], rax
mov r9b, 2
mov r8b, dil
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400129ac
nop
mov dword [rsp + 0x28], ebx
mov byte [rsp + 0x20], bl
mov r9b, 0x20
mov r8d, r14d
lea rdx, [rbp + 0x190]
mov rcx, rax
call fcn.1400249c8
nop
mov dl, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140024508
nop
lea rsi, [0x14001694c]
mov r9, rsi
mov r8d, 3
lea r12d, [r8 + 0x15]
mov edx, r12d
lea rcx, [rbp + 0x140]
call fcn.140051e94
nop
mov r9, rsi
lea r8d, [r12 - 0x16]
mov edx, r12d
lea rcx, [rbp + 0xa0]
call fcn.140051e94
nop
mov r13d, 0x1000
mov r12d, 0x27
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x1400226c9
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, r13
jb 0x1400226c4
add rdx, r12
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400226c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051bec
movdqa xmm0, xmmword [0x14005f270]
movdqu xmmword [rbp + 0x60], xmm0
mov byte [rbp + 0x50], bl
mov r9, rsi
mov esi, 2
mov r8d, esi
lea edx, [rsi + 0x16]
lea rcx, [rbp + 0xd0]
call fcn.140051e94
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x14002272d
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, r13
jb 0x140022728
add rdx, r12
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022728
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051bec
movdqa xmm0, xmmword [0x14005f270]
movdqu xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], bl
lea r9, [0x14001694c]
mov r8, rsi
mov edx, 0x18
lea rcx, [rbp + 0x70]
call fcn.140051e94
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x14002278f
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, r13
jb 0x14002278a
add rdx, r12
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002278a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051bec
movdqa xmm0, xmmword [0x14005f270]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], bl
movups xmm0, xmmword [0x140059720]
movups xmmword [rbp - 0x60], xmm0
mov eax, dword [str.QY5]
mov dword [rbp - 0x50], eax
mov esi, 0xcccccccd
cmp byte [0x140059733], bl
je 0x1400227e9
mov r8d, ebx
lea r9, [rbp - 0x60]
mov eax, esi
mul r8d
shr edx, 2
lea eax, [rdx + rdx*4]
mov ecx, r8d
sub ecx, eax
add cl, r15b
xor byte [r9], cl
add r8d, edi
add r9, rdi
cmp r8d, 0x14
jl 0x1400227c7
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
lea rax, [rbp - 0x60]
mov r8, r14
inc r8
cmp byte [rax + r8], bl
jne 0x1400227ff
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x30]
call fcn.140002230
nop
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.140013d54
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x14002285e
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, r13
jb 0x140022859
add rdx, r12
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022859
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051bec
movdqa xmm0, xmmword [0x14005f270]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], bl
movsd xmm0, qword [0x140059738]
movsd qword [rbp - 0x40], xmm0
movzx eax, word [0x140059740]
mov word [rbp - 0x38], ax
mov al, byte [0x140059742]
mov byte [rbp - 0x36], al
mov r8d, ebx
lea r9, [rbp - 0x40]
mov eax, 0xaaaaaaab
mul r8d
shr edx, 2
lea eax, [rdx + rdx*2]
add eax, eax
mov ecx, r8d
sub ecx, eax
add cl, r15b
xor byte [r9], cl
add r8d, edi
add r9, rdi
cmp r8d, 0xb
jl 0x140022896
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
lea rax, [rbp - 0x40]
mov r8, r14
inc r8
cmp byte [rax + r8], bl
jne 0x1400228d3
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x10]
call fcn.140002230
nop
movsd xmm0, qword [0x140059748]
movsd qword [rbp - 0x10], xmm0
mov eax, dword [0x140059750]
mov dword [rbp - 8], eax
cmp byte [0x140059753], bl
je 0x14002293d
mov r8d, ebx
lea r9, [rbp - 0x10]
mov eax, 0x24924925
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 2
imul eax, eax, 7
mov ecx, r8d
sub ecx, eax
add cl, r15b
xor byte [r9], cl
add r8d, edi
add r9, rdi
cmp r8d, 0xc
jl 0x14002290f
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
lea rax, [rbp - 0x10]
mov r8, r14
inc r8
cmp byte [rax + r8], bl
jne 0x140022953
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x30]
call fcn.140002230
nop
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x140]
call fcn.140002d44
nop
lea rax, [rbp + 0x140]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x180]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.140013188
nop
lea r9, [fcn.140016cb0]
mov r8, rdi
mov edx, 0x40
lea rcx, [rbp + 0x140]
call fcn.140051e94
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1400229fc
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, r13
jb 0x1400229f7
add rdx, r12
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400229f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051bec
movdqa xmm0, xmmword [0x14005f270]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], bl
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x140022a45
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, r13
jb 0x140022a40
add rdx, r12
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022a40
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051bec
movdqa xmm0, xmmword [0x14005f270]
movdqu xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], bl
movsd xmm0, qword [str.EWK_]
movsd qword [rbp - 0x60], xmm0
movzx eax, word [0x140059790]
mov word [rbp - 0x58], ax
mov al, byte [0x140059792]
mov byte [rbp - 0x56], al
mov r8d, ebx
lea r9, [rbp - 0x60]
mov eax, esi
mul r8d
shr edx, 3
lea eax, [rdx + rdx*4]
add eax, eax
mov ecx, r8d
sub ecx, eax
add cl, r15b
xor byte [r9], cl
add r8d, edi
add r9, rdi
cmp r8d, 0xb
jl 0x140022a7d
xorps xmm0, xmm0
movups xmmword [rbp + 0x120], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x130], xmm1
lea rax, [rbp - 0x60]
mov r8, r14
inc r8
cmp byte [rax + r8], bl
jne 0x140022abd
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x120]
call fcn.140002230
nop
lea r8, [0x140077b10]
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0xa0]
call fcn.140025ab8
mov rsi, rax
movups xmm0, xmmword [0x140059768]
movups xmmword [rbp + 0x50], xmm0
movsd xmm0, qword [0x140059778]
movsd qword [rbp + 0x60], xmm0
movzx ecx, word [0x140059780]
mov word [rbp + 0x68], cx
cmp byte [0x140059781], bl
je 0x140022b4a
mov r8d, ebx
lea r9, [rbp + 0x50]
mov eax, 0x38e38e39
mul r8d
shr edx, 1
lea eax, [rdx + rdx*8]
mov ecx, r8d
sub ecx, eax
add cl, r15b
xor byte [r9], cl
add r8d, edi
add r9, rdi
cmp r8d, 0x1a
jl 0x140022b26
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x110], xmm1
lea rax, [rbp + 0x50]
mov r8, r14
inc r8
cmp byte [rax + r8], bl
jne 0x140022b66
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x100]
call fcn.140002230
nop
movsd xmm0, qword [0x140059758]
movsd qword [rbp], xmm0
mov al, byte [0x140059760]
mov byte [rbp + 8], al
mov ecx, ebx
lea rdx, [rbp]
mov al, cl
and al, 7
add al, r15b
xor byte [rdx], al
add ecx, edi
add rdx, rdi
cmp ecx, 9
jl 0x140022b9c
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
lea rax, [rbp]
mov r8, r14
inc r8
cmp byte [rax + r8], bl
jne 0x140022bc5
lea rdx, [rbp]
lea rcx, [rbp + 0x30]
call fcn.140002230
nop
lea r8, [section..data]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0xd0]
call fcn.14000339c
nop
lea r9, [rbp + 0x100]
mov r8, rax
mov dl, byte [rsp + 0x30]
lea rcx, [rbp + 0x70]
call fcn.140012bc0
nop
lea rax, [rbp + 0x120]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x68]
lea r8, [rbp + 0x70]
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
call fcn.14001be1c
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x140022c72
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, r13
jb 0x140022c6d
add rdx, r12
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022c6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051bec
movdqa xmm0, xmmword [0x14005f270]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], bl
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0x10
jb 0x140022cc4
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, r13
jb 0x140022cbf
add rdx, r12
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022cbf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051bec
movdqa xmm0, xmmword [0x14005f270]
movdqu xmmword [rbp + 0xe0], xmm0
mov byte [rbp + 0xd0], bl
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x140022d13
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, r13
jb 0x140022d0e
add rdx, r12
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022d0e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051bec
movdqa xmm0, xmmword [0x14005f270]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], bl
mov rdx, qword [rbp + 0x118]
cmp rdx, 0x10
jb 0x140022d62
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, r13
jb 0x140022d5d
add rdx, r12
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022d5d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051bec
movdqa xmm0, xmmword [0x14005f270]
movdqu xmmword [rbp + 0x110], xmm0
mov byte [rbp + 0x100], bl
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x140022db7
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, r13
jb 0x140022db2
add rdx, r12
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022db2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051bec
movdqa xmm0, xmmword [0x14005f270]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], bl
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x140022e0c
inc rdx
mov rcx, qword [rbp + 0x120]
mov rax, rcx
cmp rdx, r13
jb 0x140022e07
add rdx, r12
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022e07
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051bec
movdqa xmm0, xmmword [0x14005f270]
movdqu xmmword [rbp + 0x130], xmm0
mov byte [rbp + 0x120], bl
lea rax, [rbp + 0x140]
mov qword [rbp - 0x40], rax
mov qword [rbp + 0x178], rbx
mov rdx, qword [rsp + 0x78]
add rdx, 0x58
lea r8, [0x140077b10]
lea rcx, [rbp - 0x30]
call fcn.140024218
nop
mov byte [rsp + 0x20], bl
mov r9b, dil
lea r8, [rbp + 0x140]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14000e258
mov dl, byte [0x140077b30]
mov cl, byte [rax]
mov byte [0x140077b30], cl
mov byte [rax], dl
lea rcx, [rax + 8]
mov rdx, qword [0x140077b38]
mov r8, qword [rcx]
mov qword [0x140077b38], r8
mov qword [rcx], rdx
mov dl, byte [rax]
call fcn.140024508
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140022ed2
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, r13
jb 0x140022ecd
add rdx, r12
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022ecd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051bec
mov eax, dword [0x140059794]
mov dword [rbp - 0x68], eax
movzx eax, word [0x140059798]
mov word [rbp - 0x64], ax
mov r8d, ebx
lea r9, [rbp - 0x68]
mov eax, 0xba2e8ba3
mul r8d
shr edx, 3
imul eax, edx, 0xb
mov ecx, r8d
sub ecx, eax
add cl, r15b
xor byte [r9], cl
add r8d, edi
add r9, rdi
cmp r8d, 6
jl 0x140022eed
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
lea rax, [rbp - 0x68]
mov r8, r14
inc r8
cmp byte [rax + r8], bl
jne 0x140022f28
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x30]
call fcn.140002230
cmp byte [0x140077b30], dil
jne 0x140022f7f
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x40]
mov rsi, qword [0x140077b38]
mov rcx, rsi
call fcn.1400073e8
lea r8, [rbp - 0x30]
mov r12, qword [rsp + 0x50]
mov rdx, r12
mov rcx, rsi
call fcn.14000794c
test al, al
je 0x140022f7f
cmp r12, qword [rsi]
mov sil, dil
jne 0x140022f82
mov sil, bl
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140022fbc
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, r13
jb 0x140022fb7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022fb7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051bec
test sil, sil
je 0x140023008
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x30]
call fcn.140018e94
mov r9, rax
cmp byte [rax + 5], bl
je 0x140023260
mov r8, rax
mov eax, 0xaaaaaaab
mul ebx
shr edx, 3
lea eax, [rdx + rdx*2]
shl eax, 2
mov ecx, ebx
sub ecx, eax
add cl, r15b
xor byte [r8], cl
add ebx, edi
add r8, rdi
cmp ebx, 6
jge 0x140023260
jmp 0x140022fde
mov rax, qword [str.BGPWPED8DXZZAY]
mov qword [rbp - 0x10], rax
cmp byte [0x1400597af], bl
je 0x140023047
mov r8d, ebx
lea r9, [rbp - 0x10]
mov eax, 0x4ec4ec4f
mul r8d
shr edx, 2
imul eax, edx, 0xd
mov ecx, r8d
sub ecx, eax
add cl, r15b
xor byte [r9], cl
add r8d, edi
add r9, rdi
cmp r8d, 8
jl 0x140023022
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
lea rax, [rbp - 0x10]
inc r14
cmp byte [rax + r14], bl
jne 0x14002305a
mov r8, r14
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x30]
call fcn.140002230
cmp byte [0x140077b30], dil
jne 0x1400230b4
lea r8, [rbp - 0x30]
lea rdx, [rsp + 0x40]
mov rsi, qword [0x140077b38]
mov rcx, rsi
call fcn.1400073e8
lea r8, [rbp - 0x30]
mov r14, qword [rsp + 0x50]
mov rdx, r14
mov rcx, rsi
call fcn.14000794c
test al, al
je 0x1400230b4
cmp r14, qword [rsi]
mov sil, bl
jne 0x1400230b7
mov sil, dil
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1400230f1
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, r13
jb 0x1400230ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400230ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051bec
test sil, sil
je 0x140023148
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x30]
call fcn.140018eac
mov r10, rax
cmp byte [rax + 0xd], bl
je 0x1400232a7
mov r9, rax
mov r8d, recv
mov eax, 0x24924925
mul ebx
mov ecx, ebx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 3
imul eax, ecx, 0xe
mov ecx, ebx
sub ecx, eax
add cl, r15b
xor byte [r9], cl
add ebx, edi
add r9, rdi
cmp ebx, r8d
jge 0x1400232a7
jmp 0x140023119
mov r8, qword [rbp - 0x78]
mov r8, qword [r8 + 8]
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x78]
call fcn.140006f70
mov r14d, 0x60
mov edx, r14d
mov rcx, qword [rbp - 0x78]
call fcn.140051bec
mov rsi, qword [rsp + 0x78]
test rsi, rsi
je 0x14002318f
mov rcx, rsi
call fcn.140018028
mov edx, 0x128
mov rcx, rsi
call fcn.140051bec
nop
mov r8, qword [rsp + 0x68]
mov r8, qword [r8 + 8]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.140006f70
mov rdx, r14
mov rcx, qword [rsp + 0x68]
call fcn.140051bec
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400231c7
mov rax, qword [rcx]
mov edx, edi
call qword [rax]
nop
mov rdx, qword [rbp + 0x1a8]
cmp rdx, 0x10
jb 0x140023207
inc rdx
mov rcx, qword [rbp + 0x190]
mov rax, rcx
cmp rdx, r13
jb 0x140023202
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140023202
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140051bec
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140051b90
mov rbx, qword [rsp + 0x310]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rdx, rax
lea rcx, [rbp + 0xa0]
call fcn.140001a00
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140016038
lea rdx, [0x14006ec08]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rdx, r9
lea rcx, [rbp - 0x30]
call fcn.140001a00
mov rdx, rax
lea rcx, [0x140077b30]
call fcn.140018afc
lea rdx, [rbp + 0x10]
mov rcx, rax
call fcn.14000c0cc
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140016038
lea rdx, [0x14006ec08]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rdx, r10
lea rcx, [rbp - 0x30]
call fcn.140001a00
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140016038
lea rdx, [0x14006ec08]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll__CxxThrowException
int3