Function at 0x6a4f32
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x38]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x34], 0
je 0x6a4f98
cmp dword [ebp - 0x2c], 0
jne 0x6a4fa2
mov eax, 0xffffffff
jmp 0x6a5493
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.006a4d43
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, 1
cmp dword [ebp - 0x30], eax
jae 0x6a4fcc
mov eax, 0xffffffff
jmp 0x6a5493
cmp dword [ebp - 0x30], 0x7fffffef
jbe 0x6a4fdf
mov eax, 0xffffffff
jmp 0x6a5493
mov eax, dword [ebp - 0x10]
test eax, eax
jns 0x6a4ff0
mov eax, 0xffffffff
jmp 0x6a5493
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sub.msvcrt.dll_memset
jmp 0x6a5162
mov eax, dword [ebp - 0x20]
shl eax, 8
mov edx, eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
movzx eax, al
or eax, edx
mov dword [ebp - 0x20], eax
add dword [ebp - 0x18], 1
cmp dword [ebp - 0x18], 3
jne 0x6a515e
mov eax, dword [ebp - 0x20]
shr eax, 0x12
and eax, 0x3f
mov ecx, eax
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
movzx edx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_d___dest___ptrdiff_t_enclen]
mov byte [eax], dl
mov eax, dword [ebp - 0x3c]
and eax, 1
test eax, eax
je 0x6a507b
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
and eax, 0x3f
test eax, eax
jne 0x6a507b
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
mov byte [eax], 0xa
mov eax, dword [ebp - 0x20]
shr eax, 0xc
and eax, 0x3f
mov ecx, eax
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
movzx edx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_d___dest___ptrdiff_t_enclen]
mov byte [eax], dl
mov eax, dword [ebp - 0x3c]
and eax, 1
test eax, eax
je 0x6a50c3
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
and eax, 0x3f
test eax, eax
jne 0x6a50c3
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
mov byte [eax], 0xa
mov eax, dword [ebp - 0x20]
shr eax, 6
and eax, 0x3f
mov ecx, eax
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
movzx edx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_d___dest___ptrdiff_t_enclen]
mov byte [eax], dl
mov eax, dword [ebp - 0x3c]
and eax, 1
test eax, eax
je 0x6a510b
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
and eax, 0x3f
test eax, eax
jne 0x6a510b
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
mov byte [eax], 0xa
mov eax, dword [ebp - 0x20]
and eax, 0x3f
mov ecx, eax
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
movzx edx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_d___dest___ptrdiff_t_enclen]
mov byte [eax], dl
mov eax, dword [ebp - 0x3c]
and eax, 1
test eax, eax
je 0x6a5150
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
and eax, 0x3f
test eax, eax
jne 0x6a5150
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
mov byte [eax], 0xa
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
add dword [ebp - 0x28], 1
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x14]
jb 0x6a500f
cmp dword [ebp - 0x18], 2
je 0x6a52a2
cmp dword [ebp - 0x18], 2
jg 0x6a53b8
cmp dword [ebp - 0x18], 0
je 0x6a5411
cmp dword [ebp - 0x18], 1
jne 0x6a53b8
shl dword [ebp - 0x20], 4
mov eax, dword [ebp - 0x20]
shr eax, 6
and eax, 0x3f
mov ecx, eax
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
movzx edx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_d___dest___ptrdiff_t_enclen]
mov byte [eax], dl
mov eax, dword [ebp - 0x3c]
and eax, 1
test eax, eax
je 0x6a51e2
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
and eax, 0x3f
test eax, eax
jne 0x6a51e2
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
mov byte [eax], 0xa
mov eax, dword [ebp - 0x20]
and eax, 0x3f
mov ecx, eax
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
movzx edx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_d___dest___ptrdiff_t_enclen]
mov byte [eax], dl
mov eax, dword [ebp - 0x3c]
and eax, 1
test eax, eax
je 0x6a5227
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
and eax, 0x3f
test eax, eax
jne 0x6a5227
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
mov byte [eax], 0xa
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
mov byte [eax], 0x3d
mov eax, dword [ebp - 0x3c]
and eax, 1
test eax, eax
je 0x6a525e
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
and eax, 0x3f
test eax, eax
jne 0x6a525e
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
mov byte [eax], 0xa
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
mov byte [eax], 0x3d
mov eax, dword [ebp - 0x3c]
and eax, 1
test eax, eax
je 0x6a5414
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
and eax, 0x3f
test eax, eax
jne 0x6a5414
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
mov byte [eax], 0xa
jmp 0x6a5414
shl dword [ebp - 0x20], 2
mov eax, dword [ebp - 0x20]
shr eax, 0xc
and eax, 0x3f
mov ecx, eax
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
movzx edx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_d___dest___ptrdiff_t_enclen]
mov byte [eax], dl
mov eax, dword [ebp - 0x3c]
and eax, 1
test eax, eax
je 0x6a52ee
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
and eax, 0x3f
test eax, eax
jne 0x6a52ee
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
mov byte [eax], 0xa
mov eax, dword [ebp - 0x20]
shr eax, 6
and eax, 0x3f
mov ecx, eax
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
movzx edx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_d___dest___ptrdiff_t_enclen]
mov byte [eax], dl
mov eax, dword [ebp - 0x3c]
and eax, 1
test eax, eax
je 0x6a5336
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
and eax, 0x3f
test eax, eax
jne 0x6a5336
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
mov byte [eax], 0xa
mov eax, dword [ebp - 0x20]
and eax, 0x3f
mov ecx, eax
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
movzx edx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_d___dest___ptrdiff_t_enclen]
mov byte [eax], dl
mov eax, dword [ebp - 0x3c]
and eax, 1
test eax, eax
je 0x6a537b
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
and eax, 0x3f
test eax, eax
jne 0x6a537b
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
mov byte [eax], 0xa
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
mov byte [eax], 0x3d
mov eax, dword [ebp - 0x3c]
and eax, 1
test eax, eax
je 0x6a5417
add dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
and eax, 0x3f
test eax, eax
jne 0x6a5417
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
mov byte [eax], 0xa
jmp 0x6a5417
mov eax, dword [0x7ccd04]
test eax, eax
jne 0x6a5407
mov dword [0x7ccd04], 1
mov dword [esp], str.src_lib_encoding_binascii.c
call fcn.006c14d2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.base64_encode
mov dword [esp + 4], 0x130
mov dword [esp], eax
call fcn.006c12a3
mov eax, 0xffffffff
jmp 0x6a5493
nop
jmp 0x6a5418
nop
jmp 0x6a5418
nop
mov eax, dword [ebp - 0x3c]
and eax, 1
test eax, eax
je 0x6a5434
cmp dword [ebp - 0x1c], 0
je 0x6a5434
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
mov byte [eax], 0xa
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
mov edx, eax
mov eax, dword [ebp - 0x10]
cmp edx, eax
sete al
movzx eax, al
test eax, eax
jne 0x6a5484
mov dword [esp], str.src_lib_encoding_binascii.c
call fcn.006c14d2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x790600
mov dword [esp + 8], str.base64_encode
mov dword [esp + 4], 0x13d
mov dword [esp], eax
call fcn.006c1140
call fcn.006c14b8
mov eax, dword [ebp - 0x24]
lea edx, [eax + 1]
mov dword [ebp - 0x24], edx
mov byte [eax], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x6a54a3
call sub.libssp_0.dll___stack_chk_fail
leave
ret