Function at 0x10029c60
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101940fe
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x101fd000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x2c], edx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, dword [ebp + 0x10]
xor edi, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 1
test eax, eax
je 0x10029eb0
mov ecx, dword [ebp + 0xc]
nop dword [eax]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
inc ecx
mov byte [ebp + edi - 0x18], al
inc edi
mov al, byte [ebp - 0x16]
mov ah, byte [ebp - 0x17]
mov byte [ebp - 0x12], al
mov al, byte [ebp - 0x18]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x1d], ah
mov byte [ebp - 0x11], al
cmp edi, 3
jne 0x10029d9a
mov cl, byte [ebp - 0x11]
shr al, 2
and cl, 3
mov byte [ebp - 0x1c], al
mov al, ah
shl cl, 4
shr al, 4
add cl, al
mov al, byte [ebp - 0x12]
mov byte [ebp - 0x1b], cl
mov cl, ah
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, byte [ebp - 0x12]
and al, 0x3f
mov byte [ebp - 0x1a], cl
mov byte [ebp - 0x19], al
xor edi, edi
cmp dword [edx + 0x14], 0xf
mov ecx, edx
jbe 0x10029d4a
mov ecx, dword [edx]
movzx eax, byte [ebp + edi - 0x1c]
mov al, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x10], al
cmp ecx, dword [esi + 0x14]
jae 0x10029d7a
cmp dword [esi + 0x14], 0xf
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
jbe 0x10029d6d
mov eax, dword [esi]
add eax, ecx
mov cl, byte [ebp - 0x10]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x10029d8f
push dword [ebp - 0x10]
mov byte [ebp - 0x24], 0
push dword [ebp - 0x24]
push ecx
mov ecx, esi
call fcn.100160d0
mov edx, dword [ebp - 0x2c]
inc edi
cmp edi, 4
jl 0x10029d40
mov ecx, dword [ebp + 0xc]
xor edi, edi
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x10029ce0
mov dword [ebp - 0x24], edi
test edi, edi
je 0x10029eb0
mov eax, edi
cmp edi, 3
jge 0x10029dd6
cmp eax, 3
jae 0x10029ec5
mov byte [ebp + eax - 0x18], 0
inc eax
cmp eax, 3
jl 0x10029dba
mov ch, byte [ebp - 0x16]
mov cl, byte [ebp - 0x17]
mov ah, byte [ebp - 0x18]
jmp 0x10029ddf
mov cl, byte [ebp - 0x1d]
mov ah, byte [ebp - 0x11]
mov ch, byte [ebp - 0x12]
mov al, ah
shr ch, 6
shr al, 2
and ah, 3
mov byte [ebp - 0x1c], al
mov al, cl
shl ah, 4
and cl, 0xf
shr al, 4
add ah, al
shl cl, 2
mov byte [ebp - 0x1b], ah
add cl, ch
lea eax, [edi + 1]
mov byte [ebp - 0x1a], cl
mov dword [ebp - 0x28], eax
test eax, eax
jle 0x10029e69
xor edi, edi
cmp dword [edx + 0x14], 0xf
mov ecx, edx
jbe 0x10029e1b
mov ecx, dword [edx]
movzx eax, byte [ebp + edi - 0x1c]
mov al, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x10], al
cmp ecx, dword [esi + 0x14]
jae 0x10029e4b
cmp dword [esi + 0x14], 0xf
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
jbe 0x10029e3e
mov eax, dword [esi]
add eax, ecx
mov cl, byte [ebp - 0x10]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x10029e60
push dword [ebp - 0x10]
mov byte [ebp - 0x18], 0
push dword [ebp - 0x18]
push ecx
mov ecx, esi
call fcn.100160d0
mov edx, dword [ebp - 0x2c]
inc edi
cmp edi, dword [ebp - 0x28]
jl 0x10029e11
mov edi, dword [ebp - 0x24]
cmp edi, 3
jge 0x10029eb0
mov eax, 3
sub eax, edi
mov dword [ebp - 0x24], eax
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x10029e99
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x10029e91
mov eax, dword [esi]
mov word [eax + ecx], 0x3d
jmp 0x10029eaa
push 0x3d
mov byte [ebp - 0x28], 0
push dword [ebp - 0x28]
push ecx
mov ecx, esi
call fcn.100160d0
sub dword [ebp - 0x24], 1
jne 0x10029e78
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
call fcn.10165b54
int3