Function at 0x1007d400
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be8d9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x100eb6ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], eax
mov byte [esi], al
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x20], 1
cmp edx, eax
jle 0x1007d714
jmp 0x1007d459
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp + 0xc]
mov cl, byte [eax + edi]
inc eax
cmp eax, edx
je 0x1007d6c4
mov bl, byte [eax + edi]
inc eax
mov byte [ebp - 0x14], bl
cmp eax, edx
je 0x1007d728
mov dl, byte [eax + edi]
inc eax
movzx edi, cl
mov dword [ebp - 0x1c], eax
mov eax, edi
shr eax, 2
mov cl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov eax, dword [esi + 0x10]
mov byte [ebp - 0x18], dl
or edx, 0xffffffff
sub edx, eax
mov byte [ebp - 0x10], cl
cmp edx, 1
jbe 0x1007d784
lea ebx, [eax + 1]
cmp ebx, 0xfffffffe
ja 0x1007d784
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
jae 0x1007d4c1
push eax
push ebx
mov ecx, esi
call fcn.1001b540
jmp 0x1007d4d6
test ebx, ebx
jne 0x1007d4d8
mov dword [esi + 0x10], ebx
cmp ecx, 0x10
jb 0x1007d4d1
mov eax, dword [esi]
jmp 0x1007d4d3
mov eax, esi
mov byte [eax], 0
test ebx, ebx
setne al
test al, al
je 0x1007d507
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x1007d4ec
mov eax, dword [esi]
jmp 0x1007d4ee
mov eax, esi
mov dl, byte [ebp - 0x10]
mov byte [eax + ecx], dl
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], ebx
jb 0x1007d501
mov eax, dword [esi]
jmp 0x1007d503
mov eax, esi
mov byte [eax + ebx], 0
movzx ebx, byte [ebp - 0x14]
and edi, 3
mov eax, ebx
shr eax, 4
shl edi, 4
or eax, edi
mov cl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov eax, dword [esi + 0x10]
or edx, 0xffffffff
sub edx, eax
mov byte [ebp - 0x14], cl
cmp edx, 1
jbe 0x1007d784
lea edi, [eax + 1]
cmp edi, 0xfffffffe
ja 0x1007d784
mov ecx, dword [esi + 0x14]
cmp ecx, edi
jae 0x1007d550
push eax
push edi
mov ecx, esi
call fcn.1001b540
jmp 0x1007d565
test edi, edi
jne 0x1007d567
mov dword [esi + 0x10], edi
cmp ecx, 0x10
jb 0x1007d560
mov eax, dword [esi]
jmp 0x1007d562
mov eax, esi
mov byte [eax], 0
test edi, edi
setne al
test al, al
je 0x1007d596
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x1007d57b
mov eax, dword [esi]
jmp 0x1007d57d
mov eax, esi
mov dl, byte [ebp - 0x14]
mov byte [eax + ecx], dl
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], edi
jb 0x1007d590
mov eax, dword [esi]
jmp 0x1007d592
mov eax, esi
mov byte [eax + edi], 0
movzx edi, byte [ebp - 0x18]
and ebx, 0xf
add ebx, ebx
mov eax, edi
shr eax, 6
add ebx, ebx
or eax, ebx
mov cl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov eax, dword [esi + 0x10]
or edx, 0xffffffff
sub edx, eax
mov byte [ebp - 0x18], cl
cmp edx, 1
jbe 0x1007d784
lea ebx, [eax + 1]
cmp ebx, 0xfffffffe
ja 0x1007d784
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
jae 0x1007d5e0
push eax
push ebx
mov ecx, esi
call fcn.1001b540
jmp 0x1007d5f5
test ebx, ebx
jne 0x1007d5f7
mov dword [esi + 0x10], ebx
cmp ecx, 0x10
jb 0x1007d5f0
mov eax, dword [esi]
jmp 0x1007d5f2
mov eax, esi
mov byte [eax], 0
test ebx, ebx
setne al
test al, al
je 0x1007d626
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x1007d60b
mov eax, dword [esi]
jmp 0x1007d60d
mov eax, esi
mov dl, byte [ebp - 0x18]
mov byte [eax + ecx], dl
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], ebx
jb 0x1007d620
mov eax, dword [esi]
jmp 0x1007d622
mov eax, esi
mov byte [eax + ebx], 0
mov eax, dword [esi + 0x10]
or ecx, 0xffffffff
and edi, 0x3f
mov bl, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
sub ecx, eax
cmp ecx, 1
jbe 0x1007d784
lea edi, [eax + 1]
cmp edi, 0xfffffffe
ja 0x1007d784
mov ecx, dword [esi + 0x14]
cmp ecx, edi
jae 0x1007d65e
push eax
push edi
mov ecx, esi
call fcn.1001b540
jmp 0x1007d673
test edi, edi
jne 0x1007d675
mov dword [esi + 0x10], edi
cmp ecx, 0x10
jb 0x1007d66e
mov eax, dword [esi]
jmp 0x1007d670
mov eax, esi
mov byte [eax], 0
test edi, edi
setne al
test al, al
je 0x1007d6a4
mov ecx, dword [esi + 0x10]
mov edx, 0x10
cmp dword [esi + 0x14], edx
jb 0x1007d68d
mov eax, dword [esi]
jmp 0x1007d68f
mov eax, esi
mov byte [ecx + eax], bl
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], edx
jb 0x1007d69e
mov eax, dword [esi]
jmp 0x1007d6a0
mov eax, esi
mov byte [edi + eax], 0
mov edx, dword [ebp + 0x10]
cmp dword [ebp - 0x1c], edx
jl 0x1007d456
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
movzx edi, cl
mov eax, edi
shr eax, 2
mov cl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + 0x10], cl
mov edx, dword [ebp + 0x10]
push edx
push 1
mov ecx, esi
call fcn.10015f60
and edi, 3
shl edi, 4
mov al, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + 0x10], al
mov ecx, dword [ebp + 0x10]
push ecx
push 1
mov ecx, esi
call fcn.10015f60
push 0x3d
push 1
mov ecx, esi
call fcn.10015f60
push 0x3d
push 1
mov ecx, esi
call fcn.10015f60
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
movzx edi, cl
mov edx, edi
shr edx, 2
movzx eax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + 0x10], al
mov ecx, dword [ebp + 0x10]
push ecx
push 1
mov ecx, esi
call fcn.10015f60
movzx ebx, bl
mov edx, ebx
and edi, 3
shr edx, 4
shl edi, 4
or edx, edi
movzx eax, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + 0x10], al
mov ecx, dword [ebp + 0x10]
push ecx
push 1
mov ecx, esi
call fcn.10015f60
and ebx, 0xf
mov dl, byte [ebx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp + 0x10], dl
mov eax, dword [ebp + 0x10]
push eax
jmp 0x1007d700
push str.string_too_long
call fcn.1009b5e9
int3