Function at 0x4e8162
Capabilities:
Encode data using base64

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, ecx
mov ecx, dword [ecx + 0x1720]
mov ebp, dword [eax + 0x1718]
mov dword [esp], eax
mov eax, dword [eax + 0x171c]
mov dword [esp + 0xc], eax
cmp dword [esp + 0x3c], 0
js 0x4e88dc
mov dword [esp + 0x20], edx
movzx eax, word [edx + 2]
xor ebx, ebx
mov dword [esp + 0x1c], eax
test eax, eax
mov eax, 0x8a
mov edx, 7
cmove edx, eax
mov dword [esp + 0x10], edx
setne bl
add ebx, 3
mov dword [esp + 0x18], ebx
xor edi, edi
dec edi
xor edx, edx
xor esi, esi
mov dword [esp + 8], ebp
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
movzx eax, word [eax + edx*4 + 6]
mov dword [esp + 4], esi
lea ebp, [esi + 1]
mov dword [esp + 0x14], ebp
cmp ebp, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov ebp, edx
mov dword [esp + 0x24], edx
jge 0x4e8202
cmp ebx, eax
jne 0x4e8202
mov eax, dword [esp + 8]
mov ebx, edi
mov edi, eax
mov esi, dword [esp + 0x14]
jmp 0x4e88c1
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
jge 0x4e82e6
mov edx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
mov esi, dword [esp]
movzx eax, word [esi + ebx*4 + 0xacc]
movzx edi, word [esi + ebx*4 + 0xace]
lea esi, [ecx + edi]
cmp esi, 0x3f
ja 0x4e8255
movzx edi, ax
xor eax, eax
shld eax, edi, cl
shl edi, cl
test cl, 0x20
cmovne eax, edi
mov ecx, 0
cmovne edi, ecx
or edx, eax
or edi, ebp
jmp 0x4e82d3
mov dword [esp + 8], ebp
movzx ebp, ax
cmp ecx, 0x40
jne 0x4e827f
mov esi, dword [esp]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
mov dword [eax + ecx + 4], edx
mov edx, dword [esp + 8]
mov dword [eax + ecx], edx
add dword [esi + 0x10], 8
xor edx, edx
mov esi, edi
jmp 0x4e82d1
xor eax, eax
shld eax, ebp, cl
mov ebx, ebp
shl ebx, cl
xor edi, edi
test cl, 0x20
cmovne eax, ebx
cmovne ebx, edi
or eax, edx
or ebx, dword [esp + 8]
mov edx, dword [esp]
mov edx, dword [edx + 4]
mov edi, esi
mov esi, dword [esp]
mov esi, dword [esi + 0x10]
mov dword [edx + esi + 4], eax
mov dword [edx + esi], ebx
mov esi, edi
mov ebx, dword [esp + 0x10]
mov dl, 0x40
sub dl, cl
mov ecx, edx
xor edi, edi
shrd ebp, edi, cl
mov eax, dword [esp]
add dword [eax + 0x10], 8
test dl, 0x20
cmovne ebp, edi
add esi, 0xffffffc0
xor edx, edx
mov edi, ebp
mov ebp, edi
mov ecx, esi
dec dword [esp + 0x14]
jne 0x4e821c
jmp 0x4e8886
test ebx, ebx
mov edx, dword [esp + 0xc]
je 0x4e8301
cmp ebx, edi
jne 0x4e8354
mov edi, dword [esp + 8]
mov ebx, ecx
mov esi, dword [esp + 0x14]
jmp 0x4e84c8
cmp dword [esp + 4], 9
jg 0x4e8396
mov esi, dword [esp]
movzx eax, word [esi + 0xb10]
movzx edi, word [esi + 0xb12]
lea esi, [ecx + edi]
mov dword [esp + 4], esi
movzx ebx, ax
cmp esi, 0x3f
ja 0x4e8414
xor ebp, ebp
shld ebp, ebx, cl
shl ebx, cl
test cl, 0x20
cmovne ebp, ebx
mov eax, 0
cmovne ebx, eax
or ebp, edx
or ebx, dword [esp + 8]
mov ecx, dword [esp + 4]
jmp 0x4e86ac
mov eax, dword [esp]
movzx edi, word [eax + ebx*4 + 0xacc]
movzx eax, word [eax + ebx*4 + 0xace]
lea ebx, [ecx + eax]
movzx edi, di
cmp ebx, 0x3f
ja 0x4e83de
xor eax, eax
shld eax, edi, cl
shl edi, cl
test cl, 0x20
cmovne eax, edi
mov ecx, 0
cmovne edi, ecx
or edx, eax
mov dword [esp + 0xc], edx
or edi, dword [esp + 8]
jmp 0x4e84c4
mov esi, dword [esp]
movzx eax, word [esi + 0xb14]
movzx edi, word [esi + 0xb16]
lea esi, [ecx + edi]
mov dword [esp + 4], esi
movzx ebx, ax
cmp esi, 0x3f
ja 0x4e843e
xor ebp, ebp
shld ebp, ebx, cl
shl ebx, cl
test cl, 0x20
cmovne ebp, ebx
mov eax, 0
cmovne ebx, eax
or ebp, edx
or ebx, dword [esp + 8]
mov ecx, dword [esp + 4]
jmp 0x4e8750
cmp ecx, 0x40
jne 0x4e8468
mov ecx, dword [esp]
mov ecx, dword [ecx + 4]
mov esi, dword [esp]
mov esi, dword [esi + 0x10]
mov dword [ecx + esi + 4], edx
mov edx, dword [esp + 8]
mov dword [ecx + esi], edx
mov ecx, dword [esp]
add dword [ecx + 0x10], 8
mov dword [esp + 0xc], 0
mov ebx, eax
jmp 0x4e84c4
cmp ecx, 0x40
jne 0x4e8662
xor ebp, ebp
mov esi, dword [esp]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
mov dword [eax + ecx + 4], edx
mov edx, dword [esp + 8]
mov dword [eax + ecx], edx
add dword [esi + 0x10], 8
mov ecx, edi
jmp 0x4e86ac
cmp ecx, 0x40
jne 0x4e8706
xor ebp, ebp
mov esi, dword [esp]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
mov dword [eax + ecx + 4], edx
mov edx, dword [esp + 8]
mov dword [eax + ecx], edx
add dword [esi + 0x10], 8
mov ecx, edi
jmp 0x4e8750
mov dword [esp + 0x14], ebx
mov ebx, edi
xor edi, edi
shld edi, ebx, cl
mov eax, ebx
shl eax, cl
xor esi, esi
test cl, 0x20
cmovne edi, eax
cmovne eax, esi
or edi, edx
or eax, dword [esp + 8]
mov edx, dword [esp]
mov edx, dword [edx + 4]
mov esi, dword [esp]
mov esi, dword [esi + 0x10]
mov dword [edx + esi + 4], edi
mov edi, ebx
mov ebx, dword [esp + 0x14]
mov dword [edx + esi], eax
mov dl, 0x40
sub dl, cl
mov ecx, edx
xor esi, esi
shrd edi, esi, cl
mov eax, dword [esp]
add dword [eax + 0x10], 8
test dl, 0x20
cmovne edi, esi
add ebx, 0xffffffc0
mov dword [esp + 0xc], 0
mov esi, dword [esp + 4]
mov ecx, dword [esp]
movzx eax, word [ecx + 0xb0c]
movzx ecx, word [ecx + 0xb0e]
lea edx, [ebx + ecx]
mov dword [esp + 0x14], edx
cmp edx, 0x3f
mov edx, ebx
ja 0x4e8510
movzx ebx, ax
xor ebp, ebp
mov ecx, edx
shld ebp, ebx, cl
shl ebx, cl
test dl, 0x20
cmovne ebp, ebx
mov eax, 0
cmovne ebx, eax
or ebp, dword [esp + 0xc]
or ebx, edi
mov edx, dword [esp + 0x14]
jmp 0x4e8592
mov dword [esp + 8], edi
mov dword [esp + 4], esi
movzx ebx, ax
cmp edx, 0x40
jne 0x4e8542
xor ebp, ebp
mov esi, dword [esp]
mov eax, dword [esi + 4]
mov edx, dword [esi + 0x10]
mov edi, dword [esp + 0xc]
mov dword [eax + edx + 4], edi
mov edi, dword [esp + 8]
mov dword [eax + edx], edi
add dword [esi + 0x10], 8
mov edx, ecx
jmp 0x4e858e
xor edi, edi
mov ecx, edx
shld edi, ebx, cl
xor ebp, ebp
mov eax, ebx
shl eax, cl
test dl, 0x20
cmovne edi, eax
cmovne eax, ebp
or edi, dword [esp + 0xc]
or eax, dword [esp + 8]
mov ecx, dword [esp]
mov ecx, dword [ecx + 4]
mov esi, dword [esp]
mov esi, dword [esi + 0x10]
mov dword [ecx + esi + 4], edi
mov dword [ecx + esi], eax
mov cl, 0x40
sub cl, dl
mov eax, dword [esp]
add dword [eax + 0x10], 8
shrd ebx, ebp, cl
test cl, 0x20
cmovne ebx, ebp
mov edx, dword [esp + 0x14]
add edx, 0xffffffc0
mov esi, dword [esp + 4]
mov edi, esi
sar edi, 0x1f
add esi, 0xfffffffd
adc edi, 0xffffffff
cmp edx, 0x3d
ja 0x4e85cd
mov ecx, edx
shld edi, esi, cl
shl esi, cl
test dl, 0x20
cmovne edi, esi
mov eax, 0
cmovne esi, eax
or edi, ebp
or esi, ebx
mov eax, esi
lea esi, [edx + 2]
mov ebx, dword [esp + 0x10]
mov edx, edi
mov edi, eax
jmp 0x4e8886
cmp edx, 0x40
jne 0x4e85f8
mov edx, dword [esp]
mov eax, dword [edx + 4]
mov ecx, dword [edx + 0x10]
mov dword [eax + ecx + 4], ebp
mov dword [eax + ecx], ebx
add dword [edx + 0x10], 8
mov ebx, dword [esp + 0x10]
mov edx, edi
mov edi, esi
mov esi, 2
jmp 0x4e8886
mov eax, edi
mov dword [esp + 0xc], edi
mov ecx, edx
mov edi, esi
mov dword [esp + 4], esi
shld eax, esi, cl
shl edi, cl
test dl, 0x20
cmovne eax, edi
mov ecx, 0
cmovne edi, ecx
or eax, ebp
or edi, ebx
mov ecx, dword [esp]
mov ecx, dword [ecx + 4]
mov esi, dword [esp]
mov esi, dword [esi + 0x10]
mov dword [ecx + esi + 4], eax
mov dword [ecx + esi], edi
mov edi, dword [esp + 4]
mov eax, dword [esp]
add dword [eax + 0x10], 8
mov cl, 0x40
sub cl, dl
mov eax, dword [esp + 0xc]
shrd edi, eax, cl
shr eax, cl
test cl, 0x20
cmovne edi, eax
mov ecx, 0
cmovne eax, ecx
add edx, 0xffffffc2
mov esi, edx
mov edx, eax
jmp 0x4e8882
xor edi, edi
shld edi, ebx, cl
xor ebp, ebp
mov eax, ebx
shl eax, cl
test cl, 0x20
cmovne edi, eax
cmovne eax, ebp
or edi, edx
or eax, dword [esp + 8]
mov edx, dword [esp]
mov edx, dword [edx + 4]
mov esi, dword [esp]
mov esi, dword [esi + 0x10]
mov dword [edx + esi + 4], edi
mov dword [edx + esi], eax
mov dl, 0x40
sub dl, cl
mov eax, dword [esp]
add dword [eax + 0x10], 8
mov ecx, edx
shrd ebx, ebp, cl
test dl, 0x20
cmovne ebx, ebp
mov ecx, dword [esp + 4]
add ecx, 0xffffffc0
mov edi, dword [esp + 0x14]
add edi, 0xfffffffd
mov edx, 0
adc edx, 0xffffffff
cmp ecx, 0x3c
ja 0x4e86df
shld edx, edi, cl
shl edi, cl
test cl, 0x20
cmovne edx, edi
mov eax, 0
cmovne edi, eax
or edx, ebp
or edi, ebx
lea esi, [ecx + 3]
jmp 0x4e8882
cmp ecx, 0x40
jne 0x4e87aa
mov esi, dword [esp]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
mov dword [eax + ecx + 4], ebp
mov dword [eax + ecx], ebx
add dword [esi + 0x10], 8
mov esi, 3
jmp 0x4e8882
xor edi, edi
shld edi, ebx, cl
xor ebp, ebp
mov eax, ebx
shl eax, cl
test cl, 0x20
cmovne edi, eax
cmovne eax, ebp
or edi, edx
or eax, dword [esp + 8]
mov edx, dword [esp]
mov edx, dword [edx + 4]
mov esi, dword [esp]
mov esi, dword [esi + 0x10]
mov dword [edx + esi + 4], edi
mov dword [edx + esi], eax
mov dl, 0x40
sub dl, cl
mov eax, dword [esp]
add dword [eax + 0x10], 8
mov ecx, edx
shrd ebx, ebp, cl
test dl, 0x20
cmovne ebx, ebp
mov ecx, dword [esp + 4]
add ecx, 0xffffffc0
mov edi, dword [esp + 0x14]
add edi, 0xfffffff5
mov edx, 0
adc edx, 0xffffffff
cmp ecx, 0x38
ja 0x4e8783
shld edx, edi, cl
shl edi, cl
test cl, 0x20
cmovne edx, edi
mov eax, 0
cmovne edi, eax
or edx, ebp
or edi, ebx
lea esi, [ecx + 7]
jmp 0x4e8882
cmp ecx, 0x40
jne 0x4e8817
mov esi, dword [esp]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x10]
mov dword [eax + ecx + 4], ebp
mov dword [eax + ecx], ebx
add dword [esi + 0x10], 8
mov esi, 7
jmp 0x4e8882
mov eax, edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
shld eax, edi, cl
mov dword [esp + 0xc], edx
mov edx, edi
mov ecx, dword [esp + 4]
shl edx, cl
test byte [esp + 4], 0x20
cmovne eax, edx
mov ecx, 0
cmovne edx, ecx
or eax, ebp
or edx, ebx
mov ecx, dword [esp]
mov ecx, dword [ecx + 4]
mov esi, dword [esp]
mov esi, dword [esi + 0x10]
mov dword [ecx + esi + 4], eax
mov dword [ecx + esi], edx
mov edx, dword [esp + 0xc]
mov cl, 0x40
mov ebx, dword [esp + 4]
sub cl, bl
shrd edi, edx, cl
mov eax, dword [esp]
add dword [eax + 0x10], 8
shr edx, cl
test cl, 0x20
cmovne edi, edx
mov eax, 0
cmovne edx, eax
mov esi, ebx
add esi, 0xffffffc3
jmp 0x4e8882
mov eax, edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
shld eax, edi, cl
mov dword [esp + 0xc], edx
mov edx, edi
mov ecx, dword [esp + 4]
shl edx, cl
test byte [esp + 4], 0x20
cmovne eax, edx
mov ecx, 0
cmovne edx, ecx
or eax, ebp
or edx, ebx
mov ecx, dword [esp]
mov ecx, dword [ecx + 4]
mov esi, dword [esp]
mov esi, dword [esi + 0x10]
mov dword [ecx + esi + 4], eax
mov dword [ecx + esi], edx
mov edx, dword [esp + 0xc]
mov cl, 0x40
mov ebx, dword [esp + 4]
sub cl, bl
shrd edi, edx, cl
mov eax, dword [esp]
add dword [eax + 0x10], 8
shr edx, cl
test cl, 0x20
cmovne edi, edx
mov eax, 0
cmovne edx, eax
mov esi, ebx
add esi, 0xffffffc7
mov ebx, dword [esp + 0x10]
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4e88ad
xor edx, edx
cmp ebx, eax
sete dl
mov eax, 4
sub eax, edx
mov dword [esp + 0x18], eax
xor edx, 7
mov dword [esp + 0x10], edx
jmp 0x4e88bd
mov dword [esp + 0x10], 0x8a
mov dword [esp + 0x18], 3
mov ecx, esi
xor esi, esi
mov ebp, edi
mov edx, dword [esp + 0x24]
lea eax, [edx + 1]
mov edi, ebx
mov ebx, ecx
cmp edx, dword [esp + 0x3c]
mov edx, eax
jne 0x4e81c1
jmp 0x4e88de
mov ebx, ecx
mov ecx, dword [esp]
mov dword [ecx + 0x1718], ebp
mov eax, dword [esp + 0xc]
mov dword [ecx + 0x171c], eax
mov dword [ecx + 0x1720], ebx
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret