Function at 0x49f6ac
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x49f6b4
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d50
xor eax, eax
push ebp
push 0x49fbb7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00408a2c
mov edx, dword [ebp - 0x2c]
mov ecx, 1
mov eax, 0x49fbd0
call fcn.0049f5b0
mov ebx, eax
test ebx, ebx
jne 0x49f721
push 0
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.00408a2c
mov edx, dword [ebp - 0x30]
mov ecx, 1
mov eax, 0x49fbe0
call fcn.0049f5b0
mov ebx, eax
test ebx, ebx
jle 0x49fb56
mov byte [ebp - 0x25], 1
push 0
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.00408a2c
mov edx, dword [ebp - 0x34]
lea ecx, [ebx + 5]
mov eax, 0x49fbf4
call fcn.0049f5b0
mov edi, eax
test edi, edi
jne 0x49f754
mov byte [ebp - 0x25], 0
cmp byte [ebp - 0x25], 0
je 0x49f781
push 0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00408a2c
mov edx, dword [ebp - 0x38]
lea ecx, [edi + 1]
mov eax, 0x49fbf4
call fcn.0049f5b0
mov edi, eax
test edi, edi
jne 0x49f781
mov byte [ebp - 0x25], 0
cmp byte [ebp - 0x25], 0
je 0x49faee
push 0
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00408a2c
mov edx, dword [ebp - 0x3c]
lea ecx, [edi + 1]
mov eax, 0x49fc00
call fcn.0049f5b0
mov edi, eax
test edi, edi
jle 0x49faee
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
sub ecx, ebx
add ecx, 2
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00404dc0
mov esi, 1
mov edx, dword [ebp - 0x24]
mov eax, 0x49fbf4
call fcn.00404ea4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404b60
mov ecx, eax
sub ecx, dword [ebp - 0xc]
inc ecx
mov edx, dword [ebp - 0xc]
inc edx
mov eax, dword [ebp - 0x24]
call fcn.00404dc0
cmp esi, 1
jne 0x49f822
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x24]
mov eax, 0x49fbf4
call fcn.00404ea4
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.00404dc0
jmp 0x49f83d
cmp esi, 2
jne 0x49f83d
lea eax, [ebp - 0x10]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.00404dc0
inc esi
cmp esi, 4
jne 0x49f7cc
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404b60
mov edx, eax
dec edx
mov ecx, 2
mov eax, dword [ebp - 0x24]
call fcn.00404dc0
mov eax, dword [ebp - 0x40]
mov edx, 0x49fc00
call fcn.00404cac
je 0x49f872
mov byte [ebp - 0x25], 0
mov edx, 0x49fc0c
mov eax, dword [ebp - 0x10]
call fcn.00408c44
test al, al
je 0x49f990
cmp byte [ebp - 0x25], 0
je 0x49f990
mov esi, 1
lea eax, [ebp - 0x18]
call fcn.004048a0
mov eax, dword [ebp - 0x24]
cmp byte [eax + esi - 1], 0x5f
jne 0x49f8ba
lea eax, [ebp - 0x18]
mov edx, 0x49fc18
call fcn.00404b68
jmp 0x49f96f
mov eax, dword [ebp - 0x24]
cmp byte [eax + esi - 1], 0x3d
jne 0x49f955
mov eax, dword [ebp - 0x24]
call fcn.00404b60
lea edx, [esi + 4]
cmp eax, edx
jl 0x49f955
mov edx, 0x49fc1c
lea eax, [ebp - 0x4c]
call fcn.00403010
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + esi]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov cl, 2
call fcn.00402fe0
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x54]
call fcn.00403010
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + esi + 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x54]
mov cl, 3
call fcn.00402fe0
lea edx, [ebp - 0x54]
lea eax, [ebp - 0x48]
call fcn.00404b04
mov eax, dword [ebp - 0x48]
call fcn.00409144
mov edx, eax
lea eax, [ebp - 0x44]
call fcn.00404a88
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x18]
call fcn.00404b68
add esi, 2
jmp 0x49f96f
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + esi - 1]
call fcn.00404a88
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x18]
call fcn.00404b68
inc esi
mov eax, dword [ebp - 0x24]
cmp byte [eax + esi - 1], 0x3f
jne 0x49f89e
mov eax, dword [ebp - 0x24]
cmp byte [eax + esi], 0x3d
jne 0x49f89e
jmp 0x49fa74
cmp byte [ebp - 0x25], 0
je 0x49fa74
jmp 0x49fa63
mov eax, dword [ebp - 0x24]
mov al, byte [eax]
call fcn.0049f598
mov byte [ebp - 0x1f], al
mov eax, dword [ebp - 0x24]
mov al, byte [eax + 1]
call fcn.0049f598
mov byte [ebp - 0x1e], al
mov eax, dword [ebp - 0x24]
mov al, byte [eax + 2]
call fcn.0049f598
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0x24]
mov al, byte [eax + 3]
call fcn.0049f598
mov byte [ebp - 0x1c], al
mov dl, byte [ebp - 0x1f]
shl edx, 2
mov al, byte [ebp - 0x1e]
xor ecx, ecx
mov cl, al
shr ecx, 4
or dl, cl
mov byte [ebp - 0x1b], dl
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 0x1d]
shr edx, 2
or al, dl
mov byte [ebp - 0x1a], al
mov al, byte [ebp - 0x1d]
shl eax, 6
xor edx, edx
mov dl, byte [ebp - 0x1c]
shr edx, 0
or al, dl
mov byte [ebp - 0x19], al
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404b60
mov ecx, eax
mov edx, 5
mov eax, dword [ebp - 0x24]
call fcn.00404dc0
push dword [ebp - 0x18]
lea eax, [ebp - 0x5c]
mov dl, byte [ebp - 0x1b]
call fcn.00404a88
push dword [ebp - 0x5c]
lea eax, [ebp - 0x60]
mov dl, byte [ebp - 0x1a]
call fcn.00404a88
push dword [ebp - 0x60]
lea eax, [ebp - 0x64]
mov dl, byte [ebp - 0x19]
call fcn.00404a88
push dword [ebp - 0x64]
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00404c20
mov eax, dword [ebp - 0x24]
call fcn.00404b60
cmp eax, 4
jge 0x49f99f
cmp byte [ebp - 0x25], 0
je 0x49faee
mov edx, 0x49fc28
mov eax, dword [ebp - 0x14]
call fcn.00408c44
test al, al
je 0x49fa98
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x18]
call fcn.0049fc40
jmp 0x49faa3
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x18]
call fcn.00404938
lea eax, [ebp - 0x68]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404dc0
push dword [ebp - 0x68]
push dword [ebp - 0x24]
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 4]
call fcn.00404b60
mov ecx, eax
lea edx, [edi + 2]
mov eax, dword [ebp - 4]
call fcn.00404dc0
push dword [ebp - 0x6c]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404c20
lea eax, [ebp - 0x24]
call fcn.004048a0
push 0
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
call fcn.00408a2c
mov edx, dword [ebp - 0x70]
lea ecx, [ebx + 1]
mov eax, 0x49fbd0
call fcn.0049f5b0
mov ebx, eax
test ebx, ebx
jne 0x49fb30
push 0
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 4]
call fcn.00408a2c
mov edx, dword [ebp - 0x74]
lea ecx, [ebx + 1]
mov eax, 0x49fbe0
call fcn.0049f5b0
mov ebx, eax
test ebx, ebx
jg 0x49f729
jmp 0x49fb56
mov edx, dword [ebp - 4]
mov eax, 0x49fc3c
call fcn.00404ea4
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.00404e00
mov edx, dword [ebp - 4]
mov eax, 0x49fc3c
call fcn.00404ea4
test eax, eax
jg 0x49fb3a
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004048f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49fbbe
lea eax, [ebp - 0x74]
mov edx, 8
call fcn.004048c4
lea eax, [ebp - 0x48]
mov edx, 8
call fcn.004048c4
lea eax, [ebp - 0x24]
call fcn.004048a0
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004048c4
lea eax, [ebp - 4]
call fcn.004048a0
ret