Function at 0x402e30
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x470e78
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4915c0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4915c0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x50]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov esi, ecx
mov edi, 0xf
mov dword [esp + 0x1c], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
cmp ebp, ebx
mov dword [esp + 0x48], ebx
je 0x403060
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x402e94
sub eax, edx
cmp eax, ebx
jle 0x403060
xor edi, edi
cmp dword [esp + 0x54], ebx
je 0x403036
mov al, byte [ebp]
sub dword [esp + 0x54], 1
mov byte [esp + edi + 0x18], al
add edi, 1
add ebp, 1
cmp edi, 3
jne 0x402f53
mov al, byte [esp + 0x18]
mov cl, al
shr cl, 2
mov dl, al
mov al, byte [esp + 0x19]
and dl, 3
mov byte [esp + 0x14], cl
shl dl, 4
mov cl, al
shr cl, 4
add dl, cl
mov byte [esp + 0x15], dl
mov dl, al
mov al, byte [esp + 0x1a]
and dl, 0xf
add dl, dl
mov cl, al
add dl, dl
shr cl, 6
add dl, cl
and al, 0x3f
mov byte [esp + 0x16], dl
mov byte [esp + 0x17], al
xor edi, edi
movzx esi, byte [esp + edi + 0x14]
cmp esi, dword [0x4931d0]
jbe 0x402f24
call fcn.00455c60
cmp dword [0x4931d4], 0x10
mov eax, dword [0x4931c0]
jae 0x402f37
mov eax, 0x4931c0
mov bl, byte [eax + esi]
lea esi, [esp + 0x20]
call fcn.004030c0
add edi, 1
cmp edi, 4
jl 0x402f12
mov esi, dword [esp + 0x1c]
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x54], ebx
jne 0x402eb3
cmp edi, ebx
je 0x403036
cmp edi, 3
jge 0x402f80
mov edx, 3
sub edx, edi
push edx
lea eax, [esp + edi + 0x1c]
push ebx
push eax
call fcn.00457910
add esp, 0xc
mov cl, byte [esp + 0x18]
mov al, cl
shr al, 2
mov byte [esp + 0x14], al
mov al, byte [esp + 0x19]
mov dl, al
and cl, 3
shl cl, 4
shr dl, 4
add cl, dl
and al, 0xf
mov byte [esp + 0x15], cl
mov cl, byte [esp + 0x1a]
add al, al
mov dl, cl
add al, al
shr dl, 6
add al, dl
mov byte [esp + 0x16], al
and cl, 0x3f
lea eax, [edi + 1]
xor ebp, ebp
cmp eax, ebx
mov byte [esp + 0x17], cl
jle 0x403011
jmp 0x402fd0
movzx esi, byte [esp + ebp + 0x14]
cmp esi, dword [0x4931d0]
jbe 0x402fe2
call fcn.00455c60
cmp dword [0x4931d4], 0x10
mov eax, dword [0x4931c0]
jae 0x402ff5
mov eax, 0x4931c0
mov bl, byte [eax + esi]
lea esi, [esp + 0x20]
call fcn.004030c0
add ebp, 1
lea eax, [edi + 1]
cmp ebp, eax
jl 0x402fd0
mov esi, dword [esp + 0x1c]
xor ebx, ebx
cmp edi, 3
jge 0x403036
mov ebp, 3
sub ebp, edi
lea ecx, [ecx]
mov bl, 0x3d
lea esi, [esp + 0x20]
call fcn.004030c0
sub ebp, 1
jne 0x403020
mov esi, dword [esp + 0x1c]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x28]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00402850
cmp dword [esp + 0x38], 0x10
jb 0x403097
mov ecx, dword [esp + 0x24]
push ecx
jmp 0x40308f
push ebx
push 0x47b719
lea ecx, [esp + 0x28]
call fcn.004025e0
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00402850
cmp dword [esp + 0x38], 0x10
jb 0x403097
mov edx, dword [esp + 0x24]
push edx
call fcn.00439979
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00455843
add esp, 0x38
ret