Function at 0x140055970
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xc8
mov eax, dword [rcx + 0x70]
mov rbx, rdx
mov rsi, qword [rcx]
mov rdi, rcx
mov dword [rbp - 0x29], eax
mov r12d, 1
xor eax, eax
mov dword [rbp + 0x77], r12d
mov r14d, eax
mov qword [rbp - 0x19], rax
mov r15d, eax
mov dword [rbp + 0x7f], eax
mov dword [rbp - 0x31], eax
mov r13d, eax
mov dword [rbp - 0x61], eax
mov rcx, rsi
mov eax, dword [rsi + 0x34]
mov edx, eax
shl edx, 8
or edx, 0x34
mov dword [rbp - 0x5d], eax
mov dword [rbp - 0x2d], eax
call fcn.140052a10
mov ecx, dword [rbp - 0x5d]
mov dword [rbx], ecx
mov dword [rbx + 8], 0xc
mov qword [rbx + 0xc], 0xffffffffffffffff
mov edx, dword [rsi + 0x34]
mov dword [rbp - 0x39], eax
inc edx
movzx eax, byte [rsi + 0x5a]
cmp edx, eax
jbe 0x140055a0f
cmp edx, 0xfa
jae 0x140056820
mov byte [rsi + 0x5a], dl
inc ecx
mov dword [rsi + 0x34], edx
cmp dword [rdi + 0x34], 0x7b
mov dword [rbp - 0x5d], ecx
mov rcx, rdi
jne 0x14005682f
call fcn.140021320
mov eax, dword [rdi + 0x34]
mov dword [rbp - 0x35], 0xb
cmp eax, 0x7d
je 0x14005664e
nop dword [rax]
xor r15d, r15d
mov dword [rbp - 0x59], r15d
cmp eax, 0x5b
jne 0x140055b63
mov rcx, rdi
call fcn.140021320
xor r8d, r8d
lea rdx, [rbp - 0x79]
mov rcx, rdi
call fcn.140053d20
mov eax, dword [rbp - 0x69]
lea rdx, [rbp - 0x79]
mov rbx, qword [rdi]
mov rcx, rbx
cmp dword [rbp - 0x6d], eax
je 0x140055af1
call fcn.140054690
cmp dword [rbp - 0x71], 0xc
jne 0x140055aa4
mov eax, dword [rbp - 0x69]
cmp dword [rbp - 0x6d], eax
je 0x140055af6
mov r8d, dword [rbp - 0x79]
cmp r8d, dword [rbx + 0x38]
jb 0x140055aa4
lea rdx, [rbp - 0x79]
mov rcx, rbx
call fcn.1400569c0
jmp 0x140055af6
lea rdx, [rbp - 0x79]
mov rcx, rbx
call fcn.140054690
cmp dword [rbp - 0x71], 0xc
jne 0x140055ac1
mov eax, dword [rbx + 0x38]
cmp dword [rbp - 0x79], eax
jb 0x140055ac1
dec dword [rbx + 0x34]
mov r8d, dword [rbx + 0x34]
movzx eax, byte [rbx + 0x5a]
lea ecx, [r8 + 1]
cmp ecx, eax
jbe 0x140055ae0
cmp ecx, 0xfa
jae 0x14005683a
mov byte [rbx + 0x5a], cl
mov dword [rbx + 0x34], ecx
lea rdx, [rbp - 0x79]
mov rcx, rbx
call fcn.1400569c0
jmp 0x140055af6
call fcn.140054690
cmp dword [rdi + 0x34], 0x5d
mov rcx, rdi
jne 0x140056849
call fcn.140021320
mov eax, dword [rbp - 0x71]
mov rbx, qword [rbp + 0x6f]
cmp eax, 4
jle 0x140055b29
lea r8, [rbp - 0x79]
mov rdx, rbx
mov rcx, rsi
call fcn.140055030
mov eax, dword [rbp - 0x71]
cmp eax, 4
jne 0x140055b41
movabs rax, 0x7fffffffffffffff
test qword [rbp - 0x79], rax
jne 0x140055b41
mov dword [rbp + 0x7f], r12d
jmp 0x140055b48
inc r13d
mov dword [rbp - 0x61], r13d
cmp dword [rdi + 0x34], 0x3d
jne 0x140056862
mov rcx, rdi
call fcn.140021320
mov r15d, dword [rbp + 0x77]
jmp 0x140055c16
cmp eax, 0x11f
je 0x140055b71
cmp eax, 0x10a
jne 0x140055be6
mov rcx, rdi
call fcn.140021300
cmp eax, 0x3d
jne 0x140055be6
mov eax, dword [rdi + 0x34]
mov dword [rbp - 0x71], 3
mov dword [rbp - 0x79], r15d
mov qword [rbp - 0x6d], 0xffffffffffffffff
cmp eax, 0x11f
je 0x140055ba6
cmp eax, 0x10a
jne 0x140056854
mov rbx, qword [rdi + 0x10]
movabs rax, 0x7fffffffffff
mov rcx, rdi
and rbx, rax
call fcn.140021320
cmp dword [rdi + 0x34], 0x3d
mov qword [rbp - 0x79], rbx
jne 0x140056862
mov rcx, rdi
call fcn.140021320
mov rbx, qword [rbp + 0x6f]
inc r13d
mov r15d, dword [rbp + 0x77]
mov dword [rbp - 0x61], r13d
jmp 0x140055c16
mov r15d, dword [rbp + 0x77]
mov dword [rbp - 0x71], 4
mov qword [rbp - 0x6d], 0xffffffffffffffff
mov dword [rbp - 0x59], r12d
movd xmm0, r15d
inc r15d
cvtdq2pd xmm0, xmm0
mov dword [rbp + 0x77], r15d
mov dword [rbp + 0x7f], r12d
movsd qword [rbp - 0x79], xmm0
xor r8d, r8d
lea rdx, [rbp - 0x51]
mov rcx, rdi
call fcn.140053d20
mov ecx, dword [rbp - 0x71]
cmp ecx, 4
jg 0x140055db8
test ecx, ecx
je 0x140055db8
cmp ecx, 3
je 0x140055c54
cmp dword [rbp - 0x49], 4
jg 0x140055db8
mov eax, dword [rbp - 0x41]
cmp dword [rbp - 0x45], eax
jne 0x140055db8
test r14, r14
jne 0x140055cef
test r13d, r13d
je 0x140055c7a
cmp r13d, 1
jne 0x140055c6d
mov r8d, r12d
jmp 0x140055c7d
lea eax, [r13 - 1]
bsr r8d, eax
inc r8d
jmp 0x140055c7d
xor r8d, r8d
mov rcx, qword [rsi + 0x10]
xor edx, edx
cmp dword [rbp + 0x7f], edx
cmovne edx, r15d
call fcn.140016200
mov rcx, qword [rsi + 0x10]
lea r8, [rbp - 0x59]
mov rdx, rax
mov qword [rbp - 0x19], rax
mov r14, rax
movabs rax, 0xfffa000000000000
or rdx, rax
mov qword [rbp - 0x59], rdx
mov rdx, qword [rsi]
call fcn.140016950
mov rcx, rax
cmp dword [rax + 4], 0
jne 0x140055cc7
mov edx, dword [rax]
jmp 0x140055cd6
mov eax, dword [rsi + 0x40]
mov qword [rcx], rax
mov edx, dword [rsi + 0x40]
lea eax, [rdx + 1]
mov dword [rsi + 0x40], eax
mov ecx, dword [rbp - 0x39]
mov rax, qword [rsi + 0x48]
shl edx, 8
or edx, dword [rbp - 0x2d]
shl edx, 8
or edx, 0x35
mov dword [rax + rcx*8], edx
mov ecx, dword [rbp - 0x71]
xor r15d, r15d
mov dword [rbp - 0x59], r15d
cmp ecx, 2
jg 0x140055d06
mov eax, ecx
shl rax, 0x2f
not rax
jmp 0x140055d1c
mov rax, qword [rbp - 0x79]
cmp ecx, 3
jne 0x140055d1c
movabs rcx, 0xfffd800000000000
or rax, rcx
mov rcx, qword [rsi + 0x10]
lea r8, [rbp - 0x21]
mov rdx, r14
mov qword [rbp - 0x21], rax
call fcn.140016950
movzx r8d, byte [r14 + 8]
mov r9, rax
test r8b, 4
je 0x140055d5a
mov rcx, qword [rsi + 0x10]
and r8b, 0xfb
mov rdx, qword [rcx + 0x10]
mov byte [r14 + 8], r8b
mov rcx, qword [rdx + 0x40]
mov qword [r14 + 0x18], rcx
mov qword [rdx + 0x40], r14
mov ecx, dword [rbp - 0x49]
cmp ecx, 4
jg 0x140055d9e
mov eax, dword [rbp - 0x41]
cmp dword [rbp - 0x45], eax
jne 0x140055d9e
cmp ecx, 2
jg 0x140055d80
mov eax, ecx
shl rax, 0x2f
not rax
mov qword [r9], rax
jmp 0x14005661c
mov rax, qword [rbp - 0x51]
cmp ecx, 3
jne 0x140055d96
movabs rcx, 0xfffd800000000000
or rax, rcx
mov qword [r9], rax
jmp 0x14005661c
movabs rcx, 0xfffa000000000000
mov dword [rbp - 0x31], r12d
mov rax, r14
or rax, rcx
mov qword [r9], rax
mov ecx, dword [rbp - 0x71]
cmp dword [rbp - 0x49], 0xd
je 0x140055e39
lea rdx, [rbp - 0x51]
mov rcx, rsi
call fcn.140054690
cmp dword [rbp - 0x49], 0xc
jne 0x140055de6
mov eax, dword [rbp - 0x41]
cmp dword [rbp - 0x45], eax
je 0x140055e31
mov rax, qword [rbp - 0x51]
cmp eax, dword [rsi + 0x38]
jb 0x140055de6
mov r8d, eax
jmp 0x140055e25
lea rdx, [rbp - 0x51]
mov rcx, rsi
call fcn.140054690
cmp dword [rbp - 0x49], 0xc
jne 0x140055e03
mov eax, dword [rsi + 0x38]
cmp dword [rbp - 0x51], eax
jb 0x140055e03
dec dword [rsi + 0x34]
mov r8d, dword [rsi + 0x34]
movzx eax, byte [rsi + 0x5a]
lea ecx, [r8 + 1]
cmp ecx, eax
jbe 0x140055e22
cmp ecx, 0xfa
jae 0x140056870
mov byte [rsi + 0x5a], cl
mov dword [rsi + 0x34], ecx
lea rdx, [rbp - 0x51]
mov rcx, rsi
call fcn.1400569c0
mov ecx, dword [rbp - 0x71]
xor eax, eax
mov dword [rbp - 0x59], eax
cmp ecx, 4
jg 0x140056609
mov dword [rbx + 8], 9
jne 0x140055e85
movsd xmm1, qword [rbp - 0x79]
cvttsd2si ecx, xmm1
movzx eax, cl
cmp ecx, eax
jne 0x140055fb2
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
ucomisd xmm1, xmm0
jp 0x140055fb2
jne 0x140055fb2
lea eax, [rcx + 0x100]
mov dword [rbx + 4], eax
jmp 0x140056609
movabs r15, 0xfffd800000000000
cmp ecx, 3
jne 0x140055ee0
mov rax, qword [rbp - 0x79]
lea r8, [rbp - 0x11]
mov rdx, qword [rsi]
or rax, r15
mov rcx, qword [rsi + 0x10]
mov qword [rbp - 0x11], rax
call fcn.140016950
mov rcx, rax
cmp dword [rax + 4], 0
jne 0x140055ebc
mov ecx, dword [rax]
jmp 0x140055ecb
mov eax, dword [rsi + 0x40]
mov qword [rcx], rax
mov ecx, dword [rsi + 0x40]
lea eax, [rcx + 1]
mov dword [rsi + 0x40], eax
cmp ecx, 0xff
ja 0x140055edd
not ecx
mov dword [rbx + 4], ecx
jmp 0x140056609
mov ecx, dword [rbp - 0x71]
cmp ecx, 7
jne 0x140055ef3
mov edx, dword [rbp - 0x79]
shl edx, 0x10
or edx, 0x2d
jmp 0x140055fa0
cmp ecx, 8
jne 0x140055f3d
mov rax, qword [rbp - 0x79]
lea r8, [rbp - 9]
mov rdx, qword [rsi]
or rax, r15
mov rcx, qword [rsi + 0x10]
mov qword [rbp - 9], rax
call fcn.140016950
mov rcx, rax
cmp dword [rax + 4], 0
jne 0x140055f26
mov edx, dword [rax]
shl edx, 0x10
or edx, 0x36
jmp 0x140055fa0
mov eax, dword [rsi + 0x40]
mov qword [rcx], rax
mov edx, dword [rsi + 0x40]
lea eax, [rdx + 1]
shl edx, 0x10
or edx, 0x36
mov dword [rsi + 0x40], eax
jmp 0x140055fa0
cmp ecx, 9
jne 0x140056014
mov eax, dword [rbp - 0x75]
test eax, eax
jns 0x140055f61
mov ecx, dword [rbp - 0x79]
not eax
mov edx, ecx
shl edx, 8
or edx, eax
shl edx, 0x10
or edx, 0x39
jmp 0x140055f98
cmp eax, 0xff
jbe 0x140055f80
mov ecx, dword [rbp - 0x79]
lea edx, [rax - 0x100]
mov eax, ecx
shl eax, 8
or edx, eax
shl edx, 0x10
or edx, 0x3a
jmp 0x140055f98
cmp eax, dword [rsi + 0x38]
jb 0x140055f88
dec dword [rsi + 0x34]
mov ecx, dword [rbp - 0x79]
mov edx, ecx
shl edx, 8
or edx, eax
shl edx, 0x10
or edx, 0x38
cmp ecx, dword [rsi + 0x38]
jb 0x140055fa0
dec dword [rsi + 0x34]
mov rcx, rsi
call fcn.140052a10
mov dword [rbp - 0x79], eax
mov dword [rbp - 0x71], 0xb
mov r15d, dword [rsi + 0x34]
movzx eax, byte [rsi + 0x5a]
lea ecx, [r15 + 1]
cmp ecx, eax
jbe 0x140055fd1
cmp ecx, 0xfa
jae 0x1400568ac
mov byte [rsi + 0x5a], cl
mov dword [rsi + 0x34], ecx
lea rdx, [rbp - 0x79]
mov rcx, rsi
mov r8d, r15d
call fcn.140056b90
mov r9d, dword [rbp - 0x71]
cmp r9d, 0xa
jne 0x140056370
mov r8d, dword [rbp - 0x79]
cmp r8d, 0xffffffff
je 0x140056370
mov ecx, dword [rbp - 0x6d]
cmp ecx, 0xffffffff
jne 0x140056329
mov dword [rbp - 0x6d], r8d
jmp 0x140056370
cmp ecx, 0xd
jne 0x14005602a
mov r15d, dword [rbp - 0x75]
mov dword [rbp - 0x79], r15d
mov dword [rbp - 0x71], 0xc
jmp 0x140056045
cmp ecx, 6
jne 0x140056038
mov dword [rbp - 0x71], 0xc
jmp 0x140056041
cmp ecx, 0xc
jne 0x140055fb2
mov r15d, dword [rbp - 0x79]
mov eax, dword [rbp - 0x69]
cmp dword [rbp - 0x6d], eax
je 0x140056605
cmp r15d, dword [rsi + 0x38]
jb 0x140055fb2
mov r8d, r15d
lea rdx, [rbp - 0x79]
mov rcx, rsi
call fcn.140056b90
mov r9d, dword [rbp - 0x71]
cmp r9d, 0xa
jne 0x1400560d0
mov r8d, dword [rbp - 0x79]
cmp r8d, 0xffffffff
je 0x1400560d0
mov ecx, dword [rbp - 0x6d]
cmp ecx, 0xffffffff
jne 0x14005608c
mov dword [rbp - 0x6d], r8d
jmp 0x1400560d0
mov r9, qword [rsi + 0x48]
mov edx, ecx
movzx eax, word [r9 + rdx*8 + 2]
add eax, 0xffff8000
cmp eax, 0xffffffff
je 0x1400560af
inc eax
add eax, ecx
cmp eax, 0xffffffff
je 0x1400560af
mov ecx, eax
jmp 0x140056090
sub r8d, ecx
add r8d, 0x7fff
cmp r8d, 0xffff
ja 0x14005687f
mov word [r9 + rdx*8 + 2], r8w
mov r9d, dword [rbp - 0x71]
mov r11d, dword [rbp - 0x69]
mov edx, dword [rbp - 0x6d]
cmp edx, r11d
je 0x1400565f2
mov r12d, 0xffffffff
mov r13d, r12d
cmp edx, r12d
je 0x140056142
mov r8, qword [rsi + 0x48]
nop dword [rax]
nop word [rax + rax]
cmp edx, 1
lea eax, [rdx - 1]
cmovb eax, edx
mov ecx, dword [r8 + rax*8]
movzx eax, cl
sub eax, 0xc
cmp eax, 1
jbe 0x140056126
and ecx, 0xff00
cmp ecx, 0xff00
jne 0x1400561a4
mov eax, edx
movzx ecx, word [r8 + rax*8 + 2]
add ecx, 0xffff8000
cmp ecx, r12d
je 0x140056142
inc edx
add edx, ecx
cmp edx, r12d
jne 0x140056100
mov edx, r11d
cmp r11d, r12d
je 0x140056212
mov r8, qword [rsi + 0x48]
nop dword [rax]
nop word [rax + rax]
cmp edx, 1
lea eax, [rdx - 1]
cmovb eax, edx
mov ecx, dword [r8 + rax*8]
movzx eax, cl
sub eax, 0xc
cmp eax, 1
jbe 0x140056186
and ecx, 0xff00
cmp ecx, 0xff00
jne 0x1400561a4
mov eax, edx
movzx ecx, word [r8 + rax*8 + 2]
add ecx, 0xffff8000
cmp ecx, r12d
je 0x140056212
inc edx
add edx, ecx
cmp edx, r12d
jne 0x140056160
jmp 0x140056212
cmp r9d, 0xa
jne 0x1400561af
mov edi, r12d
jmp 0x1400561b9
mov rcx, rsi
call fcn.140053350
mov edi, eax
mov ebx, r15d
mov rcx, rsi
shl ebx, 8
mov edx, ebx
or edx, 0x1002b
call fcn.140052a10
mov edx, dword [rsi + 0x34]
mov rcx, rsi
shl edx, 8
mov r12d, eax
or edx, 0x80010058
call fcn.140052a10
or ebx, 0x2002b
mov rcx, rsi
mov edx, ebx
call fcn.140052a10
mov ecx, dword [rsi + 0x28]
lea rdx, [rsi + 0x30]
mov dword [rsi + 0x2c], ecx
mov r8d, edi
mov rcx, rsi
mov r13d, eax
call fcn.140058310
mov r11d, dword [rbp - 0x69]
mov r14d, dword [rsi + 0x28]
mov dword [rsi + 0x2c], r14d
cmp r11d, 0xffffffff
je 0x1400565c6
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rsi + 0x48]
mov edi, r11d
mov r9d, dword [rcx + rdi*8]
mov eax, r9d
shr eax, 0x10
add eax, 0xffff8000
cmp eax, 0xffffffff
jne 0x14005624f
mov ebx, eax
jmp 0x140056255
lea ebx, [rax + 1]
add ebx, r11d
cmp r11d, 1
lea eax, [r11 - 1]
cmovb eax, r11d
mov edx, eax
mov r8d, dword [rcx + rax*8]
movzx r10d, r8b
lea eax, [r10 - 0xc]
cmp eax, 1
jbe 0x1400562d1
shr r8d, 8
cmp r8b, 0xff
jne 0x1400562b4
cmp r15d, 0xff
jne 0x14005629b
and r9d, 0xff00
or r9d, 0x80000058
mov dword [rcx + rdx*8], r9d
jmp 0x1400562f7
movzx eax, byte [rcx + rdx*8 + 9]
mov byte [rcx + rdx*8 + 1], r15b
cmp r15d, eax
jb 0x1400562f7
lea eax, [r15 + 1]
mov byte [rcx + rdx*8 + 9], al
jmp 0x1400562f7
mov eax, r12d
sub eax, r11d
add eax, 0x7fff
cmp eax, 0xffff
ja 0x14005688e
mov word [rcx + rdi*8 + 2], ax
jmp 0x140056318
cmp r15d, 0xff
je 0x1400562ea
shr r8d, 0x10
cmp r15d, r8d
je 0x1400562ea
mov byte [rcx + rdx*8 + 1], r15b
jmp 0x1400562f7
add r10b, 2
mov byte [rcx + rdx*8 + 1], 0
mov byte [rcx + rdx*8], r10b
mov ecx, r14d
sub ecx, r11d
add ecx, 0x7fff
cmp ecx, 0xffff
ja 0x14005689d
mov rax, qword [rsi + 0x48]
mov word [rax + rdi*8 + 2], cx
mov r11d, ebx
cmp ebx, 0xffffffff
jne 0x140056230
jmp 0x1400565c6
mov r9, qword [rsi + 0x48]
nop dword [rax]
mov edx, ecx
movzx eax, word [r9 + rdx*8 + 2]
add eax, 0xffff8000
cmp eax, 0xffffffff
je 0x14005634f
inc eax
add eax, ecx
cmp eax, 0xffffffff
je 0x14005634f
mov ecx, eax
jmp 0x140056330
sub r8d, ecx
add r8d, 0x7fff
cmp r8d, 0xffff
ja 0x1400568bb
mov word [r9 + rdx*8 + 2], r8w
mov r9d, dword [rbp - 0x71]
mov r11d, dword [rbp - 0x69]
mov edx, dword [rbp - 0x6d]
cmp edx, r11d
je 0x1400565f2
mov r12d, 0xffffffff
mov r13d, r12d
cmp edx, r12d
je 0x1400563e2
mov r8, qword [rsi + 0x48]
nop dword [rax]
nop word [rax + rax]
cmp edx, 1
lea eax, [rdx - 1]
cmovb eax, edx
mov ecx, dword [r8 + rax*8]
movzx eax, cl
sub eax, 0xc
cmp eax, 1
jbe 0x1400563c6
and ecx, 0xff00
cmp ecx, 0xff00
jne 0x140056444
mov eax, edx
movzx ecx, word [r8 + rax*8 + 2]
add ecx, 0xffff8000
cmp ecx, r12d
je 0x1400563e2
inc edx
add edx, ecx
cmp edx, r12d
jne 0x1400563a0
mov edx, r11d
cmp r11d, r12d
je 0x1400564b2
mov r8, qword [rsi + 0x48]
nop dword [rax]
nop word [rax + rax]
cmp edx, 1
lea eax, [rdx - 1]
cmovb eax, edx
mov ecx, dword [r8 + rax*8]
movzx eax, cl
sub eax, 0xc
cmp eax, 1
jbe 0x140056426
and ecx, 0xff00
cmp ecx, 0xff00
jne 0x140056444
mov eax, edx
movzx ecx, word [r8 + rax*8 + 2]
add ecx, 0xffff8000
cmp ecx, r12d
je 0x1400564b2
inc edx
add edx, ecx
cmp edx, r12d
jne 0x140056400
jmp 0x1400564b2
cmp r9d, 0xa
jne 0x14005644f
mov edi, r12d
jmp 0x140056459
mov rcx, rsi
call fcn.140053350
mov edi, eax
mov ebx, r15d
mov rcx, rsi
shl ebx, 8
mov edx, ebx
or edx, 0x1002b
call fcn.140052a10
mov edx, dword [rsi + 0x34]
mov rcx, rsi
shl edx, 8
mov r12d, eax
or edx, 0x80010058
call fcn.140052a10
or ebx, 0x2002b
mov rcx, rsi
mov edx, ebx
call fcn.140052a10
mov ecx, dword [rsi + 0x28]
lea rdx, [rsi + 0x30]
mov dword [rsi + 0x2c], ecx
mov r8d, edi
mov rcx, rsi
mov r13d, eax
call fcn.140058310
mov r11d, dword [rbp - 0x69]
mov r14d, dword [rsi + 0x28]
mov dword [rsi + 0x2c], r14d
cmp r11d, 0xffffffff
je 0x1400565c6
nop dword [rax]
nop dword [rax + rax]
mov r8, qword [rsi + 0x48]
mov edi, r11d
mov r10d, dword [r8 + rdi*8]
mov eax, r10d
shr eax, 0x10
add eax, 0xffff8000
cmp eax, 0xffffffff
jne 0x1400564ef
mov ebx, eax
jmp 0x1400564f5
lea ebx, [rax + 1]
add ebx, r11d
lea eax, [r11 - 1]
cmp r11d, 1
jae 0x140056502
mov eax, r11d
mov ecx, eax
mov edx, dword [r8 + rcx*8]
movzx r9d, dl
lea eax, [r9 - 0xc]
cmp eax, 1
jbe 0x140056573
shr edx, 8
cmp dl, 0xff
jne 0x140056555
cmp r15d, 0xff
jne 0x14005653a
and r10d, 0xff00
or r10d, 0x80000058
mov dword [r8 + rcx*8], r10d
jmp 0x140056599
movzx eax, byte [r8 + rcx*8 + 9]
mov byte [r8 + rcx*8 + 1], r15b
cmp r15d, eax
jb 0x140056599
lea eax, [r15 + 1]
mov byte [r8 + rcx*8 + 9], al
jmp 0x140056599
mov eax, r12d
sub eax, r11d
add eax, 0x7fff
cmp eax, 0xffff
ja 0x1400568ca
mov word [r8 + rdi*8 + 2], ax
jmp 0x1400565ba
cmp r15d, 0xff
je 0x14005658b
shr edx, 0x10
cmp r15d, edx
je 0x14005658b
mov byte [r8 + rcx*8 + 1], r15b
jmp 0x140056599
add r9b, 2
mov byte [r8 + rcx*8 + 1], 0
mov byte [r8 + rcx*8], r9b
mov ecx, r14d
sub ecx, r11d
add ecx, 0x7fff
cmp ecx, 0xffff
ja 0x1400568d9
mov rax, qword [rsi + 0x48]
mov word [rax + rdi*8 + 2], cx
mov r11d, ebx
cmp ebx, 0xffffffff
jne 0x1400564d0
mov edx, dword [rbp - 0x6d]
mov r9d, r15d
mov r8d, r14d
mov dword [rsp + 0x20], r13d
mov rcx, rsi
call fcn.1400585c0
mov rdi, qword [rbp + 0x67]
mov r12d, 1
mov rbx, qword [rbp + 0x6f]
mov r13d, dword [rbp - 0x61]
mov r14, qword [rbp - 0x19]
mov dword [rbp - 0x71], 0xc
mov dword [rbp - 0x79], r15d
mov qword [rbp - 0x6d], 0xffffffffffffffff
mov dword [rbx + 4], r15d
lea r8, [rbp - 0x51]
mov rdx, rbx
mov rcx, rsi
call fcn.1400536b0
mov r15d, dword [rbp - 0x59]
mov eax, dword [rbp - 0x5d]
mov dword [rsi + 0x34], eax
mov eax, dword [rdi + 0x34]
cmp eax, 0x2c
je 0x14005662f
cmp eax, 0x3b
jne 0x140056645
mov rcx, rdi
call fcn.140021320
mov eax, dword [rdi + 0x34]
cmp eax, 0x7d
jne 0x140055a40
jmp 0x14005664e
cmp eax, 0x7d
jne 0x1400567d9
mov rcx, rdi
call fcn.140021320
mov edi, dword [rbp + 0x77]
test r15d, r15d
je 0x1400566d4
mov edx, dword [rsi + 0x28]
mov rax, qword [rsi + 0x48]
dec edx
mov dword [rbp + 7], 4
mov qword [rbp + 0xb], 0xffffffffffffffff
mov dword [rbp + 3], 0x43300000
lea rbx, [rax + rdx*8]
lea eax, [rdi - 1]
mov dword [rbp - 1], eax
cmp edi, 0x100
jbe 0x140056696
mov dword [rsi + 0x28], edx
sub rbx, 8
mov rdx, qword [rsi]
lea r8, [rbp - 1]
mov rcx, qword [rsi + 0x10]
call fcn.140016950
mov rcx, rax
cmp dword [rax + 4], 0
jne 0x1400566b3
mov ecx, dword [rax]
jmp 0x1400566c2
mov eax, dword [rsi + 0x3c]
mov qword [rcx], rax
mov ecx, dword [rsi + 0x3c]
lea eax, [rcx + 1]
mov dword [rsi + 0x3c], eax
shl ecx, 8
or ecx, dword [rbp - 0x5d]
shl ecx, 8
or ecx, 0x3f
mov byte [rbx - 5], 0
mov dword [rbx], ecx
mov eax, dword [rsi + 0x28]
mov ecx, dword [rbp - 0x39]
dec eax
cmp ecx, eax
mov rax, qword [rbp + 0x6f]
jne 0x1400566eb
mov dword [rax], ecx
dec dword [rsi + 0x34]
jmp 0x1400566f2
mov dword [rbp - 0x35], 0xc
mov edx, dword [rbp - 0x35]
mov dword [rax + 8], edx
test r14, r14
jne 0x140056769
mov rdx, rcx
mov r8, qword [rsi + 0x48]
cmp dword [rbp + 0x7f], r14d
jne 0x14005670f
xor r9d, r9d
jmp 0x14005672a
cmp edi, 3
jae 0x14005671c
mov r9d, 3
jmp 0x14005672a
mov eax, 0x7ff
mov r9d, edi
cmp edi, eax
cmova r9d, eax
test r13d, r13d
je 0x140056745
cmp r13d, 1
jne 0x14005673a
mov ecx, r13d
jmp 0x140056747
lea eax, [r13 - 1]
bsr ecx, eax
inc ecx
jmp 0x140056747
xor ecx, ecx
shl cx, 0xb
or cx, r9w
mov word [r8 + rdx*8 + 2], cx
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp dword [rbp + 0x7f], 0
je 0x140056785
cmp dword [r14 + 0x30], edi
jae 0x140056785
mov rcx, qword [rsi + 0x10]
lea r8d, [rdi - 1]
mov rdx, r14
call fcn.1400166d0
cmp dword [rbp - 0x31], 0
je 0x1400567bd
mov edx, dword [r14 + 0x34]
mov rcx, qword [r14 + 0x28]
inc edx
nop word [rax + rax]
mov rax, qword [rcx]
sar rax, 0x2f
cmp eax, 0xfffffff4
jne 0x1400567b3
mov qword [rcx], 0xffffffffffffffff
add rcx, 0x18
sub rdx, 1
jne 0x1400567a0
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rcx + 0x10]
mov rax, qword [rdx + 0x18]
cmp qword [rdx + 0x10], rax
jb 0x140056755
call fcn.140011620
jmp 0x140056755
mov esi, dword [rbp - 0x29]
mov edx, 0x7d
mov rcx, rdi
cmp esi, dword [rdi + 0x70]
je 0x1400568e8
call fcn.140021550
mov edx, 0x7b
mov rcx, rdi
mov rbx, rax
call fcn.140021550
mov edx, dword [rdi + 0x34]
mov r9, rbx
mov r8d, 0xa36
mov dword [rsp + 0x28], esi
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.140021200
int3
mov rcx, qword [rsi + 8]
mov edx, 0x9a2
call fcn.140053cd0
int3
mov edx, 0x7b
call fcn.140053ce0
int3
mov rcx, qword [rbx + 8]
mov edx, 0x9a2
call fcn.140053cd0
int3
mov edx, 0x5d
call fcn.140053ce0
int3
mov edx, 0x11f
mov rcx, rdi
call fcn.140053ce0
int3
mov edx, 0x3d
mov rcx, rdi
call fcn.140053ce0
int3
mov rcx, qword [rsi + 8]
mov edx, 0x9a2
call fcn.140053cd0
int3
mov rcx, qword [rsi + 8]
mov edx, 0x987
call fcn.140053cd0
int3
mov rcx, qword [rsi + 8]
mov edx, 0x987
call fcn.140053cd0
int3
mov rcx, qword [rsi + 8]
mov edx, 0x987
call fcn.140053cd0
int3
mov rcx, qword [rsi + 8]
mov edx, 0x9a2
call fcn.140053cd0
int3
mov rcx, qword [rsi + 8]
mov edx, 0x987
call fcn.140053cd0
int3
mov rcx, qword [rsi + 8]
mov edx, 0x987
call fcn.140053cd0
int3
mov rcx, qword [rsi + 8]
mov edx, 0x987
call fcn.140053cd0
int3
call fcn.140053ce0
int3