Function at 0x140243c58
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x308]
sub rsp, 0x3d0
mov qword [rbp + 0x1d0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r10, r9
xor edi, edi
mov dword [rbp + 0x328], edi
lea ebx, [rdi + 1]
mov r12d, ebx
mov r9d, dword [0x1402c61d8]
cmp r10, r9
jb 0x140244c77
test r9d, r9d
je 0x140244c77
mov r9, r8
mov r8, rdx
mov rdx, r10
lea rcx, [rbp + 0x100]
call fcn.140243724
nop
mov r9d, dword [0x1402c61d8]
lea eax, [rdi + 0x1c]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
xor ax, 0x20
mov word [rsp + 0x54], ax
mov eax, dword [rsp + 0x50]
add ax, bx
xor ax, 0x2f
mov word [rsp + 0x56], ax
mov eax, dword [rsp + 0x50]
add ax, 2
xor ax, 0x20
mov word [rsp + 0x58], ax
xor eax, eax
mov word [rsp + 0x5a], ax
movzx eax, word [rsp + 0x54]
mov edx, edi
lea r8d, [rdi + 3]
movzx eax, word [rsp + rdx*2 + 0x54]
mov ecx, dword [rsp + 0x50]
add cx, dx
xor cx, ax
mov word [rsp + rdx*2 + 0x54], cx
add rdx, rbx
cmp rdx, r8
jb 0x140243d15
mov word [rsp + 0x5a], di
mov r10d, dword [0x1402c61d8]
mov ecx, 0x23
mov word [rbp + 4], cx
lea esi, [rcx + 0x43]
mov word [rbp + 6], si
lea eax, [rcx + 0x48]
mov word [rbp + 8], ax
lea eax, [rcx + 0x55]
mov word [rbp + 0xa], ax
lea eax, [rcx + 0x4e]
mov word [rbp + 0xc], ax
lea eax, [rcx + 0x4b]
mov word [rbp + 0xe], ax
lea edx, [rcx + 0x53]
mov word [rbp + 0x10], dx
mov word [rbp + 0x12], cx
lea eax, [rcx + 0x4f]
mov word [rbp + 0x14], ax
lea eax, [rcx + 0x46]
mov word [rbp + 0x16], ax
mov word [rbp + 0x18], cx
mov word [rbp + 0x1a], dx
lea r11d, [rcx + 0x49]
mov word [rbp + 0x1c], r11w
lea eax, [rcx + 0x5a]
mov word [rbp + 0x1e], ax
lea eax, [rcx + 0x45]
mov word [rbp + 0x20], ax
mov word [rbp + 0x22], cx
lea eax, [rcx + 0x1a]
mov word [rbp + 0x24], ax
mov word [rbp + 0x26], cx
lea eax, [rcx + 0x10]
mov word [rbp + 0x28], ax
lea r14d, [rcx + 0x58]
mov word [rbp + 0x2a], r14w
mov word [rbp + 0x2c], di
movzx eax, word [rbp + 4]
mov rcx, rdi
lea edx, [rsi - 0x52]
movzx eax, word [rbp + rcx*2 + 4]
sub ax, r8w
mov word [rbp + rcx*2 + 4], ax
add rcx, rbx
cmp rcx, rdx
jb 0x140243dce
mov rcx, qword [rbp + 0x108]
sub rcx, qword [rbp + 0x100]
movabs rax, 0x6666666666666667
imul rcx
mov r8, rdx
sar r8, 4
mov rax, r8
shr rax, 0x3f
add r8, rax
mov eax, 9
mov dword [rbp + 0x60], eax
mov eax, 0x52
mov word [rbp + 0x64], ax
mov eax, 0x27
mov word [rbp + 0x66], ax
mov eax, 0x54
mov word [rbp + 0x68], ax
lea edx, [rax - 0x2b]
mov word [rbp + 0x6a], dx
lea eax, [rdx + 0x35]
mov word [rbp + 0x6c], ax
lea r13d, [rdx + 0x37]
mov word [rbp + 0x6e], r13w
lea ecx, [rdx + 0x3c]
mov word [rbp + 0x70], cx
mov word [rbp + 0x72], cx
mov word [rbp + 0x74], dx
lea eax, [rdx + 0x55]
mov word [rbp + 0x76], ax
mov word [rbp + 0x78], r14w
mov word [rbp + 0x7a], r13w
lea eax, [rdx + 0x54]
mov word [rbp + 0x7c], ax
mov word [rbp + 0x7e], r11w
mov word [rbp + 0x80], dx
lea eax, [rdx + 0x51]
mov word [rbp + 0x82], ax
lea eax, [rdx + 0x38]
mov word [rbp + 0x84], ax
mov word [rbp + 0x86], r11w
mov word [rbp + 0x88], cx
mov word [rbp + 0x8a], cx
lea eax, [rdx + 0x41]
mov word [rbp + 0x8c], ax
mov word [rbp + 0x8e], si
lea eax, [rdx + 0x44]
mov word [rbp + 0x90], ax
mov word [rbp + 0x92], r11w
mov word [rbp + 0x94], dx
mov word [rbp + 0x96], r13w
lea eax, [rdx + 0x3e]
mov word [rbp + 0x98], ax
mov word [rbp + 0x9a], dx
xor eax, eax
mov word [rbp + 0x9c], ax
movzx eax, word [rbp + 0x64]
mov rdx, rdi
lea r15d, [r13 - 0x44]
movzx eax, word [rbp + rdx*2 + 0x64]
mov ecx, dword [rbp + 0x60]
xor cx, ax
mov word [rbp + rdx*2 + 0x64], cx
add rdx, rbx
cmp rdx, r15
jb 0x140243efe
mov word [rbp + 0x9c], di
mov esi, 0x1f
lea r13d, [rsi - 0xf]
lea r14d, [rsi - 0x10]
cmp byte [0x1402cccc1], dil
mov r15, qword [rbp + 0x310]
je 0x140243fcd
mov dword [rsp + 0x40], r9d
lea rax, [rsp + 0x54]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r10d
lea r9, [rbp + 4]
lea rdx, [rbp + 0x64]
lea rcx, [rbp + 0x188]
call fcn.14027a6d8
nop
lea rdx, [rbp + 0x188]
mov cl, bl
call fcn.140173fb4
nop
mov rdx, qword [rbp + 0x1a0]
cmp rdx, r13
jb 0x140243fb8
inc rdx
mov rcx, qword [rbp + 0x188]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140243fb3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, rsi
jbe 0x140243fb3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027b384
mov qword [rbp + 0x198], rdi
mov qword [rbp + 0x1a0], r14
mov byte [rbp + 0x188], dil
xor edx, edx
lea r8d, [rdx + 0x3a]
lea rcx, [rbp + 0x64]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x2a]
lea rcx, [rbp + 4]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 8]
lea rcx, [rsp + 0x54]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rsi, rdi
mov r14, qword [rbp + 0x100]
mov r13, qword [rbp + 0x108]
mov qword [rbp + 0x160], r13
cmp r14, r13
je 0x140244c64
mov rdx, r14
lea rcx, [rbp + 0x118]
call fcn.1401723d0
mov rax, qword [r14 + 0x18]
mov qword [rbp + 0x130], rax
mov rax, qword [r14 + 0x20]
mov qword [rbp + 0x138], rax
add rsi, rbx
lea rdx, [rbp + 0x118]
lea rcx, [rbp + 0x1a8]
call fcn.1401723d0
mov r9, qword [rbp + 0x130]
mov qword [rbp + 0x1c0], r9
mov rcx, qword [rbp + 0x138]
mov qword [rbp + 0x1c8], rcx
movabs rax, 0xcccccccccccccccd
mul rsi
shr rdx, 3
lea r8, [rdx + rdx*4]
add r8, r8
cmp rsi, r8
jne 0x1402443d9
mov eax, 0x32
mov word [rsp + 0x5c], ax
mov word [rsp + 0x5e], ax
mov word [rsp + 0x60], ax
mov word [rsp + 0x62], di
movzx eax, word [rsp + 0x5c]
mov rcx, rdi
mov r9d, 3
movzx eax, word [rsp + rcx*2 + 0x5c]
sub ax, 4
mov word [rsp + rcx*2 + 0x5c], ax
add rcx, rbx
cmp rcx, r9
jb 0x1402440c0
mov rcx, qword [rbp + 0x108]
sub rcx, qword [rbp + 0x100]
movabs rax, 0x6666666666666667
imul rcx
mov rbx, rdx
sar rbx, 4
mov rax, rbx
shr rax, 0x3f
add rbx, rax
mov eax, 0x5b
mov dword [rbp - 8], eax
mov eax, 0x7b
mov word [rbp - 4], ax
lea r10d, [rax - 7]
mov word [rbp - 2], r10w
mov word [rbp], ax
xor eax, eax
mov word [rbp + 2], ax
movzx eax, word [rbp - 4]
mov rdx, rdi
lea r8d, [r10 - 0x73]
movzx eax, word [rbp + rdx*2 - 4]
mov ecx, dword [rbp - 8]
xor cx, ax
mov word [rbp + rdx*2 - 4], cx
add rdx, r8
cmp rdx, r9
jb 0x140244131
mov word [rbp + 2], di
mov eax, 0x58
mov word [rbp + 0x2e], ax
mov eax, 0x73
mov word [rbp + 0x30], ax
lea ecx, [rax - 9]
mov word [rbp + 0x32], cx
lea eax, [rcx + 0xb]
mov word [rbp + 0x34], ax
mov word [rbp + 0x36], cx
lea r11d, [rcx + 5]
mov word [rbp + 0x38], r11w
lea eax, [rcx - 2]
mov word [rbp + 0x3a], ax
lea r9d, [rcx - 0x49]
mov word [rbp + 0x3c], r9w
mov word [rbp + 0x3e], r10w
lea edx, [rcx - 1]
mov word [rbp + 0x40], dx
lea ecx, [rax - 2]
mov word [rbp + 0x42], cx
lea eax, [rdx + 4]
mov word [rbp + 0x44], ax
mov word [rbp + 0x46], ax
lea r10d, [r11 - 0xb]
mov word [rbp + 0x48], r10w
lea eax, [rdx + 7]
mov word [rbp + 0x4a], ax
lea eax, [rdx - 4]
mov word [rbp + 0x4c], ax
mov word [rbp + 0x4e], cx
mov word [rbp + 0x50], r9w
mov word [rbp + 0x52], r10w
mov word [rbp + 0x54], dx
lea eax, [rdx + 0xd]
mov word [rbp + 0x56], ax
mov word [rbp + 0x58], r11w
lea eax, [rdx + 3]
mov word [rbp + 0x5a], ax
mov word [rbp + 0x5c], r9w
mov word [rbp + 0x5e], di
movzx eax, word [rbp + 0x2e]
mov rcx, rdi
lea r15d, [r11 - 0x57]
movzx eax, word [rbp + rcx*2 + 0x2e]
sub ax, r8w
mov word [rbp + rcx*2 + 0x2e], ax
add rcx, r8
cmp rcx, r15
jb 0x1402441f8
mov r15, qword [rbp + 0x310]
cmp byte [0x1402cccc1], dil
je 0x140244395
lea rcx, [rbp + 0x1e0]
call fcn.1400ab8b4
nop
lea rdx, [rbp + 0x2e]
lea rcx, [rbp + 0x1e0]
call fcn.1400ad624
lea rdx, [0x140175ed4]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int______ptr64___cdecl_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int______ptr64___cdecl_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [rbp - 4]
call fcn.1400ad624
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int______ptr64___cdecl_std::basic_ostream_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [rsp + 0x5c]
call fcn.1400ad624
lea rdx, [rbp + 0x140]
lea rcx, [rbp + 0x1e8]
call fcn.1400aca50
mov ebx, dword [rbp + 0x328]
or ebx, 2
mov dword [rbp + 0x328], ebx
lea rcx, [rbp + 0x140]
mov r9d, 8
cmp qword [rbp + 0x158], r9
cmovae rcx, qword [rbp + 0x140]
mov rax, qword [rbp + 0x150]
lea r8, [rcx + rax*2]
lea rdx, [rbp + 0x140]
cmovae rdx, qword [rbp + 0x140]
lea rcx, [rbp + 0x168]
call fcn.1400af5d0
or ebx, 1
mov dword [rbp + 0x328], ebx
lea rdx, [0x140290d28]
lea rcx, [rbp + 0x168]
call fcn.1400ace7c
nop
lea rcx, [rbp + 0x140]
call fcn.1400ac668
nop
lea rcx, [rbp + 0x1e0]
call fcn.1400aa2f8
lea rdx, [rbp + 0x168]
mov cl, 1
call fcn.140173fb4
and ebx, 0xfffffffe
mov dword [rbp + 0x328], ebx
mov rdx, qword [rbp + 0x180]
mov eax, 0x10
cmp rdx, rax
jb 0x14024437b
inc rdx
mov rcx, qword [rbp + 0x168]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140244376
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
mov r8d, 0x1f
cmp rax, r8
ja 0x140244853
call fcn.14027b384
mov qword [rbp + 0x178], rdi
mov eax, 0xf
mov qword [rbp + 0x180], rax
mov byte [rbp + 0x168], dil
xor edx, edx
lea r8d, [rdx + 0x32]
lea rcx, [rbp + 0x2e]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
mov ebx, 8
mov r8d, ebx
xor edx, edx
lea rcx, [rbp - 4]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x5c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rcx, qword [rbp + 0x138]
mov r9, qword [rbp + 0x130]
mov rbx, qword [rbp + 0x1a8]
mov r8, rbx
mov rdx, rcx
mov rcx, r15
call fcn.140242fc0
mov r15d, eax
test eax, eax
je 0x14024485a
mov r8, qword [0x1402c61e0]
test r8, r8
je 0x1402447ac
movabs rax, 0x47ae147ae147ae15
mul rsi
mov rax, rsi
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 4
imul rcx, rax, 0x19
cmp rsi, rcx
jne 0x1402447a2
mov ecx, 2
mov dword [rbp - 0x74], ecx
mov eax, dword [rbp - 0x74]
xor ax, 0x5b
mov word [rbp - 0x70], ax
mov eax, dword [rbp - 0x74]
lea r8d, [rcx - 1]
add ax, r8w
xor ax, 0x2e
mov word [rbp - 0x6e], ax
mov eax, dword [rbp - 0x74]
add ax, cx
xor ax, 0x5d
mov word [rbp - 0x6c], ax
mov eax, dword [rbp - 0x74]
add ax, 3
mov r10w, 0x20
xor ax, r10w
mov word [rbp - 0x6a], ax
mov eax, dword [rbp - 0x74]
add ax, 4
xor ax, 0x44
mov word [rbp - 0x68], ax
mov eax, dword [rbp - 0x74]
add ax, 5
lea r9d, [rcx + 0x63]
xor ax, r9w
mov word [rbp - 0x66], ax
mov eax, dword [rbp - 0x74]
add ax, 6
lea ecx, [r8 + 0x6b]
xor ax, cx
mov word [rbp - 0x64], ax
mov eax, dword [rbp - 0x74]
add ax, 7
lea ebx, [rcx - 0xb]
xor ax, bx
mov word [rbp - 0x62], ax
mov eax, dword [rbp - 0x74]
add ax, 8
xor ax, 0x79
mov word [rbp - 0x60], ax
mov eax, dword [rbp - 0x74]
add ax, 9
lea edx, [rcx - 3]
xor ax, dx
mov word [rbp - 0x5e], ax
mov eax, dword [rbp - 0x74]
add ax, 0xa
lea r11d, [r8 + 0x6d]
xor ax, r11w
mov word [rbp - 0x5c], ax
mov eax, dword [rbp - 0x74]
add ax, 0xb
xor ax, 0x67
mov word [rbp - 0x5a], ax
mov eax, dword [rbp - 0x74]
add ax, 0xc
xor ax, r10w
mov word [rbp - 0x58], ax
mov eax, dword [rbp - 0x74]
add ax, 0xd
xor ax, r11w
mov word [rbp - 0x56], ax
mov eax, dword [rbp - 0x74]
add ax, 0xe
xor ax, r9w
mov word [rbp - 0x54], ax
mov eax, dword [rbp - 0x74]
add ax, 0xf
xor ax, 0x78
mov word [rbp - 0x52], ax
mov eax, dword [rbp - 0x74]
add ax, 0x10
lea r11d, [r8 + 0x73]
xor ax, r11w
mov word [rbp - 0x50], ax
mov eax, dword [rbp - 0x74]
add ax, 0x11
xor ax, r10w
mov word [rbp - 0x4e], ax
mov eax, dword [rbp - 0x74]
add ax, 0x12
xor ax, 0x73
mov word [rbp - 0x4c], ax
mov eax, dword [rbp - 0x74]
add ax, 0x13
xor ax, 0x68
mov word [rbp - 0x4a], ax
mov eax, dword [rbp - 0x74]
add ax, 0x14
xor ax, r9w
mov word [rbp - 0x48], ax
mov eax, dword [rbp - 0x74]
add ax, 0x15
xor ax, cx
mov word [rbp - 0x46], ax
mov eax, dword [rbp - 0x74]
add ax, 0x16
xor ax, cx
mov word [rbp - 0x44], ax
mov eax, dword [rbp - 0x74]
add ax, 0x17
xor ax, 0x63
mov word [rbp - 0x42], ax
mov eax, dword [rbp - 0x74]
add ax, 0x18
lea r13d, [r8 + 0x6e]
xor ax, r13w
mov word [rbp - 0x40], ax
mov eax, dword [rbp - 0x74]
add ax, 0x19
xor ax, 0x64
mov word [rbp - 0x3e], ax
mov eax, dword [rbp - 0x74]
add ax, 0x1a
xor ax, r9w
mov word [rbp - 0x3c], ax
mov eax, dword [rbp - 0x74]
add ax, 0x1b
xor ax, r10w
mov word [rbp - 0x3a], ax
mov eax, dword [rbp - 0x74]
add ax, 0x1c
xor ax, 0x63
mov word [rbp - 0x38], ax
mov eax, dword [rbp - 0x74]
add ax, 0x1d
xor ax, 0x68
mov word [rbp - 0x36], ax
mov eax, dword [rbp - 0x74]
add ax, 0x1e
xor ax, 0x75
mov word [rbp - 0x34], ax
mov eax, dword [rbp - 0x74]
add ax, 0x1f
xor ax, 0x6e
mov word [rbp - 0x32], ax
mov eax, dword [rbp - 0x74]
add ax, r10w
xor ax, 0x6b
mov word [rbp - 0x30], ax
mov eax, dword [rbp - 0x74]
add ax, 0x21
xor ax, r10w
mov word [rbp - 0x2e], ax
mov eax, dword [rbp - 0x74]
add ax, 0x22
xor ax, 0x77
mov word [rbp - 0x2c], ax
mov eax, dword [rbp - 0x74]
add ax, 0x23
xor ax, 0x72
mov word [rbp - 0x2a], ax
mov eax, dword [rbp - 0x74]
add ax, 0x24
xor ax, dx
mov word [rbp - 0x28], ax
mov eax, dword [rbp - 0x74]
add ax, 0x25
xor ax, r11w
mov word [rbp - 0x26], ax
mov eax, dword [rbp - 0x74]
add ax, 0x26
xor ax, r9w
mov word [rbp - 0x24], ax
mov eax, dword [rbp - 0x74]
add ax, 0x27
xor ax, r10w
mov word [rbp - 0x22], ax
mov eax, dword [rbp - 0x74]
add ax, 0x28
xor ax, r13w
mov word [rbp - 0x20], ax
mov eax, dword [rbp - 0x74]
add ax, 0x29
xor ax, 0x70
mov word [rbp - 0x1e], ax
mov eax, dword [rbp - 0x74]
add ax, 0x2a
xor ax, r9w
mov word [rbp - 0x1c], ax
mov eax, dword [rbp - 0x74]
add ax, 0x2b
xor ax, 0x72
mov word [rbp - 0x1a], ax
mov eax, dword [rbp - 0x74]
add ax, 0x2c
xor ax, bx
mov word [rbp - 0x18], ax
mov eax, dword [rbp - 0x74]
add ax, 0x2d
xor ax, r11w
mov word [rbp - 0x16], ax
mov eax, dword [rbp - 0x74]
lea r9d, [r8 + 0x2d]
add ax, r9w
xor ax, dx
mov word [rbp - 0x14], ax
mov eax, dword [rbp - 0x74]
add ax, 0x2f
xor ax, r13w
mov word [rbp - 0x12], ax
mov eax, dword [rbp - 0x74]
add ax, 0x30
xor ax, 0x6e
mov word [rbp - 0x10], ax
mov eax, dword [rbp - 0x74]
add ax, 0x31
xor ax, r9w
mov word [rbp - 0xe], ax
xor eax, eax
mov word [rbp - 0xc], ax
movzx eax, word [rbp - 0x70]
mov rdx, rdi
lea r13d, [r8 + 0x31]
movzx eax, word [rbp + rdx*2 - 0x70]
mov ecx, dword [rbp - 0x74]
add cx, dx
xor cx, ax
mov word [rbp + rdx*2 - 0x70], cx
add rdx, r8
cmp rdx, r13
jb 0x140244754
mov r13, qword [rbp + 0x160]
mov word [rbp - 0xc], di
lea rcx, [rbp - 0x70]
call fcn.1400acf00
nop
xor edx, edx
lea r8d, [rdx + 0x66]
lea rcx, [rbp - 0x70]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rbx, qword [rbp + 0x1a8]
mov r8, qword [0x1402c61e0]
xor edx, edx
mov rcx, r8
call fcn.1400ebd30
and r12d, r15d
test rbx, rbx
je 0x1402447f0
mov rdx, qword [rbp + 0x1b8]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x1402447e7
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
mov ecx, 0x1f
cmp rax, rcx
ja 0x140244c0d
mov rcx, rbx
call fcn.14027b384
nop
mov rcx, qword [rbp + 0x118]
test rcx, rcx
je 0x140244835
mov rdx, qword [rbp + 0x128]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140244830
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
mov r8d, 0x1f
cmp rax, r8
ja 0x140244c56
call fcn.14027b384
add r14, 0x28
cmp r14, r13
je 0x140244c64
mov r15, qword [rbp + 0x310]
mov ebx, 1
jmp 0x140244021
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r13d, 0x2e
mov dword [rsp + 0x64], r13d
mov eax, dword [rsp + 0x64]
xor ax, 0x21
mov word [rsp + 0x68], ax
mov eax, dword [rsp + 0x64]
lea r8d, [r13 - 0x2d]
add ax, r8w
xor ax, 0x20
mov word [rsp + 0x6a], ax
mov eax, dword [rsp + 0x64]
add ax, 2
xor ax, 0x46
mov word [rsp + 0x6c], ax
mov eax, dword [rsp + 0x64]
add ax, 3
lea edx, [r13 + 0x33]
xor ax, dx
mov word [rsp + 0x6e], ax
mov eax, dword [rsp + 0x64]
add ax, 4
xor ax, 0x74
mov word [rsp + 0x70], ax
mov eax, dword [rsp + 0x64]
add ax, 5
xor ax, dx
mov word [rsp + 0x72], ax
mov eax, dword [rsp + 0x64]
add ax, 6
lea r9d, [r13 + 0x3e]
xor ax, r9w
mov word [rsp + 0x74], ax
mov eax, dword [rsp + 0x64]
add ax, 7
xor ax, 0x20
mov word [rsp + 0x76], ax
mov eax, dword [rsp + 0x64]
add ax, 8
xor ax, 0x66
mov word [rsp + 0x78], ax
mov eax, dword [rsp + 0x64]
add ax, 9
xor ax, dx
mov word [rsp + 0x7a], ax
mov eax, dword [rsp + 0x64]
add ax, 0xa
lea ebx, [rdx + 8]
xor ax, bx
mov word [rsp + 0x7c], ax
mov eax, dword [rsp + 0x64]
add ax, 0xb
xor ax, r9w
mov word [rsp + 0x7e], ax
mov eax, dword [rsp + 0x64]
add ax, 0xc
lea r12d, [r13 + 0x47]
xor ax, r12w
mov word [rbp - 0x80], ax
mov eax, dword [rsp + 0x64]
add ax, 0xd
xor ax, 0x72
mov word [rbp - 0x7e], ax
mov eax, dword [rsp + 0x64]
add ax, 0xe
lea r11d, [r13 + 0x37]
xor ax, r11w
mov word [rbp - 0x7c], ax
mov eax, dword [rsp + 0x64]
add ax, 0xf
xor ax, r13w
mov word [rbp - 0x7a], ax
xor eax, eax
mov word [rbp - 0x78], ax
movzx eax, word [rsp + 0x68]
mov rdx, rdi
lea r10d, [r13 - 0x1e]
movzx eax, word [rsp + rdx*2 + 0x68]
mov ecx, dword [rsp + 0x64]
add cx, dx
xor cx, ax
mov word [rsp + rdx*2 + 0x68], cx
add rdx, r8
cmp rdx, r10
jb 0x140244992
mov word [rbp - 0x78], di
mov eax, 0x63
mov word [rbp + 0xa0], ax
mov eax, 0x29
mov word [rbp + 0xa2], ax
mov word [rbp + 0xa4], r11w
lea edx, [rax - 1]
mov word [rbp + 0xa6], dx
lea eax, [rdx + 0x37]
mov word [rbp + 0xa8], ax
lea r10d, [rdx + 0x52]
mov word [rbp + 0xaa], r10w
lea eax, [rdx + 0x49]
mov word [rbp + 0xac], ax
lea ecx, [rdx + 0x54]
mov word [rbp + 0xae], cx
lea r11d, [rdx + 0x45]
mov word [rbp + 0xb0], r11w
lea eax, [rdx + 0x30]
mov word [rbp + 0xb2], ax
mov word [rbp + 0xb4], r10w
lea r14d, [rdx + 0x4f]
mov word [rbp + 0xb6], r14w
lea r15d, [rdx + 0x43]
mov word [rbp + 0xb8], r15w
mov word [rbp + 0xba], r11w
lea eax, [rdx + 0x53]
mov word [rbp + 0xbc], ax
mov word [rbp + 0xbe], ax
lea eax, [rdx + 0x2d]
mov word [rbp + 0xc0], ax
mov word [rbp + 0xc2], r11w
mov word [rbp + 0xc4], r12w
mov word [rbp + 0xc6], r14w
mov word [rbp + 0xc8], r10w
lea eax, [rdx + 0x59]
mov word [rbp + 0xca], ax
mov word [rbp + 0xcc], dx
mov word [rbp + 0xce], r15w
lea r12d, [rdx + 0x48]
mov word [rbp + 0xd0], r12w
lea r10d, [rdx + 0x55]
mov word [rbp + 0xd2], r10w
lea eax, [rdx + 0x4e]
mov word [rbp + 0xd4], ax
lea r13d, [rdx + 0x4b]
mov word [rbp + 0xd6], r13w
mov word [rbp + 0xd8], r11w
mov word [rbp + 0xda], r9w
mov word [rbp + 0xdc], dx
lea r14d, [rdx + 0x46]
mov word [rbp + 0xde], r14w
mov word [rbp + 0xe0], bx
lea r14d, [rdx + 0x49]
mov word [rbp + 0xe2], r14w
lea r14d, [rdx + 0x4c]
mov word [rbp + 0xe4], r14w
mov word [rbp + 0xe6], r11w
mov word [rbp + 0xe8], r9w
mov word [rbp + 0xea], dx
mov word [rbp + 0xec], bx
mov word [rbp + 0xee], cx
mov word [rbp + 0xf0], dx
mov word [rbp + 0xf2], r15w
mov word [rbp + 0xf4], r12w
mov word [rbp + 0xf6], r10w
mov word [rbp + 0xf8], ax
mov word [rbp + 0xfa], r13w
mov word [rbp + 0xfc], dx
mov word [rbp + 0xfe], di
movzx eax, word [rbp + 0xa0]
mov rcx, rdi
lea edi, [rdx + 7]
lea r10d, [rdx - 0x20]
movzx eax, word [rbp + rcx*2 + 0xa0]
sub ax, r10w
mov word [rbp + rcx*2 + 0xa0], ax
add rcx, r8
cmp rcx, rdi
jb 0x140244b7a
lea r8, [rsp + 0x68]
mov rdx, rsi
lea rcx, [rbp + 0xa0]
call fcn.14015cc58
nop
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x22]
lea rcx, [rsp + 0x68]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
mov rcx, qword [rbp + 0x1a8]
xor edi, edi
test rcx, rcx
je 0x140244c1a
mov rdx, qword [rbp + 0x1b8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140244c14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
lea r8d, [rdi + 0x1f]
cmp rax, r8
jbe 0x140244c14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027b384
nop
mov rcx, qword [rbp + 0x118]
test rcx, rcx
je 0x140244c67
mov rdx, qword [rbp + 0x128]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140244c5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
mov r8d, 0x1f
cmp rax, r8
jbe 0x140244c5d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14027b384
jmp 0x140244c67
mov edi, r12d
lea rcx, [rbp + 0x100]
call fcn.140260d98
mov eax, edi
jmp 0x140244c7f
mov r9, r10
call fcn.140242fc0
mov rbx, qword [rsp + 0x418]
add rsp, 0x3d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret