Function at 0x10024a30
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004810e
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x1005a280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
mov edi, dword [ebp + 8]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov eax, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 1
test eax, eax
je 0x10024efd
mov ecx, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
inc ecx
mov byte [ebp + esi - 0x14], al
inc esi
mov ah, byte [ebp - 0x12]
mov dword [ebp + 0xc], ecx
mov ch, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov byte [ebp - 0x10], ah
mov byte [ebp - 0xe], ch
mov byte [ebp - 0xf], cl
cmp esi, 3
jne 0x10024c3e
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, ch
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x17], cl
and ah, 0x3f
mov cl, ch
shr al, 6
and cl, 0xf
mov byte [ebp - 0x15], ah
shl cl, 2
add cl, al
xor eax, eax
mov byte [ebp - 0x16], cl
mov dword [ebp - 0x2c], eax
cmp dword [edx + 0x14], 0xf
mov ecx, edx
jbe 0x10024b12
mov ecx, dword [edx]
movzx eax, byte [ebp + eax - 0x18]
mov esi, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x34], esi
mov cl, byte [eax + ecx]
mov byte [ebp - 0xd], cl
mov dword [ebp - 0x24], edx
cmp esi, edx
jae 0x10024b49
lea eax, [esi + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x10024b3c
mov eax, dword [edi]
mov byte [eax + esi], cl
mov byte [eax + esi + 1], 0
jmp 0x10024c23
mov eax, SysReAllocString
sub eax, esi
cmp eax, 1
jb 0x10024f12
lea ecx, [esi + 1]
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x10024b6e
mov ecx, SysReAllocString
jmp 0x10024b92
mov eax, edx
shr eax, 1
mov dword [ebp - 0x20], eax
mov eax, SysReAllocString
sub eax, dword [ebp - 0x20]
cmp edx, eax
jbe 0x10024b88
mov ecx, SysReAllocString
jmp 0x10024b92
mov eax, dword [ebp - 0x20]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ecx
push eax
push edi
call fcn.100013e0
mov ecx, eax
add esp, 8
cmp dword [ebp - 0x24], 0xf
lea eax, [esi + 1]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x14], eax
lea eax, [ecx + esi]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], eax
jbe 0x10024c07
push dword [ebp - 0x34]
mov esi, dword [edi]
push esi
push ecx
call fcn.100291e0
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov cl, byte [ebp - 0xd]
mov byte [eax], cl
mov byte [eax + 1], 0
mov eax, dword [ebp - 0x24]
inc eax
cmp eax, 0x1000
jb 0x10024bfb
mov ecx, dword [esi - 4]
add eax, 0x23
sub esi, ecx
add esi, 0xfffffffc
cmp esi, 0x1f
ja 0x10024f1c
mov esi, ecx
push eax
push esi
call fcn.100278c5
add esp, 8
jmp 0x10024c1e
push esi
push edi
push ecx
call fcn.100291e0
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov cl, byte [ebp - 0xd]
mov byte [eax], cl
mov byte [eax + 1], 0
mov eax, dword [ebp - 0x28]
mov dword [edi], eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 4
jl 0x10024b08
mov ch, byte [ebp - 0xe]
xor esi, esi
mov cl, byte [ebp - 0xf]
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x10024aa6
test esi, esi
je 0x10024efd
mov eax, esi
cmp esi, 3
jge 0x10024c77
cmp eax, 3
jae 0x10024f17
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x10024c5b
mov ah, byte [ebp - 0x12]
mov ch, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
jmp 0x10024c7a
mov ah, byte [ebp - 0x10]
mov al, cl
shr ah, 6
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, ch
and ch, 0xf
shl cl, 4
shr al, 4
shl ch, 2
add cl, al
add ch, ah
mov byte [ebp - 0x17], cl
mov byte [ebp - 0x16], ch
xor eax, eax
lea ecx, [esi + 1]
mov dword [ebp - 0x20], eax
test ecx, ecx
jle 0x10024def
cmp dword [edx + 0x14], 0xf
mov ecx, edx
jbe 0x10024cba
mov ecx, dword [edx]
movzx eax, byte [ebp + eax - 0x18]
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x2c], edx
mov al, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp + 0x13], al
mov dword [ebp - 0x28], ecx
cmp ecx, edx
jae 0x10024cf4
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x10024ce4
mov eax, dword [edi]
add eax, ecx
mov cl, byte [ebp + 0x13]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x10024dda
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x10024f12
lea eax, [ecx + 1]
mov ecx, eax
mov dword [ebp - 0x34], eax
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x10024d1e
mov ecx, SysReAllocString
jmp 0x10024d42
mov eax, edx
shr eax, 1
mov dword [ebp + 0xc], eax
mov eax, SysReAllocString
sub eax, dword [ebp + 0xc]
cmp edx, eax
jbe 0x10024d38
mov ecx, SysReAllocString
jmp 0x10024d42
mov eax, dword [ebp + 0xc]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], ecx
push eax
push edi
call fcn.100013e0
mov ecx, dword [ebp - 0x28]
mov edx, eax
mov eax, dword [ebp - 0x34]
add esp, 8
cmp dword [ebp - 0x2c], 0xf
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x14], eax
lea eax, [edx + ecx]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
push ecx
jbe 0x10024dbf
mov eax, dword [edi]
push eax
push edx
mov dword [ebp + 0xc], eax
call fcn.100291e0
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov cl, byte [ebp + 0x13]
mov byte [eax], cl
mov ecx, dword [ebp - 0x2c]
inc ecx
mov byte [eax + 1], 0
mov eax, dword [ebp + 0xc]
cmp ecx, 0x1000
jb 0x10024db3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10024f1c
mov eax, edx
push ecx
push eax
call fcn.100278c5
add esp, 8
jmp 0x10024dd5
push edi
push edx
call fcn.100291e0
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov cl, byte [ebp + 0x13]
mov byte [eax], cl
mov byte [eax + 1], 0
mov eax, dword [ebp - 0x24]
mov dword [edi], eax
mov eax, dword [ebp - 0x20]
lea ecx, [esi + 1]
mov edx, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, ecx
jl 0x10024cb0
cmp esi, 3
jge 0x10024efd
mov edx, dword [edi + 0x14]
inc esi
mov dword [ebp - 0x28], esi
mov esi, dword [edi + 0x10]
mov dword [ebp + 0xc], edx
cmp esi, edx
jae 0x10024e23
lea eax, [esi + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0x10024e18
mov eax, dword [edi]
mov word [eax + esi], 0x3d
jmp 0x10024ef1
mov eax, SysReAllocString
sub eax, esi
cmp eax, 1
jb 0x10024f12
lea ecx, [esi + 1]
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0x10024e48
mov ecx, SysReAllocString
jmp 0x10024e6c
mov eax, edx
shr eax, 1
mov dword [ebp + 0x10], eax
mov eax, SysReAllocString
sub eax, dword [ebp + 0x10]
cmp edx, eax
jbe 0x10024e62
mov ecx, SysReAllocString
jmp 0x10024e6c
mov eax, dword [ebp + 0x10]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], ecx
push eax
push edi
call fcn.100013e0
mov ecx, eax
add esp, 8
cmp dword [ebp + 0xc], 0xf
lea eax, [esi + 1]
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x14], eax
lea eax, [ecx + esi]
mov dword [ebp - 0x2c], ecx
mov dword [ebp + 0x10], eax
push esi
jbe 0x10024eda
mov eax, dword [edi]
mov esi, eax
push esi
push ecx
call fcn.100291e0
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov ecx, dword [ebp + 0xc]
inc ecx
mov word [eax], 0x3d
cmp ecx, 0x1000
jb 0x10024ece
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x10024f1c
mov esi, edx
push ecx
push esi
call fcn.100278c5
add esp, 8
jmp 0x10024eec
push edi
push ecx
call fcn.100291e0
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov word [eax], 0x3d
mov eax, dword [ebp - 0x2c]
mov dword [edi], eax
mov esi, dword [ebp - 0x28]
cmp esi, 3
jl 0x10024df8
mov eax, edi
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.100021c0
call fcn.100280ee
call fcn.1002caaf
int3