Function at 0x4966d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x78
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov ecx, dword [0x53c014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
test esi, esi
cmove esi, edx
pxor xmm0, xmm0
movdqu xmmword [ebp - 0x60], xmm0
mov ecx, dword [edx + 4]
mov edx, ecx
cmp eax, 0xffffffff
je 0x496729
cmp eax, 0xfffffffe
jne 0x496711
mov edx, 0xfffffffe
jmp 0x496729
mov edx, eax
jge 0x496729
push 0x200
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x8a
jmp 0x49690e
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
mov edi, dword [edx + 4]
mov eax, edi
sar eax, 0x1f
and eax, edi
mov dword [ebp - 0x70], eax
mov ecx, edi
nop word [eax + eax]
test ecx, ecx
jle 0x496761
mov eax, dword [edx]
mov esi, dword [eax + ecx*4 - 4]
dec ecx
test esi, esi
je 0x496750
jmp 0x496777
xor ebx, ebx
test edi, edi
jns 0x4967f3
mov eax, dword [edx]
mov esi, dword [ebp - 0x70]
lea ecx, [esi - 1]
mov esi, dword [eax + esi*4 - 4]
shl ecx, 5
xor ebx, ebx
test esi, esi
setne bl
mov dword [ebp - 0x6c], edi
mov edi, esi
shr edi, 0x10
xor eax, eax
cmp esi, 0x10000
cmovb edi, esi
setae al
shl eax, 4
mov dword [ebp - 0x74], eax
mov esi, edi
shr esi, 8
xor eax, eax
cmp edi, 0x100
cmovb esi, edi
setae al
mov dword [ebp - 0x64], eax
mov edi, esi
shr edi, 4
xor eax, eax
cmp esi, 0x10
cmovb edi, esi
setae al
mov dword [ebp - 0x68], eax
mov esi, edi
shr esi, 2
xor eax, eax
cmp edi, 4
cmovb esi, edi
mov edi, dword [ebp - 0x6c]
setae al
or ebx, ecx
add ebx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x64]
lea ecx, [ebx + ecx*8]
mov ebx, dword [ebp - 0x68]
lea ecx, [ecx + ebx*4]
cmp esi, 2
lea ebx, [ecx + eax*2]
sbb ebx, 0xffffffff
dec ebx
and ebx, 7
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x496816
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov edi, eax
jmp 0x4968c0
mov ecx, edi
nop dword [eax + eax]
test ecx, ecx
jle 0x496831
mov eax, dword [edx]
mov esi, dword [eax + ecx*4 - 4]
dec ecx
test esi, esi
je 0x496820
jmp 0x496847
mov eax, edi
xor edi, edi
test eax, eax
jns 0x4968c0
mov eax, dword [edx]
mov ecx, dword [ebp - 0x70]
mov esi, dword [eax + ecx*4 - 4]
dec ecx
shl ecx, 5
mov edx, esi
shr edx, 0x10
xor eax, eax
cmp esi, 0x10000
cmovb edx, esi
setae al
shl eax, 4
mov dword [ebp - 0x6c], eax
mov edi, edx
shr edi, 8
xor eax, eax
cmp edx, 0x100
cmovb edi, edx
setae al
mov dword [ebp - 0x74], eax
mov eax, edi
shr eax, 4
xor edx, edx
cmp edi, 0x10
cmovb eax, edi
setae dl
mov dword [ebp - 0x64], edx
mov edi, eax
shr edi, 2
xor edx, edx
cmp eax, 4
cmovb edi, eax
setae dl
cmp esi, 1
sbb ecx, 0
add ecx, 8
or ecx, dword [ebp - 0x6c]
cmp edi, 2
mov eax, dword [ebp - 0x74]
lea eax, [ecx + eax*8]
mov ecx, dword [ebp - 0x64]
lea eax, [eax + ecx*4]
lea edi, [eax + edx*2]
sbb edi, 0xffffffff
shr edi, 3
mov edx, dword [ebp + 0x18]
movzx eax, byte [edx]
mov ecx, ebx
shr eax, cl
test eax, eax
je 0x4968dc
push 0x207
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x7a
jmp 0x49690e
xor eax, eax
test ebx, ebx
sete al
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x6c], eax
sub edi, eax
mov esi, dword [ebp - 0x78]
lea eax, [esi + 2]
cmp edi, eax
mov ecx, dword [ebp - 0x7c]
jb 0x496902
test ecx, ecx
js 0x49695e
add eax, ecx
cmp edi, eax
jae 0x49695e
push 0x211
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x71
push 0
push 4
call fcn.004bee40
add esp, 0x14
xor ebx, ebx
xor edi, edi
push edi
call fcn.004a4f50
add esp, 4
push dword [ebp - 0x5c]
call fcn.004a4f50
add esp, 4
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x49694a
mov ecx, dword [eax]
mov esi, dword [ebp - 0x58]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e96e3
mov eax, ebx
add esp, 0x78
pop esi
pop edi
pop ebx
pop ebp
ret
add edx, dword [ebp - 0x6c]
cmp byte [edi + edx - 1], 0xbc
jne 0x496a2e
mov dword [ebp - 0x64], edx
mov eax, esi
not eax
mov dword [ebp - 0x80], eax
add edi, eax
push edi
call fcn.004a4f10
add esp, 4
test eax, eax
je 0x496a3f
mov ecx, dword [ebp - 0x64]
add ecx, edi
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x68], eax
mov ecx, eax
mov edx, edi
push dword [ebp - 0x84]
push esi
push dword [ebp - 0x70]
call fcn.00496250
add esp, 0xc
test eax, eax
je 0x496a50
test edi, edi
mov esi, dword [ebp - 0x64]
mov edx, dword [ebp - 0x68]
je 0x4969cc
xor eax, eax
nop
movzx ecx, byte [esi + eax]
xor byte [edx + eax], cl
inc eax
cmp edi, eax
jne 0x4969c0
mov dword [ebp - 0x64], edi
test ebx, ebx
mov edi, edx
je 0x4969e2
mov cl, 8
sub cl, bl
mov eax, 0xff
shr eax, cl
and byte [edi], al
mov ebx, dword [ebp - 0x6c]
neg ebx
mov eax, dword [ebp - 0x64]
dec eax
xor ecx, ecx
nop dword [eax]
movzx edx, byte [edi + ecx]
lea esi, [ecx + 1]
test dl, dl
jne 0x496a01
cmp ecx, eax
mov ecx, esi
jb 0x4969f0
cmp dl, 1
jne 0x496a5a
mov eax, dword [ebp - 0x7c]
test eax, eax
js 0x496a7c
mov ecx, dword [ebp - 0x74]
add ecx, ebx
sub ecx, eax
mov eax, dword [ebp - 0x80]
add eax, ecx
cmp eax, esi
je 0x496a7c
push 0x237
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x8a
jmp 0x496a69
push 0x215
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x7f
jmp 0x49690e
push 0x21c
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x41
jmp 0x49690e
xor ebx, ebx
mov edi, dword [ebp - 0x68]
jmp 0x49691e
push 0x231
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x8b
push 0
push 4
call fcn.004bee40
add esp, 0x14
xor ebx, ebx
jmp 0x49691e
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x20], xmm0
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x40], xmm0
movdqu xmmword [ebp - 0x50], xmm0
sub esp, 4
lea eax, [ebp - 0x60]
push dword [ebp + 0x10]
push eax
call fcn.00489c70
add esp, 0xc
xor ebx, ebx
test eax, eax
je 0x49691e
sub dword [ebp - 0x64], esi
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push 8
push 0x52d8f9
lea eax, [ebp - 0x60]
push eax
call ecx
add esp, 0xc
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push dword [ebp - 0x78]
push dword [ebp + 0xc]
lea eax, [ebp - 0x60]
push eax
call ecx
add esp, 0xc
add edi, esi
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push dword [ebp - 0x64]
push edi
lea edi, [ebp - 0x60]
push edi
call ecx
add esp, 0xc
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x14]
call dword [section..00cfg]
lea esi, [ebp - 0x50]
push esi
push edi
call ecx
add esp, 8
mov eax, dword [ebp - 0x60]
push dword [eax + 0x1c]
push dword [ebp - 0x5c]
call fcn.004a4f90
mov eax, dword [ebp - 0x78]
add esp, 8
test eax, eax
je 0x496b61
push eax
push dword [ebp - 0x70]
push esi
call fcn.004eadbd
add esp, 0xc
test eax, eax
je 0x496b61
push 0x243
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x69
push 0
push 4
call fcn.004bee40
add esp, 0x14
jmp 0x496a52
mov ebx, 1
jmp 0x496a52