Function at 0x479a50
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 [0x54a010]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
test esi, esi
cmove esi, edx
mov dword [ebp - 0x78], esi
pxor xmm0, xmm0
movdqu xmmword [ebp - 0x60], xmm0
mov ecx, dword [edx + 4]
mov dword [ebp - 0x74], ecx
cmp eax, 0xffffffff
jne 0x479e21
mov dword [ebp - 0x80], ecx
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
mov ecx, dword [edx + 4]
mov eax, ecx
sar eax, 0x1f
and eax, ecx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], edx
test ecx, ecx
jle 0x479e34
mov eax, dword [edx]
mov esi, dword [eax + ecx*4 - 4]
dec ecx
test esi, esi
je 0x479aac
shl ecx, 5
xor edx, edx
test esi, esi
setne dl
mov edi, esi
shr edi, 0x10
xor eax, eax
cmp esi, 0x10000
cmovb edi, esi
setae al
shl eax, 4
mov dword [ebp - 0x70], eax
mov esi, edi
shr esi, 8
xor eax, eax
cmp edi, 0x100
cmovb esi, edi
setae al
mov dword [ebp - 0x6c], eax
mov edi, esi
shr edi, 4
xor eax, eax
cmp esi, 0x10
cmovb edi, esi
setae al
mov dword [ebp - 0x84], eax
mov esi, edi
shr esi, 2
xor eax, eax
cmp edi, 4
cmovb esi, edi
setae al
or edx, ecx
add edx, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x6c]
lea ecx, [edx + ecx*8]
mov edx, dword [ebp - 0x84]
lea ecx, [ecx + edx*4]
cmp esi, 2
lea eax, [ecx + eax*2]
sbb eax, 0xffffffff
dec eax
and eax, 7
mov dword [ebp - 0x70], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x479e52
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x64]
test ecx, ecx
jle 0x479e87
mov eax, dword [edx]
mov edi, dword [eax + ecx*4 - 4]
dec ecx
test edi, edi
je 0x479b58
shl ecx, 5
mov edx, edi
shr edx, 0x10
xor eax, eax
cmp edi, 0x10000
cmovb edx, edi
setae al
shl eax, 4
mov dword [ebp - 0x64], eax
mov esi, edx
shr esi, 8
xor eax, eax
cmp edx, 0x100
cmovb esi, edx
setae al
mov dword [ebp - 0x68], eax
mov eax, esi
shr eax, 4
xor edx, edx
cmp esi, 0x10
cmovb eax, esi
setae dl
mov dword [ebp - 0x6c], edx
mov esi, eax
shr esi, 2
xor edx, edx
cmp eax, 4
cmovb esi, eax
setae dl
cmp edi, 1
sbb ecx, 0
add ecx, 8
or ecx, dword [ebp - 0x64]
cmp esi, 2
mov eax, dword [ebp - 0x68]
lea eax, [ecx + eax*8]
mov ecx, dword [ebp - 0x6c]
lea eax, [eax + ecx*4]
lea eax, [eax + edx*2]
sbb eax, 0xffffffff
shr eax, 3
movzx edx, byte [ebx]
mov ecx, dword [ebp - 0x70]
shr edx, cl
test edx, edx
jne 0x479e63
xor edx, edx
test ecx, ecx
sete dl
mov edi, eax
mov dword [ebp - 0x64], edx
sub edi, edx
mov ecx, dword [ebp - 0x74]
lea esi, [ecx + 2]
cmp edi, esi
mov edx, dword [ebp - 0x80]
jb 0x479e03
test edx, edx
js 0x479c21
add esi, edx
cmp edi, esi
jb 0x479e03
mov dword [ebp - 0x68], eax
add ebx, dword [ebp - 0x64]
cmp byte [edi + ebx - 1], 0xbc
jne 0x479ea0
mov eax, ecx
not eax
mov dword [ebp - 0x6c], eax
add edi, eax
push edi
call fcn.0047b2e0
add esp, 4
test eax, eax
je 0x479e1b
mov esi, eax
lea eax, [ebx + edi]
push dword [ebp - 0x78]
push dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
push eax
push edi
push esi
call fcn.00440350
add esp, 0x14
test eax, eax
je 0x479eda
test edi, edi
je 0x479c7e
xor eax, eax
mov cl, byte [ebx + eax]
xor byte [esi + eax], cl
inc eax
cmp edi, eax
jne 0x479c73
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x479c92
mov cl, 8
sub cl, al
mov eax, 0xff
shr eax, cl
and byte [esi], al
neg dword [ebp - 0x64]
lea eax, [edi - 1]
xor ecx, ecx
mov dl, byte [esi + ecx]
lea ebx, [ecx + 1]
test dl, dl
jne 0x479caa
cmp ecx, eax
mov ecx, ebx
jb 0x479c9a
cmp dl, 1
jne 0x479eb1
mov ecx, dword [ebp - 0x80]
test ecx, ecx
mov eax, dword [ebp + 0x10]
js 0x479cd2
mov edx, dword [ebp - 0x68]
add edx, dword [ebp - 0x64]
sub edx, ecx
mov ecx, dword [ebp - 0x6c]
add ecx, edx
cmp ecx, ebx
jne 0x479ee1
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x20], xmm0
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x40], xmm0
movdqu xmmword [ebp - 0x50], xmm0
cmp dword [ebp - 0x60], eax
je 0x479d1c
push dword [eax + 0x1c]
call fcn.0047b2e0
add esp, 4
mov dword [ebp - 0x64], eax
test eax, eax
je 0x479eda
push dword [ebp - 0x5c]
call fcn.0047b330
add esp, 4
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
sub edi, ebx
mov ecx, dword [eax + 0xc]
call dword [section..00cfg]
lea eax, [ebp - 0x60]
push eax
call ecx
add esp, 4
lea eax, [ebp - 0x60]
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push 8
push 0x53b9a8
lea eax, [ebp - 0x60]
push eax
call ecx
add esp, 0xc
lea eax, [ebp - 0x60]
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push dword [ebp - 0x74]
push dword [ebp + 0xc]
lea eax, [ebp - 0x60]
push eax
call ecx
add esp, 0xc
mov eax, esi
add eax, ebx
mov dword [ebp - 0x64], eax
lea ebx, [ebp - 0x60]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push edi
push dword [ebp - 0x64]
mov edi, ebx
push ebx
call ecx
add esp, 0xc
mov eax, dword [ebx]
mov ecx, dword [eax + 0x14]
call dword [section..00cfg]
lea ebx, [ebp - 0x50]
push ebx
push edi
call ecx
add esp, 8
mov eax, dword [edi]
push dword [eax + 0x1c]
push dword [edi + 4]
call fcn.0047b370
mov eax, dword [ebp - 0x74]
add esp, 8
xor edi, edi
inc edi
test eax, eax
je 0x479dd0
push eax
push dword [ebp - 0x78]
push ebx
call fcn.004a1c0d
add esp, 0xc
test eax, eax
jne 0x479ec2
push esi
call fcn.0047b330
add esp, 4
push dword [ebp - 0x5c]
call fcn.0047b330
add esp, 4
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x479e71
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0403
mov eax, edi
add esp, 0x78
pop esi
pop edi
pop ebx
pop ebp
ret
push 0xfa
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x71
push 0
push 4
call fcn.0050d790
add esp, 0x14
xor edi, edi
xor esi, esi
jmp 0x479dd0
cmp eax, 0xfffffffe
jne 0x479ef2
mov ecx, 0xfffffffe
jmp 0x479a8d
cmp dword [ebp - 0x68], 0
jns 0x479f0e
mov edi, dword [ebp - 0x64]
mov eax, dword [edi]
mov edx, dword [ebp - 0x7c]
lea ecx, [edx - 1]
mov esi, dword [eax + edx*4 - 4]
jmp 0x479abf
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x479be4
push 0xf0
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x7a
jmp 0x479e0f
mov ecx, dword [eax]
mov esi, dword [ebp - 0x58]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x479def
cmp dword [ebp - 0x68], 0
jns 0x479f15
mov eax, dword [edx]
mov ecx, dword [ebp - 0x7c]
mov edi, dword [eax + ecx*4 - 4]
dec ecx
jmp 0x479b6b
push 0xfe
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x7f
jmp 0x479e0f
push 0x119
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x8b
jmp 0x479ece
push 0x12b
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x69
push 0
push 4
call fcn.0050d790
add esp, 0x14
xor edi, edi
jmp 0x479dd0
push 0x11f
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x8a
jmp 0x479ece
mov ecx, eax
jge 0x479a8d
push 0xe9
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x8a
jmp 0x479e0f
xor eax, eax
jmp 0x479b3b
xor eax, eax
jmp 0x479be4