Function at 0x33aaf6360
Capabilities:
Encode data using base64
Parse pe header

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rdx, qword [rcx + 0x18]
movzx eax, byte [rdx]
mov rbx, rcx
cmp al, 0x4c
je 0x33aaf66b0
cmp al, 0x54
je 0x33aaf66c0
cmp al, 0x73
je 0x33aaf63e0
cmp al, 0x66
je 0x33aaf6450
lea ecx, [rax - 0x30]
cmp cl, 9
jbe 0x33aaf63ac
cmp al, 0x6f
jne 0x33aaf64b0
cmp byte [rdx + 1], 0x6e
jne 0x33aaf63f4
add rdx, 2
mov qword [rbx + 0x18], rdx
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.33aaf4460
mov rsi, rax
test rax, rax
je 0x33aaf66a0
mov rax, qword [rbx + 0x18]
cmp byte [rax], 0x49
je 0x33aaf65e8
mov rax, rsi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
movzx eax, byte [rdx + 1]
cmp al, 0x72
je 0x33aaf6560
cmp al, 0x70
je 0x33aaf6830
mov rcx, rbx
call fcn.33aaf3930
mov rsi, rax
test rax, rax
je 0x33aaf66a0
mov eax, dword [rax]
cmp eax, 0x33
je 0x33aaf6510
cmp eax, 0x34
je 0x33aaf6708
cmp eax, 0x35
jne 0x33aaf66a0
mov rax, qword [rbx + 0x18]
cmp byte [rax], 0x5f
je 0x33aaf67c6
mov rcx, rbx
call fcn.33aaf6360
mov r9, rax
mov r8, rsi
mov edx, 0x38
jmp 0x33aaf6603
cmp byte [rdx + 1], 0x70
jne 0x33aaf63f4
lea rax, [rdx + 2]
mov qword [rcx + 0x18], rax
cmp byte [rdx + 2], 0x54
je 0x33aaf6820
call fcn.33aaf2310
lea edx, [rax + 1]
not eax
test eax, 0x7fffffff
je 0x33aaf66a0
mov eax, dword [rbx + 0x28]
cmp eax, dword [rbx + 0x2c]
jge 0x33aaf66a0
movsxd rsi, eax
add eax, 1
shl rsi, 5
add rsi, qword [rbx + 0x20]
mov qword [rsi + 4], 0
mov dword [rbx + 0x28], eax
mov dword [rsi], 6
mov dword [rsi + 0x10], edx
jmp 0x33aaf63d2
cmp al, 0x69
je 0x33aaf64bc
cmp al, 0x74
jne 0x33aaf66d0
cmp byte [rdx + 1], 0x6c
jne 0x33aaf63f4
add rdx, 2
xor esi, esi
mov qword [rbx + 0x18], rdx
cmp al, 0x74
je 0x33aaf68f0
cmp byte [rdx], 0
je 0x33aaf66a0
cmp byte [rdx + 1], 0
je 0x33aaf66a0
mov edx, 0x45
mov rcx, rbx
call fcn.33aaf7000
mov r8, rsi
mov edx, 0x32
mov r9, rax
jmp 0x33aaf6603
mov rdx, qword [rsi + 0x10]
mov rdi, qword [rdx]
mov eax, dword [rdx + 0x10]
sub eax, 2
add dword [rbx + 0x48], eax
movzx eax, byte [rdi]
cmp eax, 0x73
jne 0x33aaf6618
cmp byte [rdi + 1], 0x74
jne 0x33aaf6618
cmp byte [rdi + 2], 0
jne 0x33aaf6618
mov rcx, rbx
call fcn.33aaf2bf0
mov r8, rsi
mov edx, 0x38
mov r9, rax
jmp 0x33aaf6603
lea rax, [rdx + 2]
mov qword [rcx + 0x18], rax
mov eax, dword [rcx + 0x54]
test eax, eax
je 0x33aaf6855
movzx eax, byte [rdx + 2]
cmp al, 0x39
jle 0x33aaf684d
sub eax, 0x43
cmp al, 0x37
ja 0x33aaf6855
movabs rdx, 0xffffffc0040201
bt rdx, rax
jae 0x33aaf6855
mov dword [rbx + 0x54], 0xffffffff
xor edx, edx
mov rcx, rbx
call fcn.33aaf60e0
mov rdx, rax
mov rax, qword [rbx + 0x18]
cmp byte [rax], 0x45
jne 0x33aaf65c8
add rax, 1
mov qword [rbx + 0x18], rax
nop dword [rax + rax]
xor r8d, r8d
mov rcx, rbx
call fcn.33aaf4460
mov rsi, rax
mov rax, qword [rbx + 0x18]
cmp byte [rax], 0x49
jne 0x33aaf63d2
nop dword [rax + rax]
add rax, 1
mov rcx, rbx
mov qword [rbx + 0x18], rax
call fcn.33aaf5f20
mov r8, rsi
mov edx, 4
mov r9, rax
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.33aaf1a80
mov ebp, dword [rdx + 0x14]
cmp ebp, 2
je 0x33aaf6730
jg 0x33aaf6868
test ebp, ebp
je 0x33aaf671d
cmp ebp, 1
jne 0x33aaf66a0
movzx edx, byte [rdi]
cmp dl, 0x6d
je 0x33aaf67e8
cmp dl, 0x70
je 0x33aaf67e8
xor ebp, ebp
cmp eax, 0x73
jne 0x33aaf6810
cmp byte [rdi + 1], 0x50
jne 0x33aaf6810
cmp byte [rdi + 2], 0
jne 0x33aaf6810
mov rcx, rbx
call fcn.33aaf5f20
mov r9, rax
test ebp, ebp
je 0x33aaf643d
mov r8, r9
mov edx, 0x3a
mov rcx, rbx
call fcn.33aaf1a80
mov r9, rax
jmp 0x33aaf643d
xor esi, esi
mov rax, rsi
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.33aaf5d00
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp fcn.33aaf2950
cmp al, 0x75
jne 0x33aaf63f4
add rdx, 1
mov rcx, rbx
mov qword [rbx + 0x18], rdx
call fcn.33aaf24a0
mov rcx, rbx
mov rsi, rax
call fcn.33aaf5f20
mov r8, rsi
mov edx, 0x40
mov r9, rax
jmp 0x33aaf6603
mov eax, dword [rsi + 0x10]
cmp eax, 1
je 0x33aaf6432
cmp eax, 3
je 0x33aaf66a0
test eax, eax
jne 0x33aaf66a0
xor r9d, r9d
mov r8, rsi
mov edx, 0x37
jmp 0x33aaf6603
cmp byte [rdi + 1], 0x63
movzx edx, byte [rdi]
je 0x33aaf6a24
cmp dl, 0x66
je 0x33aaf6a89
cmp eax, 0x64
jne 0x33aaf6a6d
cmp byte [rdi + 1], 0x69
jne 0x33aaf6a6d
cmp byte [rdi + 2], 0
jne 0x33aaf6a6d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.33aaf4460
mov rbp, rax
movzx eax, byte [rdi]
cmp eax, 0x63
jne 0x33aaf69a0
cmp byte [rdi + 1], 0x6c
jne 0x33aaf69a0
cmp byte [rdi + 2], 0
jne 0x33aaf69a0
mov edx, 0x45
mov rcx, rbx
call fcn.33aaf7000
mov rdi, rax
mov r9, rdi
mov r8, rbp
mov edx, 0x3a
mov rcx, rbx
call fcn.33aaf1a80
mov r8, rsi
mov edx, 0x39
mov r9, rax
jmp 0x33aaf6603
add rax, 1
mov edx, 0x45
mov rcx, rbx
mov qword [rbx + 0x18], rax
call fcn.33aaf7000
mov r9, rax
jmp 0x33aaf643d
cmp byte [rdi + 1], dl
jne 0x33aaf664c
mov rdx, qword [rbx + 0x18]
cmp byte [rdx], 0x5f
jne 0x33aaf664e
add rdx, 1
mov qword [rbx + 0x18], rdx
movzx eax, byte [rdi]
jmp 0x33aaf664c
mov rcx, rbx
call fcn.33aaf6360
mov r9, rax
jmp 0x33aaf6676
add rdx, 3
mov qword [rcx + 0x18], rdx
xor edx, edx
jmp 0x33aaf647d
add rdx, 2
mov qword [rcx + 0x18], rdx
call fcn.33aaf6360
xor r9d, r9d
mov edx, 0x4d
mov r8, rax
jmp 0x33aaf6603
cmp al, 0x2f
jg 0x33aaf659e
mov rcx, rbx
call fcn.33aaf2bf0
mov rdx, rax
jmp 0x33aaf65c8
cmp ebp, 3
jne 0x33aaf66a0
cmp eax, 0x71
jne 0x33aaf6908
cmp byte [rdi + 1], 0x75
jne 0x33aaf6908
cmp byte [rdi + 2], 0
jne 0x33aaf6908
mov rcx, rbx
call fcn.33aaf6360
mov rcx, rbx
mov rdi, rax
call fcn.33aaf6360
mov rcx, rbx
mov rbp, rax
call fcn.33aaf6360
mov r9, rax
test rax, rax
je 0x33aaf66a0
mov r8, rbp
mov edx, 0x3d
mov rcx, rbx
call fcn.33aaf1a80
mov r8, rdi
mov edx, 0x3c
mov rcx, rbx
mov r9, rax
call fcn.33aaf1a80
mov r8, rsi
mov edx, 0x3b
mov r9, rax
jmp 0x33aaf6603
mov rcx, rbx
call fcn.33aaf2bf0
mov rdx, qword [rbx + 0x18]
mov rsi, rax
jmp 0x33aaf64d8
cmp eax, 0x64
jne 0x33aaf691d
cmp byte [rdi + 1], 0x58
jne 0x33aaf691d
cmp byte [rdi + 2], 0
je 0x33aaf688a
movzx eax, byte [rdi]
cmp al, 0x66
je 0x33aaf6a99
cmp al, 0x6e
jne 0x33aaf66a0
movzx eax, byte [rdi + 1]
cmp al, 0x77
je 0x33aaf6940
cmp al, 0x61
jne 0x33aaf66a0
mov edx, 0x5f
mov rcx, rbx
call fcn.33aaf7000
mov rcx, rbx
mov rdi, rax
call fcn.33aaf2bf0
mov rbp, rax
mov rax, qword [rbx + 0x18]
movzx edx, byte [rax]
cmp dl, 0x45
je 0x33aaf6acd
cmp dl, 0x70
je 0x33aaf6aa6
cmp dl, 0x69
jne 0x33aaf66a0
cmp byte [rax + 1], 0x6c
jne 0x33aaf66a0
mov rcx, rbx
call fcn.33aaf6360
mov r9, rax
jmp 0x33aaf68b4
cmp eax, 0x64
jne 0x33aaf6a48
cmp byte [rdi + 1], 0x74
jne 0x33aaf6a48
cmp byte [rdi + 2], 0
jne 0x33aaf6a48
mov rax, qword [rbx + 0x18]
movzx edx, byte [rax]
cmp dl, 0x67
je 0x33aaf6a7d
cmp dl, 0x73
jne 0x33aaf69dc
cmp byte [rax + 1], 0x72
je 0x33aaf6a5d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.33aaf4460
mov rdi, rax
mov rax, qword [rbx + 0x18]
cmp byte [rax], 0x49
jne 0x33aaf67a3
add rax, 1
mov rcx, rbx
mov qword [rbx + 0x18], rax
call fcn.33aaf5f20
mov r8, rdi
mov edx, 4
mov rcx, rbx
mov r9, rax
call fcn.33aaf1a80
mov rdi, rax
jmp 0x33aaf67a3
lea ecx, [rdx - 0x72]
cmp cl, 1
jbe 0x33aaf6a38
lea ecx, [rdx - 0x63]
cmp cl, 1
ja 0x33aaf673d
mov rcx, rbx
call fcn.33aaf2bf0
mov rbp, rax
jmp 0x33aaf6773
cmp eax, 0x70
jne 0x33aaf6a5d
cmp byte [rdi + 1], 0x74
jne 0x33aaf6a5d
cmp byte [rdi + 2], 0
je 0x33aaf69bd
mov rcx, rbx
call fcn.33aaf6360
mov rdi, rax
jmp 0x33aaf67a3
mov rcx, rbx
call fcn.33aaf6360
mov rbp, rax
jmp 0x33aaf6773
cmp byte [rax + 1], 0x73
jne 0x33aaf69dc
jmp 0x33aaf6a5d
mov rcx, rbx
call fcn.33aaf3930
mov rbp, rax
jmp 0x33aaf6773
mov rcx, rbx
call fcn.33aaf3930
jmp 0x33aaf6892
cmp byte [rax + 1], 0x69
jne 0x33aaf66a0
add rax, 2
mov edx, 0x45
mov rcx, rbx
mov qword [rbx + 0x18], rax
call fcn.33aaf7000
mov r9, rax
jmp 0x33aaf68b4
add rax, 1
xor r9d, r9d
mov qword [rbx + 0x18], rax
jmp 0x33aaf68b4