Function at 0x4e70d4
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x4e70dc
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ca0
xor eax, eax
push ebp
push 0x4e7638
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
push 0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00408f10
mov edx, dword [ebp - 0x38]
mov ecx, 1
mov eax, 0x4e764c
call fcn.004e6fb4
pop ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4e714d
push ebp
push 0
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00408f10
mov edx, dword [ebp - 0x3c]
mov ecx, 1
mov eax, 0x4e765c
call fcn.004e6fb4
pop ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jle 0x4e75d7
mov byte [ebp - 0x31], 1
push ebp
push 0
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.00408f10
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x28]
add ecx, 5
mov eax, 0x4e7670
call fcn.004e6fb4
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4e718a
mov byte [ebp - 0x31], 0
cmp byte [ebp - 0x31], 0
je 0x4e71bd
push ebp
push 0
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 4]
call fcn.00408f10
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x2c]
inc ecx
mov eax, 0x4e7670
call fcn.004e6fb4
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4e71bd
mov byte [ebp - 0x31], 0
cmp byte [ebp - 0x31], 0
je 0x4e7563
push ebp
push 0
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.00408f10
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x2c]
inc ecx
mov eax, 0x4e767c
call fcn.004e6fb4
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jle 0x4e7563
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.00404d10
mov dword [ebp - 0xc], 1
mov edx, dword [ebp - 0x30]
mov eax, 0x4e7670
call fcn.00404df4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x30]
call fcn.00404ab0
mov ecx, eax
sub ecx, dword [ebp - 0x10]
inc ecx
mov edx, dword [ebp - 0x10]
inc edx
mov eax, dword [ebp - 0x30]
call fcn.00404d10
cmp dword [ebp - 0xc], 1
jne 0x4e726a
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x30]
mov eax, 0x4e7670
call fcn.00404df4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x30]
call fcn.00404d10
jmp 0x4e7286
cmp dword [ebp - 0xc], 2
jne 0x4e7286
lea eax, [ebp - 0x14]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0x30]
call fcn.00404d10
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 4
jne 0x4e7213
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x30]
call fcn.00404ab0
mov edx, eax
dec edx
mov ecx, 2
mov eax, dword [ebp - 0x30]
call fcn.00404d10
mov eax, dword [ebp - 0x4c]
mov edx, 0x4e767c
call fcn.00404bfc
je 0x4e72be
mov byte [ebp - 0x31], 0
mov edx, 0x4e7688
mov eax, dword [ebp - 0x14]
call fcn.004091d8
test al, al
je 0x4e7400
cmp byte [ebp - 0x31], 0
je 0x4e7400
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0x1c]
call fcn.004047f0
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0xc]
cmp byte [eax + edx - 1], 0x5f
jne 0x4e730b
lea eax, [ebp - 0x1c]
mov edx, 0x4e7694
call fcn.00404ab8
jmp 0x4e73d7
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0xc]
cmp byte [eax + edx - 1], 0x3d
jne 0x4e73ba
mov eax, dword [ebp - 0x30]
call fcn.00404ab0
mov edx, dword [ebp - 0xc]
add edx, 2
add edx, 2
cmp eax, edx
jl 0x4e73ba
mov edx, 0x4e7698
lea eax, [ebp - 0x58]
call fcn.004030c0
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.00403090
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x60]
call fcn.004030c0
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.00403090
lea edx, [ebp - 0x60]
lea eax, [ebp - 0x54]
call fcn.00404a54
mov eax, dword [ebp - 0x54]
call fcn.00409a3c
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.004049d8
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x1c]
call fcn.00404ab8
add dword [ebp - 0xc], 2
jmp 0x4e73d7
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dl, byte [edx + ecx - 1]
call fcn.004049d8
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x1c]
call fcn.00404ab8
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0xc]
cmp byte [eax + edx - 1], 0x3f
jne 0x4e72ec
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0xc]
cmp byte [eax + edx], 0x3d
jne 0x4e72ec
jmp 0x4e74e5
cmp byte [ebp - 0x31], 0
je 0x4e74e5
jmp 0x4e74d4
mov eax, dword [ebp - 0x30]
mov al, byte [eax]
call fcn.004e6f7c
mov byte [ebp - 0x23], al
mov eax, dword [ebp - 0x30]
mov al, byte [eax + 1]
call fcn.004e6f7c
mov byte [ebp - 0x22], al
mov eax, dword [ebp - 0x30]
mov al, byte [eax + 2]
call fcn.004e6f7c
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0x30]
mov al, byte [eax + 3]
call fcn.004e6f7c
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.00404ab0
mov ecx, eax
mov edx, 5
mov eax, dword [ebp - 0x30]
call fcn.00404d10
push dword [ebp - 0x1c]
lea eax, [ebp - 0x68]
mov dl, byte [ebp - 0x1f]
call fcn.004049d8
push dword [ebp - 0x68]
lea eax, [ebp - 0x6c]
mov dl, byte [ebp - 0x1e]
call fcn.004049d8
push dword [ebp - 0x6c]
lea eax, [ebp - 0x70]
mov dl, byte [ebp - 0x1d]
call fcn.004049d8
push dword [ebp - 0x70]
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404b70
mov eax, dword [ebp - 0x30]
call fcn.00404ab0
cmp eax, 4
jge 0x4e740f
cmp byte [ebp - 0x31], 0
je 0x4e7563
mov edx, 0x4e76a4
mov eax, dword [ebp - 0x18]
call fcn.004091d8
test al, al
je 0x4e7509
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
call fcn.004e76bc
jmp 0x4e7514
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
call fcn.00404888
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x28]
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404d10
push dword [ebp - 0x74]
push dword [ebp - 0x30]
lea eax, [ebp - 0x78]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ab0
mov ecx, eax
mov edx, dword [ebp - 0x2c]
add edx, 2
mov eax, dword [ebp - 4]
call fcn.00404d10
push dword [ebp - 0x78]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404b70
lea eax, [ebp - 0x30]
call fcn.004047f0
push ebp
push 0
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 4]
call fcn.00408f10
mov edx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x28]
inc ecx
mov eax, 0x4e764c
call fcn.004e6fb4
pop ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4e75af
push ebp
push 0
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 4]
call fcn.00408f10
mov edx, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x28]
inc ecx
mov eax, 0x4e765c
call fcn.004e6fb4
pop ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jg 0x4e7157
jmp 0x4e75d7
mov edx, dword [ebp - 4]
mov eax, 0x4e76b8
call fcn.00404df4
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.00404d50
mov edx, dword [ebp - 4]
mov eax, 0x4e76b8
call fcn.00404df4
test eax, eax
jg 0x4e75bb
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404844
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e763f
lea eax, [ebp - 0x80]
mov edx, 8
call fcn.00404814
lea eax, [ebp - 0x54]
mov edx, 8
call fcn.00404814
lea eax, [ebp - 0x30]
call fcn.004047f0
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404814
lea eax, [ebp - 4]
call fcn.004047f0
ret