Function at 0x10064cc0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov edi, ecx
lea eax, [ebp - 0x28]
push ecx
mov ebx, edx
push edx
push eax
call fcn.1002ad90
add esp, 0xc
cmp dword [ebp - 0x28], 0
jne 0x10064d25
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x10064d25
mov edi, dword [ebp - 0x20]
cmp edi, 2
jb 0x10064d41
cmp byte [esi], 0x2d
jne 0x10064d41
cmp edi, 2
jne 0x10064d98
movzx eax, word [esi]
cmp eax, 0x2d2d
je 0x100650c1
movzx eax, word [esi]
cmp eax, 0x2d2d
jne 0x10064da6
jmp 0x10064dcc
test edi, edi
je 0x10064d41
mov ecx, edi
mov esi, ebx
add ecx, ebx
movzx ebx, byte [ebx]
mov dword [ebp - 0x18], ecx
test bl, bl
js 0x10064d52
inc esi
xor edx, edx
jmp 0x10064e20
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x20], 3
mov eax, ecx
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
movzx edx, byte [esi + 1]
mov eax, ebx
and eax, 0x1f
and edx, 0x3f
cmp bl, 0xdf
jbe 0x10064dd8
movzx ecx, byte [esi + 2]
shl edx, 6
and ecx, 0x3f
or ecx, edx
cmp bl, 0xf0
jb 0x10064de9
movzx ebx, byte [esi + 3]
and eax, 7
shl ecx, 6
add esi, 4
shl eax, 0x12
and ebx, 0x3f
or ebx, ecx
or ebx, eax
mov ecx, dword [ebp - 0x18]
cmp ebx, 0xffff
jbe 0x10064d3a
jmp 0x10064e02
movzx eax, word [esi]
cmp eax, 0x2d2d
je 0x100650cd
movzx eax, byte [esi + 1]
cmp al, 0xbf
jle 0x10065340
inc esi
mov edx, 1
mov ecx, 0xffffffff
movzx eax, al
or eax, 0x10
cmp eax, 0x3d
jne 0x100650f5
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x20], 5
jmp 0x10064d48
mov ecx, dword [ebp - 0x18]
shl eax, 6
add esi, 2
or eax, edx
xor edx, edx
mov ebx, eax
jmp 0x10064e20
shl eax, 0xc
add esi, 3
or ecx, eax
mov ebx, ecx
mov ecx, dword [ebp - 0x18]
cmp ebx, 0xffff
jbe 0x10064d3a
lea eax, [ebx + 0xff0000]
and ebx, 0x3ff
shr eax, 0xa
or ebx, 0xdc00
or eax, 0xd800
mov edx, ebx
mov ebx, eax
mov eax, ecx
mov ecx, 0xffffffff
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], ebx
sub eax, esi
mov esi, 3
add eax, 3
cmovae ecx, eax
shr ecx, 2
cmp dx, 1
sbb ecx, 0xffffffff
cmp ecx, 4
cmovae esi, ecx
cmp esi, 0x3ffffffe
ja 0x10065332
lea edi, [esi + esi + 2]
test edi, edi
js 0x10065339
mov eax, dword [0x1044f00c]
mov ebx, edx
movzx eax, byte [eax]
mov eax, dword [0x1044eff8]
mov eax, dword [eax]
test eax, eax
jne 0x10064e8c
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x10065325
mov ecx, dword [0x1044eff8]
mov dword [ecx], eax
push edi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x10065325
mov edx, eax
mov eax, dword [ebp - 0x10]
inc esi
mov word [edx], ax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], esi
xor esi, esi
mov dword [ebp - 0x20], 1
jmp 0x10064f06
mov eax, dword [ebp - 0x18]
mov edx, ecx
mov ecx, 0xffffffff
mov dword [ebp - 0x10], edx
sub eax, dword [ebp - 0x14]
add eax, 3
cmovb eax, ecx
shr eax, 2
cmp dx, 1
sbb eax, 0
add eax, 2
mov edx, edi
lea ecx, [ebp - 0x28]
push eax
call fcn.100635c0
add esp, 4
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov word [edx + esi*2 + 2], bx
add esi, 2
mov ebx, ecx
mov dword [ebp - 0x20], esi
mov esi, edi
mov edi, dword [ebp - 0x14]
test bx, bx
je 0x10064f20
mov dword [ebp - 0x14], edi
xor ecx, ecx
lea edi, [esi + 1]
cmp edi, dword [ebp - 0x24]
jne 0x10064ef7
jmp 0x10064ec0
cmp edi, dword [ebp - 0x18]
je 0x10064ff9
movzx ebx, byte [edi]
test bl, bl
js 0x10064f40
inc edi
xor ecx, ecx
mov dword [ebp - 0x14], edi
lea edi, [esi + 1]
cmp edi, dword [ebp - 0x24]
jne 0x10064ef7
jmp 0x10064ec0
mov dword [ebp - 0x10], esi
movzx esi, byte [edi + 1]
mov eax, ebx
and eax, 0x1f
and esi, 0x3f
cmp bl, 0xdf
jbe 0x10064f8d
mov ecx, edx
movzx edx, byte [edi + 2]
shl esi, 6
and edx, 0x3f
or edx, esi
cmp bl, 0xf0
jb 0x10064fb0
movzx ebx, byte [edi + 3]
and eax, 7
shl edx, 6
add edi, 4
shl eax, 0x12
and ebx, 0x3f
or ebx, edx
or ebx, eax
cmp ebx, 0xffff
mov edx, ecx
mov dword [ebp - 0x14], edi
jbe 0x10064f9a
jmp 0x10064fc7
shl eax, 6
add edi, 2
or eax, esi
mov dword [ebp - 0x14], edi
mov ebx, eax
mov esi, dword [ebp - 0x10]
xor ecx, ecx
lea edi, [esi + 1]
cmp edi, dword [ebp - 0x24]
jne 0x10064ef7
jmp 0x10064ec0
shl eax, 0xc
add edi, 3
or edx, eax
mov ebx, edx
cmp ebx, 0xffff
mov edx, ecx
mov dword [ebp - 0x14], edi
jbe 0x10064f9a
lea eax, [ebx + 0xff0000]
mov esi, dword [ebp - 0x10]
and ebx, 0x3ff
shr eax, 0xa
or ebx, 0xdc00
or eax, 0xd800
mov ecx, ebx
mov ebx, eax
lea edi, [esi + 1]
cmp edi, dword [ebp - 0x24]
jne 0x10064ef7
jmp 0x10064ec0
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
lea ecx, [esi + 1]
mov dl, 3
cmp ecx, 2
mov dword [ebp - 0x14], eax
jae 0x10065011
mov ecx, dword [ebp + 8]
jmp 0x1006501a
cmp word [ebx], 0x2d
mov ecx, dword [ebp + 8]
je 0x1006503f
cmp dword [ebp - 0x14], 0
mov byte [ecx + 0x20], dl
je 0x10064d48
push ebx
push 0
mov eax, dword [0x1044eff8]
push dword [eax]
mov esi, ecx
call sub.KERNEL32.dll_HeapFree
mov eax, esi
jmp 0x10064d4a
mov edi, esi
mov eax, esi
cmp edi, 1
jne 0x10065054
cmp dword [ebx], 0x2d002d
je 0x10065268
mov edi, ebx
xor ebx, ebx
mov dl, 5
cmp dword [edi], 0x2d002d
sete bl
mov esi, ebx
not esi
add esi, eax
mov eax, esi
inc eax
jne 0x10065072
mov ebx, edi
jmp 0x1006501a
mov dword [ebp - 0x10], edi
lea edi, [edi + ebx*2 + 2]
mov dword [ebp - 0x18], eax
cmp word [edi], 0x2d
je 0x1006526f
mov eax, ebx
cmp word [edi], 0x3d
mov ebx, dword [ebp - 0x10]
je 0x1006501a
inc eax
mov ecx, ebx
mov dword [ebp - 0x30], edi
xor edx, edx
mov ebx, eax
lea edi, [ecx + eax*2 + 2]
lea eax, [esi + esi + 2]
cmp word [edi - 2], 0x3d
je 0x10065277
inc edx
add edi, 2
add eax, 0xfffffffe
jne 0x100650a3
mov edx, dword [ebp - 0x18]
xor edi, edi
jmp 0x10065279
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x20], 4
jmp 0x10064d48
movzx eax, byte [esi + 2]
cmp al, 0xbf
jle 0x1006534a
add esi, 2
mov edx, 2
mov ecx, 0xfffffffe
movzx eax, al
or eax, 0x10
cmp eax, 0x3d
je 0x10064dcc
add edi, ecx
mov dword [ebp - 0x18], edx
mov eax, esi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], esi
mov edx, edi
jmp 0x1006511d
mov eax, dword [ebp - 0x14]
mov edx, edi
mov dword [ebp - 0x10], ecx
sub edx, ecx
lea eax, [eax + ecx]
jb 0x1006521e
cmp edx, 8
jae 0x10065144
test edx, edx
je 0x1006521e
xor ebx, ebx
nop dword [eax]
cmp byte [eax + ebx], 0x3d
je 0x100651df
inc ebx
cmp edx, ebx
jne 0x10065130
jmp 0x1006521e
lea esi, [eax + 3]
and esi, 0xfffffffc
sub esi, eax
je 0x10065173
je 0x10065173
xor ebx, ebx
nop word cs:[eax + eax]
nop dword [eax]
cmp byte [eax + ebx], 0x3d
je 0x100651df
inc ebx
cmp esi, ebx
jne 0x10065160
mov dword [ebp - 0x30], edi
lea ebx, [edx - 8]
jmp 0x100651be
lea ebx, [edx - 8]
xor esi, esi
mov dword [ebp - 0x30], edi
nop dword [eax + eax]
mov ecx, dword [eax + esi]
mov edi, ecx
xor ecx, 0x3d3d3d3d
not edi
add ecx, 0xfefefeff
and ecx, edi
test ecx, 0x80808080
jne 0x100651c2
mov ecx, dword [eax + esi + 4]
mov edi, ecx
xor ecx, 0x3d3d3d3d
not edi
add ecx, 0xfefefeff
and ecx, edi
test ecx, 0x80808080
jne 0x100651c2
add esi, 8
cmp esi, ebx
jbe 0x10065180
mov edi, dword [ebp - 0x30]
cmp edx, esi
je 0x1006521e
nop dword [eax]
cmp byte [eax + esi], 0x3d
je 0x100651dd
inc esi
cmp edx, esi
jne 0x100651d0
jmp 0x1006521e
mov ebx, esi
mov ecx, dword [ebp - 0x10]
lea esi, [ebx + ecx]
lea ecx, [ebx + ecx + 1]
cmp esi, edi
jae 0x1006510a
mov eax, dword [ebp - 0x14]
cmp byte [eax + esi], 0x3d
jne 0x1006510a
mov edx, dword [ebp - 0x14]
push 0x1032fdb0
push edi
call fcn.10063060
add esp, 8
test eax, eax
mov dword [ebp - 0x10], edx
mov ebx, esi
sete dl
or dl, 2
jmp 0x10065224
mov ebx, edi
mov dl, 3
xor eax, eax
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
movzx esi, word [ebp - 0x40]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], ebx
mov byte [edi + 0x20], 2
mov word [edi + 0x21], si
mov ch, byte [ebp - 0x3e]
mov esi, dword [ebp - 0x10]
mov cl, byte [ebp - 0x26]
mov byte [edi + 0x23], ch
mov dword [edi], eax
mov dword [edi + 4], esi
mov byte [edi + 0xc], dl
movzx edx, word [ebp - 0x28]
mov byte [edi + 0xf], cl
mov ecx, edi
mov word [edi + 0xd], dx
jmp 0x10064d48
mov dl, 4
jmp 0x1006501a
mov ebx, dword [ebp - 0x10]
jmp 0x1006501a
sub esi, edx
push edx
push dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
call fcn.10169f90
add esp, 0xc
movsd xmm0, qword [ebp - 0x28]
movsd xmm1, qword [ebp - 0x20]
test edi, edi
movsd qword [ebp - 0x38], xmm1
movsd qword [ebp - 0x40], xmm0
je 0x100652d4
push esi
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.10169f90
add esp, 0xc
mov eax, dword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x28]
movzx ecx, word [ebp - 0x1b]
movzx edx, byte [ebp - 0x19]
mov dword [ebp - 0x44], eax
movzx eax, byte [ebp - 0x1c]
movsd qword [ebp - 0x4c], xmm0
mov word [ebp - 0x2c], cx
mov byte [ebp - 0x2a], dl
jmp 0x100652d6
mov al, 3
mov edx, dword [ebp + 8]
movsd xmm0, qword [ebp - 0x40]
movsd xmm1, qword [ebp - 0x38]
mov ecx, dword [ebp - 0x44]
movzx esi, word [ebp - 0x2c]
cmp dword [ebp - 0x14], 0
mov dword [edx + 0x10], ebx
movsd qword [edx + 0x1c], xmm1
movsd qword [edx + 0x14], xmm0
movsd xmm1, qword [ebp - 0x4c]
mov dword [edx + 8], ecx
movzx ecx, byte [ebp - 0x2a]
mov ebx, dword [ebp - 0x10]
movsd qword [edx], xmm1
mov byte [edx + 0xc], al
mov byte [edx + 0xf], cl
mov ecx, edx
mov word [edx + 0xd], si
jne 0x10065027
jmp 0x10064d48
push edi
push 2
call fcn.1001ac80
add esp, 8
ud2
call fcn.1001ac40
ud2
call fcn.1001ac40
ud2
push 0x1032fd90
push edi
push 1
jmp 0x10065352
push 0x1032fda0
push edi
push 2
push edi
push esi
call fcn.1002bc40
add esp, 0x14
ud2