Function at 0x4b1140
Capabilities:
Encode data using base64

Disassembly:
push 0xffffffffffffffff
push 0x5e2e39
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov eax, dword [esp + 0x64]
mov edi, ecx
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], ecx
mov dword [esp + 0x28], eax
add eax, 4
mov dword [esp + 0x20], edi
mov byte [eax], cl
mov dword [esp + 0x5c], ecx
mov eax, dword [edi + 0x18]
cmp eax, 0x10
mov dword [esp + 0x34], 1
jb 0x4b11a3
mov esi, dword [edi + 4]
jmp 0x4b11a6
lea esi, [edi + 4]
cmp esi, ecx
je 0x4b11cc
cmp eax, 0x10
lea ecx, [edi + 4]
jb 0x4b11b6
mov edx, dword [ecx]
jmp 0x4b11b8
mov edx, ecx
cmp edx, esi
ja 0x4b11cc
cmp eax, 0x10
jb 0x4b11c3
mov ecx, dword [ecx]
mov eax, dword [edi + 0x14]
add eax, ecx
cmp esi, eax
jbe 0x4b11d1
call fcn.005b8b18
mov dword [esp + 0x30], esi
jmp 0x4b11e4
mov edi, dword [esp + 0x20]
mov edx, dword [edi + 0x18]
cmp edx, 0x10
lea ebp, [edi + 4]
jb 0x4b11f4
mov eax, dword [ebp]
jmp 0x4b11f6
mov eax, ebp
mov ecx, dword [edi + 0x14]
lea esi, [ecx + eax]
test esi, esi
je 0x4b1222
cmp edx, 0x10
jb 0x4b120a
mov eax, dword [ebp]
jmp 0x4b120c
mov eax, ebp
cmp eax, esi
ja 0x4b1222
cmp edx, 0x10
jb 0x4b121a
mov eax, dword [ebp]
jmp 0x4b121c
mov eax, ebp
add ecx, eax
cmp esi, ecx
jbe 0x4b1227
call fcn.005b8b18
mov ebx, dword [esp + 0x30]
cmp ebx, esi
je 0x4b1458
mov edx, dword [edi + 0x18]
cmp edx, 0x10
jb 0x4b1240
mov eax, dword [ebp]
jmp 0x4b1242
mov eax, ebp
mov ecx, dword [edi + 0x14]
lea esi, [ecx + eax]
test esi, esi
je 0x4b126e
cmp edx, 0x10
jb 0x4b1256
mov eax, dword [ebp]
jmp 0x4b1258
mov eax, ebp
cmp eax, esi
ja 0x4b126e
cmp edx, 0x10
jb 0x4b1266
mov eax, dword [ebp]
jmp 0x4b1268
mov eax, ebp
add ecx, eax
cmp esi, ecx
jbe 0x4b1273
call fcn.005b8b18
sub esi, ebx
cmp esi, 3
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], 3
lea eax, [esp + 0x3c]
jl 0x4b128e
lea eax, [esp + 0x38]
mov ebx, dword [eax]
xor eax, eax
cmp edi, 0xfffffffe
mov word [esp + 0x18], ax
mov byte [esp + 0x1a], al
je 0x4b12cf
mov edx, dword [edi + 0x18]
cmp edx, 0x10
jb 0x4b12ad
mov ecx, dword [ebp]
jmp 0x4b12af
mov ecx, ebp
mov eax, dword [esp + 0x30]
mov esi, dword [edi + 0x14]
add eax, ebx
add esi, ecx
cmp eax, esi
ja 0x4b12ca
cmp edx, 0x10
jb 0x4b12c6
mov ebp, dword [ebp]
cmp eax, ebp
jae 0x4b12cf
call fcn.005b8b18
mov ecx, dword [esp + 0x30]
lea ebp, [ecx + ebx]
xor ecx, ecx
mov byte [esp + 0x24], cl
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x2c]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
lea edx, [esp + 0x34]
lea esi, [ecx + 3]
xor edi, edi
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov edi, dword [esp + 0x4c]
mov dword [eax + 0xc], esi
push ebp
lea esi, [esp + 0x60]
call fcn.004b2730
mov eax, dword [esp + 0x40]
add esp, 0x20
cmp eax, 0xfffffffe
je 0x4b134a
mov edx, dword [eax + 0x18]
cmp edx, 0x10
jb 0x4b132b
mov ecx, dword [eax + 4]
jmp 0x4b132e
lea ecx, [eax + 4]
mov esi, dword [eax + 0x14]
add esi, ecx
cmp ebp, esi
ja 0x4b1345
add eax, 4
cmp edx, 0x10
jb 0x4b1341
mov eax, dword [eax]
cmp ebp, eax
jae 0x4b134a
call fcn.005b8b18
mov al, byte [esp + 0x18]
mov cl, al
shr cl, 2
mov byte [esp + 0x1c], cl
mov cl, byte [esp + 0x19]
and al, 3
mov dl, cl
shl al, 4
shr dl, 4
or al, dl
and cl, 0xf
mov byte [esp + 0x1d], al
mov al, byte [esp + 0x1a]
add cl, cl
mov dl, al
add cl, cl
shr dl, 6
mov dword [esp + 0x30], ebp
or cl, dl
and al, 0x3f
lea ebp, [ebx + 1]
xor esi, esi
test ebp, ebp
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], al
jle 0x4b13c2
jmp 0x4b13a0
movzx eax, byte [esp + esi + 0x1c]
movzx ecx, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edi, dword [esp + 0x28]
push ecx
mov eax, 1
call fcn.004192a0
add esi, 1
cmp esi, ebp
jl 0x4b13a0
mov eax, 3
sub eax, ebx
test eax, eax
jle 0x4b11e0
mov ebx, eax
mov edi, dword [esp + 0x28]
or edx, 0xffffffff
sub edx, dword [edi + 0x14]
cmp edx, 1
ja 0x4b13e7
call fcn.005d746c
mov esi, dword [edi + 0x14]
add esi, 1
cmp esi, 0xfffffffe
jbe 0x4b13f7
call fcn.005d746c
mov eax, dword [edi + 0x18]
cmp eax, esi
jae 0x4b1420
mov eax, dword [edi + 0x14]
push eax
push esi
mov ecx, edi
call fcn.0040bf60
test esi, esi
jbe 0x4b144e
mov ecx, dword [edi + 0x14]
mov edx, 0x10
cmp dword [edi + 0x18], edx
jb 0x4b1436
mov eax, dword [edi + 4]
jmp 0x4b1439
test esi, esi
jne 0x4b140c
cmp eax, 0x10
mov dword [edi + 0x14], esi
lea eax, [edi + 4]
jb 0x4b1431
mov eax, dword [eax]
mov byte [eax], 0
jmp 0x4b144e
lea eax, [edi + 4]
mov byte [eax + ecx], 0x3d
cmp dword [edi + 0x18], edx
mov dword [edi + 0x14], esi
lea eax, [edi + 4]
jb 0x4b144a
mov eax, dword [eax]
mov byte [eax + esi], 0
sub ebx, 1
jne 0x4b13d3
jmp 0x4b11e0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret