Function at 0x1000fdd0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b09c8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10240114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x38], edi
mov esi, ecx
mov ebx, dword [esi + 0x10]
mov dword [ebp - 0x30], ebx
cmp ebx, 4
jb 0x1001007d
test bl, 3
jne 0x1001007d
cmp byte [0x1024a200], 0
jne 0x1000fe9b
push 0x100
push 0xffffffffffffffff
push 0x1024a0d8
call fcn.1007d020
add esp, 0xc
mov ecx, 0x41
nop dword [eax]
lea eax, [ecx - 0x41]
mov byte [ecx + 0x1024a0d8], al
inc ecx
cmp ecx, 0x5a
jle 0x1000fe40
mov ecx, 0x61
lea eax, [ecx - 0x47]
mov byte [ecx + 0x1024a0d8], al
inc ecx
cmp ecx, 0x7a
jle 0x1000fe54
mov ecx, 0x30
nop dword [eax + eax]
lea eax, [ecx + 4]
mov byte [ecx + 0x1024a0d8], al
inc ecx
cmp ecx, 0x39
jle 0x1000fe70
mov byte [0x1024a103], 0x3e
mov byte [0x1024a107], 0x3f
mov byte [0x1024a115], 0
mov byte [0x1024a200], 1
lea ebx, [ebx + ebx*2]
mov dword [ebp - 0x18], 0
shr ebx, 2
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0
push ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.10005d10
mov eax, 0xaaaaaaab
mov dword [ebp - 0x2c], 0
mul ebx
mov eax, edx
shr eax, 1
je 0x1000ffc9
xor ebx, ebx
mov edi, eax
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x1000feee
mov edx, dword [esi]
mov ecx, esi
jb 0x1000fef4
mov ecx, dword [esi]
mov eax, dword [ebp - 0x2c]
movsx eax, byte [ecx + eax*4 + 1]
mov cl, byte [eax + 0x1024a0d8]
mov eax, dword [ebp - 0x2c]
sar cl, 4
and cl, 3
movsx eax, byte [edx + eax*4]
mov edx, esi
mov al, byte [eax + 0x1024a0d8]
shl al, 2
or cl, al
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov byte [ebx + eax], cl
cmp dword [esi + 0x14], 0x10
jb 0x1000ff32
mov edx, dword [esi]
mov eax, esi
jb 0x1000ff38
mov eax, dword [esi]
mov ecx, dword [ebp - 0x2c]
movsx eax, byte [eax + ecx*4 + 2]
mov cl, byte [eax + 0x1024a0d8]
mov eax, dword [ebp - 0x2c]
sar cl, 2
and cl, 0xf
movsx eax, byte [edx + eax*4 + 1]
mov edx, esi
mov al, byte [eax + 0x1024a0d8]
shl al, 4
or cl, al
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov byte [ebx + eax + 1], cl
cmp dword [esi + 0x14], 0x10
jb 0x1000ff78
mov edx, dword [esi]
mov eax, esi
jb 0x1000ff7e
mov eax, dword [esi]
mov ecx, dword [ebp - 0x2c]
movsx eax, byte [eax + ecx*4 + 3]
mov cl, byte [eax + 0x1024a0d8]
mov eax, dword [ebp - 0x2c]
and cl, 0x3f
movsx eax, byte [edx + eax*4 + 2]
mov al, byte [eax + 0x1024a0d8]
shl al, 6
or cl, al
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
mov byte [ebx + eax + 2], cl
add ebx, 3
mov ecx, dword [ebp - 0x2c]
inc ecx
mov dword [ebp - 0x2c], ecx
cmp ecx, edi
jb 0x1000fee4
mov edi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x3c]
mov ecx, dword [esi + 0x14]
mov eax, esi
cmp ecx, 0x10
jb 0x1000ffd5
mov eax, dword [esi]
mov edx, dword [ebp - 0x30]
cmp byte [eax + edx - 1], 0x3d
jne 0x1000ffef
dec ebx
cmp ecx, 0x10
jb 0x1000ffe7
mov esi, dword [esi]
cmp byte [esi + edx - 2], 0x3d
jne 0x1000ffef
dec ebx
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov eax, edi
cmovae edx, dword [ebp - 0x28]
cmp dword [edi + 0x14], 0x10
jb 0x10010004
mov eax, dword [edi]
mov dword [edi + 0x10], 0
mov byte [eax], 0
mov eax, edi
mov ecx, dword [edi + 0x14]
cmp ecx, 0x10
jb 0x1001001a
mov eax, dword [edi]
mov esi, dword [edi + 0x10]
add esi, eax
mov eax, edi
cmp ecx, 0x10
jb 0x10010028
mov eax, dword [edi]
add eax, dword [edi + 0x10]
sub esi, eax
mov dword [ebp - 0x30], edi
cmp ecx, 0x10
jb 0x10010039
mov ecx, dword [edi]
jmp 0x1001003c
mov ecx, dword [ebp - 0x30]
push ebx
push edx
sub eax, ecx
mov ecx, edi
push esi
push eax
call fcn.10008980
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10010079
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001006f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001009b
push edx
push ecx
call fcn.1006495d
add esp, 8
mov al, 1
jmp 0x1001007f
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100645b9
mov esp, ebp
pop ebp
ret
call fcn.1008497c
int3