Function at 0x6547f0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x6547f8
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x655044
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 1
mov eax, dword [ebx + 0xc]
movzx eax, word [eax]
cmp ax, 0x3f
jne 0x654fc7
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov eax, dword [ebx + 0xc]
movzx eax, word [eax]
add eax, 0xffffffdf
cmp eax, 0x5b
ja case.0x654851.34
movzx eax, byte [eax + 0x654858]
jmp dword [eax*4 + 0x6548b4]
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov eax, dword [ebx + 0xc]
movzx eax, word [eax]
cmp ax, 0x80
jae 0x654941
mov edx, dword [ebx + 0xc]
movzx edx, word [edx]
mov ecx, edx
and cl, 7
mov esi, 1
shl esi, cl
movzx eax, dl
shr eax, 3
movzx eax, byte [eax + 0x709a30]
and esi, eax
setne al
jmp 0x654943
xor eax, eax
test al, al
jne 0x654962
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065227c
mov eax, ebx
call fcn.00655090
jmp 0x655014
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00652868
xor edx, edx
sub edx, eax
mov dword [ebx + 0x28], edx
lea edx, [ebx + 0xc]
mov ecx, dword [ebp - 8]
mov eax, ebx
call fcn.0065226c
mov eax, dword [ebx + 0xc]
cmp word [eax], 0x29
je 0x6549a5
lea edx, [ebp - 0xc]
mov eax, dword [0x70ae48]
call fcn.0040a9ac
mov edx, dword [ebp - 0xc]
mov ecx, 0x655060
mov eax, ebx
call fcn.00652528
mov byte [ebx + 8], 0x34
jmp 0x655014
mov eax, ebx
call fcn.00655090
jmp 0x655014
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
jmp 0x6549fd
cmp si, 0x29
jne 0x6549ee
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov dl, 1
mov eax, ebx
call fcn.00653038
jmp 0x655021
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov eax, dword [ebx + 0xc]
movzx esi, word [eax]
test si, si
jne 0x6549cb
jmp 0x655014
mov byte [ebx + 8], 0x2b
jmp 0x655014
mov byte [ebx + 8], 9
jmp 0x655014
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov dx, 0x27
mov eax, ebx
call fcn.00654668
mov byte [ebx + 8], 0x11
jmp 0x655021
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov eax, dword [ebx + 0xc]
movzx eax, word [eax]
cmp ax, 0x3d
jne 0x654a66
mov byte [ebx + 8], 0x2f
jmp 0x655014
cmp ax, 0x21
jne 0x654a75
mov byte [ebx + 8], 0x30
jmp 0x655014
mov dx, 0x3e
mov eax, ebx
call fcn.00654668
mov byte [ebx + 8], 0x11
jmp 0x655021
mov byte [ebx + 8], 8
jmp 0x655014
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov eax, dword [ebx + 0xc]
movzx eax, word [eax]
cmp ax, 0x3c
jne 0x654ad0
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov dx, 0x3e
mov eax, ebx
call fcn.00654668
mov byte [ebx + 8], 0x11
jmp 0x655021
cmp ax, 0x3d
jne 0x654af9
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov dx, 0x29
mov eax, ebx
call fcn.00654668
mov byte [ebx + 8], 0x14
jmp 0x655021
cmp ax, 0x3e
jne 0x654b22
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov dx, 0x29
mov eax, ebx
call fcn.00654668
mov byte [ebx + 8], 0x33
jmp 0x655021
lea edx, [ebp - 0x10]
mov eax, dword [0x70ba08]
call fcn.0040a9ac
mov edx, dword [ebp - 0x10]
mov ecx, 0x655074
mov eax, ebx
call fcn.00652528
jmp 0x655014
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov eax, dword [ebx + 0xc]
movzx eax, word [eax]
cmp ax, 0x80
jae 0x654b84
mov edx, dword [ebx + 0xc]
movzx edx, word [edx]
mov ecx, edx
and cl, 7
mov esi, 1
shl esi, cl
movzx eax, dl
shr eax, 3
movzx eax, byte [eax + 0x709a30]
and esi, eax
setne al
jmp 0x654b86
xor eax, eax
test al, al
je 0x654bd2
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00652868
mov dword [ebx + 0x28], eax
lea edx, [ebx + 0xc]
mov ecx, dword [ebp - 8]
mov eax, ebx
call fcn.0065226c
mov eax, dword [ebx + 0xc]
cmp word [eax], 0x29
je 0x654bc9
lea edx, [ebp - 0x14]
mov eax, dword [0x70ae48]
call fcn.0040a9ac
mov edx, dword [ebp - 0x14]
mov ecx, 0x655060
mov eax, ebx
call fcn.00652528
mov byte [ebx + 8], 0x34
jmp 0x655014
lea edx, [ebp - 0x18]
mov eax, dword [0x70af14]
call fcn.0040a9ac
mov edx, dword [ebp - 0x18]
mov ecx, 0x655060
mov eax, ebx
call fcn.00652528
jmp 0x655014
mov byte [ebx + 8], 0x2d
jmp 0x655014
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov eax, dword [ebx + 0xc]
cmp word [eax], 0x29
jne 0x654c1d
mov byte [ebx + 8], 0x3a
jmp 0x655014
mov byte [ebx + 8], 0x2e
jmp 0x655021
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov esi, dword [ebx + 0xc]
movzx eax, word [esi]
cmp ax, 0x80
jae 0x654c67
mov edx, dword [ebx + 0xc]
movzx edx, word [edx]
mov ecx, edx
and cl, 7
mov edi, 1
shl edi, cl
movzx edx, dl
shr edx, 3
movzx edx, byte [edx + 0x709a30]
and edi, edx
setne dl
jmp 0x654c69
xor edx, edx
test dl, dl
je 0x654cac
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00652868
mov dword [ebx + 0x28], eax
lea edx, [ebx + 0xc]
mov ecx, dword [ebp - 8]
mov eax, ebx
call fcn.0065226c
mov eax, dword [ebx + 0xc]
cmp word [eax], 0x29
jne 0x654e64
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov byte [ebx + 8], 0x36
jmp 0x655021
cmp ax, 0x3c
jne 0x654cf1
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov dx, 0x3e
mov eax, ebx
call fcn.00654668
mov eax, dword [ebx + 0xc]
cmp word [eax], 0x29
jne 0x654e64
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov byte [ebx + 8], 0x36
jmp 0x655021
cmp ax, 0x27
jne 0x654d36
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov dx, 0x27
mov eax, ebx
call fcn.00654668
mov eax, dword [ebx + 0xc]
cmp word [eax], 0x29
jne 0x654e64
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov byte [ebx + 8], 0x36
jmp 0x655021
cmp ax, 0x52
jne 0x654e12
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov eax, dword [ebx + 0xc]
movzx eax, word [eax]
cmp ax, 0x29
jne 0x654d78
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
xor eax, eax
mov dword [ebx + 0x28], eax
mov byte [ebx + 8], 0x3c
jmp 0x655021
cmp ax, 0x80
jae 0x654da4
mov edx, dword [ebx + 0xc]
movzx edx, word [edx]
mov ecx, edx
and cl, 7
mov esi, 1
shl esi, cl
movzx edx, dl
shr edx, 3
movzx edx, byte [edx + 0x709a30]
and esi, edx
setne dl
jmp 0x654da6
xor edx, edx
test dl, dl
je 0x654de9
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00652868
mov dword [ebx + 0x28], eax
lea edx, [ebx + 0xc]
mov ecx, dword [ebp - 8]
mov eax, ebx
call fcn.0065226c
mov eax, dword [ebx + 0xc]
cmp word [eax], 0x29
jne 0x654e64
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov byte [ebx + 8], 0x3c
jmp 0x655021
cmp ax, 0x26
jne 0x654e64
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov dx, 0x29
mov eax, ebx
call fcn.00654668
mov byte [ebx + 8], 0x3c
jmp 0x655021
mov edx, 0x655080
mov ecx, 6
mov eax, esi
call fcn.004169d0
test eax, eax
jne 0x654e57
lea edx, [ebx + 0xc]
mov ecx, 6
mov eax, ebx
call fcn.0065226c
mov eax, dword [ebx + 0xc]
cmp word [eax], 0x29
jne 0x654e64
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov byte [ebx + 8], 0x3d
jmp 0x655021
sub dword [ebx + 0xc], 2
mov byte [ebx + 8], 0x35
jmp 0x655021
lea edx, [ebp - 0x1c]
mov eax, dword [0x70b7b0]
call fcn.0040a9ac
mov edx, dword [ebp - 0x1c]
mov ecx, 0x655074
mov eax, ebx
call fcn.00652528
jmp 0x655014
xor eax, eax
mov dword [ebx + 0x28], eax
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov eax, dword [ebx + 0xc]
cmp word [eax], 0x29
je 0x654ebe
lea edx, [ebp - 0x20]
mov eax, dword [0x70ae48]
call fcn.0040a9ac
mov edx, dword [ebp - 0x20]
mov ecx, 0x655060
mov eax, ebx
call fcn.00652528
mov byte [ebx + 8], 0x32
jmp 0x655014
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov edi, dword [ebx + 0xc]
jmp 0x654f29
cmp si, 0x29
jne 0x654f1a
mov ecx, dword [ebx + 0xc]
sub ecx, edi
sar ecx, 1
jns 0x654eed
adc ecx, 0
lea eax, [ebp - 4]
mov edx, edi
call fcn.0040759c
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
lea eax, [ebx + 0x4c]
mov edx, dword [ebp - 4]
call fcn.00407460
mov byte [ebx + 8], 0x33
jmp 0x655021
lea edx, [ebx + 0xc]
mov ecx, 1
mov eax, ebx
call fcn.0065226c
mov eax, dword [ebx + 0xc]
movzx esi, word [eax]
test si, si
jne 0x654edb
lea edx, [ebp - 0x24]
mov eax, dword [0x70ae48]
call fcn.0040a9ac
mov edx, dword [ebp - 0x24]
mov ecx, 0x655060
mov eax, ebx
call fcn.00652528
jmp 0x655014
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00652868
mov dword [ebx + 0x28], eax
lea edx, [ebx + 0xc]
mov ecx, dword [ebp - 8]
mov eax, ebx
call fcn.0065226c
mov eax, dword [ebx + 0xc]
cmp word [eax], 0x29
je 0x654f94
lea edx, [ebp - 0x28]
mov eax, dword [0x70ae48]
call fcn.0040a9ac
mov edx, dword [ebp - 0x28]
mov ecx, 0x655060
mov eax, ebx
call fcn.00652528
mov byte [ebx + 8], 0x32
jmp 0x655014
mov byte [ebx + 8], 0x38
jmp 0x655014
mov eax, ebx
call fcn.006539e0
jmp 0x655021
lea edx, [ebp - 0x2c]
mov eax, dword [0x70bc14]
call fcn.0040a9ac
mov edx, dword [ebp - 0x2c]
mov ecx, 0x655060
mov eax, ebx
call fcn.00652528
jmp 0x655014
cmp ax, 0x2a
jne 0x655002
mov eax, ebx
call fcn.00653604
mov eax, dword [ebx + 0xc]
cmp word [eax], 0x29
je 0x654ff9
lea edx, [ebp - 0x30]
mov eax, dword [0x70b9b8]
call fcn.0040a9ac
mov edx, dword [ebp - 0x30]
mov ecx, 0x655060
mov eax, ebx
call fcn.00652528
mov dword [ebp - 8], 1
jmp 0x655014
test byte [ebx + 0x50], 8
jne 0x65500e
mov byte [ebx + 8], 0x11
jmp 0x655021
mov byte [ebx + 8], 9
jmp 0x655021
lea edx, [ebx + 0xc]
mov ecx, dword [ebp - 8]
mov eax, ebx
call fcn.0065226c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x65504b
lea eax, [ebp - 0x30]
mov edx, 0xa
call fcn.00407458
lea eax, [ebp - 4]
call fcn.00407450
ret