Function at 0x140012390
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x638
mov r12, qword [rdx]
test r12, r12
je 0x140012842
mov r14, qword [rdx + 8]
test r14, r14
je 0x140012842
mov rbx, qword [rdx + 0x10]
test rbx, rbx
je 0x140012842
mov r9, r12
add r9, rbx
jb 0x140012842
mov r13, r12
sub r13, r14
jb 0x140012842
mov rax, r9
shr rax, 0x3d
jne 0x140012842
mov rsi, rcx
movsx r15, word [rdx + 0x18]
mov rax, r9
shr rax, 0x20
mov rcx, r9
shl rcx, 0x20
lea r11d, [r15 - 0x20]
test rax, rax
mov qword [rsp + 0x50], r9
cmovne rcx, r9
cmovne r11d, r15d
mov rax, rcx
shr rax, 0x30
mov r9, rcx
shl r9, 0x10
lea r10d, [r11 - 0x10]
test rax, rax
cmovne r9, rcx
cmovne r10d, r11d
mov rax, r9
shr rax, 0x38
mov rcx, r9
shl rcx, 8
lea edi, [r10 - 8]
test rax, rax
cmovne rcx, r9
cmovne edi, r10d
mov rax, rcx
shr rax, 0x3c
mov r10, rcx
shl r10, 4
lea r11d, [rdi - 4]
test rax, rax
cmovne r10, rcx
cmovne r11d, edi
mov rax, r10
shr rax, 0x3e
lea r9, [r10*4]
lea ebp, [r11 - 2]
test rax, rax
cmovne r9, r10
cmovne ebp, r11d
xor eax, eax
test r9, r9
setns al
sub ebp, eax
mov ecx, r15d
sub cx, bp
js 0x140012842
and ecx, 0x3f
mov rax, r13
shl rax, cl
mov r10, rax
shr r10, cl
cmp r10, r13
jne 0x140012842
mov rdi, r12
shl rdi, cl
mov r10, rdi
shr r10, cl
cmp r10, r12
jne 0x140012842
mov ecx, 0xffffffa0
sub ecx, ebp
movsx ecx, cx
lea ecx, [rcx + rcx*4]
shl ecx, 4
add ecx, 0x153b0
movsxd rcx, ecx
imul r10, rcx, 0x7b4dc993
mov rcx, r10
shr rcx, 0x3f
sar r10, 0x2a
add r10d, ecx
cmp r10d, 0x51
jae 0x140012842
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x98], r12
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], rsi
test r9, r9
setns cl
shl r9, cl
mov r10d, r10d
shl r10, 4
lea rdx, [0x1401b4298]
mov r12, qword [r10 + rdx]
movzx ecx, word [r10 + rdx + 0xa]
mov dword [rsp + 0x20], ecx
mov rcx, r9
shr rcx, 0x20
mov rsi, rcx
mov qword [rsp + 0xc0], rcx
mov r9d, r9d
mov ecx, r12d
shr r12, 0x20
mov qword [rsp + 0x40], r15
mov r11, r12
imul r11, r9
mov qword [rsp + 0x28], r11
mov rbx, rcx
imul rbx, rsi
imul r9, rcx
shr r9, 0x20
mov esi, ebx
add rsi, r9
mov r11d, r11d
add bp, word [r10 + rdx + 8]
add r11, rsi
mov rsi, rax
shr rsi, 0x20
mov eax, eax
mov rdx, r12
imul rdx, rsi
mov qword [rsp + 0x48], rdx
mov r14, r12
imul r14, rax
imul rsi, rcx
imul rax, rcx
shr rax, 0x20
mov r9d, esi
add r9, rax
mov r13d, r14d
add r13, r9
mov r9, rdi
shr r9, 0x20
mov edx, edi
mov rdi, r12
imul rdi, rdx
mov r10, rcx
imul r10, r9
imul rcx, rdx
shr rcx, 0x20
mov edx, r10d
add rdx, rcx
mov eax, edi
add rax, rdx
mov r15, r12
imul r15, qword [rsp + 0xc0]
sub r11, 0xffffffff80000000
shr rbx, 0x20
mov rdx, qword [rsp + 0x28]
shr rdx, 0x20
shr r11, 0x20
neg ebp
sub r13, 0xffffffff80000000
shr rsi, 0x20
mov qword [rsp + 0x58], rsi
shr r14, 0x20
shr r13, 0x20
mov qword [rsp + 0x198], r13
mov rcx, r12
mov qword [rsp + 0x188], r9
imul rcx, r9
sub rax, 0xffffffff80000000
shr r10, 0x20
shr rdi, 0x20
mov qword [rsp + 0x180], r10
mov qword [rsp + 0x170], rcx
lea rsi, [r10 + rcx]
mov qword [rsp + 0x178], rdi
add rsi, rdi
mov qword [rsp + 0x80], rbx
lea rcx, [r15 + rbx]
mov qword [rsp + 0x28], rdx
add rcx, rdx
mov r9, qword [rsp + 0x40]
mov qword [rsp + 0x78], r11
lea r10, [r11 + rcx]
inc r10
and ebp, 0x3f
mov rbx, r10
mov ecx, ebp
shr rbx, cl
mov edx, 1
shl rdx, cl
shr rax, 0x20
mov qword [rsp + 0xb8], rax
movzx ecx, r9w
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x190], rdx
lea rax, [rdx - 1]
mov qword [rsp + 0x38], rax
cmp ebx, 0x2710
mov qword [rsp + 0x70], r15
mov rcx, rbp
jae 0x14001270d
cmp ebx, 0x64
jae 0x140012732
xor r9d, r9d
cmp ebx, 0xa
setae r9b
lea edi, [r9 + r9*8]
inc edi
jmp 0x14001278f
cmp ebx, 0xf4240
jae 0x14001274f
cmp ebx, 0x186a0
setb r9b
mov edx, 0x2710
mov edi, 0x186a0
cmovb edi, edx
xor r9b, 5
jmp 0x14001278f
cmp ebx, 0x3e8
setb r9b
mov edx, 0x64
mov edi, 0x3e8
cmovb edi, edx
xor r9b, 3
jmp 0x14001278f
cmp ebx, 0x5f5e100
jae 0x140012774
cmp ebx, 0x989680
setb r9b
mov edx, 0xf4240
mov edi, 0x989680
cmovb edi, edx
xor r9b, 7
jmp 0x14001278f
cmp ebx, 0x3b9aca00
setb r9b
mov edx, 0x5f5e100
mov edi, 0x3b9aca00
cmovb edi, edx
xor r9b, 9
add rsi, qword [rsp + 0xb8]
mov qword [rsp + 0x60], rsi
mov rsi, r10
mov rax, qword [rsp + 0x38]
and rsi, rax
movzx ebp, r9b
mov edx, ebp
sub edx, dword [rsp + 0x20]
inc edx
mov dword [rsp + 0x6c], edx
mov rdx, qword [rsp + 0x48]
add rdx, qword [rsp + 0x58]
add rdx, r14
add rdx, qword [rsp + 0x198]
mov qword [rsp + 0x20], r10
mov qword [rsp + 0x48], rdx
sub r10, rdx
mov qword [rsp + 0x58], r10
lea r9, [r10 + 1]
mov r14, r9
and r14, rax
xor r13d, r13d
mov r11d, 0xcccccccd
mov qword [rsp + 0x30], r8
nop word cs:[rax + rax]
mov eax, ebx
xor edx, edx
div edi
add al, 0x30
mov ebx, edx
mov rdx, rbx
shl rdx, cl
mov byte [r8 + r13], al
lea r15, [rdx + rsi]
mov r10, r9
sub r10, r15
ja 0x140012844
cmp rbp, r13
je 0x14001294f
mov eax, edi
imul rax, r11
shr rax, 0x23
inc r13
cmp edi, 0xa
mov edi, eax
mov r8, qword [rsp + 0x30]
jae 0x140012800
ud2
mov r8d, edi
shl r8, cl
mov r9, qword [rsp + 0x20]
sub r9, qword [rsp + 0x60]
lea rcx, [r9 + 1]
dec r9
cmp r10, r8
setb bl
mov qword [rsp + 0x20], r9
cmp r9, r15
jbe 0x140012a5f
cmp r10, r8
jb 0x140012a5f
mov qword [rsp + 0x38], rcx
mov rbx, qword [rsp + 0x80]
mov r14, qword [rsp + 0x28]
lea r9, [rbx + r14]
mov rcx, qword [rsp + 0x78]
add r9, rcx
add r9, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x180]
add rbp, qword [rsp + 0x178]
add rbp, qword [rsp + 0xb8]
mov r11, qword [rsp + 0x170]
add r11, rbp
mov r10, r9
sub r10, r11
sub r10, r15
sub r9, qword [rsp + 0x48]
lea rdi, [rsi + r8]
sub r9, rdi
sub r9, rdx
mov r11, qword [rsp + 0x188]
sub r11, qword [rsp + 0xc0]
imul r12, r11
add r12, rbp
add r12, rdi
sub r12, rbx
sub r12, r14
sub r12, rcx
add r9, 2
mov r14, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x20]
nop word [rax + rax]
lea r11, [rdx + rdi]
cmp r11, rbp
jb 0x140012926
lea rbx, [rdx + r12]
cmp r10, rbx
jb 0x140012a52
dec al
mov byte [r14 + r13], al
sub r9, r8
setb bl
add rsi, r8
cmp r11, rbp
jae 0x140012947
sub r10, r8
add rdi, r8
add r12, r8
test bl, bl
je 0x140012910
add rdx, rsi
jmp 0x140012a57
inc r13
mov r11d, 1
mov rbx, qword [rsp + 0x30]
mov r15, qword [rsp + 0x20]
mov r12, qword [rsp + 0x190]
mov r9, qword [rsp + 0x38]
nop
cmp r13, 0x10
ja 0x140012842
mov rax, r11
add rsi, rsi
lea rdx, [rsi + rsi*4]
mov rsi, rdx
and rsi, r9
lea r8, [r11 + r11]
lea r11, [r8 + r8*4]
add r14, r14
lea r14, [r14 + r14*4]
shr rdx, cl
lea r8d, [rdx + 0x30]
mov byte [rbx + r13], r8b
inc r13
mov r8, r14
sub r8, rsi
jbe 0x140012970
sub r15, qword [rsp + 0x60]
imul r15, r11
lea rcx, [r15 + r11]
cmp r8, r12
setb r10b
jb 0x140012aa0
sub r15, r11
mov r9, r15
sub r9, rsi
jbe 0x140012aa0
add dl, 0x2f
mov rdi, r14
sub rdi, r12
sub rdi, rsi
mov r8, qword [rsp + 0x80]
add r8, qword [rsp + 0x28]
add r8, qword [rsp + 0x78]
add r8, qword [rsp + 0x70]
add r8, r8
lea r8, [r8 + r8*4]
mov r10, qword [rsp + 0x60]
add r10, r10
lea r11, [r10 + r10*4]
sub r11, r8
imul r11, rax
add r11, r12
nop dword [rax + rax]
lea r8, [rsi + r12]
cmp r8, r15
jb 0x140012a32
lea r10, [r11 + rsi]
cmp r9, r10
jb 0x140012a9d
mov byte [rbx + r13 - 1], dl
sub rdi, r12
setb r10b
cmp r8, r15
jae 0x140012aa3
dec dl
sub r9, r12
mov rsi, r8
test r10b, r10b
je 0x140012a20
jmp 0x140012aa3
add rdx, rsi
xor ebx, ebx
mov r15, rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
sub rax, r15
mov r9, qword [rsp + 0x50]
jbe 0x140012a81
test bl, bl
jne 0x140012a81
add r8, r15
sub r8, rcx
jb 0x140012aff
cmp rax, r8
jae 0x140012aff
cmp r15, 2
jb 0x140012aff
mov rax, qword [rsp + 0x58]
add rax, 0xfffffffffffffffd
cmp r15, rax
ja 0x140012aff
inc r13
jmp 0x140012e4b
xor r10d, r10d
mov r8, rsi
mov rdx, rcx
sub rdx, r8
jbe 0x140012ad5
test r10b, r10b
jne 0x140012ad5
add r12, r8
sub r12, rcx
mov r9, qword [rsp + 0x50]
jb 0x140012aff
cmp rdx, r12
jae 0x140012aff
lea rcx, [rax*4]
lea rcx, [rcx + rcx*4]
cmp rcx, r8
jbe 0x140012aeb
jmp 0x140012aff
lea rcx, [rax*4]
lea rcx, [rcx + rcx*4]
cmp rcx, r8
mov r9, qword [rsp + 0x50]
ja 0x140012aff
shl rax, 3
lea rax, [rax + rax*4]
sub r14, rax
cmp r8, r14
jbe 0x140012e4b
dec r9
je 0x140012b0e
bsr rax, r9
xor rax, 0x3f
jmp 0x140012b13
mov eax, 0x40
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0xa8]
mov r10, qword [rsp + 0xa0]
mov r11, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
movzx ecx, byte [rcx + 0x1a]
mov byte [rsp + 0x28], cl
mov rcx, r8
sub rcx, rax
imul rax, rcx, 0x4d104d42
movabs rdi, 0x1344135080
add rdi, rax
shr rdi, 0x20
xor eax, eax
xor ecx, ecx
mov rdx, r11
shr rdx, 0x20
cmove edx, eax
setne cl
inc rcx
mov qword [rsp + 0x168], rcx
mov dword [rsp + 0xc8], r11d
mov dword [rsp + 0xcc], edx
xorps xmm0, xmm0
movups xmmword [rsp + 0xd0], xmm0
movups xmmword [rsp + 0xe0], xmm0
movups xmmword [rsp + 0xf0], xmm0
movups xmmword [rsp + 0x100], xmm0
movups xmmword [rsp + 0x110], xmm0
movups xmmword [rsp + 0x120], xmm0
movups xmmword [rsp + 0x130], xmm0
movups xmmword [rsp + 0x140], xmm0
movups xmmword [rsp + 0x150], xmm0
mov qword [rsp + 0x160], 0
xor ecx, ecx
mov rdx, r10
shr rdx, 0x20
cmove edx, eax
setne cl
inc rcx
mov qword [rsp + 0x390], rcx
mov dword [rsp + 0x2f0], r10d
mov dword [rsp + 0x2f4], edx
movups xmmword [rsp + 0x2f8], xmm0
movups xmmword [rsp + 0x308], xmm0
movups xmmword [rsp + 0x318], xmm0
movups xmmword [rsp + 0x328], xmm0
movups xmmword [rsp + 0x338], xmm0
movups xmmword [rsp + 0x348], xmm0
movups xmmword [rsp + 0x358], xmm0
movups xmmword [rsp + 0x368], xmm0
movups xmmword [rsp + 0x378], xmm0
mov qword [rsp + 0x388], 0
xor ecx, ecx
mov rdx, r9
shr rdx, 0x20
cmove edx, eax
setne cl
inc rcx
mov qword [rsp + 0x240], rcx
mov dword [rsp + 0x1a0], r9d
mov dword [rsp + 0x1a4], edx
movups xmmword [rsp + 0x1a8], xmm0
movups xmmword [rsp + 0x1b8], xmm0
movups xmmword [rsp + 0x1c8], xmm0
movups xmmword [rsp + 0x1d8], xmm0
movups xmmword [rsp + 0x1e8], xmm0
movups xmmword [rsp + 0x1f8], xmm0
movups xmmword [rsp + 0x208], xmm0
movups xmmword [rsp + 0x218], xmm0
movups xmmword [rsp + 0x228], xmm0
mov qword [rsp + 0x238], 0
movups xmmword [rsp + 0x2d8], xmm0
movups xmmword [rsp + 0x2cc], xmm0
movups xmmword [rsp + 0x2bc], xmm0
movups xmmword [rsp + 0x2ac], xmm0
movups xmmword [rsp + 0x29c], xmm0
movups xmmword [rsp + 0x28c], xmm0
movups xmmword [rsp + 0x27c], xmm0
movups xmmword [rsp + 0x26c], xmm0
movups xmmword [rsp + 0x25c], xmm0
movups xmmword [rsp + 0x24c], xmm0
mov qword [rsp + 0x2e8], 1
mov dword [rsp + 0x248], 1
test r8w, r8w
js 0x140012d91
lea rcx, [rsp + 0xc8]
mov rsi, qword [rsp + 0x88]
mov rdx, rsi
call fcn.140019610
lea rcx, [rsp + 0x2f0]
mov rdx, rsi
call fcn.140019610
lea rcx, [rsp + 0x1a0]
mov rdx, rsi
call fcn.140019610
test di, di
js 0x140012db1
movzx edx, di
lea rcx, [rsp + 0x248]
jmp 0x140012de4
mov rax, qword [rsp + 0x88]
neg eax
movsx rdx, ax
lea rcx, [rsp + 0x248]
call fcn.140019610
test di, di
jns 0x140012d84
mov eax, edi
neg eax
movsx rsi, ax
lea rcx, [rsp + 0xc8]
mov rdx, rsi
call fcn.140019960
lea rcx, [rsp + 0x2f0]
mov rdx, rsi
call fcn.140019960
lea rcx, [rsp + 0x1a0]
mov rdx, rsi
call fcn.140019960
mov r15, qword [rsp + 0x168]
lea rcx, [rsp + 0x398]
lea rdx, [rsp + 0xc8]
mov r8d, 0xa0
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x438], r15
mov r12, qword [rsp + 0x240]
cmp r15, r12
mov rax, r12
cmova rax, r15
cmp rax, 0x29
jae 0x140012842
test rax, rax
movzx r10d, byte [rsp + 0x28]
je 0x140012f08
cmp rax, 1
jne 0x140012e6c
xor ecx, ecx
xor edx, edx
jmp 0x140012ebb
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov qword [rax + 8], r13
mov ecx, dword [rsp + 0x6c]
mov word [rax + 0x10], cx
jmp 0x140013cfc
mov r8d, eax
and r8d, 0x3e
xor edx, edx
xor ecx, ecx
nop word [rax + rax]
movzx edx, dl
bt edx, 0
mov edx, dword [rsp + rcx*4 + 0x1a0]
mov r9d, dword [rsp + rcx*4 + 0x1a4]
adc dword [rsp + rcx*4 + 0x398], edx
adc dword [rsp + rcx*4 + 0x39c], r9d
lea rcx, [rcx + 2]
setb dl
cmp r8, rcx
jne 0x140012e80
test al, 1
jne 0x140012ebb
test dl, dl
je 0x140012f08
jmp 0x140012ef0
mov r8d, dword [rsp + rcx*4 + 0x398]
mov r9d, dword [rsp + rcx*4 + 0x1a0]
lea r10d, [r8 + r9]
movzx r11d, dl
add r11d, r10d
setb dl
mov dword [rsp + rcx*4 + 0x398], r11d
add r8d, r9d
movzx r10d, byte [rsp + 0x28]
jb 0x140012ef0
test dl, dl
je 0x140012f08
cmp rax, 0x28
je 0x140012842
mov dword [rsp + rax*4 + 0x398], 1
inc rax
mov qword [rsp + 0x438], rax
mov r13, qword [rsp + 0x2e8]
cmp r13, rax
cmova rax, r13
cmp rax, 0x29
jae 0x140012842
shl rax, 2
mov ecx, 0xff
nop word cs:[rax + rax]
test rax, rax
je 0x140012f71
mov r8d, dword [rsp + rax + 0x394]
xor edx, edx
cmp r8d, dword [rsp + rax + 0x244]
setne dl
cmova edx, ecx
add rax, 0xfffffffffffffffc
test dl, dl
je 0x140012f40
cmp dl, r10b
jge 0x140012f8f
inc edi
jmp 0x1400130db
add rax, rsp
add rax, 0x398
lea rcx, [rsp + 0x398]
cmp rax, rcx
setne dl
neg dl
cmp dl, r10b
jl 0x140012f6a
cmp r15, 0x29
jae 0x140012842
test r15, r15
je 0x140012ff0
lea rcx, [r15*4]
xor edx, edx
xor eax, eax
nop word [rax + rax]
mov r8d, dword [rsp + rdx + 0xc8]
lea r8, [r8 + r8*4]
lea rax, [rax + r8*2]
mov dword [rsp + rdx + 0xc8], eax
shr rax, 0x20
add rdx, 4
cmp rcx, rdx
jne 0x140012fb0
test rax, rax
je 0x140012ff3
cmp r15, 0x28
je 0x140012842
mov dword [rsp + r15*4 + 0xc8], eax
inc r15
jmp 0x140012ff3
xor r15d, r15d
mov qword [rsp + 0x168], r15
mov rax, qword [rsp + 0x390]
cmp rax, 0x29
jae 0x140012842
test rax, rax
je 0x140013060
lea rdx, [rax*4]
xor r8d, r8d
xor ecx, ecx
nop
mov r9d, dword [rsp + r8 + 0x2f0]
lea r9, [r9 + r9*4]
lea rcx, [rcx + r9*2]
mov dword [rsp + r8 + 0x2f0], ecx
shr rcx, 0x20
add r8, 4
cmp rdx, r8
jne 0x140013020
test rcx, rcx
je 0x140013062
cmp rax, 0x28
je 0x140012842
mov dword [rsp + rax*4 + 0x2f0], ecx
inc rax
jmp 0x140013062
xor eax, eax
mov qword [rsp + 0x390], rax
cmp r12, 0x29
jae 0x140012842
test r12, r12
je 0x1400130d0
lea rcx, [r12*4]
xor edx, edx
xor eax, eax
nop word cs:[rax + rax]
mov r8d, dword [rsp + rdx + 0x1a0]
lea r8, [r8 + r8*4]
lea rax, [rax + r8*2]
mov dword [rsp + rdx + 0x1a0], eax
shr rax, 0x20
add rdx, 4
cmp rcx, rdx
jne 0x140013090
test rax, rax
je 0x1400130d3
cmp r12, 0x28
je 0x140012842
mov dword [rsp + r12*4 + 0x1a0], eax
inc r12
jmp 0x1400130d3
xor r12d, r12d
mov qword [rsp + 0x240], r12
lea rcx, [rsp + 0x440]
lea rdx, [rsp + 0x248]
mov r8d, 0xa0
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x4e0], r13
test r13, r13
je 0x140012842
mov rax, r13
nop word [rax + rax]
cmp r13, 0x29
jae 0x140012842
dec rax
jne 0x140013110
lea rax, [r13 - 1]
cmp rax, 0x28
jae 0x140012842
mov eax, dword [rsp + r13*4 + 0x43c]
mov qword [rsp + 0x40], r13
test eax, eax
js 0x140013146
cmp r13, 1
jne 0x14001316c
jmp 0x140013191
cmp r13, 0x28
je 0x140012842
mov ecx, eax
shr ecx, 0x1f
mov dword [rsp + r13*4 + 0x440], ecx
lea rcx, [r13 + 1]
mov qword [rsp + 0x40], rcx
cmp r13, 1
je 0x140013191
mov rcx, r13
nop
mov edx, dword [rsp + rcx*4 + 0x438]
shld eax, edx, 1
mov dword [rsp + rcx*4 + 0x43c], eax
lea r8, [rcx - 1]
mov eax, edx
mov rcx, r8
cmp r8, 1
ja 0x140013170
shl dword [rsp + 0x440], 1
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x4e0], rax
lea rcx, [rsp + 0x4e8]
lea rdx, [rsp + 0x248]
mov r8d, 0xa0
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x588], r13
mov rax, r13
nop dword [rax + rax]
cmp rax, 0x29
jae 0x140012842
dec rax
jne 0x1400131d0
mov eax, dword [rsp + r13*4 + 0x4e4]
mov qword [rsp + 0x48], r13
cmp eax, 0x3fffffff
jbe 0x140013213
cmp r13, 0x28
je 0x140012842
mov ecx, eax
shr ecx, 0x1e
mov dword [rsp + r13*4 + 0x4e8], ecx
lea rcx, [r13 + 1]
mov qword [rsp + 0x48], rcx
cmp r13, 1
je 0x14001324e
lea rcx, [r13 - 2]
mov rdx, r13
cmp rcx, 0x28
jae 0x140012842
mov r8d, dword [rsp + rdx*4 + 0x4e0]
shld eax, r8d, 2
mov dword [rsp + rdx*4 + 0x4e4], eax
lea r9, [rdx - 1]
mov eax, r8d
mov rdx, r9
cmp r9, 1
ja 0x140013220
shl dword [rsp + 0x4e8], 2
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x588], rax
lea rcx, [rsp + 0x590]
lea rdx, [rsp + 0x248]
mov r8d, 0xa0
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x630], r13
mov rax, r13
nop dword [rax]
cmp rax, 0x29
jae 0x140012842
dec rax
jne 0x140013290
mov eax, dword [rsp + r13*4 + 0x58c]
mov qword [rsp + 0x20], r13
cmp eax, 0x1fffffff
jbe 0x1400132d3
cmp r13, 0x28
je 0x140012842
mov ecx, eax
shr ecx, 0x1d
mov dword [rsp + r13*4 + 0x590], ecx
lea rcx, [r13 + 1]
mov qword [rsp + 0x20], rcx
cmp r13, 1
je 0x14001330e
lea rcx, [r13 - 2]
mov rdx, r13
cmp rcx, 0x28
jae 0x140012842
mov r8d, dword [rsp + rdx*4 + 0x588]
shld eax, r8d, 3
mov dword [rsp + rdx*4 + 0x58c], eax
lea r9, [rdx - 1]
mov eax, r8d
mov rdx, r9
cmp r9, 1
ja 0x1400132e0
mov qword [rsp + 0x38], rdi
shl dword [rsp + 0x590], 3
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x630], rax
xor ebp, ebp
mov r14d, 0xff
jmp 0x14001334e
xor r12d, r12d
mov qword [rsp + 0x240], r12
mov rbp, rbx
mov rdx, qword [rsp + 0x20]
cmp r15, rdx
cmova rdx, r15
cmp rdx, 0x29
jae 0x140012842
lea rax, [rdx*4]
nop dword [rax]
test rax, rax
je 0x1400133b0
mov r8d, dword [rsp + rax + 0x58c]
xor ecx, ecx
cmp r8d, dword [rsp + rax + 0xc4]
setne cl
cmova ecx, r14d
add rax, 0xfffffffffffffffc
test cl, cl
je 0x140013370
cmp cl, 1
ja 0x1400133ce
test rdx, rdx
je 0x140013461
cmp rdx, 1
jne 0x1400133d8
mov al, 1
xor ecx, ecx
jmp 0x14001342b
add rax, rsp
add rax, 0x590
lea rcx, [rsp + 0x590]
cmp rax, rcx
setne cl
neg cl
cmp cl, 1
jbe 0x14001339b
xor eax, eax
mov rdx, r15
jmp 0x14001346b
mov r8d, edx
and r8d, 0x3e
mov al, 1
xor ecx, ecx
nop word cs:[rax + rax]
mov r9d, dword [rsp + rcx*4 + 0x590]
not r9d
movzx eax, al
bt eax, 0
adc dword [rsp + rcx*4 + 0xc8], r9d
mov eax, dword [rsp + rcx*4 + 0x594]
not eax
adc dword [rsp + rcx*4 + 0xcc], eax
lea rcx, [rcx + 2]
setb al
cmp r8, rcx
jne 0x1400133f0
test dl, 1
je 0x140013459
mov r8d, dword [rsp + rcx*4 + 0x590]
not r8d
mov r9d, dword [rsp + rcx*4 + 0xc8]
lea r10d, [r8 + r9]
movzx r11d, al
add r11d, r10d
setb al
mov dword [rsp + rcx*4 + 0xc8], r11d
add r8d, r9d
jb 0x140013461
test al, al
je 0x140012842
mov qword [rsp + 0x168], rdx
mov al, 8
mov rcx, qword [rsp + 0x48]
cmp rdx, rcx
cmova rcx, rdx
cmp rcx, 0x29
jae 0x140012842
lea r8, [rcx*4]
nop dword [rax]
test r8, r8
je 0x1400134e0
mov r10d, dword [rsp + r8 + 0x4e4]
xor r9d, r9d
cmp r10d, dword [rsp + r8 + 0xc4]
setne r9b
cmova r9d, r14d
add r8, 0xfffffffffffffffc
test r9b, r9b
je 0x140013490
cmp r9b, 1
ja 0x140013502
test rcx, rcx
je 0x140013592
cmp rcx, 1
jne 0x14001350a
mov dl, 1
xor r8d, r8d
jmp 0x14001355d
add r8, rsp
add r8, 0x4e8
lea r9, [rsp + 0x4e8]
cmp r8, r9
setne r9b
neg r9b
cmp r9b, 1
jbe 0x1400134bf
mov rcx, rdx
jmp 0x14001359c
mov r9d, ecx
and r9d, 0x3e
mov dl, 1
xor r8d, r8d
nop word cs:[rax + rax]
mov r10d, dword [rsp + r8*4 + 0x4e8]
not r10d
movzx edx, dl
bt edx, 0
adc dword [rsp + r8*4 + 0xc8], r10d
mov edx, dword [rsp + r8*4 + 0x4ec]
not edx
adc dword [rsp + r8*4 + 0xcc], edx
lea r8, [r8 + 2]
setb dl
cmp r9, r8
jne 0x140013520
test cl, 1
je 0x14001358a
mov r9d, dword [rsp + r8*4 + 0x4e8]
not r9d
mov r10d, dword [rsp + r8*4 + 0xc8]
lea r11d, [r9 + r10]
movzx esi, dl
add esi, r11d
setb dl
mov dword [rsp + r8*4 + 0xc8], esi
add r9d, r10d
jb 0x140013592
test dl, dl
je 0x140012842
mov qword [rsp + 0x168], rcx
or al, 4
mov rdx, qword [rsp + 0x40]
cmp rcx, rdx
cmova rdx, rcx
cmp rdx, 0x29
jae 0x140012842
lea r8, [rdx*4]
nop word [rax + rax]
test r8, r8
je 0x140013610
mov r10d, dword [rsp + r8 + 0x43c]
xor r9d, r9d
cmp r10d, dword [rsp + r8 + 0xc4]
setne r9b
cmova r9d, r14d
add r8, 0xfffffffffffffffc
test r9b, r9b
je 0x1400135c0
cmp r9b, 1
ja 0x140013632
test rdx, rdx
je 0x1400136c2
cmp rdx, 1
jne 0x14001363a
mov cl, 1
xor r8d, r8d
jmp 0x14001368d
add r8, rsp
add r8, 0x440
lea r9, [rsp + 0x440]
cmp r8, r9
setne r9b
neg r9b
cmp r9b, 1
jbe 0x1400135ef
mov rdx, rcx
jmp 0x1400136cc
mov r9d, edx
and r9d, 0x3e
mov cl, 1
xor r8d, r8d
nop word cs:[rax + rax]
mov r10d, dword [rsp + r8*4 + 0x440]
not r10d
movzx ecx, cl
bt ecx, 0
adc dword [rsp + r8*4 + 0xc8], r10d
mov ecx, dword [rsp + r8*4 + 0x444]
not ecx
adc dword [rsp + r8*4 + 0xcc], ecx
lea r8, [r8 + 2]
setb cl
cmp r9, r8
jne 0x140013650
test dl, 1
je 0x1400136ba
mov r9d, dword [rsp + r8*4 + 0x440]
not r9d
mov r10d, dword [rsp + r8*4 + 0xc8]
lea r11d, [r9 + r10]
movzx esi, cl
add esi, r11d
setb cl
mov dword [rsp + r8*4 + 0xc8], esi
add r9d, r10d
jb 0x1400136c2
test cl, cl
je 0x140012842
mov qword [rsp + 0x168], rdx
add al, 2
cmp rdx, r13
mov r15, r13
cmova r15, rdx
cmp r15, 0x29
jae 0x140012842
lea rcx, [r15*4]
nop dword [rax + rax]
test rcx, rcx
je 0x140013740
mov r9d, dword [rsp + rcx + 0x244]
xor r8d, r8d
cmp r9d, dword [rsp + rcx + 0xc4]
setne r8b
cmova r8d, r14d
add rcx, 0xfffffffffffffffc
test r8b, r8b
je 0x1400136f0
cmp r8b, 1
ja 0x140013762
test r15, r15
je 0x1400137f2
cmp r15, 1
jne 0x14001376a
mov cl, 1
xor edx, edx
jmp 0x1400137bc
add rcx, rsp
add rcx, 0x248
lea r8, [rsp + 0x248]
cmp rcx, r8
setne r8b
neg r8b
cmp r8b, 1
jbe 0x14001371f
mov r15, rdx
jmp 0x1400137fc
mov r8d, r15d
and r8d, 0x3e
mov cl, 1
xor edx, edx
nop word cs:[rax + rax]
mov r9d, dword [rsp + rdx*4 + 0x248]
not r9d
movzx ecx, cl
bt ecx, 0
adc dword [rsp + rdx*4 + 0xc8], r9d
mov ecx, dword [rsp + rdx*4 + 0x24c]
not ecx
adc dword [rsp + rdx*4 + 0xcc], ecx
lea rdx, [rdx + 2]
setb cl
cmp r8, rdx
jne 0x140013780
test r15b, 1
je 0x1400137ea
mov r8d, dword [rsp + rdx*4 + 0x248]
not r8d
mov r9d, dword [rsp + rdx*4 + 0xc8]
lea r10d, [r8 + r9]
movzx r11d, cl
add r11d, r10d
setb cl
mov dword [rsp + rdx*4 + 0xc8], r11d
add r8d, r9d
jb 0x1400137f2
test cl, cl
je 0x140012842
mov qword [rsp + 0x168], r15
inc al
cmp rbp, 0x11
je 0x140012842
add al, 0x30
mov rcx, qword [rsp + 0x30]
mov byte [rcx + rbp], al
mov rsi, qword [rsp + 0x390]
cmp r15, rsi
mov rax, rsi
cmova rax, r15
cmp rax, 0x29
jae 0x140012842
lea rbx, [rbp + 1]
shl rax, 2
nop word cs:[rax + rax]
test rax, rax
je 0x140013870
mov ecx, dword [rsp + rax + 0x2ec]
xor edi, edi
cmp ecx, dword [rsp + rax + 0xc4]
setne dil
cmova edi, r14d
add rax, 0xfffffffffffffffc
test dil, dil
je 0x140013840
jmp 0x14001388b
add rax, rsp
add rax, 0x2f0
lea rcx, [rsp + 0x2f0]
cmp rax, rcx
setne dil
neg dil
mov r8d, 0xa0
lea rcx, [rsp + 0x398]
lea rdx, [rsp + 0xc8]
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x438], r15
cmp r15, r12
mov rax, r12
cmova rax, r15
cmp rax, 0x29
jae 0x140012842
test rax, rax
movzx r10d, byte [rsp + 0x28]
je 0x14001397d
cmp rax, 1
jne 0x1400138e0
xor ecx, ecx
xor edx, edx
jmp 0x140013930
mov r8d, eax
and r8d, 0x3e
xor edx, edx
xor ecx, ecx
nop dword [rax + rax]
movzx edx, dl
bt edx, 0
mov edx, dword [rsp + rcx*4 + 0x1a0]
mov r9d, dword [rsp + rcx*4 + 0x1a4]
adc dword [rsp + rcx*4 + 0x398], edx
adc dword [rsp + rcx*4 + 0x39c], r9d
lea rcx, [rcx + 2]
setb dl
cmp r8, rcx
jne 0x1400138f0
test al, 1
jne 0x140013930
test dl, dl
je 0x14001397d
jmp 0x140013965
mov r8d, dword [rsp + rcx*4 + 0x398]
mov r9d, dword [rsp + rcx*4 + 0x1a0]
lea r10d, [r8 + r9]
movzx r11d, dl
add r11d, r10d
setb dl
mov dword [rsp + rcx*4 + 0x398], r11d
add r8d, r9d
movzx r10d, byte [rsp + 0x28]
jb 0x140013965
test dl, dl
je 0x14001397d
cmp rax, 0x28
je 0x140012842
mov dword [rsp + rax*4 + 0x398], 1
inc rax
mov qword [rsp + 0x438], rax
cmp r13, rax
cmova rax, r13
cmp rax, 0x29
jae 0x140012842
shl rax, 2
nop word [rax + rax]
test rax, rax
je 0x1400139d0
mov edx, dword [rsp + rax + 0x394]
xor ecx, ecx
cmp edx, dword [rsp + rax + 0x244]
setne cl
cmova ecx, r14d
add rax, 0xfffffffffffffffc
test cl, cl
je 0x1400139a0
cmp dil, r10b
jge 0x1400139f2
jmp 0x140013b77
add rax, rsp
add rax, 0x398
lea rcx, [rsp + 0x398]
cmp rax, rcx
setne cl
neg cl
cmp dil, r10b
jl 0x140013b77
cmp cl, r10b
jl 0x140013b77
cmp r15, 0x29
jae 0x140012842
test r15, r15
je 0x140013a80
lea rcx, [r15*4]
xor edx, edx
xor eax, eax
nop word cs:[rax + rax]
mov r8d, dword [rsp + rdx + 0xc8]
lea r8, [r8 + r8*4]
lea rax, [rax + r8*2]
mov dword [rsp + rdx + 0xc8], eax
shr rax, 0x20
add rdx, 4
cmp rcx, rdx
jne 0x140013a20
test rax, rax
je 0x140013a5e
cmp r15, 0x28
je 0x140012842
mov dword [rsp + r15*4 + 0xc8], eax
inc r15
mov qword [rsp + 0x168], r15
cmp rsi, 0x29
jb 0x140013a95
jmp 0x140012842
xor r15d, r15d
mov qword [rsp + 0x168], r15
cmp rsi, 0x29
jae 0x140012842
test rsi, rsi
je 0x140013b00
lea rcx, [rsi*4]
xor edx, edx
xor eax, eax
nop word cs:[rax + rax]
mov r8d, dword [rsp + rdx + 0x2f0]
lea r8, [r8 + r8*4]
lea rax, [rax + r8*2]
mov dword [rsp + rdx + 0x2f0], eax
shr rax, 0x20
add rdx, 4
cmp rcx, rdx
jne 0x140013ab0
test rax, rax
je 0x140013aed
cmp rsi, 0x28
je 0x140012842
mov dword [rsp + rsi*4 + 0x2f0], eax
inc rsi
mov qword [rsp + 0x390], rsi
cmp r12, 0x29
jb 0x140013b14
jmp 0x140012842
xor esi, esi
mov qword [rsp + 0x390], rsi
cmp r12, 0x29
jae 0x140012842
test r12, r12
je 0x140013340
lea rcx, [r12*4]
xor edx, edx
xor eax, eax
nop dword [rax]
mov r8d, dword [rsp + rdx + 0x1a0]
lea r8, [r8 + r8*4]
lea rax, [rax + r8*2]
mov dword [rsp + rdx + 0x1a0], eax
shr rax, 0x20
add rdx, 4
cmp rcx, rdx
jne 0x140013b30
test rax, rax
je 0x140013343
cmp r12, 0x28
je 0x140012842
mov dword [rsp + r12*4 + 0x1a0], eax
inc r12
jmp 0x140013343
cmp cl, r10b
mov r14, qword [rsp + 0x38]
jge 0x140013cd9
cmp dil, r10b
jge 0x140013c9b
test r15, r15
je 0x140012842
mov rax, r15
nop word [rax + rax]
cmp r15, 0x29
jae 0x140012842
dec rax
jne 0x140013ba0
mov eax, dword [rsp + r15*4 + 0xc4]
mov rcx, r15
test eax, eax
js 0x140013bc6
cmp r15, 1
jne 0x140013be7
jmp 0x140013c1f
cmp r15, 0x28
je 0x140012842
mov ecx, eax
shr ecx, 0x1f
mov dword [rsp + r15*4 + 0xc8], ecx
lea rcx, [r15 + 1]
cmp r15, 1
je 0x140013c1f
lea rdx, [r15 - 2]
nop dword [rax + rax]
cmp rdx, 0x28
jae 0x140012842
mov r8d, dword [rsp + r15*4 + 0xc0]
shld eax, r8d, 1
mov dword [rsp + r15*4 + 0xc4], eax
lea r9, [r15 - 1]
mov eax, r8d
mov r15, r9
cmp r9, 1
ja 0x140013bf0
shl dword [rsp + 0xc8], 1
mov qword [rsp + 0x168], rcx
cmp rcx, r13
cmova r13, rcx
cmp r13, 0x29
jae 0x140012842
shl r13, 2
mov eax, 0xff
nop dword [rax + rax]
test r13, r13
je 0x140013c7c
mov edx, dword [rsp + r13 + 0x244]
xor ecx, ecx
cmp edx, dword [rsp + r13 + 0xc4]
setne cl
cmova ecx, eax
add r13, 0xfffffffffffffffc
test cl, cl
je 0x140013c50
cmp cl, 2
jb 0x140013c9b
jmp 0x140013cd9
lea rax, [rsp + r13]
add rax, 0x248
lea rcx, [rsp + 0x248]
cmp rax, rcx
setne cl
neg cl
cmp cl, 2
jae 0x140013cd9
mov r8, 0xffffffffffffffff
mov rax, rbx
mov rsi, qword [rsp + 0x30]
nop word [rax + rax]
test rax, rax
je 0x140013d10
mov rcx, rax
dec rax
inc r8
cmp byte [rsi + rcx - 1], 0x39
je 0x140013cb0
inc byte [rsi + rax]
cmp rcx, rbp
ja 0x140013cd9
add rcx, qword [rsp + 0x30]
mov dl, 0x30
call sub.msvcrt.dll_memset
cmp rbp, 0x11
mov rsi, qword [rsp + 0x30]
jae 0x140012842
mov rax, qword [rsp + 0xb0]
mov qword [rax], rsi
mov qword [rax + 8], rbx
mov word [rax + 0x10], r14w
add rsp, 0x638
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov byte [rsi], 0x31
test rbp, rbp
je 0x140013d30
lea rcx, [rsi + 1]
mov dl, 0x30
mov r8, rbp
call sub.msvcrt.dll_memset
cmp rbp, 0xf
ja 0x140012842
mov byte [rsi + rbp + 1], 0x30
add rbp, 2
inc r14d
mov rbx, rbp
jmp 0x140013ce8