Function at 0x10114be0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x102537f1
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
mov ebx, edx
push edi
mov edi, ecx
test ebx, ebx
jg 0x10114c17
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
lea ecx, [ebx*4]
lea eax, [edx + edx*2]
cmp ecx, eax
jg 0x10114c05
lea eax, [edi + ebx]
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
lea ecx, [eax - 3]
add edx, esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], edx
cmp edi, ecx
jae 0x10114c93
mov edx, ecx
mov ecx, dword [edi]
add edi, 3
bswap ecx
shr ecx, 8
mov eax, ecx
and ecx, 0x3ffff
shr eax, 0x12
movzx eax, byte [eax + ebx]
mov byte [esi], al
mov eax, ecx
shr eax, 0xc
and ecx, 0xfff
movzx eax, byte [eax + ebx]
mov byte [esi + 1], al
mov eax, ecx
shr eax, 6
and ecx, 0x3f
movzx eax, byte [eax + ebx]
mov byte [esi + 2], al
movzx eax, byte [ecx + ebx]
mov byte [esi + 3], al
add esi, 4
cmp edi, edx
jb 0x10114c43
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
sub eax, edi
sub edx, esi
mov dword [ebp - 0x10], eax
cmp eax, 3
ja case.default.0x10114ca3
jmp dword [eax*4 + 0x10114e4c]
sub edx, 2
js 0x10114d48
movzx ecx, byte [edi]
mov eax, ecx
and ecx, 3
shr eax, 2
add ecx, ecx
movzx eax, byte [eax + ebx]
mov byte [esi], al
movzx eax, byte [ebx + ecx*8]
mov byte [esi + 1], al
add esi, 2
cmp byte [ebp + 0x14], 0
je case.0x10114ca3.0
lea eax, [edx - 2]
test eax, eax
js 0x10114d48
mov word [esi], 0x3d3d
add esi, 2
jmp case.0x10114ca3.0
sub edx, 3
js 0x10114d48
mov ax, word [edi]
mov ch, al
mov cl, ah
movzx ecx, cx
mov eax, ecx
and ecx, 0x3ff
shr eax, 0xa
movzx eax, byte [eax + ebx]
mov byte [esi], al
mov eax, ecx
shr eax, 4
and ecx, 0xf
movzx eax, byte [eax + ebx]
mov byte [esi + 1], al
movzx eax, byte [ebx + ecx*4]
mov byte [esi + 2], al
add esi, 3
cmp byte [ebp + 0x14], 0
je case.0x10114ca3.0
lea eax, [edx - 1]
test eax, eax
js 0x10114d48
mov byte [esi], 0x3d
inc esi
jmp case.0x10114ca3.0
lea eax, [edx - 4]
test eax, eax
jns 0x10114d5b
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ax, word [edi + 1]
mov ch, al
mov cl, ah
movzx eax, byte [edi]
shl eax, 0x10
movzx ecx, cx
add ecx, eax
mov eax, ecx
and ecx, 0x3ffff
shr eax, 0x12
movzx eax, byte [eax + ebx]
mov byte [esi], al
mov eax, ecx
shr eax, 0xc
and ecx, 0xfff
movzx eax, byte [eax + ebx]
mov byte [esi + 1], al
mov eax, ecx
shr eax, 6
and ecx, 0x3f
movzx eax, byte [eax + ebx]
mov byte [esi + 2], al
movzx eax, byte [ecx + ebx]
mov byte [esi + 3], al
add esi, 4
jmp case.0x10114ca3.0
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x38], str.e:watermarkmodulecommon_vendorincludegoogleprotobuf_stubs_strutil.cc
mov dword [ebp - 0x34], 0x884
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
push 0x17
push str.Logic_problem__szsrc_
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.1001c410
push dword [ebp - 0x10]
lea ecx, [ebp - 0x3c]
call sym.WMCommon.dll_public:_class_google::protobuf::internal::LogMessage____thiscall_google::protobuf::internal::LogMessage::operator___int_
mov ecx, eax
call sym.WMCommon.dll_private:_void___thiscall_google::protobuf::internal::LogMessage::Finish_void_
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb case.0x10114ca3.0
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10114e2a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10114e2a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1006e6d7
add esp, 8
sub esi, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret