Function at 0x546ce0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xac
mov ecx, dword [ebp + 0x14]
mov eax, dword [0x7a9040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, dword [ecx + 4]
test esi, esi
jle 0x547224
mov eax, ecx
mov edx, dword [ecx]
mov ecx, dword [edx]
mov dword [ebp - 0x9c], ecx
test cl, 1
je 0x547224
cmp dword [eax + 0xc], 0
jne 0x547216
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0xc], 0
jne 0x547232
mov ebx, dword [eax]
mov eax, dword [eax + 4]
cmp eax, esi
mov dword [ebp - 0x94], esi
mov ecx, esi
cmovb ecx, eax
mov dword [ebp - 0xa0], eax
test eax, eax
mov dword [ebp - 0xa8], edx
je 0x547169
xor esi, esi
xor eax, eax
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0xa4], ecx
mov ecx, dword [edx + eax*4]
mov edx, dword [ebx + eax*4]
mov ebx, edx
xor ebx, ecx
mov edi, edx
sub edi, ecx
lea ecx, [ebx - 1]
xor edi, edx
or edi, ebx
not ebx
and ecx, ebx
mov ebx, dword [ebp - 0x98]
xor edi, edx
mov edx, dword [ebp - 0xa8]
sar ecx, 0x1f
sar edi, 0x1f
or edi, 1
xor esi, edi
and esi, ecx
mov ecx, dword [ebp - 0xa4]
xor esi, edi
inc eax
cmp ecx, eax
jne 0x546d66
mov ecx, dword [ebp - 0x94]
mov edi, dword [ebp - 0xa0]
cmp edi, ecx
jb 0x5470f8
ja 0x54717a
test esi, esi
jns 0x547232
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 4]
test eax, eax
jle 0x547251
mov ecx, dword [ecx]
cmp dword [ecx + eax*4 - 4], 0
je 0x546f8f
lea esi, [eax - 1]
shl esi, 5
mov eax, dword [ecx + eax*4 - 4]
xor ebx, ebx
test eax, eax
setne bl
mov ecx, eax
shr ecx, 0x10
cmp eax, 0x10000
cmovb ecx, eax
mov eax, 0
setae al
shl eax, 4
mov dword [ebp - 0x98], eax
mov eax, ecx
shr eax, 8
xor edx, edx
cmp ecx, 0x100
cmovb eax, ecx
setae dl
mov dword [ebp - 0xa4], edx
mov edi, eax
shr edi, 4
xor ecx, ecx
cmp eax, 0x10
cmovb edi, eax
setae cl
mov dword [ebp - 0xa0], ecx
mov eax, edi
shr eax, 2
xor edx, edx
cmp edi, 4
cmovb eax, edi
setae dl
xor ecx, ecx
cmp eax, 2
setae cl
or ebx, esi
add ebx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xa4]
lea eax, [ebx + eax*8]
mov esi, dword [ebp - 0xa0]
lea eax, [eax + esi*4]
lea ebx, [eax + edx*2]
add ebx, ecx
je 0x54719f
mov edi, dword [ebp + 0x18]
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x20], xmm0
movdqu xmmword [ebp - 0x2c], xmm0
movdqu xmmword [ebp - 0x3c], xmm0
movdqu xmmword [ebp - 0x4c], xmm0
movdqu xmmword [ebp - 0x5c], xmm0
movdqu xmmword [ebp - 0x6c], xmm0
movdqu xmmword [ebp - 0x7c], xmm0
movdqu xmmword [ebp - 0x8c], xmm0
cmp byte [edi + 0x14], 0
jne 0x546ecf
mov ecx, dword [edi + 8]
mov esi, dword [edi + 0x10]
cmp ecx, dword [edi + 0xc]
je 0x547115
mov eax, dword [edi + 4]
mov dword [eax + ecx*4], esi
inc dword [edi + 8]
push edi
call fcn.00546a20
add esp, 4
mov esi, eax
push edi
call fcn.00546a20
add esp, 4
mov dword [ebp - 0x90], eax
xor ecx, ecx
test esi, esi
je 0x547373
mov edx, eax
mov eax, 0
test edx, edx
je 0x5470bd
mov eax, dword [ebp + 0x1c]
xor ecx, ecx
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x547349
cmp ebx, 0x29f
mov dword [ebp - 0x9c], ecx
ja 0x54725e
cmp ebx, 0xef
ja 0x54726d
cmp ebx, 0x4f
ja 0x54727c
xor eax, eax
cmp ebx, 0x18
setae al
lea eax, [eax*2 + 1]
mov dword [ebp - 0xa4], eax
push edi
mov eax, dword [ebp - 0xa8]
push eax
push eax
push dword [ebp + 0xc]
mov edi, edx
push edx
call fcn.00547480
add esp, 0x14
xor ecx, ecx
test eax, eax
je 0x547172
cmp dword [ebp - 0xa4], 2
jae 0x54728b
dec ebx
mov dword [ebp - 0x98], 0
lea edi, [ebx - 1]
jmp 0x546fd1
lea edx, [eax - 1]
cmp eax, 1
mov eax, edx
jg 0x546dd9
jmp 0x54719f
test byte [ebp - 0x98], 1
je 0x546fc7
push dword [ebp + 0x18]
push dword [ebp - 0xa8]
push esi
push esi
push esi
call fcn.00547480
add esp, 0x14
test eax, eax
je 0x547170
sub ebx, 1
jb 0x54709f
dec edi
test ebx, ebx
js 0x546fa2
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 4]
mov ecx, ebx
shr ecx, 5
cmp ecx, eax
jae 0x546fa2
mov edx, dword [ebp + 0x10]
mov edx, dword [edx]
mov ecx, dword [edx + ecx*4]
bt ecx, ebx
jae 0x546fa2
cmp dword [ebp - 0xa4], 2
jb 0x547002
test ebx, ebx
jne 0x54737a
xor edi, edi
xor eax, eax
inc eax
test byte [ebp - 0x98], 1
jne 0x547040
and eax, 0xfffffffe
push dword [ebp + eax*2 - 0x90]
push esi
call fcn.00546870
add esp, 8
test eax, eax
je 0x547170
cmp ebx, edi
je 0x54709f
not edi
add ebx, edi
mov al, 1
mov dword [ebp - 0x98], eax
jmp 0x546f8a
mov dword [ebp - 0x94], edi
xor edi, edi
dec edi
mov dword [ebp - 0xa0], eax
push dword [ebp + 0x18]
push dword [ebp - 0xa8]
push esi
push esi
push esi
call fcn.00547480
add esp, 0x14
test eax, eax
je 0x547170
inc edi
cmp dword [ebp - 0x94], edi
mov eax, dword [ebp - 0xa0]
jne 0x54704f
mov edi, dword [ebp - 0x94]
and eax, 0xfffffffe
push dword [ebp + 0x18]
push dword [ebp - 0xa8]
push dword [ebp + eax*2 - 0x90]
push esi
push esi
call fcn.00547480
add esp, 0x14
jmp 0x547023
mov edi, dword [ebp + 0x18]
push edi
push dword [ebp - 0xa8]
push esi
push dword [ebp + 8]
call fcn.00547620
add esp, 0x10
mov ecx, eax
mov eax, dword [ebp - 0x9c]
mov esi, ecx
push eax
call fcn.00547820
add esp, 4
cmp byte [edi + 0x14], 0
jne 0x5470e1
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
lea edx, [ecx - 1]
mov dword [edi + 8], edx
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + 0x10], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00650d60
mov eax, esi
add esp, 0xac
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
or eax, dword [edx + edi*4]
inc edi
cmp ecx, edi
jne 0x5470fa
mov ecx, eax
not ecx
dec eax
and eax, ecx
sar eax, 0x1f
not eax
or esi, eax
jmp 0x546dc1
lea eax, [ecx + ecx*2]
shr eax, 1
test ecx, ecx
mov edi, 0x20
cmovne edi, eax
cmp edi, ecx
jbe 0x54733b
cmp edi, 0x3fffffff
ja 0x54733b
lea eax, [edi*4]
push eax
mov eax, dword [ebp + 0x18]
push dword [eax + 4]
call fcn.005fb060
add esp, 8
test eax, eax
je 0x54733b
mov ecx, dword [ebp + 0x18]
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], edi
mov edi, ecx
mov ecx, dword [ecx + 8]
jmp 0x546ec9
xor esi, esi
jmp 0x546da7
xor ecx, ecx
mov edi, dword [ebp + 0x18]
jmp 0x5470b7
xor eax, eax
or eax, dword [ebx + ecx*4]
inc ecx
cmp dword [ebp - 0xa0], ecx
jne 0x54717c
mov ecx, eax
not ecx
dec eax
and eax, ecx
sar eax, 0x1f
xor esi, 1
and esi, eax
xor esi, 1
jmp 0x546dc1
mov edx, dword [ebp - 0x9c]
and edx, 0xfffffffe
cmp dword [ebp - 0x94], 1
je 0x5471d3
mov ecx, dword [ebp - 0x94]
cmp ecx, 3
mov eax, 2
cmovge eax, ecx
xor ecx, ecx
inc ecx
mov esi, dword [ebp - 0xa8]
or edx, dword [esi + ecx*4]
inc ecx
cmp eax, ecx
jne 0x5471cb
test edx, edx
je 0x547203
push 1
push dword [ebp + 8]
call fcn.006a9940
add esp, 8
test eax, eax
je 0x54724a
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0
mov eax, dword [ecx]
xor edx, edx
inc edx
mov dword [eax], edx
mov esi, edx
mov dword [ecx + 4], edx
jmp 0x5470e1
xor eax, eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], eax
mov dword [ecx + 4], eax
xor esi, esi
inc esi
jmp 0x5470e1
push 0x27e
push str....._third_party_boringssl_srccrypto_fipsmodule_bnexponentiation.c
push 0x6d
jmp 0x54723e
push 0x27a
push str....._third_party_boringssl_srccrypto_fipsmodule_bnexponentiation.c
push 0x68
jmp 0x54723e
push 0x283
push str....._third_party_boringssl_srccrypto_fipsmodule_bnexponentiation.c
push 0x6b
push 0
push 3
call fcn.006d2a00
add esp, 0x14
xor esi, esi
jmp 0x5470e1
je 0x54719f
mov ecx, dword [ecx]
jmp 0x546de4
mov dword [ebp - 0xa4], 6
jmp 0x546f51
mov dword [ebp - 0xa4], 5
jmp 0x546f51
mov dword [ebp - 0xa4], 4
jmp 0x546f51
mov dword [ebp - 0xb0], esi
push dword [ebp + 0x18]
call fcn.00546a20
add esp, 4
mov dword [ebp - 0x98], eax
test eax, eax
je 0x54732b
push dword [ebp + 0x18]
push dword [ebp - 0xa8]
push edi
push edi
push dword [ebp - 0x98]
call fcn.00547480
add esp, 0x14
test eax, eax
je 0x54732b
mov eax, dword [ebp - 0xa4]
mov ecx, eax
dec cl
xor edi, edi
inc edi
mov eax, edi
shl eax, cl
mov dword [ebp - 0x94], eax
push dword [ebp + 0x18]
call fcn.00546a20
add esp, 4
mov dword [ebp + edi*4 - 0x90], eax
test eax, eax
je 0x54732b
push dword [ebp + 0x18]
push dword [ebp - 0xa8]
push dword [ebp - 0x98]
push dword [ebp + edi*4 - 0x94]
push eax
call fcn.00547480
add esp, 0x14
test eax, eax
je 0x54732b
inc edi
cmp dword [ebp - 0x94], edi
mov esi, dword [ebp - 0xb0]
jne 0x5472de
jmp 0x546f7f
mov edi, dword [ebp + 0x18]
mov eax, dword [ebp - 0x9c]
xor ecx, ecx
jmp 0x5470bd
mov edi, dword [ebp + 0x18]
mov word [edi + 0x14], 0x101
jmp 0x546ecf
push edi
push dword [ebp + 0x14]
mov dword [ebp - 0x98], edx
call fcn.006aad80
mov edx, dword [ebp - 0x98]
add esp, 8
mov ecx, eax
mov dword [ebp - 0xa8], eax
test eax, eax
jne 0x546f15
xor ecx, ecx
xor eax, eax
jmp 0x5470bd
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0x94], 0
xor ecx, ecx
inc ecx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0xb4], 0
test edi, edi
js 0x5473cb
mov ecx, edi
shr ecx, 5
mov dword [ebp - 0xb4], 0
cmp ecx, eax
jae 0x5473cb
mov esi, dword [edx + ecx*4]
xor ecx, ecx
bt esi, edi
setb cl
mov dword [ebp - 0xb4], ecx
mov ecx, dword [ebp - 0xac]
sub ecx, dword [ebp - 0x94]
mov esi, dword [ebp - 0xa0]
mov dword [ebp - 0xb8], esi
shl dword [ebp - 0xb8], cl
or dword [ebp - 0xb8], 1
cmp dword [ebp - 0xb4], 0
mov ecx, dword [ebp - 0xa0]
cmovne ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xa0], ecx
mov esi, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x94]
cmovne ecx, esi
mov dword [ebp - 0x94], ecx
lea ecx, [esi + 1]
cmp ecx, dword [ebp - 0xa4]
jae 0x54743d
dec edi
cmp dword [ebp - 0xac], ebx
mov dword [ebp - 0xac], ecx
jl 0x547399
test byte [ebp - 0x98], 1
jne 0x54745d
mov edi, dword [ebp - 0x94]
mov eax, dword [ebp - 0xa0]
mov esi, dword [ebp - 0xb0]
jmp 0x547010
mov edi, dword [ebp - 0x94]
test edi, edi
mov eax, dword [ebp - 0xa0]
mov esi, dword [ebp - 0xb0]
js 0x547080
jmp 0x547040