Function at 0x10072a20
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x1009a449
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c60c8]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x34], esi
mov edi, ecx
mov dword [esp + 0x24], esi
mov dword [edi + 0x18], 0xf
mov dword [edi + 0x14], esi
mov dword [esp + 0x28], edi
mov byte [edi + 4], 0
xor ebp, ebp
cmp dword [esp + 0x40], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x24], 1
je 0x10072d03
mov eax, dword [esp + 0x3c]
mov cl, byte [eax]
sub dword [esp + 0x40], 1
mov byte [esp + ebp + 0x14], cl
mov bl, byte [esp + 0x15]
add ebp, 1
add eax, 1
cmp ebp, 3
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x3c], eax
jne 0x10072b34
mov al, byte [esp + 0x14]
mov dl, al
shr dl, 2
and al, 3
mov byte [esp + 0x18], dl
shl al, 4
mov cl, bl
shr cl, 4
add al, cl
mov byte [esp + 0x19], al
mov al, byte [esp + 0x16]
mov dl, bl
and dl, 0xf
add dl, dl
mov cl, al
add dl, dl
shr cl, 6
add dl, cl
and al, 0x3f
mov byte [esp + 0x1a], dl
mov byte [esp + 0x1b], al
movzx ebp, byte [esp + esi + 0x18]
cmp ebp, dword [0x100c6db4]
jbe 0x10072af5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [0x100c6db8], 0x10
mov eax, dword [0x100c6da4]
jae 0x10072b08
mov eax, 0x100c6da4
mov dl, byte [eax + ebp]
mov byte [esp + 0x20], dl
mov eax, dword [esp + 0x20]
push eax
mov eax, 1
call fcn.10043130
add esi, 1
cmp esi, 4
jl 0x10072ae2
mov dword [esp + 0x1c], 0
mov ebp, dword [esp + 0x1c]
xor esi, esi
cmp dword [esp + 0x40], esi
jne 0x10072a7d
cmp ebp, esi
je 0x10072d03
cmp ebp, 3
jge 0x10072b67
mov ecx, 3
sub ecx, ebp
push ecx
lea eax, [esp + ebp + 0x18]
push esi
push eax
call sub.MSVCR80.dll_memset
mov bl, byte [esp + 0x21]
add esp, 0xc
xor esi, esi
mov al, byte [esp + 0x14]
mov dl, al
and al, 3
mov cl, bl
shl al, 4
shr cl, 4
add al, cl
shr dl, 2
mov byte [esp + 0x19], al
mov al, byte [esp + 0x16]
and bl, 0xf
mov byte [esp + 0x18], dl
mov dl, al
add bl, bl
and al, 0x3f
add bl, bl
shr dl, 6
mov byte [esp + 0x1b], al
lea eax, [ebp + 1]
add bl, dl
cmp eax, esi
mov byte [esp + 0x1a], bl
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], eax
jle 0x10072c73
mov eax, dword [esp + 0x14]
movzx esi, byte [esp + eax + 0x18]
cmp esi, dword [0x100c6db4]
jbe 0x10072bca
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [0x100c6db8], 0x10
mov eax, dword [0x100c6da4]
jae 0x10072bdd
mov eax, 0x100c6da4
mov bl, byte [eax + esi]
or ecx, 0xffffffff
sub ecx, dword [edi + 0x14]
cmp ecx, 1
ja 0x10072bf0
call fcn.10090e9c
mov esi, dword [edi + 0x14]
add esi, 1
cmp esi, 0xfffffffe
jbe 0x10072c00
call fcn.10090e9c
mov eax, dword [edi + 0x18]
cmp eax, esi
jae 0x10072c2b
mov edx, dword [edi + 0x14]
push edx
push esi
mov ecx, edi
call fcn.10009560
test esi, esi
jbe 0x10072c5e
mov ebp, dword [edi + 0x14]
mov edx, 0x10
cmp dword [edi + 0x18], edx
lea eax, [edi + 4]
jb 0x10072c47
mov ecx, dword [eax]
jmp 0x10072c49
test esi, esi
jne 0x10072c15
cmp eax, 0x10
mov dword [edi + 0x14], esi
jb 0x10072c3f
mov eax, dword [edi + 4]
mov byte [eax], 0
jmp 0x10072c5e
lea eax, [edi + 4]
mov byte [eax], 0
jmp 0x10072c5e
mov ecx, eax
mov byte [ecx + ebp], bl
cmp dword [edi + 0x18], edx
mov dword [edi + 0x14], esi
jb 0x10072c56
mov eax, dword [eax]
mov ebp, dword [esp + 0x1c]
mov byte [eax + esi], 0
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
jl 0x10072bb3
cmp ebp, 3
jge 0x10072d03
mov ebx, 3
sub ebx, ebp
or eax, 0xffffffff
sub eax, dword [edi + 0x14]
cmp eax, 1
ja 0x10072c93
call fcn.10090e9c
mov esi, dword [edi + 0x14]
add esi, 1
cmp esi, 0xfffffffe
jbe 0x10072ca3
call fcn.10090e9c
mov eax, dword [edi + 0x18]
cmp eax, esi
jae 0x10072cce
mov ecx, dword [edi + 0x14]
push ecx
push esi
mov ecx, edi
call fcn.10009560
test esi, esi
jbe 0x10072cfe
mov edx, dword [edi + 0x14]
mov ebp, 0x10
cmp dword [edi + 0x18], ebp
lea eax, [edi + 4]
jb 0x10072cea
mov ecx, dword [eax]
jmp 0x10072cec
test esi, esi
jne 0x10072cb8
cmp eax, 0x10
mov dword [edi + 0x14], esi
jb 0x10072ce2
mov eax, dword [edi + 4]
mov byte [eax], 0
jmp 0x10072cfe
lea eax, [edi + 4]
mov byte [eax], 0
jmp 0x10072cfe
mov ecx, eax
mov byte [ecx + edx], 0x3d
cmp dword [edi + 0x18], ebp
mov dword [edi + 0x14], esi
jb 0x10072cfa
mov eax, dword [eax]
mov byte [eax + esi], 0
sub ebx, 1
jne 0x10072c83
mov eax, edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret