Function at 0x180017680
Capabilities:
Check for time delay via gettickcount
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x18002c718]
xor rax, rsp
mov qword [rsp + 0xa8], rax
lea r10d, [rdx - 0x13]
mov qword [rsp + 0x48], r8
mov dword [rsp + 0x5c], edx
mov r9, r8
mov dword [rsp + 0x30], r10d
mov esi, edx
mov r12, rcx
cmp edx, r10d
jbe 0x180017cd8
mov rbp, qword [rsp + 0x60]
lea ebx, [rdx - 0xc3]
mov rdi, qword [rsp + 0x60]
lea rdx, [0x180000000]
mov r15d, dword [rsp + 0x50]
movabs r11, 0xaaaaaaaaaaaaaaab
mov r14d, dword [rsp + 0x54]
mov r13d, dword [rsp + 0x54]
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x38], ebx
mov ebx, dword [rsp + 0x54]
mov r10d, dword [rsp + 0x38]
mov dword [rsp + 0x58], ebx
xor r8d, r8d
cmp r10d, 0x27
ja case.default.0x180017733
mov eax, r10d
movzx eax, byte [rdx + rax + 0x17d58]
mov ecx, dword [rdx + rax*4 + 0x17d0c]
add rcx, rdx
jmp rcx
mov rax, r11
mov qword [rsp + 0x60], r8
mul qword [r12 + 0x10]
shr rdx, 1
lea rcx, [rdx + rdx*2]
test rcx, rcx
je 0x18001781c
dec rcx
mov rax, r11
mul rcx
shr rdx, 1
inc rdx
lea rax, [rdx + rdx*2]
mov qword [rsp + 0x60], rax
nop word [rax + rax]
mov r8d, 0x116
mov eax, r8d
sub eax, 0x116
je 0x1800177ea
sub eax, 1
je 0x180017790
cmp eax, 1
jne 0x180017802
add rbp, 3
jmp 0x180017802
movzx ecx, byte [rbp]
movzx eax, byte [rbp + 1]
and ecx, 3
shl ecx, 4
shr eax, 4
add ecx, eax
mov rax, qword [0x18002c878]
movzx ecx, byte [rcx + rax]
mov byte [rdi], cl
movzx ecx, byte [rbp + 1]
movzx eax, byte [rbp + 2]
and ecx, 0xf
shr eax, 6
lea ecx, [rax + rcx*4]
mov rax, qword [0x18002c878]
movzx ecx, byte [rcx + rax]
mov byte [rdi + 1], cl
movzx ecx, byte [rbp + 2]
mov rax, qword [0x18002c878]
and ecx, 0x3f
movzx ecx, byte [rcx + rax]
mov byte [rdi + 2], cl
add rdi, 3
jmp 0x180017802
movzx ecx, byte [rbp]
mov rax, qword [0x18002c878]
shr rcx, 2
movzx ecx, byte [rcx + rax]
mov byte [rdi], cl
inc rdi
inc r8d
cmp r8d, 0x119
jb 0x180017776
sub rdx, 1
jne 0x180017770
lea rdx, [0x180000000]
mov eax, dword [rsp + 0x30]
dec esi
dec r10d
mov dword [rsp + 0x5c], esi
mov dword [rsp + 0x38], r10d
cmp esi, eax
jbe 0x180017cdc
jmp 0x180017711
mov edx, 0x128
nop word [rax + rax]
mov eax, edx
sub eax, 0x126
je 0x180017cdc
sub eax, 1
je 0x18001789c
cmp eax, 1
jne 0x1800178a3
movzx eax, word [r12]
cmp eax, 1
jne 0x180017883
mov r15d, dword [0x4002201c]
and r15d, eax
mov dword [rsp + 0x50], r15d
jmp 0x1800178a3
mov ecx, eax
mov r15d, r8d
mov eax, dword [0x4002200c]
test eax, ecx
setne r15b
mov dword [rsp + 0x50], r15d
jmp 0x1800178a3
mov ebx, r15d
mov dword [rsp + 0x58], ebx
dec edx
cmp edx, 0x125
ja 0x180017850
mov rdx, r12
mov ecx, 0x6d
call fcn.180011e00
test al, al
je 0x180017cc3
mov r9, qword [rsp + 0x48]
mov r10d, dword [rsp + 0x38]
movabs r11, 0xaaaaaaaaaaaaaaab
jmp 0x18001781c
movzx eax, byte [rsp + 0x34]
mov ecx, r8d
cmp qword [rsp + 0x70], 0
cmovne ecx, eax
mov byte [rsp + 0x34], cl
jmp case.0x180017733.18
mov r8d, 3
lea rdx, [0x1800253f8]
lea rcx, [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
jmp 0x1800178c2
mov esi, 0x2c
cmp esi, 0x2c
je 0x180017954
cmp esi, 0x14cc
je 0x180017940
cmp esi, 0x296c
je 0x180017937
cmp esi, 0x3e0c
je 0x180017cdc
jmp 0x180017965
mov ebx, r14d
mov dword [rsp + 0x58], ebx
jmp 0x180017965
cmp byte [rsp + 0x34], 0
je 0x180017965
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x180017965
mov rdx, qword [0x18002c7f8]
mov ecx, 0xbe
call fcn.18000b560
add esi, 0x14a0
cmp esi, 0x5280
jbe 0x180017914
mov esi, dword [rsp + 0x5c]
jmp 0x1800178c2
mov rcx, qword [0x18002c7f8]
xor edx, edx
mov r8d, 0x126
call fcn.180019cd0
test al, al
je 0x180017cd4
jmp 0x1800178c2
mov dword [rsp + 0x78], 0x38
jmp case.0x180017733.18
mov word [rsp + 0x8c], r8w
lea rdx, [0x180025462]
mov r8d, 3
lea rcx, [rsp + 0x8c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
xor eax, eax
lea rdx, [0x1800254ba]
lea rcx, [rsp + 0x78]
mov word [rsp + 0x92], ax
lea r8d, [rax + 2]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
jmp 0x1800178c2
mov r8d, 3
lea rdx, [0x1800254f6]
lea rcx, [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
jmp 0x1800178c2
mov dword [rsp + 0xa2], 0x67
jmp case.0x180017733.18
lea rcx, [rsp + 0x78]
mov r14d, r8d
call qword [sym.imp.SHLWAPI.dll_StrDupW]
mov rcx, qword [r12 + 0x28]
mov qword [rsp + 0x70], rax
call qword [r12 + 0x20]
test al, al
je 0x1800178c2
mov r15d, dword [rsp + 0x68]
mov esi, 0x92
nop
cmp esi, 0x92
je 0x180017a8c
cmp esi, 0x13f
je 0x180017a7e
cmp esi, 0x1ec
jne 0x180017aaf
mov eax, 0x10624dd3
mul r14d
mov r14d, edx
shr r14d, 6
call qword [r12 + 0x50]
jmp 0x180017aaf
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
sub r14d, r15d
jmp 0x180017aaf
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r9d, 0xd0
xor r8d, r8d
mov r15d, eax
mov rdx, r12
xor eax, eax
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.18001ab60
add esi, 0xad
cmp esi, 0x299
jb 0x180017a50
mov esi, dword [rsp + 0x5c]
mov dword [rsp + 0x68], r15d
mov r15d, dword [rsp + 0x50]
jmp 0x1800178c2
mov rcx, qword [r12 + 0x10]
mov rax, r11
add rcx, 2
xor r8d, r8d
mul rcx
mov rcx, r9
shr rdx, 1
shl rdx, 2
call fcn.180022300
cmp qword [r12 + 0x18], 0x10
mov rbp, r12
jb 0x180017b00
mov rbp, qword [r12]
mov r9, qword [rsp + 0x48]
mov rdi, r9
cmp qword [r9 + 0x18], 0x10
jb 0x1800178c7
mov rdi, qword [r9]
movabs r11, 0xaaaaaaaaaaaaaaab
mov r10d, dword [rsp + 0x38]
jmp 0x18001781c
mov r9, qword [rsp + 0x60]
cmp r9, qword [r12 + 0x10]
jae 0x180017cb9
mov r15d, dword [rsp + 0x54]
mov edx, 0xc6
mov ebx, dword [rsp + 0x6c]
cmp edx, 0xc6
je 0x180017bcc
cmp edx, 0x103e
je 0x180017b6c
cmp edx, 0x1fb6
jne 0x180017c00
mov byte [rdi], 0x3d
jmp 0x180017bfd
mov ecx, r15d
mov eax, r13d
and ecx, 3
shr eax, 4
shl ecx, 4
add ecx, eax
mov rax, qword [0x18002c878]
movzx ecx, byte [rcx + rax]
lea rax, [r9 + 1]
mov byte [rdi], cl
cmp rax, qword [r12 + 0x10]
jae 0x180017bbc
mov ecx, r13d
mov eax, ebx
and ecx, 0xf
shr eax, 6
lea ecx, [rax + rcx*4]
mov rax, qword [0x18002c878]
movzx r8d, byte [rcx + rax]
mov byte [rdi + 1], r8b
add rdi, 2
xor r8d, r8d
jmp 0x180017c00
mov r8b, 0x3d
mov byte [rdi + 1], r8b
add rdi, 2
xor r8d, r8d
jmp 0x180017c00
movzx r15d, byte [rbp]
lea rax, [r9 + 1]
cmp rax, qword [r12 + 0x10]
jae 0x180017be3
movzx r13d, byte [rbp + 1]
jmp 0x180017be6
mov r13d, r8d
mov rax, qword [0x18002c878]
mov rcx, r15
shr rcx, 2
mov ebx, r8d
movzx ecx, byte [rcx + rax]
mov byte [rdi], cl
inc rdi
add edx, 0xf78
cmp edx, 0x2e68
jbe 0x180017b48
mov r9, qword [rsp + 0x48]
mov dword [rsp + 0x6c], ebx
mov ebx, dword [rsp + 0x58]
mov dword [rsp + 0x54], r15d
mov r15d, dword [rsp + 0x50]
jmp 0x18001781c
mov r15d, r8d
mov dword [rsp + 0x50], r8d
jmp case.0x180017733.18
mov eax, 0x71
mov word [rsp + 0x8a], ax
jmp case.0x180017733.18
mov eax, dword [0x180025684]
lea rdx, [0x1800256e2]
mov dword [rsp + 0x7a], eax
lea rcx, [rsp + 0x78]
movzx eax, word [0x180025688]
mov word [rsp + 0x80], r8w
mov r8d, 3
mov word [rsp + 0x7e], ax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat]
mov dword [rsp + 0x86], 0x510072
jmp 0x1800178c2
mov rcx, qword [0x18002c7f8]
lea r8, [rsp + 0x40]
mov edx, 0x10d
mov byte [rsp + 0x34], 1
mov byte [rsp + 0x40], 1
call fcn.180010a00
jmp 0x1800178c2
mov r9, qword [rsp + 0x48]
jmp case.0x180017733.18
mov rdx, qword [0x18002c7f8]
mov ecx, 0xbe
call fcn.18000b560
xor eax, eax
jmp 0x180017cde
mov ebx, dword [rsp + 0x54]
mov eax, ebx
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.180022a70
mov rbx, qword [rsp + 0xf8]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret