Function at 0x4d2a20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f9560
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x6baac0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov esi, dword [ebp + 0x14]
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
movzx eax, byte [esi + 0xae]
push eax
push str.gcm_done
push esi
mov dword [ebp - 0x5c], esi
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
call fcn.00430cf0
mov eax, dword [edi + 0x528]
mov dword [ebp - 4], 0
cmp eax, 0x10
jg 0x4d2d7f
test eax, eax
js 0x4d2d7f
cmp dword [edi + 0x524], 2
je 0x4d2ab2
push str.invalid_GCM_mode
jmp 0x4d2d84
test eax, eax
je 0x4d2ada
mov ecx, 8
imul ecx
push esi
add dword [edi + 0x538], eax
lea eax, [edi + 0x4e0]
push eax
adc dword [edi + 0x53c], edx
push edi
call fcn.004d4f30
add esp, 0xc
mov al, byte [edi + 0x537]
lea esi, [edi + 0x4e0]
mov byte [edi + 0x510], al
mov ecx, esi
mov al, byte [edi + 0x536]
mov edx, 4
mov byte [edi + 0x511], al
mov al, byte [edi + 0x535]
mov byte [edi + 0x512], al
mov al, byte [edi + 0x534]
mov byte [edi + 0x513], al
mov al, byte [edi + 0x533]
mov byte [edi + 0x514], al
mov al, byte [edi + 0x532]
mov byte [edi + 0x515], al
mov al, byte [edi + 0x531]
mov byte [edi + 0x516], al
mov al, byte [edi + 0x530]
mov byte [edi + 0x517], al
mov al, byte [edi + 0x53f]
mov byte [edi + 0x518], al
mov al, byte [edi + 0x53e]
mov byte [edi + 0x519], al
mov al, byte [edi + 0x53d]
mov byte [edi + 0x51a], al
mov al, byte [edi + 0x53c]
mov byte [edi + 0x51b], al
mov al, byte [edi + 0x53b]
mov byte [edi + 0x51c], al
mov al, byte [edi + 0x53a]
mov byte [edi + 0x51d], al
mov al, byte [edi + 0x539]
mov byte [edi + 0x51e], al
mov al, byte [edi + 0x538]
mov byte [edi + 0x51f], al
mov eax, 0xfffffb20
sub eax, edi
mov dword [ebp - 0x54], eax
mov al, byte [ecx + 0x30]
lea ecx, [ecx + 4]
xor byte [ecx - 4], al
mov al, byte [ecx + 0x2d]
xor byte [ecx - 3], al
mov al, byte [ecx + 0x2e]
xor byte [ecx - 2], al
mov al, byte [ecx + 0x2f]
xor byte [ecx - 1], al
sub edx, 1
jne 0x4d2bb1
push dword [ebp - 0x5c]
push esi
push edi
call fcn.004d4f30
mov ecx, dword [ebp - 0x50]
lea eax, [edi + 0x510]
add esp, 0xc
mov edx, dword [ecx]
push eax
lea eax, [edi + 0x500]
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx + 0x68]
call fcn.00401c90
mov ecx, eax
test ecx, ecx
jne 0x4d2c0a
lea ecx, [eax + 0x10]
jmp 0x4d2c20
cmp ecx, 0x10
jbe 0x4d2c16
mov ecx, 0x10
jmp 0x4d2c20
mov eax, 0xc
cmp ecx, eax
cmovb ecx, eax
mov eax, 0xfffffb21
mov dword [ebp - 0x50], ecx
sub eax, edi
lea edx, [ebp - 0x1f]
mov dword [ebp - 0x60], eax
mov eax, 0xfffffb22
sub eax, edi
mov dword [ebp - 0x64], eax
mov eax, 0xfffffb23
sub eax, edi
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x54]
add eax, esi
cmp eax, ecx
jae 0x4d2cb8
mov al, byte [esi + 0x30]
xor al, byte [esi]
mov byte [edx - 1], al
mov eax, dword [ebp - 0x60]
add eax, esi
cmp eax, ecx
jae 0x4d2cb8
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
add eax, esi
mov al, byte [eax + edi + 0x4e1]
xor al, byte [esi + 0x31]
mov byte [edx], al
mov eax, dword [ebp - 0x64]
add eax, esi
cmp eax, ecx
jae 0x4d2cb8
mov eax, dword [ebp - 0x54]
add eax, esi
mov al, byte [eax + edi + 0x4e2]
xor al, byte [esi + 0x32]
mov byte [edx + 1], al
mov eax, dword [ebp - 0x68]
add eax, esi
cmp eax, ecx
jae 0x4d2cb8
mov eax, dword [ebp - 0x54]
add eax, esi
mov al, byte [eax + edi + 0x4e3]
xor al, byte [esi + 0x33]
add esi, 4
mov byte [edx + 2], al
add edx, 4
mov eax, dword [ebp - 0x54]
add eax, esi
cmp eax, 0x10
jb 0x4d2c44
cmp byte [ebp + 8], 0
mov edi, dword [ebp - 0x58]
mov byte [ebp - 0x49], 1
je 0x4d2ce1
lea ecx, [edi + 0x68]
call fcn.004132b0
push dword [ebp - 0x50]
lea eax, [ebp - 0x20]
push eax
lea ecx, [edi + 0x68]
call fcn.00412010
jmp 0x4d2d8f
push ecx
lea eax, [ebp - 0x20]
add edi, 0x68
push eax
mov ecx, edi
call fcn.00414470
mov byte [ebp - 0x49], al
test al, al
jne 0x4d2d8f
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x48]
movq qword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x48], xmm0
call fcn.004118f0
push 0x10
push 0xff
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00412300
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.00414510
test al, al
je 0x4d2d46
lea ecx, [ebp - 0x48]
mov byte [ebp - 0x49], 1
call fcn.00411b10
jmp 0x4d2d8f
mov esi, dword [ebp - 0x5c]
mov ecx, esi
push str.GCM_decrypt_authentication_tag_not_equal_to_the_expected_value.
mov eax, dword [esi]
call dword [eax + 0x14]
push dword [ebp - 0x50]
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
push str.decryptTag
call fcn.004312f0
push edi
push str.expectedTag
mov ecx, esi
call fcn.004313d0
lea ecx, [ebp - 0x48]
call fcn.00411b10
jmp 0x4d2d8f
push str.invalid_GCM_buflen
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov byte [ebp - 0x49], 0
lea ecx, [ebp - 0x2c]
call fcn.00430db0
mov al, byte [ebp - 0x49]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret 0x10