Function at 0x18000d700
Capabilities:
Encode data using base64
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x1800312f8]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov r12, r9
mov r11, r8
mov qword [rbp - 0x78], r8
mov qword [rsp + 0x68], rdx
mov qword [rbp - 0x48], rcx
mov r8, qword [rbp + 0xc0]
mov qword [rsp + 0x60], r8
mov r10, qword [rbp + 0xc8]
mov qword [rsp + 0x78], r10
mov rax, qword [rbp + 0xd0]
mov qword [rbp - 0x40], rax
mov r9, qword [rbp + 0xe0]
mov qword [rsp + 0x70], r9
mov rbx, qword [rbp + 0xf0]
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
xor edi, edi
mov qword [rbp - 0x68], rdi
mov eax, dword [rbp + 0xd8]
lea esi, [rax - 0xa]
mov dword [rsp + 0x50], esi
cmp eax, esi
jbe 0x18000d913
lea r15d, [rax - 0x4b]
mov dword [rsp + 0x58], r15d
mov r14, qword [rbp - 0x58]
mov rsi, qword [rbp - 0x58]
mov r13d, dword [rbp - 0x6c]
mov ecx, dword [rsp + 0x50]
nop
cmp r15d, 0x16
ja case.default.0x18000d7e3
lea rcx, [0x180000000]
mov ecx, dword [rcx + r15*4 + 0xdddc]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
mov r9, qword [rbp - 0x50]
cmp r9, qword [r12 + 0x10]
jae 0x18000d8f6
mov edx, 0xf1
mov edi, dword [rbp - 0x6c]
nop dword [rax]
cmp edx, 0xf1
je 0x18000d8cf
cmp edx, 0x1a1
je 0x18000d8b8
cmp edx, 0x251
je 0x18000d899
cmp edx, 0x301
je 0x18000d83f
cmp edx, 0x3b1
jne 0x18000d8d3
mov byte [rsi], 0x3d
inc rsi
jmp 0x18000d8d3
mov ecx, edi
and ecx, 3
shl ecx, 4
mov eax, r13d
shr eax, 4
add ecx, eax
mov rax, qword [0x180031458]
movzx ecx, byte [rcx + rax]
mov byte [rsi], cl
lea rax, [r9 + 1]
cmp rax, qword [r12 + 0x10]
jae 0x18000d88c
mov ecx, r13d
and ecx, 0xf
mov eax, dword [rbp - 0x60]
shr eax, 6
lea ecx, [rax + rcx*4]
mov rax, qword [0x180031458]
movzx r8d, byte [rcx + rax]
mov byte [rsi + 1], r8b
add rsi, 2
jmp 0x18000d8d3
mov r8b, 0x3d
mov byte [rsi + 1], r8b
add rsi, 2
jmp 0x18000d8d3
mov dword [rbp - 0x60], 0
mov ecx, edi
shr rcx, 2
mov rax, qword [0x180031458]
movzx ecx, byte [rcx + rax]
mov byte [rsi], cl
inc rsi
jmp 0x18000d8d3
lea rax, [r9 + 1]
cmp rax, qword [r12 + 0x10]
jae 0x18000d8ca
movzx r13d, byte [r14 + 1]
jmp 0x18000d8d3
xor r13d, r13d
jmp 0x18000d8d3
movzx edi, byte [r14]
add edx, 0xb0
cmp edx, 0x461
jb 0x18000d800
mov dword [rbp - 0x6c], edi
mov rdi, qword [rbp - 0x68]
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x50]
dec r15d
mov dword [rsp + 0x58], r15d
lea eax, [r15 + 0x4b]
cmp eax, ecx
ja 0x18000d7c0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x18000ddb3
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000ddae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000ddae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r8, qword [rbp - 0x80]
mov edx, 0x55
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
jne 0x18000dd4f
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
jne 0x18000d997
lea edx, [rax + 0x22]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_strchr
test rax, rax
je 0x18000dd2f
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r10, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov r11, qword [rbp - 0x78]
jmp 0x18000d8f6
lea r8, [rbp - 0x30]
mov edx, 0x2e
xor ecx, ecx
call fcn.18000bd50
mov rdi, rbx
mov qword [rbp - 0x68], rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18000d9a1
mov rdi, qword [rbx]
mov qword [rbp - 0x68], rdi
jmp 0x18000d9a1
xor eax, eax
mov qword [rbp - 0x50], rax
mov r8, qword [rbp - 0x38]
test r8, r8
je 0x18000dac9
lea rcx, [r8 - 1]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
mov r8, rdx
shr r8, 1
inc r8
lea rax, [r8 + r8*2]
mov qword [rbp - 0x50], rax
nop word [rax + rax]
mov edx, 0xbf
mov eax, edx
sub eax, 0xbf
je 0x18000da39
cmp eax, 0x3b
jne 0x18000daab
add r14, 3
jmp 0x18000daab
movzx ecx, byte [r14]
shr rcx, 2
mov rax, qword [0x180031458]
movzx ecx, byte [rcx + rax]
mov byte [rsi], cl
movzx ecx, byte [r14]
and ecx, 3
shl ecx, 4
movzx eax, byte [r14 + 1]
shr eax, 4
add ecx, eax
mov rax, qword [0x180031458]
movzx ecx, byte [rcx + rax]
mov byte [rsi + 1], cl
movzx ecx, byte [r14 + 1]
and ecx, 0xf
movzx eax, byte [r14 + 2]
shr eax, 6
lea ecx, [rax + rcx*4]
mov rax, qword [0x180031458]
movzx ecx, byte [rcx + rax]
mov byte [rsi + 2], cl
movzx ecx, byte [r14 + 2]
and ecx, 0x3f
mov rax, qword [0x180031458]
movzx ecx, byte [rcx + rax]
mov byte [rsi + 3], cl
add rsi, 4
add edx, 0x3b
cmp edx, 0x135
jb 0x18000da25
sub r8, 1
jne 0x18000da20
mov rdx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
jmp case.0x18000d7e3.3
mov dword [rsp + 0x58], 2
lea rax, [rbp - 0x10]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdx
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0x58]
lea r8, [rbp - 0x70]
mov edx, 0x71
mov rcx, r10
call fcn.1800199c0
jmp 0x18000d9a1
mov dword [rsp + 0x58], 1
lea rax, [rbp - 0x10]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r8
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r9
mov rax, qword [rbp + 0xe8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rbp - 0x70]
mov edx, 0x71
mov rcx, rbx
call fcn.1800199c0
xor r9d, r9d
xor r8d, r8d
mov edx, 0xaf
xor ecx, ecx
call fcn.180021fe0
mov r8, qword [rbp - 0x80]
mov edx, 0x55
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x18000dd84
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_feof]
test eax, eax
jne 0x18000dbc0
lea edx, [rax + 0x22]
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_strchr
test rax, rax
je 0x18000dd64
lea rcx, str.get_Topology
call fcn.180023d20
jmp 0x18000d9a1
mov rcx, qword [r12 + 0x10]
add rcx, 2
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
shl rdx, 2
xor r8d, r8d
mov rcx, rbx
call fcn.180023be0
mov r14, r12
cmp qword [r12 + 0x18], 0x10
jb 0x18000dc08
mov r14, qword [r12]
mov rsi, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18000dc15
mov rsi, qword [rbx]
movabs rax, 0xaaaaaaaaaaaaaaab
mul qword [r12 + 0x10]
shr rdx, 1
lea rax, [rdx + rdx*2]
mov qword [rbp - 0x38], rax
jmp 0x18000d9a1
xor r9d, r9d
xor r8d, r8d
mov edx, 0xaf
xor ecx, ecx
call fcn.180021fe0
jmp 0x18000d9a1
mov dword [rbp - 0x70], 0
lea rdx, [0x1800296ec]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov qword [rbp - 0x80], rax
mov r8, rax
mov edx, 0x55
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
test rax, rax
je 0x18000dd99
lea rcx, str.PumpMessage
call fcn.180023d20
jmp 0x18000d9a1
mov rbx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x18000dca1
mov rbx, qword [r12]
mov rcx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x18000dcb0
mov rcx, qword [r12]
add rcx, qword [r12 + 0x10]
cmp rbx, rcx
je 0x18000dd1d
lea r15, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae r15, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
test r8, r8
je 0x18000dce6
movsx edx, byte [rbx]
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x18000dce6
sub rax, r15
jmp 0x18000dced
mov rax, 0xffffffffffffffff
xor ecx, ecx
cmp rax, 0xffffffffffffffff
cmovne rcx, rax
movzx edx, byte [rdi]
mov rax, qword [rsp + 0x78]
call qword [rax]
inc rdi
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, qword [rbp - 0x30]
movzx eax, byte [rcx + rax]
mov byte [rbx], al
inc rbx
jmp 0x18000dca1
mov qword [rbp - 0x68], rdi
mov r15d, dword [rsp + 0x58]
mov rbx, qword [rbp - 0x58]
jmp 0x18000d9a1
mov r8d, 5
mov rdx, qword [rsp + 0x68]
lea rcx, str.PostDumpOperandRegisterToStringEventHandler
call fcn.180023d20
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, str.Failed_to_add_port__ld_with_error__08lX
call fcn.180023d20
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r8d, 5
mov rdx, qword [rsp + 0x60]
lea rcx, str.CAuthenticationSRP_Active__invalid_step__1_
call fcn.180023d20
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, str.Monteaza_Drive_virtual
call fcn.180023d20
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, str.o_de_arranque
call fcn.180023d20
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.180023e38
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1800245e0
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret