Function at 0x4dde14
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x4dde1c
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c38
xor eax, eax
push ebp
push 0x4de378
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
push 0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00408cec
mov edx, dword [ebp - 0x38]
mov ecx, 1
mov eax, 0x4de38c
call fcn.004ddcf4
pop ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4dde8d
push ebp
push 0
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00408cec
mov edx, dword [ebp - 0x3c]
mov ecx, 1
mov eax, 0x4de39c
call fcn.004ddcf4
pop ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jle 0x4de317
mov byte [ebp - 0x31], 1
push ebp
push 0
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.00408cec
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x28]
add ecx, 5
mov eax, 0x4de3b0
call fcn.004ddcf4
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4ddeca
mov byte [ebp - 0x31], 0
cmp byte [ebp - 0x31], 0
je 0x4ddefd
push ebp
push 0
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.00408cec
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x2c]
inc ecx
mov eax, 0x4de3b0
call fcn.004ddcf4
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4ddefd
mov byte [ebp - 0x31], 0
cmp byte [ebp - 0x31], 0
je 0x4de2a3
push ebp
push 0
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.00408cec
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x2c]
inc ecx
mov eax, 0x4de3bc
call fcn.004ddcf4
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jle 0x4de2a3
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x28]
add ecx, 2
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00404ca8
mov dword [ebp - 0xc], 1
mov edx, dword [ebp - 0x30]
mov eax, 0x4de3b0
call fcn.00404d8c
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x30]
call fcn.00404a48
mov ecx, eax
sub ecx, dword [ebp - 0x10]
inc ecx
mov edx, dword [ebp - 0x10]
inc edx
mov eax, dword [ebp - 0x30]
call fcn.00404ca8
cmp dword [ebp - 0xc], 1
jne 0x4ddfaa
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x30]
mov eax, 0x4de3b0
call fcn.00404d8c
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x30]
call fcn.00404ca8
jmp 0x4ddfc6
cmp dword [ebp - 0xc], 2
jne 0x4ddfc6
lea eax, [ebp - 0x14]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0x30]
call fcn.00404ca8
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 4
jne 0x4ddf53
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x30]
call fcn.00404a48
mov edx, eax
dec edx
mov ecx, 2
mov eax, dword [ebp - 0x30]
call fcn.00404ca8
mov eax, dword [ebp - 0x4c]
mov edx, 0x4de3bc
call fcn.00404b94
je 0x4ddffe
mov byte [ebp - 0x31], 0
mov edx, 0x4de3c8
mov eax, dword [ebp - 0x14]
call fcn.00408fb4
test al, al
je 0x4de140
cmp byte [ebp - 0x31], 0
je 0x4de140
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0x1c]
call fcn.00404788
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0xc]
cmp byte [eax + edx - 1], 0x5f
jne 0x4de04b
lea eax, [ebp - 0x1c]
mov edx, 0x4de3d4
call fcn.00404a50
jmp 0x4de117
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0xc]
cmp byte [eax + edx - 1], 0x3d
jne 0x4de0fa
mov eax, dword [ebp - 0x30]
call fcn.00404a48
mov edx, dword [ebp - 0xc]
add edx, 2
add edx, 2
cmp eax, edx
jl 0x4de0fa
mov edx, 0x4de3d8
lea eax, [ebp - 0x58]
call fcn.004030ac
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dl, byte [edx + ecx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov cl, 2
call fcn.0040307c
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x60]
call fcn.004030ac
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dl, byte [edx + ecx + 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x60]
mov cl, 3
call fcn.0040307c
lea edx, [ebp - 0x60]
lea eax, [ebp - 0x54]
call fcn.004049ec
mov eax, dword [ebp - 0x54]
call fcn.004096d8
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.00404970
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x1c]
call fcn.00404a50
add dword [ebp - 0xc], 2
jmp 0x4de117
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dl, byte [edx + ecx - 1]
call fcn.00404970
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x1c]
call fcn.00404a50
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0xc]
cmp byte [eax + edx - 1], 0x3f
jne 0x4de02c
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0xc]
cmp byte [eax + edx], 0x3d
jne 0x4de02c
jmp 0x4de225
cmp byte [ebp - 0x31], 0
je 0x4de225
jmp 0x4de214
mov eax, dword [ebp - 0x30]
mov al, byte [eax]
call fcn.004ddcbc
mov byte [ebp - 0x23], al
mov eax, dword [ebp - 0x30]
mov al, byte [eax + 1]
call fcn.004ddcbc
mov byte [ebp - 0x22], al
mov eax, dword [ebp - 0x30]
mov al, byte [eax + 2]
call fcn.004ddcbc
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0x30]
mov al, byte [eax + 3]
call fcn.004ddcbc
mov byte [ebp - 0x20], al
mov al, byte [ebp - 0x23]
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 0x22]
shr edx, 4
or al, dl
mov byte [ebp - 0x1f], al
mov al, byte [ebp - 0x22]
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 0x21]
shr edx, 2
or al, dl
mov byte [ebp - 0x1e], al
mov al, byte [ebp - 0x21]
shl eax, 6
xor edx, edx
mov dl, byte [ebp - 0x20]
shr edx, 0
or al, dl
mov byte [ebp - 0x1d], al
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x30]
call fcn.00404a48
mov ecx, eax
mov edx, 5
mov eax, dword [ebp - 0x30]
call fcn.00404ca8
push dword [ebp - 0x1c]
lea eax, [ebp - 0x68]
mov dl, byte [ebp - 0x1f]
call fcn.00404970
push dword [ebp - 0x68]
lea eax, [ebp - 0x6c]
mov dl, byte [ebp - 0x1e]
call fcn.00404970
push dword [ebp - 0x6c]
lea eax, [ebp - 0x70]
mov dl, byte [ebp - 0x1d]
call fcn.00404970
push dword [ebp - 0x70]
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404b08
mov eax, dword [ebp - 0x30]
call fcn.00404a48
cmp eax, 4
jge 0x4de14f
cmp byte [ebp - 0x31], 0
je 0x4de2a3
mov edx, 0x4de3e4
mov eax, dword [ebp - 0x18]
call fcn.00408fb4
test al, al
je 0x4de249
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
call fcn.004de3fc
jmp 0x4de254
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
call fcn.00404820
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x28]
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404ca8
push dword [ebp - 0x74]
push dword [ebp - 0x30]
lea eax, [ebp - 0x78]
push eax
mov eax, dword [ebp - 4]
call fcn.00404a48
mov ecx, eax
mov edx, dword [ebp - 0x2c]
add edx, 2
mov eax, dword [ebp - 4]
call fcn.00404ca8
push dword [ebp - 0x78]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404b08
lea eax, [ebp - 0x30]
call fcn.00404788
push ebp
push 0
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 4]
call fcn.00408cec
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x28]
inc ecx
mov eax, 0x4de38c
call fcn.004ddcf4
pop ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4de2ef
push ebp
push 0
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 4]
call fcn.00408cec
mov edx, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x28]
inc ecx
mov eax, 0x4de39c
call fcn.004ddcf4
pop ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jg 0x4dde97
jmp 0x4de317
mov edx, dword [ebp - 4]
mov eax, 0x4de3f8
call fcn.00404d8c
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.00404ce8
mov edx, dword [ebp - 4]
mov eax, 0x4de3f8
call fcn.00404d8c
test eax, eax
jg 0x4de2fb
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004047dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4de37f
lea eax, [ebp - 0x80]
mov edx, 8
call fcn.004047ac
lea eax, [ebp - 0x54]
mov edx, 8
call fcn.004047ac
lea eax, [ebp - 0x30]
call fcn.00404788
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004047ac
lea eax, [ebp - 4]
call fcn.00404788
ret