Function at 0x8e0571
Capabilities:
Encode data using base64

Disassembly:
mov eax, 0xae0b48
call fcn.00a6fc7c
sub esp, 0x35c
mov eax, dword [0xbe23cc]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
push edi
mov dword [ebp - 0x30], ecx
jne 0x8e0597
mov dword [ebp - 0x48], ebx
jmp 0x8e059d
mov eax, dword [eax - 4]
mov dword [ebp - 0x48], eax
mov eax, dword [ecx + 0xab0]
cmp dword [eax + 0x3c], ebx
jne 0x8e05ad
dec dword [ebp - 0x48]
jmp 0x8e05b8
mov edx, dword [eax + 0x3c]
mov eax, dword [eax + 0x38]
sub eax, edx
add dword [ebp - 0x48], eax
cmp dword [ecx + 0xc60], ebx
lea esi, [ecx + 0xc60]
je 0x8e05ce
push ebx
mov ecx, esi
call fcn.00429919
mov edi, 0xbe7330
push edi
lea ecx, [ebp - 0x94]
call fcn.0040318f
push edi
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], ebx
call fcn.0040318f
cmp dword [0xbe2788], ebx
mov byte [ebp - 4], 1
mov edi, 0x80004003
jne 0x8e0602
push edi
call fcn.00a6ef01
mov ecx, dword [0xbe2788]
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x30]
push ebx
push dword [eax + 0xca8]
lea eax, [ebp - 0x34]
push 0x244
push ebx
push ebx
push eax
call fcn.00427eb3
push dword [eax]
mov ecx, esi
call fcn.00429919
lea ecx, [ebp - 0x34]
call fcn.00415ceb
lea eax, [ebp - 0x7c]
push eax
mov byte [ebp - 4], bl
call fcn.004029b7
cmp eax, ebx
pop ecx
jge 0x8e0655
push eax
call fcn.00a6ef01
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x94]
push eax
call fcn.004029b7
cmp eax, ebx
pop ecx
jge 0x8e0670
push eax
call fcn.00a6ef01
cmp dword [esi], ebx
jne 0x8e067a
push edi
call fcn.00a6ef01
mov edi, dword [esi]
mov eax, dword [edi]
push 0xffffffffffffffff
push edi
call dword [eax + 0xe0]
cmp eax, ebx
jge 0x8e0697
push 0xba0510
push edi
push eax
call fcn.00a6ef0f
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x50]
push eax
call fcn.00427849
mov eax, dword [eax]
push 1
push eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 2
call fcn.00411fe1
cmp dword [esi], ebx
mov byte [ebp - 4], 3
jne 0x8e06c9
push 0x80004003
call fcn.00a6ef01
mov eax, dword [ebp - 0x30]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x7c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0xc60
mov eax, dword [eax]
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
push eax
mov dword [ebp - 0x34], eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x64]
cmp eax, ebx
jge 0x8e06fa
push 0xba0500
push dword [ebp - 0x34]
push eax
call fcn.00a6ef0f
lea eax, [ebp - 0x7c]
push eax
mov byte [ebp - 4], 2
call fcn.004029b7
cmp eax, ebx
pop ecx
jge 0x8e0712
push eax
call fcn.00a6ef01
lea ecx, [ebp - 0x50]
call fcn.00415ceb
mov esi, dword [ebp - 0x30]
mov eax, dword [esi + 0xc70]
push 1
push eax
lea ecx, [ebp - 0x7c]
call fcn.00411fe1
cmp dword [esi + 0xc60], ebx
lea eax, [esi + 0xc60]
mov dword [ebp - 4], 4
jne 0x8e074d
push 0x80004003
call fcn.00a6ef01
mov eax, dword [ebp - 0x30]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x7c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add eax, 0xc60
mov eax, dword [eax]
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
push eax
mov dword [ebp - 0x34], eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0xfc]
cmp eax, ebx
jge 0x8e0781
push 0xba0510
push dword [ebp - 0x34]
push eax
call fcn.00a6ef0f
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x7c]
push eax
call fcn.004029b7
cmp eax, ebx
pop ecx
jge 0x8e0799
push eax
call fcn.00a6ef01
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0xc60], ebx
lea edi, [eax + 0xc60]
jne 0x8e07b4
push 0x80004003
call fcn.00a6ef01
mov esi, dword [edi]
mov eax, dword [esi]
push 2
push esi
call dword [eax + 0xb4]
cmp eax, ebx
jge 0x8e07d1
push 0xba0510
push esi
push eax
call fcn.00a6ef0f
mov esi, 0xbe7330
push esi
lea ecx, [ebp - 0x94]
call fcn.0040318f
push esi
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 5
call fcn.0040318f
cmp dword [edi], ebx
mov byte [ebp - 4], 6
jne 0x8e0804
push 0x80004003
call fcn.00a6ef01
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx + 0xc60]
sub esp, 0x10
mov ecx, dword [ecx + 0xcb8]
mov edi, esp
lea esi, [ebp - 0x94]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x7c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
push ebx
push eax
mov dword [ebp - 0x34], eax
movsd dword es:[edi], dword [esi]
call dword [edx + 0x90]
cmp eax, ebx
jge 0x8e084e
push 0xba0500
push dword [ebp - 0x34]
push eax
call fcn.00a6ef0f
lea eax, [ebp - 0x7c]
push eax
mov byte [ebp - 4], 5
call fcn.004029b7
cmp eax, ebx
pop ecx
jge 0x8e0866
push eax
call fcn.00a6ef01
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x94]
push eax
call fcn.004029b7
cmp eax, ebx
pop ecx
jge 0x8e0881
push eax
call fcn.00a6ef01
push 3
push ebx
lea ecx, [ebp - 0x2d8]
call fcn.004031b5
mov edi, dword [ebp - 0x30]
cmp dword [edi + 0xc60], ebx
lea esi, [edi + 0xc60]
mov dword [ebp - 4], 7
jne 0x8e08b1
push 0x80004003
call fcn.00a6ef01
mov ecx, dword [esi]
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00426f74
lea eax, [ebp - 0x2d8]
push eax
mov byte [ebp - 4], 9
call fcn.004029b7
cmp eax, ebx
pop ecx
jge 0x8e08de
push eax
call fcn.00a6ef01
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
jne 0x8e08f2
push 0x80004003
call fcn.00a6ef01
mov ecx, dword [ebp - 0x18]
mov edx, dword [edi + 0xca8]
push ebx
mov esi, 0x244
push edx
mov eax, esi
sub eax, dword [edi + 0xbf0]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ecx]
push eax
push ebx
push ebx
push dword [ebp - 0x18]
call dword [ecx + 0x8c]
cmp eax, ebx
jge 0x8e092a
push 0xba0338
push dword [ebp - 0x34]
push eax
call fcn.00a6ef0f
cmp dword [ebp - 0x18], ebx
jne 0x8e0939
push 0x80004003
call fcn.00a6ef01
mov ecx, dword [edi + 0xca8]
push 0x80000000
mov eax, esi
sub eax, dword [edi + 0xbf0]
mov esi, dword [ebp - 0x18]
mov edx, dword [esi]
push ecx
push eax
push ebx
push ebx
push esi
call dword [edx + 0x8c]
cmp eax, ebx
jge 0x8e096c
push 0xba0338
push esi
push eax
call fcn.00a6ef0f
cmp dword [edi + 0xcb0], ebx
mov dword [ebp - 0x3c], ebx
jle 0x8e22c3
mov esi, 0xbe7330