Function at 0x100022f0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10042a86
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x10054054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], edx
mov edi, ecx
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x70], 0
mov dword [ebp - 4], 1
movups xmm0, xmmword [0x1004f8f8]
mov al, byte [0x1004f938]
push 0x186a0
movups xmmword [ebp - 0x54], xmm0
mov byte [ebp - 0x14], al
movups xmm0, xmmword [0x1004f908]
movups xmmword [ebp - 0x44], xmm0
movups xmm0, xmmword [0x1004f918]
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [0x1004f928]
movups xmmword [ebp - 0x24], xmm0
call fcn.1002ac22
mov ecx, dword [ebp - 0x6c]
xor esi, esi
add esp, 4
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x68], esi
test ecx, ecx
jle 0x1000245c
xor edi, edi
nop
xor esi, esi
xor edx, edx
mov eax, edi
cmp edi, ecx
jge 0x100023ba
nop word [eax + eax]
lea ecx, [edi + 2]
cmp eax, ecx
jg 0x100023ba
mov ecx, dword [ebp + 8]
inc edx
shl esi, 8
movsx ecx, byte [ecx + eax]
inc eax
or esi, ecx
cmp eax, dword [ebp - 0x6c]
jl 0x100023a0
lea ecx, [edx*8]
mov eax, 0x55555556
imul ecx
mov dword [ebp - 0x64], ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
lea eax, [eax + eax*2]
sub edx, eax
mov dword [ebp - 0x5c], edx
mov edx, dword [ebp - 0x68]
test ecx, ecx
je 0x10002427
cmp ecx, 6
jl 0x1000240c
add ecx, 0xfffffffa
mov eax, esi
sar eax, cl
and eax, 0x3f
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x60]
mov al, byte [ebp + eax - 0x54]
mov byte [edx + ecx], al
inc edx
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
test ecx, ecx
jne 0x100023e3
jmp 0x10002427
mov ecx, 6
sub ecx, dword [ebp - 0x64]
shl esi, cl
mov ecx, dword [ebp - 0x60]
and esi, 0x3f
mov al, byte [ebp + esi - 0x54]
mov byte [edx + ecx], al
inc edx
mov dword [ebp - 0x68], edx
mov ecx, dword [ebp - 0x6c]
add edi, 3
mov eax, edx
mov dword [ebp - 0x64], eax
cmp edi, ecx
jl 0x10002390
mov ecx, dword [ebp - 0x5c]
mov esi, eax
mov edi, dword [ebp - 0x74]
cmp ecx, 1
jl 0x1000245c
add eax, dword [ebp - 0x60]
push ecx
push 0x3d
push eax
call fcn.10023170
mov esi, dword [ebp - 0x5c]
add esp, 0xc
add esi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x60]
mov ecx, edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
push 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
push 0x1004f76b
mov byte [esi + eax], 0
mov byte [edi], 0
call fcn.1001e410
xor eax, eax
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x5c], eax
test esi, esi
jle 0x10002593
nop word [eax + eax]
mov ecx, dword [ebp - 0x60]
mov al, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0x58], al
cmp ecx, 0x7fffffff
je 0x100025e5
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x100024d2
mov eax, dword [edi]
push 1
lea edx, [ebp - 0x58]
push edx
push ecx
push eax
push ecx
push dword [ebp - 0x78]
lea ecx, [ebp - 0x90]
call fcn.1001fdb0
or dword [ebp - 0x70], 2
lea eax, [ebp - 0x90]
cmp edi, eax
je 0x10002551
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x1000252a
mov eax, dword [edi]
inc ecx
cmp ecx, 0x1000
jb 0x10002520
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100025e0
mov eax, edx
push ecx
push eax
call fcn.1002145f
add esp, 8
movups xmm0, xmmword [ebp - 0x90]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x80]
movq qword [edi + 0x10], xmm0
jmp 0x10002584
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0x10
jb 0x10002584
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000257a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100025e0
push ecx
push edx
call fcn.1002145f
add esp, 8
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp eax, esi
jl 0x100024b0
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x100025c3
mov edx, dword [ebp + 0x10]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x100025b9
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100025e0
push edx
push ecx
call fcn.1002145f
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10021451
mov esp, ebp
pop ebp
ret
call fcn.10029ddb
call fcn.100013d0
int3