Function at 0x10003c40
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.100132e0
test al, al
je 0x10003c6f
pop ecx
push ebx
pop eax
push esp
push edx
push esp
pop eax
pop esp
pop ebp
push esi
pop edi
push eax
pop edi
push eax
pop esi
push ebp
push ebx
push eax
pop esi
push edx
pop ebx
pop ecx
push ebx
push esi
pop ebx
pop edx
push edx
push ebp
push eax
push ebx
push esp
call fcn.10013270
test al, al
je 0x10003c96
pop eax
push edi
pop ebx
push esp
pop edi
push esp
pop ebp
push ecx
pop ecx
push edi
push ecx
pop edi
push eax
pop esp
push edx
push ecx
pop esi
push eax
pop ecx
push ebx
pop edi
push ebp
push ecx
push ecx
push eax
pop esp
pop esp
pop esp
push eax
push ebx
call fcn.10013a50
test al, al
je 0x10003cba
push ebp
pop ebx
push esi
pop edx
pop eax
push esp
push edx
pop edx
push ebp
push eax
pop ecx
push edi
pop esp
pop edx
pop esp
pop edi
push ebx
pop edi
pop edx
pop ebx
push ebx
pop eax
push ebx
push edx
push edi
push esp
push edx
mov ebx, dword [ebp + 0xc]
xor esi, esi
xor edx, edx
xor ecx, ecx
test ebx, ebx
jle 0x10003e16
mov edi, dword [ebp + 8]
nop
mov al, byte [ecx + edi]
cmp al, 0x3d
jne 0x10003cdd
inc edx
cmp edx, 2
jg 0x10003d29
cmp al, 0x7f
ja 0x10003d29
movzx eax, al
mov al, byte [eax + 0x10047ab0]
cmp al, 0x7f
je 0x10003d29
cmp al, 0x40
jae 0x10003cf6
test edx, edx
jne 0x10003d29
inc ecx
inc esi
mov dword [ebp - 4], ecx
cmp ecx, ebx
jl 0x10003cd0
test esi, esi
je 0x10003e16
mov ecx, dword [ebp + 0x14]
lea eax, [esi + esi*2]
lea eax, [eax*2 + 7]
sar eax, 3
cmp dword [ecx], eax
jge 0x10003d35
mov dword [ecx], eax
mov eax, 0xfffffff0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xffffffee
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10013cf0
test al, al
je 0x10003d53
pop eax
push ebx
pop ecx
push ebx
pop ebp
push edx
pop ebp
pop edx
pop edi
pop eax
pop esp
push edi
push ecx
push edx
push ebx
push eax
push esp
pop esi
pop ecx
push edx
push esp
call fcn.100132e0
test al, al
je 0x10003d6e
pop edi
push ebp
push edx
pop esp
push esp
pop esi
pop ebx
pop ebp
pop eax
pop ebx
pop esp
pop edi
pop edx
pop edx
pop ebx
pop ebx
push ebx
push ebp
call fcn.10013d60
test al, al
je 0x10003d95
pop esi
push edi
pop edi
pop edi
pop ebx
push eax
push ebx
pop edi
push edi
push esi
push eax
pop ebx
push ebp
push ecx
push ebp
push ebp
push ecx
pop ecx
pop edx
pop ebp
pop eax
pop eax
pop edx
push edi
push ebx
push eax
push edx
push ecx
pop esp
push edi
mov esi, dword [ebp - 4]
xor eax, eax
xor ebx, ebx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov edi, 3
mov edx, eax
test esi, esi
jle 0x10003e0f
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
mov cl, byte [eax + 0x10047ab0]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub edi, eax
movzx eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 0x3f
inc ecx
or ebx, eax
mov dword [ebp + 0xc], ecx
cmp ecx, 4
jne 0x10003e00
xor eax, eax
mov dword [ebp + 0xc], eax
test edi, edi
jle 0x10003deb
mov eax, ebx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp edi, 1
jle 0x10003df8
mov eax, ebx
shr eax, 8
mov byte [edx], al
inc edx
cmp edi, 2
jle 0x10003e00
mov byte [edx], bl
inc edx
mov eax, dword [ebp + 8]
dec esi
inc eax
mov dword [ebp + 8], eax
test esi, esi
jg 0x10003db0
mov eax, dword [ebp + 0x10]
sub edx, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret