Function at 0x403da0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xd7e949
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0xdca0c4]
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, dword [ebp + 8]
lea eax, [ebp - 0x54]
push 0x41
push 0
push eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], 0
call fcn.00d57cf0
add esp, 0xc
xor ecx, ecx
nop word [eax + eax]
mov al, cl
add al, 0x41
mov byte [ebp + ecx - 0x54], al
inc ecx
cmp ecx, 0x1a
jl 0x403df0
xor ecx, ecx
mov al, cl
add al, 0x61
mov byte [ebp + ecx - 0x3a], al
inc ecx
cmp ecx, 0x1a
jl 0x403e00
xor ecx, ecx
mov al, cl
add al, 0x30
mov byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 0xa
jl 0x403e10
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov word [ebp - 0x16], 0x2f2b
mov dword [edi + 0x10], 0
jb 0x403e4a
mov eax, dword [edi]
jmp 0x403e4c
mov eax, edi
mov byte [eax], 0
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x68], 1
test eax, eax
je 0x4040f5
mov ecx, dword [ebp + 0xc]
nop dword [eax]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
inc ecx
mov byte [ebp + ebx - 0x5c], al
inc ebx
mov ah, byte [ebp - 0x5a]
mov dl, byte [ebp - 0x5b]
mov dh, byte [ebp - 0x5c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x55], ah
mov byte [ebp - 0x62], dl
mov byte [ebp - 0x63], dh
cmp ebx, 3
jne 0x403f62
mov al, dh
mov cl, dh
shr al, 2
and cl, 3
mov byte [ebp - 0x60], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x5f], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ah
and al, 0x3f
mov byte [ebp - 0x5e], cl
mov byte [ebp - 0x5d], al
xor ebx, ebx
nop
movzx eax, byte [ebp + ebx - 0x60]
mov ecx, dword [edi + 0x10]
mov dl, byte [ebp + eax - 0x54]
mov eax, ecx
not eax
mov byte [ebp - 0x61], dl
cmp eax, 1
jbe 0x403f97
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x403f97
cmp dword [edi + 0x14], esi
jae 0x403f1a
push ecx
push esi
mov ecx, edi
call fcn.00403c00
mov dl, byte [ebp - 0x61]
test esi, esi
je 0x403f4d
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x403f35
mov eax, dword [edi]
jmp 0x403f37
test esi, esi
jne 0x403f0d
mov dword [edi + 0x10], esi
cmp dword [edi + 0x14], 0x10
jb 0x403f2e
mov eax, dword [edi]
mov byte [eax], 0
jmp 0x403f4d
mov eax, edi
mov byte [eax], 0
jmp 0x403f4d
mov eax, edi
mov byte [eax + ecx], dl
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x403f47
mov eax, dword [edi]
jmp 0x403f49
mov eax, edi
mov byte [eax + esi], 0
inc ebx
cmp ebx, 4
jl 0x403ed0
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov dl, byte [ebp - 0x62]
mov dh, byte [ebp - 0x63]
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x403e70
test ebx, ebx
je 0x4040f5
mov eax, ebx
cmp ebx, 3
jge 0x403fa6
cmp eax, 3
jae 0x403fa1
mov byte [ebp + eax - 0x5c], 0
inc eax
cmp eax, 3
jl 0x403f7f
mov cl, byte [ebp - 0x5a]
mov dl, byte [ebp - 0x5b]
mov dh, byte [ebp - 0x5c]
jmp 0x403fa9
push 0xd81620
call fcn.00d0541a
call fcn.00d06965
mov cl, byte [ebp - 0x55]
mov al, dh
and dh, 3
shr al, 2
mov byte [ebp - 0x60], al
mov al, dl
shr al, 4
and dl, 0xf
shl dh, 4
add dh, al
shl dl, 2
mov al, cl
mov byte [ebp - 0x5f], dh
shr al, 6
and cl, 0x3f
add dl, al
mov byte [ebp - 0x5d], cl
mov byte [ebp - 0x5e], dl
lea eax, [ebx + 1]
xor edx, edx
mov dword [ebp - 0x5c], edx
test eax, eax
jle 0x40407a
nop word [eax + eax]
movzx eax, byte [ebp + edx - 0x60]
mov ecx, dword [edi + 0x10]
mov al, byte [ebp + eax - 0x54]
mov byte [ebp - 0x55], al
mov eax, ecx
not eax
cmp eax, 1
jbe 0x403f97
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x403f97
cmp dword [edi + 0x14], esi
jae 0x404032
push ecx
push esi
mov ecx, edi
call fcn.00403c00
mov edx, dword [ebp - 0x5c]
test esi, esi
je 0x40406b
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x40404d
mov eax, dword [edi]
jmp 0x40404f
test esi, esi
jne 0x404025
mov dword [edi + 0x10], esi
cmp dword [edi + 0x14], 0x10
jb 0x404046
mov eax, dword [edi]
mov byte [eax], 0
jmp 0x40406b
mov eax, edi
mov byte [eax], 0
jmp 0x40406b
mov eax, edi
mov dl, byte [ebp - 0x55]
mov byte [ecx + eax], dl
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x404062
mov eax, dword [edi]
jmp 0x404064
mov eax, edi
mov edx, dword [ebp - 0x5c]
mov byte [esi + eax], 0
inc edx
lea eax, [ebx + 1]
mov dword [ebp - 0x5c], edx
cmp edx, eax
jl 0x403ff0
cmp ebx, 3
jge 0x4040f5
nop
mov ecx, dword [edi + 0x10]
inc ebx
mov eax, ecx
not eax
cmp eax, 1
jbe 0x403f97
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x403f97
cmp dword [edi + 0x14], esi
jae 0x4040bc
push ecx
push esi
mov ecx, edi
call fcn.00403c00
test esi, esi
je 0x4040f0
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x4040d7
mov eax, dword [edi]
jmp 0x4040d9
test esi, esi
jne 0x4040af
mov dword [edi + 0x10], esi
cmp dword [edi + 0x14], 0x10
jb 0x4040d0
mov eax, dword [edi]
mov byte [eax], 0
jmp 0x4040f0
mov eax, edi
mov byte [eax], 0
jmp 0x4040f0
mov eax, edi
mov byte [ecx + eax], 0x3d
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x4040ea
mov eax, dword [edi]
jmp 0x4040ec
mov eax, edi
mov byte [eax + esi], 0
cmp ebx, 3
jl 0x404080
mov eax, edi
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.00d06a41
mov esp, ebp
pop ebp
ret 0xc