Function at 0x5367e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [edx + 4]
test eax, eax
je 0x536925
mov ebx, edx
mov edi, ecx
mov ecx, dword [edx]
xor edx, edx
mov esi, 0
cmp eax, 8
jb 0x536900
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
mov edx, eax
and edx, 0xfffffff8
lea esi, [edx - 8]
mov ebx, esi
shr ebx, 3
add ebx, 1
mov edi, ebx
and edi, 3
cmp esi, 0x18
jae 0x536836
pxor xmm0, xmm0
xor esi, esi
pxor xmm1, xmm1
jmp 0x5368a7
and ebx, 0xfffffffc
pxor xmm0, xmm0
xor esi, esi
pxor xmm1, xmm1
nop word cs:[eax + eax]
nop dword [eax]
movdqu xmm2, xmmword [ecx + esi*4]
por xmm2, xmm0
movdqu xmm0, xmmword [ecx + esi*4 + 0x10]
por xmm0, xmm1
movdqu xmm1, xmmword [ecx + esi*4 + 0x20]
movdqu xmm3, xmmword [ecx + esi*4 + 0x30]
movdqu xmm4, xmmword [ecx + esi*4 + 0x40]
por xmm4, xmm1
por xmm4, xmm2
movdqu xmm2, xmmword [ecx + esi*4 + 0x50]
por xmm2, xmm3
por xmm2, xmm0
movdqu xmm0, xmmword [ecx + esi*4 + 0x60]
por xmm0, xmm4
movdqu xmm1, xmmword [ecx + esi*4 + 0x70]
por xmm1, xmm2
add esi, 0x20
add ebx, 0xfffffffc
jne 0x536850
test edi, edi
je 0x5368da
lea esi, [ecx + esi*4]
add esi, 0x10
shl edi, 5
xor ebx, ebx
nop word cs:[eax + eax]
movdqu xmm2, xmmword [esi + ebx - 0x10]
por xmm0, xmm2
movdqu xmm2, xmmword [esi + ebx]
por xmm1, xmm2
add ebx, 0x20
cmp edi, ebx
jne 0x5368c0
por xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
pshufd xmm0, xmm1, 0x55
por xmm0, xmm1
movd esi, xmm0
cmp eax, edx
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
je 0x53690a
nop
or esi, dword [ecx + edx*4]
add edx, 1
cmp eax, edx
jne 0x536900
test esi, esi
je 0x536925
test eax, eax
jle 0x536917
test byte [ecx], 1
jne 0x536947
push 0xa9
push str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
push 0x68
jmp 0x536931
push 0xa5
push str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
push 0x69
push 0
push 3
call fcn.00590370
add esp, 0x14
xor eax, eax
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [ebx + 0xc], 0
je 0x53695b
push 0xad
push str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
push 0x6d
jmp 0x536931
lea esi, [edi + 0x14]
cmp esi, ebx
je 0x536999
push eax
push esi
call fcn.0052b1b0
add esp, 8
test eax, eax
je 0x5369d7
mov eax, dword [ebx + 4]
lea ecx, [eax*4]
test ecx, ecx
je 0x53698e
push ecx
push dword [ebx]
push dword [esi]
call fcn.006cca40
add esp, 0xc
mov eax, dword [ebx + 4]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x20], eax
mov ebx, esi
test ebx, ebx
je 0x5369d7
mov dword [ebp - 0x10], edi
mov eax, dword [edi + 0x18]
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov edi, eax
nop dword [eax]
test edi, edi
jle 0x5369e8
mov edx, dword [esi]
lea ebx, [edi - 1]
cmp dword [edx + edi*4 - 4], 0
mov edi, ebx
je 0x5369b0
add ebx, 1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], ebx
mov eax, dword [edx]
cmp ebx, 2
jb 0x5369fd
mov edx, dword [edx + 4]
jmp 0x5369ff
push 0xb3
push str..._.._third_party_boringssl_src_crypto_fipsmodule_bn_montgomery.c
push 0x44
jmp 0x536931
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], ecx
test eax, eax
js 0x5369f9
mov dword [edx + 0x20], 0
mov eax, dword [esi]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x1c], eax
xor ecx, ecx
mov esi, 1
mov edi, 0x40
mov dword [ebp - 0x18], 0
xor ebx, ebx
mov dword [ebp - 0x14], edx
nop word [eax + eax]
mov dword [ebp - 0x28], edi
mov edx, esi
and edx, 1
neg edx
mov eax, 0
sbb eax, eax
mov dword [ebp - 0x24], eax
mov edi, dword [ebp - 0x14]
and edi, eax
mov eax, edi
xor eax, ecx
and edi, ecx
and edx, dword [ebp - 0x1c]
mov ecx, edx
xor ecx, esi
and edx, esi
shrd ecx, eax, 1
shr eax, 1
add edx, ecx
adc edi, eax
mov esi, edx
and esi, 1
neg esi
mov eax, 0
sbb eax, eax
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x14]
and ecx, eax
mov eax, ecx
xor eax, edi
and ecx, edi
and esi, dword [ebp - 0x1c]
mov edi, esi
xor edi, edx
and esi, edx
shrd edi, eax, 1
shr eax, 1
add esi, edi
mov edi, dword [ebp - 0x28]
adc ecx, eax
shrd dword [ebp - 0x18], ebx, 2
shr ebx, 2
mov eax, dword [ebp - 0x24]
shr eax, 1
and eax, 0x40000000
or ebx, eax
mov eax, dword [ebp - 0x20]
and eax, 0x80000000
or ebx, eax
add edi, 0xfffffffe
jne 0x536a20
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ebx
mov eax, 1
jmp 0x53693f