Function at 0x490f60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov ecx, dword [0x533014]
xor ecx, ebp
mov dword [esp + 0x88], ecx
test esi, esi
cmove esi, edx
pxor xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
mov ecx, dword [edx + 4]
mov edx, ecx
cmp eax, 0xffffffff
je 0x490fc4
cmp eax, 0xfffffffe
jne 0x490fac
mov edx, 0xfffffffe
jmp 0x490fc4
mov edx, eax
jge 0x490fc4
push 0x200
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x8a
jmp 0x4911c9
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], 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 [esp + 0x18], eax
mov ecx, edi
nop word cs:[eax + eax]
test ecx, ecx
jle 0x491001
mov eax, dword [edx]
mov esi, dword [eax + ecx*4 - 4]
dec ecx
test esi, esi
je 0x490ff0
jmp 0x491018
xor ebx, ebx
test edi, edi
jns 0x49109c
mov eax, dword [edx]
mov esi, dword [esp + 0x18]
lea ecx, [esi - 1]
mov esi, dword [eax + esi*4 - 4]
shl ecx, 5
xor ebx, ebx
test esi, esi
setne bl
mov dword [esp + 0x14], edi
mov edi, esi
shr edi, 0x10
xor eax, eax
cmp esi, 0x10000
cmovb edi, esi
setae al
shl eax, 4
mov dword [esp + 0x1c], eax
mov esi, edi
shr esi, 8
xor eax, eax
cmp edi, 0x100
cmovb esi, edi
setae al
mov dword [esp + 0xc], eax
mov edi, esi
shr edi, 4
xor eax, eax
cmp esi, 0x10
cmovb edi, esi
setae al
mov dword [esp + 0x10], eax
mov esi, edi
shr esi, 2
xor eax, eax
cmp edi, 4
cmovb esi, edi
mov edi, dword [esp + 0x14]
setae al
or ebx, ecx
add ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
lea ecx, [ebx + ecx*8]
mov ebx, dword [esp + 0x10]
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 0x4910bf
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov edi, eax
jmp 0x491177
mov ecx, edi
nop word cs:[eax + eax]
test ecx, ecx
jle 0x4910e1
mov eax, dword [edx]
mov esi, dword [eax + ecx*4 - 4]
dec ecx
test esi, esi
je 0x4910d0
jmp 0x4910f8
mov eax, edi
xor edi, edi
test eax, eax
jns 0x491177
mov eax, dword [edx]
mov ecx, dword [esp + 0x18]
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 [esp + 0x14], eax
mov edi, edx
shr edi, 8
xor eax, eax
cmp edx, 0x100
cmovb edi, edx
setae al
mov dword [esp + 0x1c], eax
mov eax, edi
shr eax, 4
xor edx, edx
cmp edi, 0x10
cmovb eax, edi
setae dl
mov dword [esp + 0xc], 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 [esp + 0x14]
cmp edi, 2
mov eax, dword [esp + 0x1c]
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0xc]
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 0x491193
push 0x207
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x7a
jmp 0x4911c9
xor eax, eax
test ebx, ebx
sete al
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
sub edi, eax
mov esi, dword [esp + 0x20]
lea eax, [esi + 2]
cmp edi, eax
mov ecx, dword [esp + 0x24]
jb 0x4911bd
test ecx, ecx
js 0x491220
add eax, ecx
cmp edi, eax
jae 0x491220
push 0x211
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x71
push 0
push 4
call fcn.004b9040
add esp, 0x14
xor ebx, ebx
xor edi, edi
push edi
call fcn.0049f1c0
add esp, 4
push dword [esp + 0x34]
call fcn.0049f1c0
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x491208
mov ecx, dword [eax]
mov esi, dword [esp + 0x38]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.004e3343
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
add edx, dword [esp + 0x14]
cmp byte [edi + edx - 1], 0xbc
jne 0x491301
mov dword [esp + 0xc], edx
mov eax, esi
not eax
mov dword [esp + 0x28], eax
add edi, eax
push edi
call fcn.0049f180
add esp, 4
test eax, eax
je 0x491312
mov ecx, dword [esp + 0xc]
add ecx, edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
mov ecx, eax
mov edx, edi
push dword [esp + 0x2c]
push esi
push dword [esp + 0x20]
call fcn.00490ac0
add esp, 0xc
test eax, eax
je 0x491323
test edi, edi
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
je 0x49129c
xor eax, eax
nop word [eax + eax]
movzx ecx, byte [esi + eax]
xor byte [edx + eax], cl
inc eax
cmp edi, eax
jne 0x491290
mov dword [esp + 0xc], edi
test ebx, ebx
mov edi, edx
je 0x4912b3
mov cl, 8
sub cl, bl
mov eax, 0xff
shr eax, cl
and byte [edi], al
mov ebx, dword [esp + 0x14]
neg ebx
mov eax, dword [esp + 0xc]
dec eax
xor ecx, ecx
movzx edx, byte [edi + ecx]
lea esi, [ecx + 1]
test dl, dl
jne 0x4912d1
cmp ecx, eax
mov ecx, esi
jb 0x4912c0
cmp dl, 1
jne 0x49132e
mov eax, dword [esp + 0x24]
test eax, eax
js 0x491350
mov ecx, dword [esp + 0x1c]
add ecx, ebx
sub ecx, eax
mov eax, dword [esp + 0x28]
add eax, ecx
cmp eax, esi
je 0x491350
push 0x237
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x8a
jmp 0x49133d
push 0x215
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x7f
jmp 0x4911c9
push 0x21c
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x41
jmp 0x4911c9
xor ebx, ebx
mov edi, dword [esp + 0x10]
jmp 0x4911d9
push 0x231
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x8b
push 0
push 4
call fcn.004b9040
add esp, 0x14
xor ebx, ebx
jmp 0x4911d9
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
sub esp, 4
lea eax, [esp + 0x34]
push dword [ebp + 0x10]
push eax
call fcn.00484100
add esp, 0xc
xor ebx, ebx
test eax, eax
je 0x4911d9
sub dword [esp + 0xc], esi
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push 8
push 0x525629
lea eax, [esp + 0x38]
push eax
call ecx
add esp, 0xc
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push dword [esp + 0x20]
push dword [ebp + 0xc]
lea eax, [esp + 0x38]
push eax
call ecx
add esp, 0xc
add edi, esi
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push dword [esp + 0xc]
push edi
lea edi, [esp + 0x38]
push edi
call ecx
add esp, 0xc
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x14]
call dword [section..00cfg]
lea esi, [esp + 0x40]
push esi
push edi
call ecx
add esp, 8
mov eax, dword [esp + 0x30]
push dword [eax + 0x1c]
push dword [esp + 0x38]
call fcn.0049f200
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x491449
push eax
push dword [esp + 0x1c]
push esi
call fcn.004e4a1d
add esp, 0xc
test eax, eax
je 0x491449
push 0x243
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x69
push 0
push 4
call fcn.004b9040
add esp, 0x14
jmp 0x491325
mov ebx, 1
jmp 0x491325