Function at 0x1803856d0
Capabilities:
Encode data using base64
Hash data with md5

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x1d0], rbx
mov rax, qword [0x1804cd010]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov qword [rsp + 0x48], rdx
xor r12d, r12d
mov dword [rsp + 0x30], r12d
lea rcx, [rbp - 0x78]
call fcn.1803851b0
nop
mov qword [rsp + 0x50], r12
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.180385380
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov dword [rbp - 0x7c], r12d
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ecx, dword [0x1804dde58]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1804dfe30], ecx
jle 0x1803857c4
lea rcx, [0x1804dfe30]
call fcn.18038921c
cmp dword [0x1804dfe30], 0xffffffff
jne 0x1803857c4
call fcn.180384f40
lea rcx, [0x1803b1ce0]
call fcn.180388940
nop
lea rcx, [0x1804dfe30]
call fcn.1803891bc
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov r9, rdi
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x78]
call fcn.1803855d0
mov qword [rbp - 0x50], r12
mov dword [rbp - 0x48], 0x67452301
mov dword [rbp - 0x44], 0xefcdab89
mov dword [rbp - 0x40], 0x98badcfe
mov dword [rbp - 0x3c], 0x10325476
xor eax, eax
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rax
mov eax, dword [rsp + 0x68]
lea r13d, [rax*2 + 2]
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
mov r8d, r13d
lea rcx, [rbp - 0x50]
call fcn.180384180
mov ecx, dword [rbp - 0x50]
shr ecx, 3
and ecx, 0x3f
mov eax, 0x78
sub eax, ecx
mov r8d, 0x38
sub r8d, ecx
cmp ecx, 0x38
cmovae r8d, eax
mov r9d, r12d
lea rdx, [rbp + 0x12]
mov r10d, 2
nop dword [rax + rax]
mov eax, r9d
lea rcx, [rax*4]
movzx eax, byte [rbp + rcx - 0x50]
mov byte [rdx - 2], al
movzx eax, byte [rbp + rcx - 0x4f]
mov byte [rdx - 1], al
movzx eax, byte [rbp + rcx - 0x4e]
mov byte [rdx], al
movzx eax, byte [rbp + rcx - 0x4d]
mov byte [rdx + 1], al
inc r9d
lea rdx, [rdx + 4]
sub r10, 1
jne 0x180385890
lea rdx, [0x1804ce2f0]
lea rcx, [rbp - 0x50]
call fcn.180384180
mov eax, dword [rbp - 0x50]
mov ecx, eax
shr ecx, 3
and ecx, 0x3f
mov ebx, 0x40
sub ebx, ecx
add eax, 0x40
mov dword [rbp - 0x50], eax
cmp eax, 0x40
jae 0x1803858f7
inc dword [rbp - 0x4c]
cmp ebx, 8
ja 0x180385951
mov r8d, ebx
mov eax, ecx
lea rcx, [rbp - 0x38]
add rcx, rax
lea rdx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x48]
call fcn.180384260
lea edi, [rbx + 0x40]
cmp edi, 8
ja 0x18038594c
nop word [rax + rax]
mov eax, ebx
lea rdx, [rbp + 0x10]
add rdx, rax
lea rcx, [rbp - 0x48]
call fcn.180384260
mov ebx, edi
add edi, 0x40
cmp edi, 8
jbe 0x180385930
mov ecx, r12d
jmp 0x180385954
mov ebx, r12d
mov r8d, 8
sub r8d, ebx
mov eax, ebx
lea rdx, [rbp + 0x10]
add rdx, rax
mov eax, ecx
lea rcx, [rbp - 0x38]
add rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov r8d, r12d
lea rdx, [rbp + 0x22]
mov r9d, 4
nop dword [rax]
nop word [rax + rax]
mov eax, r8d
lea rcx, [rax*4]
movzx eax, byte [rbp + rcx - 0x48]
mov byte [rdx - 2], al
movzx eax, byte [rbp + rcx - 0x47]
mov byte [rdx - 1], al
movzx eax, byte [rbp + rcx - 0x46]
mov byte [rdx], al
movzx eax, byte [rbp + rcx - 0x45]
mov byte [rdx + 1], al
inc r8d
lea rdx, [rdx + 4]
sub r9, 1
jne 0x180385990
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x68], xmm0
mov qword [rbp + 0x78], r12
lea r14, [rsp + 0x58]
mov rbx, qword [rsp + 0x58]
mov r15, qword [rsp + 0x70]
cmp r15, 8
cmovae r14, rbx
shr r13d, 2
test r13b, 1
lea edi, [r13 - 1]
cmove edi, r13d
cmp edi, 2
jb 0x180385c1c
mov dword [rsp + 0x20], edi
lea r9, [rsp + 0x38]
lea r8, [rbp + 0x20]
mov edx, edi
mov rcx, r14
call fcn.180384b40
test al, al
je 0x180385c1c
mov dword [rsp + 0x20], edi
lea r9, [rbp + 0x10]
lea r8, [rbp + 0x20]
mov edx, edi
mov rcx, r14
call fcn.180384d40
test al, al
je 0x180385c1c
mov eax, dword [rbp + 0x10]
xor eax, dword [rsp + 0x38]
mov dword [rbp + 0x60], eax
mov eax, dword [rbp + 0x14]
xor eax, dword [rsp + 0x3c]
mov dword [rbp + 0x64], eax
xor eax, eax
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rax
mov r9d, r12d
mov r10d, r12d
lea r11, [rbp + 0x22]
lea r14, [0x1803c04a0]
nop word [rax + rax]
movsxd rdi, r10d
mov eax, r9d
movzx ecx, byte [rbp + rax + 0x60]
inc r9d
cmp r9d, 8
jb 0x180385aa9
xor r8b, r8b
jmp 0x180385ab2
movzx r8d, byte [rbp + r9 + 0x60]
inc r9d
cmp r9d, 8
jb 0x180385abc
xor dl, dl
jmp 0x180385ac5
movzx edx, byte [rbp + r9 + 0x60]
inc r9d
movzx ecx, cl
mov eax, ecx
shr rax, 2
movsx eax, byte [rax + r14]
mov word [r11 - 2], ax
movzx r8d, r8b
mov eax, r8d
shr rax, 4
and ecx, 3
shl rcx, 4
or rax, rcx
movsx eax, byte [rax + r14]
mov word [r11], ax
movzx edx, dl
mov eax, edx
and eax, 0x3f
movsx ecx, byte [rax + r14]
shr rdx, 6
and r8d, 0xf
shl r8, 2
or rdx, r8
movsx eax, byte [rdx + r14]
mov word [r11 + 2], ax
mov word [r11 + 4], cx
add r10d, 4
add r11, 8
cmp r9d, 8
jb 0x180385a90
mov ecx, 0x3d
mov word [rbp + rdi*2 + 0x26], cx
movsxd rax, r10d
mov word [rbp + rax*2 + 0x20], r12w
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
lea rax, [rbp + 0x20]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x180385b61
lea rdx, [rbp + 0x20]
mov rcx, rsi
call fcn.180004ea0
mov dword [rsp + 0x30], 1
cmp r15, 8
jb 0x180385bbe
lea rdx, [r15*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x180385bb6
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180385bb6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180388460
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x180385cc9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180385cc4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180385cc4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 7
mov word [rsi], r12w
mov dword [rsp + 0x30], 1
cmp r15, 8
jb 0x180385c72
lea rdx, [r15*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x180385c6a
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180385c6a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180388460
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x180385cc9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180385cc4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180385cc4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8770]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r12w
mov rax, rsi
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.180388400
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret