Function at 0x4235c0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x108
mov r12, qword [0x005ac408]
cmp byte [r12 + 0x1800ec], 0
mov rsi, rcx
je 0x4236dc
cmp byte [r12 + 0x1800f1], 0
mov r9, qword [rcx + 0x48]
mov rbp, qword [rcx + 0x50]
je 0x4236f0
movabs r8, 0x7fffffffffffffff
mov rax, r9
movabs rbx, 0xffffff0000000000
add rbx, qword [rsi + 0x40]
and r8, rbp
shr rax, 0x2a
mov rdx, r8
and eax, 7
mov qword [rsi + 0x50], r8
shr rdx, 0x2a
shr rbx, 2
and edx, 7
add rax, rbx
add rdx, rbx
cmp rax, rdx
mov rdi, rdx
cmovbe rdi, rax
cmp byte [r12 + 0x1800eb], 0
jne 0x423740
sar rbp, 0x3f
and ebp, 2
cmp byte [rsi + 0xfe95], 0
jne 0x423730
lea r13, [r12 + 0x1000a8]
mov rcx, r13
call fcn.00403860
mov rcx, qword [r12 + 0x1000c0]
test rcx, rcx
je 0x423d91
mov rax, qword [r12 + 0x1000b0]
mov edx, 1
xor r9d, r9d
jmp 0x4236b5
cmp rcx, rdx
jbe 0x423d91
add rax, 0x18
add rdx, 1
add r9, 1
cmp ebp, dword [rax]
jne 0x4236a0
cmp rcx, r9
jbe 0x423d74
cmp rbx, qword [rax + 8]
jne 0x4236a0
mov rax, qword [rax + 0x10]
test rax, rax
je 0x4236d6
lock add dword [rax + 0x10], 1
lock sub qword [r13], 2
add rsp, 0x108
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movabs rax, 0x1000000000000
test r9, rax
jne 0x423ce1
mov rdx, r9
mov rcx, rbp
or rdx, rbp
and rcx, rax
test rdx, rax
je 0x423603
test rcx, rcx
je 0x4236dc
cmp byte [rsi + 0xfe94], 0
je 0x4236dc
jmp 0x423603
add ebp, 1
jmp 0x42366d
mov rcx, r9
mov r10d, 1
mov qword [rsp + 0xd0], rdi
shr rcx, 0x2d
mov r13, r10
and ecx, 3
shl r13, cl
mov rcx, r8
shr rcx, 0x2d
add rax, r13
and ecx, 3
shl r10, cl
add rdx, r10
cmp rax, rdx
cmovae rdx, rax
add r12, 0x100070
mov rcx, r12
mov r13, rdx
mov qword [rsp + 0xd8], rdx
call fcn.00403860
mov rax, qword [0x005ac408]
mov rdx, qword [rax + 0x100090]
mov r10, qword [rax + 0x100098]
sub r10, rdx
sar r10, 4
test r10, r10
je 0x42380f
cmp qword [rdx + 8], r13
mov rcx, r13
mov rax, rdi
cmovbe rcx, qword [rdx + 8]
cmp qword [rdx], rdi
cmovae rax, qword [rdx]
cmp rcx, rax
ja 0x423d30
add rdx, 0x10
xor ecx, ecx
jmp 0x423806
mov rax, rdx
mov r8, r13
add rdx, 0x10
mov r15, rdi
cmp qword [rax + 8], r13
cmovbe r8, qword [rax + 8]
cmp qword [rax], rdi
cmovae r15, qword [rax]
cmp r8, r15
ja 0x423d30
add rcx, 1
cmp rcx, r10
jne 0x4237e0
lock sub qword [r12], 2
mov rax, qword [0x005ac408]
mov r14d, 1
lea r12, [rax + 0x100070]
mov rcx, r12
call fcn.004037b0
mov r13, qword [0x005ac408]
mov r15, qword [r13 + 0x100098]
mov r11, qword [r13 + 0x100090]
mov r10, r15
sub r10, r11
sar r10, 4
test r10, r10
je 0x4238d9
mov r8, qword [rsp + 0xd0]
mov r9, qword [rsp + 0xd8]
cmp qword [r11], r8
mov rdx, r8
cmovae rdx, qword [r11]
mov rax, r9
cmp qword [r11 + 8], r9
cmovbe rax, qword [r11 + 8]
cmp rdx, rax
jb 0x423d52
lea rcx, [r11 + 0x10]
xor edx, edx
mov qword [rsp + 0x38], r11
jmp 0x4238bb
mov rax, rcx
mov r14, r8
add rcx, 0x10
mov r11, r9
cmp qword [rax], r8
cmovae r14, qword [rax]
cmp qword [rax + 8], r9
cmovbe r11, qword [rax + 8]
cmp r14, r11
jb 0x423d52
add rdx, 1
cmp r10, rdx
jne 0x423895
lea r14, [r10 + 1]
mov r11, qword [rsp + 0x38]
mov rdx, r15
cmp r10, r14
jae 0x423cb7
mov rdx, qword [r13 + 0x1000a0]
sub rdx, r11
mov r8, rdx
sar r8, 4
cmp r14, r8
jbe 0x423ef1
lea rax, [r8 + r8*4]
mov ecx, 0x10
mov qword [rsp + 0x38], r8
shr rax, 2
mov qword [rsp + 0x40], rdx
test rax, rax
cmove rax, rcx
cmp r14, rax
cmovae rax, r14
mov r15, rax
shl r15, 4
mov rcx, r15
call fcn.0041a800
mov r8, qword [rsp + 0x38]
test r8, r8
je 0x423c97
mov rdx, qword [rsp + 0x40]
mov rcx, qword [r13 + 0x100090]
test rdx, rdx
je 0x423c88
lea r8, [rax + 0x10]
cmp rcx, r8
lea r8, [rcx + 0x10]
setae r9b
cmp rax, r8
setae r8b
or r9b, r8b
je 0x423fb9
cmp rdx, 0x16
jbe 0x423fb9
mov r9, rcx
neg r9
and r9d, 0xf
cmp r9, rdx
cmova r9, rdx
xor r8d, r8d
test r9, r9
je 0x423aa7
movzx r8d, byte [rcx]
cmp r9, 1
mov byte [rax], r8b
je 0x4242f7
movzx r8d, byte [rcx + 1]
cmp r9, 2
mov byte [rax + 1], r8b
je 0x4242ec
movzx r8d, byte [rcx + 2]
cmp r9, 3
mov byte [rax + 2], r8b
je 0x4242e1
movzx r8d, byte [rcx + 3]
cmp r9, 4
mov byte [rax + 3], r8b
je 0x4242d6
movzx r8d, byte [rcx + 4]
cmp r9, 5
mov byte [rax + 4], r8b
je 0x4242cb
movzx r8d, byte [rcx + 5]
cmp r9, 6
mov byte [rax + 5], r8b
je 0x4242c0
movzx r8d, byte [rcx + 6]
cmp r9, 7
mov byte [rax + 6], r8b
je 0x4242b5
movzx r8d, byte [rcx + 7]
cmp r9, 8
mov byte [rax + 7], r8b
je 0x4242aa
movzx r8d, byte [rcx + 8]
cmp r9, 9
mov byte [rax + 8], r8b
je 0x424323
movzx r8d, byte [rcx + 9]
cmp r9, 0xa
mov byte [rax + 9], r8b
je 0x424318
movzx r8d, byte [rcx + 0xa]
cmp r9, 0xb
mov byte [rax + 0xa], r8b
je 0x42430d
movzx r8d, byte [rcx + 0xb]
cmp r9, 0xc
mov byte [rax + 0xb], r8b
je 0x424302
movzx r8d, byte [rcx + 0xc]
cmp r9, 0xd
mov byte [rax + 0xc], r8b
je 0x424339
movzx r8d, byte [rcx + 0xd]
cmp r9, 0xe
mov byte [rax + 0xd], r8b
je 0x42432e
movzx r8d, byte [rcx + 0xe]
mov byte [rax + 0xe], r8b
mov r8d, 0xf
mov r11, rdx
sub r11, r9
lea r10, [r11 - 0x10]
mov qword [rsp + 0x50], r11
shr r10, 4
lea r11, [r10 + 1]
lea r10, [rdx - 1]
mov qword [rsp + 0x48], r11
shl r11, 4
sub r10, r9
mov qword [rsp + 0x38], r11
cmp r10, 0xe
jbe 0x423b28
lea r10, [rax + r9]
mov qword [rsp + 0x58], rax
lea r11, [rcx + r9]
mov qword [rsp + 0x40], r10
xor r9d, r9d
mov r10, r9
mov rax, qword [rsp + 0x40]
add r9, 1
shl r10, 4
cmp r9, qword [rsp + 0x48]
movdqa xmm0, xmmword [r11 + r10]
movups xmmword [rax + r10], xmm0
jb 0x423aee
mov r11, qword [rsp + 0x38]
mov rax, qword [rsp + 0x58]
add r8, r11
cmp r11, qword [rsp + 0x50]
je 0x423fce
movzx r9d, byte [rcx + r8]
mov byte [rax + r8], r9b
lea r9, [r8 + 1]
cmp rdx, r9
jbe 0x423fce
movzx r9d, byte [rcx + r8 + 1]
mov byte [rax + r8 + 1], r9b
lea r9, [r8 + 2]
cmp rdx, r9
jbe 0x423fce
movzx r9d, byte [rcx + r8 + 2]
mov byte [rax + r8 + 2], r9b
lea r9, [r8 + 3]
cmp rdx, r9
jbe 0x423fce
movzx r9d, byte [rcx + r8 + 3]
mov byte [rax + r8 + 3], r9b
lea r9, [r8 + 4]
cmp rdx, r9
jbe 0x423fce
movzx r9d, byte [rcx + r8 + 4]
mov byte [rax + r8 + 4], r9b
lea r9, [r8 + 5]
cmp rdx, r9
jbe 0x423fce
movzx r9d, byte [rcx + r8 + 5]
mov byte [rax + r8 + 5], r9b
lea r9, [r8 + 6]
cmp rdx, r9
jbe 0x423fce
movzx r9d, byte [rcx + r8 + 6]
mov byte [rax + r8 + 6], r9b
lea r9, [r8 + 7]
cmp rdx, r9
jbe 0x423fce
movzx r9d, byte [rcx + r8 + 7]
mov byte [rax + r8 + 7], r9b
lea r9, [r8 + 8]
cmp rdx, r9
jbe 0x423fce
movzx r9d, byte [rcx + r8 + 8]
mov byte [rax + r8 + 8], r9b
lea r9, [r8 + 9]
cmp rdx, r9
jbe 0x423fce
movzx r9d, byte [rcx + r8 + 9]
mov byte [rax + r8 + 9], r9b
lea r9, [r8 + 0xa]
cmp rdx, r9
jbe 0x423fce
movzx r9d, byte [rcx + r8 + 0xa]
mov byte [rax + r8 + 0xa], r9b
lea r9, [r8 + 0xb]
cmp rdx, r9
jbe 0x423fce
movzx r9d, byte [rcx + r8 + 0xb]
mov byte [rax + r8 + 0xb], r9b
lea r9, [r8 + 0xc]
cmp rdx, r9
jbe 0x423fce
movzx r9d, byte [rcx + r8 + 0xc]
mov byte [rax + r8 + 0xc], r9b
lea r9, [r8 + 0xd]
cmp rdx, r9
jbe 0x423fce
movzx r9d, byte [rcx + r8 + 0xd]
mov byte [rax + r8 + 0xd], r9b
lea r9, [r8 + 0xe]
cmp rdx, r9
jbe 0x423fce
movzx edx, byte [rcx + r8 + 0xe]
mov byte [rax + r8 + 0xe], dl
mov rcx, qword [r13 + 0x100090]
mov qword [rsp + 0x38], rax
call fcn.004197e0
mov rax, qword [rsp + 0x38]
shl r14, 4
mov qword [r13 + 0x100090], rax
lea rdx, [rax + r14]
add rax, r15
mov qword [r13 + 0x100098], rdx
mov qword [r13 + 0x1000a0], rax
mov r9, qword [rsp + 0xd0]
mov r10, qword [rsp + 0xd8]
mov qword [rdx - 0x10], r9
mov qword [rdx - 8], r10
lock sub qword [r12], 1
mov r12, qword [0x005ac408]
jmp 0x423659
test rbp, rax
jne 0x423d03
mov rdx, r9
or rdx, rbp
test rdx, rax
je 0x423603
test rbp, rbp
jns 0x4236dc
jmp 0x423603
lea r8, str.____s0.IsAtomic____s1.IsAtomic_________0_
xor r9d, r9d
mov edx, 0x14ce
mov qword [rsp + 0x20], 0
lea rcx, str.gotsan.cpp
call fcn.00406990
nop word [rax + rax]
mov eax, dword [0x005ac400]
cmp eax, 1
jbe 0x423d47
lea rcx, str.ThreadSanitizer:_suppressing_report_as_doubled__addr__n
call fcn.0040c420
lock sub qword [r12], 2
jmp 0x4236dc
mov eax, dword [0x005ac400]
cmp eax, 1
jbe 0x423d69
lea rcx, str.ThreadSanitizer:_suppressing_report_as_doubled__addr__n
call fcn.0040c420
lock sub qword [r12], 1
jmp 0x4236dc
mov qword [rsp + 0x20], rcx
lea r8, str.__i_______size___
mov edx, 0x1df
lea rcx, str....._sanitizer_common_sanitizer_common.h
call fcn.00406990
lock sub qword [r13], 2
mov r8d, 1
movabs r13, 0x3ffffffffff
mov rdx, qword [rsi]
movsxd rax, dword [rsi + 0xfe88]
mov qword [rsp + 0x80], 0
lea r14, [rsp + 0x70]
mov rcx, rdx
and rdx, r13
mov qword [rsp + 0x88], 0
shr rcx, 0x2a
lea r12, [rsp + 0x80]
and ecx, 7
mov qword [rsp + 0xd0], 0
lea r15, [rsp + 0xd0]
add ecx, 0xe
mov r9, r12
mov dword [rsp + 0xd8], 0
mov dword [rsp + 0xdc], 0
shl r8, cl
mov rcx, rax
shl rax, 0x18
sub r8, 1
shl rcx, 0x11
mov qword [rsp + 0xe0], 0
add rax, rcx
and rdx, r8
mov rcx, rsi
mov qword [rsp + 0xe8], 0
lea rdx, [rax + rdx*8]
mov r8, r15
movabs rax, 0x56000000000
mov dword [rsp + 0xf0], 0
mov dword [rsp + 0xf4], 0
mov rdx, qword [rdx + rax]
mov qword [rsp + 0xf8], 0
mov rax, rdx
shr rax, 0x3d
test rax, rax
mov eax, 0
cmovne rdx, rax
call fcn.0043d400
mov rdx, qword [rsp + 0xd8]
mov r8, r14
mov rax, qword [rsp + 0xd0]
mov rcx, qword [0x005ac408]
mov qword [rsp + 0x78], rdx
mov edx, ebp
mov qword [rsp + 0x70], rax
call fcn.00408d30
test al, al
je 0x423f05
mov rcx, qword [rsp + 0xf8]
test rcx, rcx
je 0x423ed6
call fcn.004197e0
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x4236dc
call fcn.004197e0
jmp 0x4236dc
shl r14, 4
lea rdx, [r11 + r14]
mov qword [r13 + 0x100098], rdx
jmp 0x423cb7
lea rcx, [rsp + 0x90]
add r12, 8
mov edx, 1
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
call fcn.0041c4e0
mov rax, qword [rsp + 0x90]
mov rdx, r13
mov qword [rsp + 0x20], r12
lea r8, [r15 + 0x18]
mov r9, rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsi + 0x50]
lea rcx, [rax + rax]
and rdx, rax
shr rcx, 0x33
call fcn.0041fd10
mov rdx, qword [rsp + 0xf0]
mov r8, r14
mov rax, qword [rsp + 0xe8]
mov rcx, qword [0x005ac408]
mov qword [rsp + 0x78], rdx
mov edx, ebp
mov qword [rsp + 0x70], rax
call fcn.00408d30
test al, al
je 0x423fda
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x423ec4
call fcn.004197e0
jmp 0x423ec4
xor r8d, r8d
movzx r9d, byte [rcx + r8]
mov byte [rax + r8], r9b
add r8, 1
cmp r8, rdx
jne 0x423fbc
mov rcx, qword [r13 + 0x100090]
jmp 0x423c88
mov rax, qword [0x005ac408]
lea r12, [rsp + 0xb0]
cmp byte [rax + 0x1800ea], 0
jne 0x4241c4
mov r8, qword [rsp + 0x80]
test r8, r8
jne 0x424492
mov r8, qword [rsp + 0x88]
mov edx, 4
test r8, r8
cmovne ebp, edx
mov r15, qword [rax + 0x100068]
mov qword [rsp + 0x40], r8
lea r13, [r15 + 0x18]
mov rcx, r13
call fcn.004087d0
mov r8, qword [rsp + 0x40]
mov edx, ebp
mov rcx, r12
call fcn.0041c300
lea rcx, [r12 + 9]
call fcn.00414db0
mov rax, qword [rsp + 0xd0]
mov rcx, r12
mov qword [rsp + 0x20], r14
mov rdx, qword [rsp + 0xd8]
mov r9, qword [rsi + 0x48]
mov r8, qword [rsp + 0x80]
mov qword [rsp + 0x70], rax
lea rax, [rsi + 0x58]
mov qword [rsp + 0x78], rdx
mov rdx, rbx
mov qword [rsp + 0x28], rax
call fcn.00423030
mov rax, qword [rsp + 0xe8]
mov rcx, r12
mov qword [rsp + 0x20], r14
mov rdx, qword [rsp + 0xf0]
mov r8, qword [rsp + 0x88]
mov r9, qword [rsi + 0x50]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x78], rdx
mov rdx, rbx
mov qword [rsp + 0x28], rax
call fcn.00423030
mov rax, qword [0x005ac408]
mov r8, qword [rsi + 0x48]
mov rcx, qword [rax + 0x100068]
lea rdx, [r8 + r8]
shr rdx, 0x33
mov rcx, qword [rcx + 0x98]
mov rdx, qword [rcx + rdx*8]
movabs rcx, 0x3ffffffffff
and rcx, r8
cmp qword [rdx + 0xc8], rcx
ja 0x424120
cmp qword [rdx + 0xd0], rcx
jb 0x424120
xor r8d, r8d
mov rcx, r12
call fcn.00422660
mov rax, qword [0x005ac408]
mov rax, qword [rax + 0x100068]
mov rcx, qword [rsi + 0x50]
mov rax, qword [rax + 0x98]
lea rdx, [rcx + rcx]
shr rdx, 0x33
mov rdx, qword [rax + rdx*8]
movabs rax, 0x3ffffffffff
and rax, rcx
cmp rax, qword [rdx + 0xc8]
jb 0x424168
cmp rax, qword [rdx + 0xd0]
ja 0x424168
xor r8d, r8d
mov rcx, r12
call fcn.00422660
test rdi, rdi
jne 0x42429a
mov rdx, r12
mov rcx, rsi
call fcn.00416dc0
mov byte [0x005ac439], 0
mov qword [0x005ac440], 0
mov rcx, r12
call fcn.00419d60
mov rcx, r13
call fcn.00408830
mov rcx, r13
mov qword [r15 + 0x68], 0
call sub.kernel32.dll_ReleaseSRWLockExclusive
mov rcx, qword [rsp + 0x90]
test rcx, rcx
jne 0x423faf
jmp 0x423ec4
mov r8d, dword [rsp + 0xd8]
lea r13, [rsp + 0x60]
mov rdx, qword [rsp + 0xd0]
mov rcx, r13
shl r8, 3
call fcn.004032c0
mov rdx, qword [rsp + 0x68]
mov rcx, r13
mov r8d, dword [rsp + 0xf0]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb8], rdx
mov rdx, qword [rsp + 0xe8]
shl r8, 3
mov qword [rsp + 0xb0], rax
call fcn.004032c0
mov rax, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov qword [rsp + 0xc0], rax
mov rax, qword [0x005ac408]
mov qword [rsp + 0xc8], rdx
lea r13, [rax + 0x100070]
mov rcx, r13
call fcn.00403860
mov rcx, r12
call fcn.0040ca40
test al, al
jne 0x424470
lock sub qword [r13], 2
mov rax, qword [0x005ac408]
add rax, 0x100070
mov rcx, rax
mov qword [rsp + 0x40], rax
call fcn.004037b0
mov rcx, r12
call fcn.0040ca40
test al, al
je 0x424344
mov rax, qword [rsp + 0x40]
lock sub qword [rax], 1
jmp 0x423f9e
mov rdx, rdi
mov rcx, r12
call fcn.00421800
jmp 0x424171
mov r8d, 8
jmp 0x423aa7
mov r8d, 7
jmp 0x423aa7
mov r8d, 6
jmp 0x423aa7
mov r8d, 5
jmp 0x423aa7
mov r8d, 4
jmp 0x423aa7
mov r8d, 3
jmp 0x423aa7
mov r8d, 2
jmp 0x423aa7
mov r8d, 1
jmp 0x423aa7
mov r8d, 0xc
jmp 0x423aa7
mov r8d, 0xb
jmp 0x423aa7
mov r8d, 0xa
jmp 0x423aa7
mov r8d, 9
jmp 0x423aa7
mov r8d, 0xe
jmp 0x423aa7
mov r8d, 0xd
jmp 0x423aa7
mov r15, qword [0x005ac408]
mov rcx, qword [r15 + 0x100078]
mov rax, qword [r15 + 0x100080]
sub rax, rcx
sar rax, 5
lea r13, [rax + 1]
cmp rax, r13
jae 0x424422
mov r9, qword [r15 + 0x100088]
sub r9, rcx
mov r10, r9
sar r10, 5
cmp r13, r10
jbe 0x42449c
lea rax, [r10 + r10*4]
mov ecx, 0x10
mov qword [rsp + 0x50], r10
shr rax, 2
mov qword [rsp + 0x58], r9
test rax, rax
cmove rax, rcx
cmp r13, rax
cmovae rax, r13
shl rax, 5
mov rcx, rax
mov qword [rsp + 0x48], rax
call fcn.0041a800
mov r10, qword [rsp + 0x50]
test r10, r10
je 0x4243fe
mov r10, qword [r15 + 0x100078]
xor ecx, ecx
mov r9, qword [rsp + 0x58]
jmp 0x4243e3
movzx edx, byte [r10 + rcx]
mov byte [rax + rcx], dl
add rcx, 1
cmp r9, rcx
jne 0x4243d7
mov rcx, qword [r15 + 0x100078]
mov qword [rsp + 0x50], rax
call fcn.004197e0
mov rax, qword [rsp + 0x50]
mov rdx, r13
mov qword [r15 + 0x100078], rax
shl rdx, 5
add rdx, rax
add rax, qword [rsp + 0x48]
mov qword [r15 + 0x100080], rdx
mov qword [r15 + 0x100088], rax
mov rdx, qword [r15 + 0x100080]
lea rcx, [r12 + 0x10]
lea rax, [rdx - 0x20]
cmp rcx, rax
jbe 0x424440
lea rax, [rdx - 0x10]
cmp r12, rax
jb 0x42447b
movdqa xmm0, xmmword [rsp + 0xb0]
movups xmmword [rdx - 0x20], xmm0
movdqa xmm0, xmmword [rsp + 0xc0]
movups xmmword [rdx - 0x10], xmm0
mov rax, qword [rsp + 0x40]
lock sub qword [rax], 1
mov rax, qword [0x005ac408]
jmp 0x423ff6
lock sub qword [r13], 2
jmp 0x423f9e
xor eax, eax
movzx ecx, byte [r12 + rax]
mov byte [rdx + rax - 0x20], cl
add rax, 1
cmp rax, 0x20
jne 0x42447d
jmp 0x42445a
mov ebp, 4
jmp 0x42401a
mov rax, r13
shl rax, 5
add rax, rcx
mov qword [r15 + 0x100080], rax
jmp 0x424422