Function at 0x140053500
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x24], 0xffffffff
cmp dword [rsp + 0x88], 0
jne 0x140053606
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
cmp dword [rcx + rax], 0
jne 0x140053560
xor eax, eax
jmp 0x140053935
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + rax]
call fcn.140052f50
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x38], eax
jb 0x1400535c2
mov eax, 4
imul rax, rax, 0
mov ecx, dword [rsp + 0x90]
mov rdx, qword [rsp + 0x80]
mov eax, dword [rdx + rax]
shr eax, cl
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x80]
mov dword [rdx + rcx], eax
xor eax, eax
jmp 0x140053935
mov eax, 4
imul rax, rax, 0
mov ecx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x80]
mov eax, dword [rdx + rax]
shr eax, cl
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x80]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x38]
mov ecx, dword [rsp + 0x90]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 0x12
jbe 0x1400536fc
mov eax, dword [rsp + 0x98]
shr eax, 4
and eax, 3
cmp eax, 2
jne 0x140053651
mov eax, dword [rsp + 0x98]
shr eax, 0x18
and eax, 0xff
dec eax
cdq
mov ecx, 9
idiv ecx
mov ecx, 0x3f
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
jmp 0x1400536fc
imul eax, dword [rsp + 0x88], 0x1d
mov dword [rsp + 0x48], eax
mov ecx, dword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ecx, dword [rdx + rcx*4]
call fcn.140052f70
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
sub eax, dword [rsp + 0x90]
mov dword [rsp + 0x4c], eax
cvtsi2sd xmm0, dword [rsp + 0x4c]
mulsd xmm0, qword [0x1400f2de8]
cvttsd2si eax, xmm0
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x98]
shr eax, 0x18
and eax, 0xff
dec eax
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
cdq
mov ecx, 9
idiv ecx
add eax, 0x3e
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x88]
add eax, 0x3d
mov dword [rsp + 0x54], eax
mov ecx, dword [rsp + 0x98]
shr ecx, 0x18
and ecx, 0xff
dec ecx
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov ecx, dword [rsp + 0x54]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x90], 9
jb 0x140053847
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
shr eax, 9
add eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x80]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x40]
and eax, 0x1ff
imul eax, eax, 0x1dcd65
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x28], eax
jne 0x140053769
jmp 0x140053778
mov eax, dword [rsp + 0x28]
dec eax
and eax, 0x3f
mov dword [rsp + 0x28], eax
jmp 0x14005371d
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x20], eax
je 0x1400537e7
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
je 0x1400537e7
cmp dword [rsp + 0x30], 0
je 0x1400537b3
mov eax, dword [rsp + 0x20]
dec eax
and eax, 0x3f
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x30]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
cmp dword [rcx + rax*4], 0
jne 0x1400537e5
mov eax, dword [rsp + 0x88]
dec eax
and eax, 0x3f
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
jmp 0x140053831
mov eax, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
cmp dword [rcx + rax*4], 0
jne 0x140053831
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x88], eax
je 0x140053828
mov eax, dword [rsp + 0x88]
dec eax
and eax, 0x3f
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x24], eax
jmp 0x140053831
mov eax, dword [rsp + 0x20]
jmp 0x140053935
mov eax, dword [rsp + 0x90]
sub eax, 9
mov dword [rsp + 0x90], eax
jmp 0x1400536fc
cmp dword [rsp + 0x90], 0
je 0x140053931
mov eax, dword [rsp + 0x90]
mov ecx, 1
mov dword [rsp + 0x58], ecx
movzx ecx, al
mov eax, dword [rsp + 0x58]
shl eax, cl
dec eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x90]
mov ecx, 0x3b9aca00
mov dword [rsp + 0x5c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x5c]
sar eax, cl
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax*4]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x90]
movzx ecx, al
mov eax, dword [rsp + 0x44]
shr eax, cl
add eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x80]
mov dword [rdx + rcx*4], eax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x44]
and ecx, eax
mov eax, ecx
imul eax, dword [rsp + 0x64]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x2c], eax
jne 0x1400538fb
jmp 0x14005390a
mov eax, dword [rsp + 0x2c]
dec eax
and eax, 0x3f
mov dword [rsp + 0x2c], eax
jmp 0x1400538a4
cmp dword [rsp + 0x34], 0
je 0x140053931
mov eax, dword [rsp + 0x20]
dec eax
and eax, 0x3f
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
mov edx, dword [rsp + 0x34]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x20]
add rsp, 0x78
ret