Function at 0x41ea0e
Capabilities:
Encode data using base64

Disassembly:
mov esi, dword [ebp - 4]
dec edi
mov dword [ebp - 0x58], edi
test edi, edi
js 0x45326d
mov ebx, dword [ebp + 0x2c]
test ebx, ebx
jne 0x41ec62
dec edi
jns 0x453108
xor edi, edi
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0x24]
test ebx, ebx
jne 0x45322b
test edi, edi
jle 0x41ea28
jmp 0x4530c1
xor ebx, ebx
lea eax, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x14]
mov esi, ebx
mov dword [ebp - 0x10], ebx
push eax
mov dword [ebp - 8], ebx
mov edi, ebx
mov dword [ebp - 0xc], esi
call fcn.00453403
add esp, 0xc
test al, al
je 0x453281
push dword [ebp - 0x18]
lea ecx, [ebp - 8]
call fcn.004534a0
pop ecx
test al, al
je 0x453281
lea eax, [ebp - 0x24]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 4]
cld
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
call dword [0x49006c]
test eax, eax
je 0x453281
push 0xc
lea eax, [ebp - 0x30]
push ebx
push eax
call fcn.0041d740
add esp, 0xc
mov dword [ebp - 0x2c], 8
cmp dword [ebp - 4], ebx
je 0x453153
push 2
push 0xc
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 4]
call dword [0x490070]
test eax, eax
je 0x453281
push dword [ebp + 0xc]
call dword [0x49004c]
mov ecx, dword [ebp - 0x2c]
push ecx
lea edx, [ecx + 0x10]
lea edx, [edx + eax*2]
lea ecx, [ebp - 0xc]
call fcn.0045346c
mov esi, dword [ebp - 0xc]
pop ecx
test al, al
je 0x453281
cmp dword [ebp - 0x1c], ebx
je 0x4531c9
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x4531c9
mov eax, ebx
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x20]
push ecx
push eax
push dword [ebp - 4]
call dword [section..rdata]
test eax, eax
je 0x453281
mov ecx, dword [ebp - 0x20]
movzx eax, word [ecx + 2]
push eax
push ecx
push 0xffffffffffffffff
push 2
push esi
call dword [0x490074]
test eax, eax
je 0x453281
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp - 0x30]
jb 0x45318b
push dword [ebp + 0xc]
call dword [0x49004c]
add eax, 8
push eax
push 8
mov dword [ebp - 0x20], eax
call dword [0x490174]
push eax
call dword [0x490170]
mov edi, eax
test edi, edi
je 0x453281
mov eax, dword [ebp - 0x20]
push dword [ebp + 0xc]
mov word [edi + 2], ax
lea eax, [edi + 8]
push eax
push dword [ebp + 0xc]
call dword [0x49004c]
push eax
call dword [0x490050]
test eax, eax
je 0x453281
mov ecx, dword [ebp + 0x10]
add ecx, 4
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ecx
mov al, byte [ecx - 4]
mov byte [edi], al
mov al, byte [ecx - 3]
mov byte [edi + 1], al
mov eax, dword [ecx]
mov dword [edi + 4], eax
movzx eax, word [edi + 2]
push eax
push edi
push 0xffffffffffffffff
push 2
push esi
call dword [0x490074]
test eax, eax
je 0x453281
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
inc eax
add ecx, 0xc
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ecx
cmp eax, 2
jb 0x453220
push ebx
push esi
push 1
push dword [ebp - 8]
call dword [0x490078]
test eax, eax
je 0x453281
push dword [ebp - 8]
clc
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call dword [0x490698]
test eax, eax
je 0x453281
mov bl, 1
mov ecx, dword [ebp - 0x10]
call fcn.0045336c
mov ecx, dword [ebp - 8]
call fcn.0045336c
mov ecx, esi
call fcn.0045336c
mov ecx, edi
call fcn.0045336c
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x10