Function at 0x10083d70
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014e959
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x101a8f24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
lea ecx, [eax + 2]
mov eax, 0xaaaaaaab
mul ecx
mov al, byte [ebp + 0x14]
shr edx, 1
add edx, edx
mov cl, al
xor edi, edi
add edx, edx
neg cl
sbb cl, cl
and cl, 0xf1
mov dword [ebp - 0x28], edi
add cl, 0x3d
movzx eax, al
mov byte [ebp - 0x18], cl
mov ecx, dword [eax*4 + 0x1019e434]
lea ebx, [esi + 4]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], edi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x10], ecx
mov byte [ebx], 0
mov dword [ebp - 4], edi
mov edi, dword [esi + 0x14]
cmp edi, edx
mov dword [ebp - 0x28], 1
ja 0x10083e1c
cmp dword [esi + 0x18], edx
je 0x10083e1c
push 1
push edx
mov ecx, esi
call fcn.10001490
test al, al
je 0x10083e1c
cmp dword [esi + 0x18], 0x10
mov dword [esi + 0x14], edi
jb 0x10083e16
mov eax, dword [ebx]
jmp 0x10083e18
mov eax, ebx
mov byte [eax + edi], 0
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 0x14], edi
jbe 0x100841b0
jmp 0x10083e33
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
movzx eax, byte [edi + edx]
mov ecx, dword [ebp - 0x10]
shr eax, 2
mov dl, byte [eax + ecx]
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
mov byte [ebp - 0x34], dl
jb 0x10083e52
mov eax, dword [ebx]
jmp 0x10083e54
mov eax, ebx
mov edx, dword [esi + 0x14]
add eax, edx
mov dword [ebp - 0x1c], eax
je 0x10083e81
cmp ecx, 0x10
jb 0x10083e67
mov edx, dword [ebx]
jmp 0x10083e69
mov edx, ebx
cmp edx, eax
ja 0x10083e81
cmp ecx, 0x10
jb 0x10083e76
mov edx, dword [ebx]
jmp 0x10083e78
mov edx, ebx
mov ecx, dword [esi + 0x14]
add ecx, edx
cmp eax, ecx
jbe 0x10083e86
call fcn.1012369b
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
push eax
push ecx
push esi
lea edx, [ebp - 0x44]
push edx
mov ecx, esi
call fcn.10083ce0
lea eax, [edi + 1]
cmp eax, dword [ebp + 0x10]
jae 0x1008409b
mov eax, dword [ebp + 0xc]
movzx ecx, byte [edi + eax]
movzx edx, byte [edi + eax + 1]
and ecx, 3
shl ecx, 4
add ecx, dword [ebp - 0x10]
shr edx, 4
mov al, byte [edx + ecx]
mov byte [ebp - 0x38], al
mov eax, dword [esi + 0x18]
cmp eax, 0x10
jb 0x10083ed0
mov ecx, dword [ebx]
jmp 0x10083ed2
mov ecx, ebx
mov edx, dword [esi + 0x14]
add edx, ecx
mov dword [ebp - 0x1c], edx
je 0x10083eff
cmp eax, 0x10
jb 0x10083ee5
mov ecx, dword [ebx]
jmp 0x10083ee7
mov ecx, ebx
cmp ecx, edx
ja 0x10083eff
cmp eax, 0x10
jb 0x10083ef4
mov ecx, dword [ebx]
jmp 0x10083ef6
mov ecx, ebx
mov eax, dword [esi + 0x14]
add eax, ecx
cmp edx, eax
jbe 0x10083f04
call fcn.1012369b
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x1c]
push ecx
push edx
push esi
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.10083ce0
lea ecx, [edi + 2]
cmp ecx, dword [ebp + 0x10]
jae 0x10083fed
mov eax, dword [ebp + 0xc]
movzx edx, byte [edi + eax + 1]
movzx eax, byte [edi + eax + 2]
shr eax, 6
add eax, dword [ebp - 0x10]
and edx, 0xf
mov cl, byte [eax + edx*4]
mov eax, dword [esi + 0x18]
cmp eax, 0x10
mov byte [ebp - 0x30], cl
jb 0x10083f4c
mov ecx, dword [ebx]
jmp 0x10083f4e
mov ecx, ebx
mov edx, dword [esi + 0x14]
lea edi, [edx + ecx]
test edi, edi
je 0x10083f78
cmp eax, 0x10
jb 0x10083f61
mov ecx, dword [ebx]
jmp 0x10083f63
mov ecx, ebx
cmp ecx, edi
ja 0x10083f78
cmp eax, 0x10
jb 0x10083f70
mov eax, dword [ebx]
jmp 0x10083f72
mov eax, ebx
add edx, eax
cmp edi, edx
jbe 0x10083f7d
call fcn.1012369b
mov edx, dword [ebp - 0x30]
push edx
push edi
push esi
lea eax, [ebp - 0x5c]
push eax
mov ecx, esi
call fcn.10083ce0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
movzx eax, byte [ecx + edx + 2]
mov ecx, dword [ebp - 0x10]
and eax, 0x3f
mov dl, byte [eax + ecx]
mov eax, dword [esi + 0x18]
cmp eax, 0x10
mov byte [ebp - 0x24], dl
jb 0x10083fb1
mov ecx, dword [ebx]
jmp 0x10083fb3
mov ecx, ebx
mov edx, dword [esi + 0x14]
lea edi, [edx + ecx]
test edi, edi
je 0x10083fdd
cmp eax, 0x10
jb 0x10083fc6
mov ecx, dword [ebx]
jmp 0x10083fc8
mov ecx, ebx
cmp ecx, edi
ja 0x10083fdd
cmp eax, 0x10
jb 0x10083fd5
mov eax, dword [ebx]
jmp 0x10083fd7
mov eax, ebx
add edx, eax
cmp edi, edx
jbe 0x10083fe2
call fcn.1012369b
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x7c]
jmp 0x10084193
mov edx, dword [ebp + 0xc]
movzx eax, byte [edi + edx + 1]
mov ecx, dword [ebp - 0x10]
and eax, 0xf
mov dl, byte [ecx + eax*4]
mov eax, dword [esi + 0x18]
cmp eax, 0x10
mov byte [ebp - 0x2c], dl
jb 0x1008400d
mov ecx, dword [ebx]
jmp 0x1008400f
mov ecx, ebx
mov edx, dword [esi + 0x14]
lea edi, [edx + ecx]
test edi, edi
je 0x10084039
cmp eax, 0x10
jb 0x10084022
mov ecx, dword [ebx]
jmp 0x10084024
mov ecx, ebx
cmp ecx, edi
ja 0x10084039
cmp eax, 0x10
jb 0x10084031
mov eax, dword [ebx]
jmp 0x10084033
mov eax, ebx
add edx, eax
cmp edi, edx
jbe 0x1008403e
call fcn.1012369b
mov eax, dword [ebp - 0x2c]
push eax
push edi
push esi
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, esi
call fcn.10083ce0
mov edx, dword [esi + 0x18]
cmp edx, 0x10
jb 0x1008405b
mov eax, dword [ebx]
jmp 0x1008405d
mov eax, ebx
mov ecx, dword [esi + 0x14]
lea edi, [ecx + eax]
test edi, edi
je 0x10084087
cmp edx, 0x10
jb 0x10084070
mov eax, dword [ebx]
jmp 0x10084072
mov eax, ebx
cmp eax, edi
ja 0x10084087
cmp edx, 0x10
jb 0x1008407f
mov eax, dword [ebx]
jmp 0x10084081
mov eax, ebx
add ecx, eax
cmp edi, ecx
jbe 0x1008408c
call fcn.1012369b
mov edx, dword [ebp - 0x18]
push edx
push edi
push esi
lea eax, [ebp - 0x54]
push eax
jmp 0x10084197
mov ecx, dword [ebp + 0xc]
movzx edx, byte [edi + ecx]
mov eax, dword [ebp - 0x10]
and edx, 3
shl edx, 4
mov cl, byte [edx + eax]
mov eax, dword [esi + 0x18]
cmp eax, 0x10
mov byte [ebp - 0x20], cl
jb 0x100840bd
mov ecx, dword [ebx]
jmp 0x100840bf
mov ecx, ebx
mov edx, dword [esi + 0x14]
lea edi, [edx + ecx]
test edi, edi
je 0x100840e9
cmp eax, 0x10
jb 0x100840d2
mov ecx, dword [ebx]
jmp 0x100840d4
mov ecx, ebx
cmp ecx, edi
ja 0x100840e9
cmp eax, 0x10
jb 0x100840e1
mov eax, dword [ebx]
jmp 0x100840e3
mov eax, ebx
add edx, eax
cmp edi, edx
jbe 0x100840ee
call fcn.1012369b
mov edx, dword [ebp - 0x20]
push edx
push edi
push esi
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
call fcn.10083ce0
mov edx, dword [esi + 0x18]
cmp edx, 0x10
jb 0x1008410b
mov eax, dword [ebx]
jmp 0x1008410d
mov eax, ebx
mov ecx, dword [esi + 0x14]
lea edi, [ecx + eax]
test edi, edi
je 0x10084137
cmp edx, 0x10
jb 0x10084120
mov eax, dword [ebx]
jmp 0x10084122
mov eax, ebx
cmp eax, edi
ja 0x10084137
cmp edx, 0x10
jb 0x1008412f
mov eax, dword [ebx]
jmp 0x10084131
mov eax, ebx
add ecx, eax
cmp edi, ecx
jbe 0x1008413c
call fcn.1012369b
mov ecx, dword [ebp - 0x18]
push ecx
push edi
push esi
lea edx, [ebp - 0x74]
push edx
mov ecx, esi
call fcn.10083ce0
mov ecx, dword [esi + 0x18]
cmp ecx, 0x10
jb 0x10084159
mov eax, dword [ebx]
jmp 0x1008415b
mov eax, ebx
mov edx, dword [esi + 0x14]
lea edi, [edx + eax]
test edi, edi
je 0x10084185
cmp ecx, 0x10
jb 0x1008416e
mov eax, dword [ebx]
jmp 0x10084170
mov eax, ebx
cmp eax, edi
ja 0x10084185
cmp ecx, 0x10
jb 0x1008417d
mov eax, dword [ebx]
jmp 0x1008417f
mov eax, ebx
add edx, eax
cmp edi, edx
jbe 0x1008418a
call fcn.1012369b
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x84]
push eax
push edi
push esi
push ecx
mov ecx, esi
call fcn.10083ce0
mov eax, dword [ebp - 0x14]
add eax, 3
cmp eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
jb 0x10083e30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret