Function at 0x4d3efa
Capabilities:
Encode data using base64

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4e0
mov eax, dword [0x50976c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
mov dword [ebp - 0x1b0], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x4e0]
push esi
mov dword [ebp - 0x1b8], eax
xor eax, eax
lea ecx, [ebp - 0x194]
push edi
mov dword [ebp - 0x1c0], ebx
mov dword [ebp - 0x1a8], 0xc8
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1a0], 0xfffffffe
mov dword [ebp - 0x19c], ecx
lea esi, [ebp - 0x4e0]
mov edx, dword [ebp - 0x1b0]
mov dword [ebp - 0x198], eax
mov word [ecx], ax
mov eax, dword [ebp - 0x1a8]
add eax, eax
lea edx, [eax + edx - 2]
cmp edx, ecx
ja 0x4d4059
mov esi, dword [ebp - 0x19c]
sub esi, dword [ebp - 0x1b0]
mov ecx, 0x2710
sar esi, 1
inc esi
cmp dword [ebp - 0x1a8], ecx
jae 0x4d44a2
cmp eax, ecx
mov dword [ebp - 0x1a8], eax
jbe 0x4d3fbc
mov eax, ecx
mov dword [ebp - 0x1a8], ecx
imul eax, eax, 6
add eax, 3
call fcn.004cf6f0
mov eax, esp
test eax, eax
je 0x4d44a2
test esi, esi
jbe 0x4d3ff6
mov edx, dword [ebp - 0x1b0]
mov ecx, eax
sub edx, eax
mov dword [ebp - 0x1a4], esi
mov di, word [edx + ecx]
mov word [ecx], di
inc ecx
inc ecx
dec dword [ebp - 0x1a4]
jne 0x4d3fe5
mov ecx, dword [ebp - 0x1a8]
lea ecx, [ecx + ecx + 3]
shr ecx, 2
test esi, esi
mov dword [ebp - 0x1b0], eax
lea eax, [eax + ecx*4]
jbe 0x4d402d
mov edx, dword [ebp - 0x1b8]
mov ecx, eax
sub edx, eax
mov edi, esi
mov ebx, dword [edx + ecx]
mov dword [ecx], ebx
add ecx, 4
dec edi
jne 0x4d401c
mov ebx, dword [ebp - 0x1c0]
mov edx, dword [ebp - 0x1b0]
lea ecx, [edx + esi*2 - 2]
mov dword [ebp - 0x1b8], eax
lea esi, [eax + esi*4 - 4]
mov eax, dword [ebp - 0x1a8]
lea eax, [edx + eax*2 - 2]
cmp eax, ecx
mov dword [ebp - 0x19c], ecx
jbe 0x4d41ba
mov edx, dword [ebp - 0x198]
movsx edi, word [edx*2 + 0x4333c0]
cmp edi, 0xffffff97
je 0x4d416d
cmp dword [ebp - 0x1a0], 0xfffffffe
jne 0x4d4093
lea eax, [ebp - 0x1bc]
push eax
mov ecx, ebx
call fcn.004d3088
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1a0]
test eax, eax
jg 0x4d40a7
xor ecx, ecx
and dword [ebp - 0x1a0], ecx
jmp 0x4d40ba
cmp eax, 0x113
ja 0x4d40b7
movzx ecx, byte [eax + 0x433180]
jmp 0x4d40ba
push 2
pop ecx
add edi, ecx
cmp edi, 0xaf
ja 0x4d416d
lea eax, [edi + edi]
movsx edi, word [eax + 0x433668]
cmp edi, ecx
jne 0x4d416d
movsx eax, word [eax + 0x433508]
test eax, eax
jg 0x4d412e
je 0x4d4182
cmp eax, 0xfffffffc
je 0x4d4182
neg eax
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x1a4]
movzx edi, byte [eax + 0x4332d8]
mov ecx, edi
shl ecx, 2
sub esi, ecx
add esi, 4
mov ecx, dword [esi]
add eax, 0xfffffffe
cmp eax, 0x3d
mov dword [ebp - 0x198], ecx
ja case.default.0x4d4127
jmp dword [eax*4 + 0x4d44be]
cmp eax, 0x2d
je 0x4d44b7
cmp dword [ebp - 0x1a0], 0
je 0x4d414a
mov dword [ebp - 0x1a0], 0xfffffffe
mov ecx, dword [ebp - 0x1bc]
add esi, 4
cmp dword [ebp - 0x1ac], 0
mov dword [esi], ecx
je 0x4d4490
dec dword [ebp - 0x1ac]
jmp 0x4d4490
movzx eax, byte [edx + 0x433318]
test eax, eax
mov dword [ebp - 0x1a4], eax
jne 0x4d40fc
cmp dword [ebp - 0x1ac], 0
jne 0x4d41a4
inc dword [ebp - 0x1b4]
push 0x41bf68
push ebx
mov ecx, ebx
call fcn.004d3ee1
mov edx, dword [ebp - 0x198]
push 3
pop eax
cmp dword [ebp - 0x1ac], eax
jne 0x4d41de
cmp dword [ebp - 0x1a0], 0
jg 0x4d41d4
jne 0x4d41de
xor eax, eax
inc eax
lea esp, [ebp - 0x4ec]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004cf0f5
leave
ret 4
mov dword [ebp - 0x1a0], 0xfffffffe
mov dword [ebp - 0x1ac], eax
movsx eax, word [edx*2 + 0x4333c0]
cmp eax, 0xffffff97
je 0x4d4210
inc eax
cmp eax, 0xaf
ja 0x4d4210
add eax, eax
cmp word [eax + 0x433668], 1
jne 0x4d4210
movsx eax, word [eax + 0x433508]
test eax, eax
jg 0x4d422e
mov eax, dword [ebp - 0x19c]
cmp eax, dword [ebp - 0x1b0]
je 0x4d41ba
sub esi, 4
dec eax
dec eax
movsx edx, word [eax]
mov dword [ebp - 0x19c], eax
jmp 0x4d41e4
cmp eax, 0x2d
je 0x4d44b7
mov ecx, dword [ebp - 0x1bc]
add esi, 4
mov dword [esi], ecx
jmp 0x4d4490
push 0
push 0
jmp 0x4d4431
push 1
push 1
jmp 0x4d4431
push 1
push 2
jmp 0x4d4431
push 2
push 3
jmp 0x4d4431
push 1
push 4
jmp 0x4d4431
push 1
push 5
jmp 0x4d4431
push 0
push 6
jmp 0x4d4431
push 1
push 7
jmp 0x4d4431
push 1
push 8
jmp 0x4d4431
push 1
push 9
jmp 0x4d4431
push 1
push 0xa
jmp 0x4d4431
push 2
push 0xb
jmp 0x4d4431
push 1
push 0xc
jmp 0x4d4431
push 2
push 0xd
jmp 0x4d4431
push 3
push 0xe
jmp 0x4d4431
push 4
push 0xf
jmp 0x4d4431
push 5
push 0x10
jmp 0x4d4431
push 6
push 0x11
jmp 0x4d4431
push 6
push 0x12
jmp 0x4d4431
push 6
push 0x13
jmp 0x4d4431
push 3
push 0x14
jmp 0x4d4431
push 2
push 0x15
jmp 0x4d4431
push 3
push 0x16
jmp 0x4d4431
push 1
push 0x17
jmp 0x4d4431
push 2
push 0x18
jmp 0x4d4431
push 1
push 0x19
jmp 0x4d4431
push 1
push 0x1a
jmp 0x4d4431
push 1
push 0x1b
jmp 0x4d4431
push 2
push 0x1c
jmp 0x4d4431
push 1
push 0x1d
jmp 0x4d4431
push 2
push 0x1e
jmp 0x4d4431
push 1
push 0x21
jmp 0x4d4431
push 2
push 0x22
jmp 0x4d4431
push 1
push 0x23
jmp 0x4d4431
push 2
push 0x24
jmp 0x4d4431
push 1
push 0x25
jmp 0x4d4431
push 1
push 0x26
jmp 0x4d4431
push 0
push 0x27
jmp 0x4d4431
push 0
push 0x28
jmp 0x4d4431
push 1
push 0x29
jmp 0x4d4431
push 1
push 0x2a
jmp 0x4d4431
push 1
push 0x2b
jmp 0x4d4431
push 1
push 0x2c
jmp 0x4d4431
push 1
push 0x2d
jmp 0x4d4431
push 1
push 0x2e
jmp 0x4d4431
push 1
push 0x2f
jmp 0x4d4431
push 1
push 0x30
jmp 0x4d4431
push 1
push 0x31
jmp 0x4d4431
push 0
push 0x32
jmp 0x4d4431
push 0
push 0x33
jmp 0x4d4431
push 0
push 0x34
jmp 0x4d4431
push 0
push 0x35
jmp 0x4d4431
push 0
push 0x36
jmp 0x4d4431
push 0
push 0x37
jmp 0x4d4431
push 0
push 0x38
jmp 0x4d4431
push 0
push 0x39
jmp 0x4d4431
push 0
push 0x3a
jmp 0x4d4431
push 0
push 0x3b
jmp 0x4d4431
push 0
push 0x3c
jmp 0x4d4431
push 0
push 0x3d
jmp 0x4d4431
push 0
push 0x3e
jmp 0x4d4431
push 0
push 0x3f
mov ecx, ebx
call fcn.004d37c0
mov ecx, dword [ebp - 0x198]
mov eax, dword [ebp - 0x19c]
neg edi
lea eax, [eax + edi*2]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x1a4]
movzx edx, word [eax]
movzx ecx, byte [ecx + 0x433298]
mov dword [ebp - 0x19c], eax
movsx eax, word [ecx*2 + 0x43348c]
movsx edi, dx
add eax, edi
cmp eax, 0xaf
ja 0x4d4489
add eax, eax
cmp word [eax + 0x433668], dx
jne 0x4d4489
movsx eax, word [eax + 0x433508]
jmp 0x4d4490
movsx eax, byte [ecx + 0x43337e]
add dword [ebp - 0x19c], 2
mov ecx, dword [ebp - 0x19c]
jmp 0x4d3f67
push 0x41dccc
push ebx
mov ecx, ebx
call fcn.004d3ee1
push 2
pop eax
jmp 0x4d41bd
xor eax, eax
jmp 0x4d41bd