Function at 0x469850
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e4a9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4bf6bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], eax
mov byte [esi], al
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x20], 1
cmp edx, eax
jle 0x469b64
jmp 0x4698a9
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp + 0xc]
mov cl, byte [eax + edi]
inc eax
cmp eax, edx
je 0x469b14
mov bl, byte [eax + edi]
inc eax
mov byte [ebp - 0x14], bl
cmp eax, edx
je 0x469b78
mov dl, byte [eax + edi]
inc eax
movzx edi, cl
mov dword [ebp - 0x1c], eax
mov eax, edi
shr eax, 2
mov cl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov eax, dword [esi + 0x10]
mov byte [ebp - 0x18], dl
or edx, 0xffffffff
sub edx, eax
mov byte [ebp - 0x10], cl
cmp edx, 1
jbe 0x469bd4
lea ebx, [eax + 1]
cmp ebx, 0xfffffffe
ja 0x469bd4
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
jae 0x469911
push eax
push ebx
mov ecx, esi
call fcn.004089e0
jmp 0x469926
test ebx, ebx
jne 0x469928
mov dword [esi + 0x10], ebx
cmp ecx, 0x10
jb 0x469921
mov eax, dword [esi]
jmp 0x469923
mov eax, esi
mov byte [eax], 0
test ebx, ebx
setne al
test al, al
je 0x469957
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x46993c
mov eax, dword [esi]
jmp 0x46993e
mov eax, esi
mov dl, byte [ebp - 0x10]
mov byte [eax + ecx], dl
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], ebx
jb 0x469951
mov eax, dword [esi]
jmp 0x469953
mov eax, esi
mov byte [eax + ebx], 0
movzx ebx, byte [ebp - 0x14]
and edi, 3
mov eax, ebx
shr eax, 4
shl edi, 4
or eax, edi
mov cl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov eax, dword [esi + 0x10]
or edx, 0xffffffff
sub edx, eax
mov byte [ebp - 0x14], cl
cmp edx, 1
jbe 0x469bd4
lea edi, [eax + 1]
cmp edi, 0xfffffffe
ja 0x469bd4
mov ecx, dword [esi + 0x14]
cmp ecx, edi
jae 0x4699a0
push eax
push edi
mov ecx, esi
call fcn.004089e0
jmp 0x4699b5
test edi, edi
jne 0x4699b7
mov dword [esi + 0x10], edi
cmp ecx, 0x10
jb 0x4699b0
mov eax, dword [esi]
jmp 0x4699b2
mov eax, esi
mov byte [eax], 0
test edi, edi
setne al
test al, al
je 0x4699e6
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x4699cb
mov eax, dword [esi]
jmp 0x4699cd
mov eax, esi
mov dl, byte [ebp - 0x14]
mov byte [eax + ecx], dl
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], edi
jb 0x4699e0
mov eax, dword [esi]
jmp 0x4699e2
mov eax, esi
mov byte [eax + edi], 0
movzx edi, byte [ebp - 0x18]
and ebx, 0xf
add ebx, ebx
mov eax, edi
shr eax, 6
add ebx, ebx
or eax, ebx
mov cl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov eax, dword [esi + 0x10]
or edx, 0xffffffff
sub edx, eax
mov byte [ebp - 0x18], cl
cmp edx, 1
jbe 0x469bd4
lea ebx, [eax + 1]
cmp ebx, 0xfffffffe
ja 0x469bd4
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
jae 0x469a30
push eax
push ebx
mov ecx, esi
call fcn.004089e0
jmp 0x469a45
test ebx, ebx
jne 0x469a47
mov dword [esi + 0x10], ebx
cmp ecx, 0x10
jb 0x469a40
mov eax, dword [esi]
jmp 0x469a42
mov eax, esi
mov byte [eax], 0
test ebx, ebx
setne al
test al, al
je 0x469a76
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x469a5b
mov eax, dword [esi]
jmp 0x469a5d
mov eax, esi
mov dl, byte [ebp - 0x18]
mov byte [eax + ecx], dl
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], ebx
jb 0x469a70
mov eax, dword [esi]
jmp 0x469a72
mov eax, esi
mov byte [eax + ebx], 0
mov eax, dword [esi + 0x10]
or ecx, 0xffffffff
and edi, 0x3f
mov bl, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
sub ecx, eax
cmp ecx, 1
jbe 0x469bd4
lea edi, [eax + 1]
cmp edi, 0xfffffffe
ja 0x469bd4
mov ecx, dword [esi + 0x14]
cmp ecx, edi
jae 0x469aae
push eax
push edi
mov ecx, esi
call fcn.004089e0
jmp 0x469ac3
test edi, edi
jne 0x469ac5
mov dword [esi + 0x10], edi
cmp ecx, 0x10
jb 0x469abe
mov eax, dword [esi]
jmp 0x469ac0
mov eax, esi
mov byte [eax], 0
test edi, edi
setne al
test al, al
je 0x469af4
mov ecx, dword [esi + 0x10]
mov edx, 0x10
cmp dword [esi + 0x14], edx
jb 0x469add
mov eax, dword [esi]
jmp 0x469adf
mov eax, esi
mov byte [ecx + eax], bl
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], edx
jb 0x469aee
mov eax, dword [esi]
jmp 0x469af0
mov eax, esi
mov byte [edi + eax], 0
mov edx, dword [ebp + 0x10]
cmp dword [ebp - 0x1c], edx
jl 0x4698a6
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx edi, cl
mov eax, edi
shr eax, 2
mov cl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + 0x10], cl
mov edx, dword [ebp + 0x10]
push edx
push 1
mov ecx, esi
call fcn.0040e470
and edi, 3
shl edi, 4
mov al, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + 0x10], al
mov ecx, dword [ebp + 0x10]
push ecx
push 1
mov ecx, esi
call fcn.0040e470
push 0x3d
push 1
mov ecx, esi
call fcn.0040e470
push 0x3d
push 1
mov ecx, esi
call fcn.0040e470
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx edi, cl
mov edx, edi
shr edx, 2
movzx eax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + 0x10], al
mov ecx, dword [ebp + 0x10]
push ecx
push 1
mov ecx, esi
call fcn.0040e470
movzx ebx, bl
mov edx, ebx
and edi, 3
shr edx, 4
shl edi, 4
or edx, edi
movzx eax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + 0x10], al
mov ecx, dword [ebp + 0x10]
push ecx
push 1
mov ecx, esi
call fcn.0040e470
and ebx, 0xf
mov dl, byte [ebx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + 0x10], dl
mov eax, dword [ebp + 0x10]
push eax
jmp 0x469b50
push str.string_too_long
call fcn.0047b341
int3