Function at 0x140050190
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rax, rcx
lea r8, [rcx + 0x180]
mov r9, qword [rcx + 0x180]
xor r11d, r11d
test r9, r9
mov r10d, 0
cmovg r10, r9
lea rdi, [r10 - 1]
xor esi, esi
nop
cmp r10, rsi
je 0x14004fb94
cmp rsi, 0x180
je 0x14004fd7c
movzx ecx, byte [rax + rsi]
lea r11, [r11 + r11*4]
lea r11, [rcx + r11*2]
add r11, 0xffffffffffffffd0
mov rbx, r11
mov ecx, edx
shr rbx, cl
cmp rdx, 0x3f
ja 0x14004fb65
test rbx, rbx
jne 0x14004fbdf
cmp rdi, rsi
je 0x14004fb94
movzx ecx, byte [rax + rsi + 1]
lea r11, [r11 + r11*4]
lea r11, [rcx + r11*2]
add r11, 0xffffffffffffffd0
add rsi, 2
mov rbx, r11
mov ecx, edx
shr rbx, cl
cmp rdx, 0x3f
ja 0x14004fb30
test rbx, rbx
je 0x14004fb30
jmp 0x14004fbe2
test r11, r11
je 0x14004fd26
mov rdi, r11
mov ecx, edx
shr rdi, cl
mov rsi, r10
cmp rdx, 0x3f
ja 0x14004fbc0
test rdi, rdi
jne 0x14004fbe2
nop word cs:[rax + rax]
add r11, r11
lea r11, [r11 + r11*4]
inc rsi
mov r10, r11
mov ecx, edx
shr r10, cl
cmp rdx, 0x3f
ja 0x14004fbc0
test r10, r10
je 0x14004fbc0
jmp 0x14004fbe2
inc rsi
mov r10, qword [rax + 0x188]
sub r10, rsi
mov rdi, 0xffffffffffffffff
mov ecx, edx
shl rdi, cl
inc r10
mov rcx, 0xffffffffffffffff
cmp rdx, 0x40
mov qword [rax + 0x188], r10
not rdi
cmovae rdi, rcx
cmp rsi, r9
jge 0x14004fc85
lea rbx, [rax + rsi]
xor r9d, r9d
mov ebp, 0x30
nop word cs:[rax + rax]
lea r10, [rsi + r9]
cmp r10, 0x180
jae 0x14004fd36
mov r10, r11
and r10, rdi
mov ecx, edx
shr r11, cl
add r11b, 0x30
cmp rdx, 0x40
movzx ecx, r11b
cmovae ecx, ebp
movzx r11d, byte [rbx + r9]
mov byte [rax + r9], cl
lea rcx, [r10 + r10*4]
lea r11, [r11 + rcx*2]
add r11, 0xffffffffffffffd0
lea rcx, [rsi + r9]
inc rcx
inc r9
cmp rcx, qword [rax + 0x180]
jl 0x14004fc30
jmp 0x14004fc88
xor r9d, r9d
lea rsi, [rax + 0x188]
test r11, r11
je 0x14004fcf3
xor r10d, r10d
jmp 0x14004fcaf
and r11, rdi
add r11, r11
lea r11, [r11 + r11*4]
test r11, r11
je 0x14004fcee
mov rbx, r11
mov ecx, edx
shr rbx, cl
cmp rdx, 0x40
cmovae rbx, r10
cmp r9, 0x17f
jg 0x14004fce0
ja 0x14004fda2
add bl, 0x30
mov byte [rax + r9], bl
inc r9
jmp 0x14004fca0
test rbx, rbx
je 0x14004fca0
mov byte [rax + 0x191], 1
jmp 0x14004fca0
mov qword [r8], r9
jmp 0x14004fcfb
mov qword [r8], r9
test r9, r9
je 0x14004fd23
lea r10, [r9 - 1]
nop
cmp r9, 0x181
jae 0x14004fd59
cmp byte [rax + r10], 0x30
jne 0x14004fd2d
mov qword [r8], r10
lea rcx, [r10 - 1]
inc r10
cmp r10, 1
mov r10, rcx
ja 0x14004fd00
mov r8, rsi
mov qword [r8], 0
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov qword [rsp + 0x20], 0x180
lea rcx, str.c:_programs_odin_core_strconv_decimal_decimal.odin
mov edx, 0xe3
mov r8d, 0x16
mov r9, r10
call fcn.14005d190
mov qword [rsp + 0x20], 0x180
lea rcx, str.c:_programs_odin_core_strconv_decimal_decimal.odin
mov edx, 0x9d
mov r8d, 0x1e
mov r9, r10
call fcn.14005d190
mov qword [rsp + 0x20], 0x180
lea rcx, str.c:_programs_odin_core_strconv_decimal_decimal.odin
mov r9d, 0x180
mov edx, 0xdb
mov r8d, 0x16
call fcn.14005d190
mov qword [rsp + 0x20], 0x180
lea rcx, str.c:_programs_odin_core_strconv_decimal_decimal.odin
mov edx, 0xef
mov r8d, 0xd
call fcn.14005d190
int3
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
cmp rdx, 0x3d
jae 0x140050156
mov r9, rdx
mov r8, rcx
lea rcx, [rdx + rdx*2]
lea rdx, [0x140083720]
mov r11, qword [rdx + rcx*8]
mov rsi, qword [r8 + 0x180]
lea rax, [r9*8]
test rax, rax
je 0x140050005
mov rax, qword [rdx + rcx*8 + 0x10]
lea rcx, [rdx + rcx*8]
add rcx, 8
xor edx, edx
test rsi, rsi
mov r10d, 0
cmovg r10, rsi
nop dword [rax + rax]
cmp r10, rdx
je 0x140050002
movzx ebx, byte [r8 + rdx]
mov rdi, qword [rcx]
movzx edi, byte [rdi + rdx]
cmp bl, dil
jne 0x140050000
inc rdx
cmp rax, rdx
jne 0x14004ffe0
jmp 0x140050005
jae 0x140050005
dec r11
mov rax, rsi
dec rax
js 0x14005008f
lea rdi, [r11 - 1]
lea r14, [r8 + r11]
dec r14
xor edx, edx
movabs rbx, 0xcccccccccccccccd
jmp 0x14005003e
add al, 0x30
mov byte [r14 + rsi], al
dec rsi
test rsi, rsi
jle 0x140050085
movzx r10d, byte [r8 + rsi - 1]
add r10, 0xffffffffffffffd0
mov ecx, r9d
shl r10, cl
add r10, rdx
mov rax, r10
mul rbx
shr rdx, 3
lea rax, [rdx + rdx]
lea rcx, [rax + rax*4]
mov rax, r10
sub rax, rcx
lea rcx, [rdi + rsi]
cmp rcx, 0x17f
jle 0x140050030
test rax, rax
je 0x140050036
mov byte [r8 + 0x191], 1
jmp 0x140050036
cmp r10, 0xa
jae 0x140050123
add qword [r8 + 0x188], r11
mov rax, qword [r8 + 0x180]
xor ecx, ecx
test rax, rax
cmovg rcx, rax
cmp rcx, 0x180
mov eax, 0x180
cmovb rax, rcx
mov qword [r8 + 0x180], rax
test rax, rax
je 0x1400500ee
dec rax
nop word cs:[rax + rax]
cmp byte [r8 + rax], 0x30
jne 0x1400500f9
mov qword [r8 + 0x180], rax
lea rcx, [rax - 1]
inc rax
cmp rax, 1
mov rax, rcx
ja 0x1400500d0
mov qword [r8 + 0x188], 0
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
add al, 0x30
mov byte [r8 + rdi], al
dec rdi
cmp rcx, 9
jbe 0x14005008f
mov rcx, rdx
mov rax, rdx
mul rbx
shr rdx, 3
lea rax, [rdx + rdx]
lea r9, [rax + rax*4]
mov rax, rcx
sub rax, r9
cmp rdi, 0x17f
jle 0x140050110
test rax, rax
je 0x140050116
mov byte [r8 + 0x191], 1
jmp 0x140050116
mov rax, r8
mov rcx, qword [r8 + 0x20]
test rcx, rcx
lea r10, [0x14000d6e0]
cmovne r10, rcx
lea rcx, str.runtime_assertion
lea rdx, [0x14008e9a8]
lea r8, str.c:_programs_odin_core_strconv_decimal_decimal.odin
mov r9, rax
call r10
int3
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x180], 0
je 0x1400501e1
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
jle 0x1400501df
mov rbx, r8
cmp rdi, 0x3d
jb 0x1400501e9
nop word cs:[rax + rax]
mov edx, 0x3c
mov rcx, rsi
mov r8, rbx
call 0x14004ff80
lea rdx, [rdi - 0x3c]
cmp rdi, 0x78
mov rdi, rdx
ja 0x1400501c0
jmp 0x1400501ec
js 0x1400501fe
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov rdx, rdi
mov rcx, rsi
mov r8, rbx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x14004ff80
cmp rdi, 0xffffffffffffffc3
ja 0x14005022c
nop word cs:[rax + rax]
mov edx, 0x3c
mov rcx, rsi
call 0x14004fb00
lea rdx, [rdi + 0x3c]
cmp rdi, 0xffffffffffffff88
mov rdi, rdx
jb 0x140050210
jmp 0x14005022f
mov rdx, rdi
neg rdx
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x14004fb00