Function at 0x5c3e99
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0xc]
test ebx, ebx
je case.0x5c3eea.6
test esi, esi
jne 0x5c3ecb
push 0
push 0
push 0x74
push ebx
call fcn.005db440
add esp, 0x10
jmp case.0x5c3eea.6
xor eax, eax
mov al, byte [esi]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
add edx, 0xfffffffa
cmp edx, 0x84
ja case.0x5c3eea.6
mov dl, byte [edx + 0x5c3ef1]
jmp dword [edx*4 + 0x5c3f76]
mov eax, dword [esi + 0x2c]
mov edx, dword [eax + 0x10]
mov ecx, dword [esi + 0x30]
shl ecx, 2
lea ecx, [ecx + ecx*4]
add edx, ecx
cmp byte [eax], 0
jne 0x5c3ffd
push 0
push dword [edx + 0xc]
push 1
push ebx
call fcn.005db440
add esp, 0x10
jmp case.0x5c3eea.6
cmp byte [eax + 1], 0
je case.0x5c3eea.28
push dword [edx + 8]
push dword [eax + 4]
push 2
push ebx
call fcn.005db440
add esp, 0x10
jmp case.0x5c3eea.6
cmp dword [esi + 0x28], 0
jl 0x5c4044
push dword [esi + 0x28]
push dword [esi + 0x24]
push 2
push ebx
call fcn.005db440
add esp, 0x10
push dword [esi + 0x28]
push dword [esi + 0x3c]
push ebx
call fcn.005d3de6
add esp, 0xc
jmp case.0x5c3eea.6
push 0
push dword [esi + 0x24]
push 0x21
push ebx
call fcn.005db440
add esp, 0x10
jmp case.0x5c3eea.6
mov eax, dword [esi + 0x18]
shr eax, 1
and eax, 0x7fffffff
push eax
push dword [esi + 0x14]
push ebx
call fcn.005c3e2e
add esp, 0xc
jmp case.0x5c3eea.6
push esi
call fcn.005c2ba0
pop ecx
mov edx, dword [esi + 0x18]
shr edx, 1
and edx, 0x7fffffff
push edx
push dword [esi + 0x14]
push 0
push 0
push dword [ebp - 4]
push ebx
call fcn.005db49b
add esp, 0x18
jmp case.0x5c3eea.6
push 0
push 0
push 0x74
push ebx
call fcn.005db440
add esp, 0x10
jmp case.0x5c3eea.6
mov eax, dword [esi + 0x18]
shr eax, 1
and eax, 0x7fffffff
sub eax, 3
mov edx, dword [esi + 0x14]
add edx, 2
test eax, eax
jne 0x5c40d0
mov edx, 0x7aaca6
push eax
push edx
push 0
push 0
push dword [ebp - 4]
push ebx
call fcn.005db49b
add esp, 0x18
jmp case.0x5c3eea.6
push 0
push dword [esi + 0x24]
push 0x16
push ebx
call fcn.005db440
add esp, 0x10
mov eax, dword [esi + 0x18]
shr eax, 1
and eax, 0x7fffffff
cmp eax, 1
jbe case.0x5c3eea.6
mov ecx, dword [esi + 0x18]
shr ecx, 1
and ecx, 0x7fffffff
push ecx
push dword [esi + 0x14]
push 0xffffffffffffffff
push ebx
call fcn.005db7dc
add esp, 0x10
jmp case.0x5c3eea.6
push 0
push dword [esi + 0x24]
push 1
push ebx
call fcn.005db440
add esp, 0x10
jmp case.0x5c3eea.6
push dword [esi + 8]
push edi
call fcn.005c3e99
add esp, 8
add esi, 0x14
push esi
call fcn.005bdde9
pop ecx
movsx eax, al
sub eax, 0x69
je 0x5c416b
sub eax, 5
je 0x5c4174
dec eax
je 0x5c4186
sub eax, 5
je 0x5c417d
jmp 0x5c418d
mov dword [ebp - 8], 0xa
jmp 0x5c418d
mov dword [ebp - 8], 0x2c
jmp 0x5c418d
mov dword [ebp - 8], 0x64
jmp 0x5c418d
mov dword [ebp - 8], 0x40
push 0
push 0
push dword [ebp - 8]
push ebx
call fcn.005db440
add esp, 0x10
jmp case.0x5c3eea.6
push dword [esi + 8]
push edi
call fcn.005c3e99
add esp, 8
push dword [esi + 0xc]
push edi
call fcn.005c3e99
add esp, 8
push 0
push 0
push dword [ebp - 4]
push dword [esi + 0xc]
push dword [esi + 8]
push edi
call fcn.005c27e4
add esp, 0x18
jmp case.0x5c3eea.6
push dword [esi + 8]
push edi
call fcn.005c3e99
add esp, 8
push dword [esi + 0xc]
push edi
call fcn.005c3e99
add esp, 8
push 0
push 0
push dword [ebp - 4]
push ebx
call fcn.005db440
add esp, 0x10
jmp case.0x5c3eea.6
mov edx, dword [esi + 8]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
cmp byte [ecx], 0x85
je 0x5c421c
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0x84
jne case.0x5c3eea.15
mov esi, dword [ebp - 0xc]
add esi, 0x14
mov eax, dword [esi + 4]
shr eax, 1
and eax, 0x7fffffff
add eax, 2
push eax
call fcn.005d513d
pop ecx
mov edi, eax
push dword [esi]
mov eax, dword [esi + 4]
shr eax, 1
and eax, 0x7fffffff
push eax
push 0x7aaca7
push edi
call fcn.005dff6c
add esp, 0x10
mov edx, dword [ebp - 0xc]
cmp byte [edx], 0x85
jne 0x5c427d
mov ecx, dword [esi + 4]
shr ecx, 1
and ecx, 0x7fffffff
inc ecx
push ecx
push edi
push 0
push 0
push 0x85
push ebx
call fcn.005db49b
add esp, 0x18
jmp 0x5c4293
mov eax, dword [esi + 4]
shr eax, 1
and eax, 0x7fffffff
inc eax
push eax
push edi
push ebx
call fcn.005c3e2e
add esp, 0xc
push edi
call fcn.005d51a5
pop ecx
jmp case.0x5c3eea.6
push dword [esi + 8]
push edi
call fcn.005c3e99
add esp, 8
push 0
push 0
push dword [ebp - 4]
push ebx
call fcn.005db440
add esp, 0x10
jmp case.0x5c3eea.6
push 0
push 1
push 0x2b
push ebx
call fcn.005db440
add esp, 0x10
push dword [esi + 8]
push edi
call fcn.005c3e99
add esp, 8
push ebx
call fcn.005db655
pop ecx
add eax, 2
push eax
push 1
push dword [ebp - 4]
push ebx
call fcn.005db440
add esp, 0x10
push 0
push 0xffffffffffffffff
push 0x23
push ebx
call fcn.005db440
add esp, 0x10
jmp case.0x5c3eea.6
mov eax, dword [esi + 0x2c]
push 0
mov edx, dword [esi + 0x30]
shl edx, 4
mov ecx, dword [eax + 0x20]
push dword [ecx + edx + 8]
push 1
push ebx
call fcn.005db440
add esp, 0x10
jmp case.0x5c3eea.6
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5c433d
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx]
jmp 0x5c433f
xor ecx, ecx
mov dword [ebp - 0x14], ecx
xor eax, eax
mov dword [ebp - 0x24], eax
mov edx, dword [edi]
mov al, byte [edx + 0x10]
mov byte [ebp - 0x25], al
xor edx, edx
mov dword [ebp - 0x2c], edx
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x20], ecx
mov eax, dword [esi + 0x18]
shr eax, 1
and eax, 0x7fffffff
mov dword [ebp - 0x1c], eax
push 0
mov dl, byte [ebp - 0x25]
push edx
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [edi]
call fcn.005c03e2
add esp, 0x18
mov dword [ebp - 0x18], eax
push dword [ebp - 0x10]
push edi
call fcn.005c47b2
add esp, 8
mov dword [ebp - 0x14], eax
xor esi, esi
jmp 0x5c43e0
lea eax, [esi + esi*2]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0xc]
push dword [ecx + eax*4]
call fcn.005c327c
pop ecx
test eax, eax
je 0x5c43b8
mov ecx, esi
mov eax, 1
shl eax, cl
or dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x18]
cmp byte [edx + 3], 0
je 0x5c43df
cmp dword [ebp - 0x2c], 0
jne 0x5c43df
lea eax, [esi + esi*2]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0xc]
push dword [ecx + eax*4]
push edi
call fcn.005c267c
add esp, 8
mov dword [ebp - 0x2c], eax
inc esi
cmp esi, dword [ebp - 0x14]
jge 0x5c43ea
cmp esi, 0x20
jl 0x5c4396
mov eax, dword [ebp - 0x18]
cmp byte [eax + 3], 0
je 0x5c4415
cmp dword [ebp - 0x2c], 0
jne 0x5c4401
mov edx, dword [edi]
mov ecx, dword [edx + 0x18]
mov dword [ebp - 0x2c], ecx
push 0xfffffffffffffffc
push dword [ebp - 0x2c]
push 0
push 0
push 0xc
push ebx
call fcn.005db49b
add esp, 0x18
push 0xfffffffffffffffb
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x24]
push 0x12
push ebx
call fcn.005db49b
add esp, 0x18
jmp case.0x5c3eea.6
push esi
push edi
call fcn.005c3b99
add esp, 8
push 0
push dword [esi + 0x28]
push 1
push ebx
call fcn.005db440
add esp, 0x10
jmp case.0x5c3eea.6
push esi
push edi
call fcn.005c3b99
add esp, 8
push esi
call fcn.005c270e
pop ecx
mov byte [ebp - 0x2d], al
push 0
push 1
push 0x2b
push ebx
call fcn.005db440
add esp, 0x10
push dword [esi + 8]
push edi
call fcn.005c3e99
add esp, 8
push ebx
call fcn.005db655
pop ecx
mov edi, eax
lea eax, [edi + 4]
push eax
push 0xffffffffffffffff
push 0x4a
push ebx
call fcn.005db440
add esp, 0x10
push 0
push 2
push 0xb
push ebx
call fcn.005db440
add esp, 0x10
push 0
push 0
push 0x74
push ebx
call fcn.005db440
add esp, 0x10
lea edx, [edi + 7]
push edx
push 0
push 0x47
push ebx
call fcn.005db440
add esp, 0x10
push 1
lea ecx, [ebp - 0x2d]
push ecx
push 0
push 1
push 0x3f
push ebx
call fcn.005db49b
add esp, 0x18
add edi, 7
push edi
push dword [esi + 0x24]
push 0x7b
push ebx
call fcn.005db440
add esp, 0x10
push 0
push 0xffffffffffffffff
push 0x23
push ebx
call fcn.005db440
add esp, 0x10
jmp case.0x5c3eea.6
mov eax, dword [esi + 8]
mov dword [ebp - 0x34], eax
mov edx, dword [esi + 0x10]
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
mov esi, dword [eax]
push dword [ebp - 0x34]
push edi
call fcn.005c3e99
add esp, 8
push 0
push 0
push 0x46
push ebx
call fcn.005db440
add esp, 0x10
push esi
push edi
call fcn.005c3e99
add esp, 8
push 0
push 0
push 0x50
push esi
push dword [ebp - 0x34]
push edi
call fcn.005c27e4
add esp, 0x18
push 0
push 1
push 0x63
push ebx
call fcn.005db440
add esp, 0x10
add dword [ebp - 0x38], 0xc
mov eax, dword [ebp - 0x38]
mov esi, dword [eax]
push esi
push edi
call fcn.005c3e99
add esp, 8
push 0
push 0
push 0x4e
push esi
push dword [ebp - 0x34]
push edi
call fcn.005c27e4
add esp, 0x18
push 0
push 0
push 0x44
push ebx
call fcn.005db440
add esp, 0x10
jmp case.0x5c3eea.6
push dword [esi + 8]
push edi
call fcn.005c3e99
add esp, 8
jmp case.0x5c3eea.6
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x4c], edx
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
push ebx
call fcn.005db4cd
pop ecx
mov dword [ebp - 0x3c], eax
cmp dword [esi + 8], 0
je 0x5c45d2
push dword [esi + 8]
push edi
call fcn.005c3e99
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x44]
jge 0x5c4693
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx + ecx*2]
mov eax, dword [ebp - 0x4c]
push dword [eax + ecx*4]
push edi
call fcn.005c3e99
add esp, 8
cmp dword [esi + 8], 0
je 0x5c463f
push 1
push 1
push 0x46
push ebx
call fcn.005db440
add esp, 0x10
push 1
push 0
push 0x4b
mov edx, dword [ebp - 0x48]
lea edx, [edx + edx*2]
mov ecx, dword [ebp - 0x4c]
push dword [ecx + edx*4]
push dword [esi + 8]
push edi
call fcn.005c27e4
add esp, 0x18
mov dword [ebp - 0x40], eax
push 0
push 1
push 0xb
push ebx
call fcn.005db440
add esp, 0x10
jmp 0x5c4651
push 0
push 1
push 0x3d
push ebx
call fcn.005db440
add esp, 0x10
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x48]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 0x4c]
push dword [edx + eax*4 + 0xc]
push edi
call fcn.005c3e99
add esp, 8
push dword [ebp - 0x3c]
push 0
push 0x47
push ebx
call fcn.005db440
add esp, 0x10
push dword [ebp - 0x40]
push ebx
call fcn.005db75e
add esp, 8
add dword [ebp - 0x48], 2
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [ebp - 0x44]
jl 0x5c45e3
cmp dword [esi + 8], 0
je 0x5c46a8
push 0
push 1
push 0xb
push ebx
call fcn.005db440
add esp, 0x10
cmp dword [esi + 0xc], 0
je 0x5c46bc
push dword [esi + 0xc]
push edi
call fcn.005c3e99
add esp, 8
jmp 0x5c46cb
push 0
push 0
push 0x74
push ebx
call fcn.005db440
add esp, 0x10
push dword [ebp - 0x3c]
push ebx
call fcn.005db517
add esp, 8
jmp case.0x5c3eea.6
cmp dword [edi + 0x9c], 0
jne 0x5c46f2
push 0x7aacad
push edi
call fcn.005d5373
add esp, 8
jmp case.0x5c3eea.6
cmp dword [esi + 0x28], 4
je 0x5c471f
push esi
call fcn.005c2ba0
pop ecx
mov eax, dword [esi + 0x18]
shr eax, 1
and eax, 0x7fffffff
push eax
push dword [esi + 0x14]
push dword [esi + 0x28]
push 0x13
push 0x20
push ebx
call fcn.005db49b
add esp, 0x18
jmp case.0x5c3eea.6
push 0
push 0
push 0x68
push ebx
call fcn.005db440
add esp, 0x10
mov edx, dword [edi + 0x9c]
push dword [edx + 0x10]
push 0
push 0x47
push ebx
call fcn.005db440
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret