Function at 0x472660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x74
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov ecx, dword [0x53d010]
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 - 0x70], ecx
cmp eax, 0xffffffff
jne 0x472a93
mov dword [ebp - 0x7c], ecx
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov edi, dword [eax + 4]
test edi, edi
jle 0x472a43
mov ecx, dword [eax]
mov eax, edi
cmp dword [ecx + eax*4 - 4], 0
je 0x472a28
lea edx, [eax - 1]
shl edx, 5
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x64], ecx
mov eax, dword [ecx + eax*4 - 4]
xor edx, edx
test eax, eax
setne dl
mov esi, eax
shr esi, 0x10
cmp eax, 0x10000
cmovb esi, eax
mov eax, 0
setae al
shl eax, 4
mov dword [ebp - 0x68], eax
mov ecx, esi
shr ecx, 8
xor eax, eax
cmp esi, 0x100
cmovb ecx, esi
setae al
mov dword [ebp - 0x74], eax
mov esi, ecx
shr esi, 4
xor eax, eax
cmp ecx, 0x10
cmovb esi, ecx
setae al
mov dword [ebp - 0x80], eax
mov ecx, esi
shr ecx, 2
xor eax, eax
cmp esi, 4
cmovb ecx, esi
setae al
add edx, dword [ebp - 0x6c]
add edx, dword [ebp - 0x68]
mov esi, dword [ebp - 0x74]
lea edx, [edx + esi*8]
mov esi, dword [ebp - 0x80]
lea edx, [edx + esi*4]
cmp ecx, 2
lea edx, [edx + eax*2]
sbb edx, 0xffffffff
dec edx
and edx, 7
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 0x14]
test ecx, ecx
mov dword [ebp - 0x6c], edx
jne 0x472b35
test edi, edi
jle 0x472af8
mov ecx, dword [ebp - 0x64]
cmp dword [ecx + edi*4 - 4], 0
je 0x472a13
lea esi, [edi - 1]
shl esi, 5
mov eax, dword [ecx + edi*4 - 4]
xor edx, edx
test eax, eax
setne dl
mov ecx, eax
shr ecx, 0x10
cmp eax, 0x10000
cmovb ecx, eax
mov eax, 0
setae al
shl eax, 4
mov dword [ebp - 0x64], eax
mov edi, ecx
shr edi, 8
xor eax, eax
cmp ecx, 0x100
cmovb edi, ecx
setae al
mov dword [ebp - 0x68], eax
mov eax, edi
shr eax, 4
xor ecx, ecx
cmp edi, 0x10
cmovb eax, edi
setae cl
mov dword [ebp - 0x74], ecx
mov edi, eax
shr edi, 2
xor ecx, ecx
cmp eax, 4
cmovb edi, eax
setae cl
or edx, esi
add edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
lea eax, [edx + eax*8]
mov edx, dword [ebp - 0x74]
lea eax, [eax + edx*4]
lea eax, [eax + ecx*2]
cmp edi, 2
mov edi, eax
sbb edi, 0xffffffff
add edi, 7
shr edi, 3
movzx edx, byte [ebx]
mov ecx, dword [ebp - 0x6c]
shr edx, cl
test edx, edx
mov esi, dword [ebp - 0x70]
jne 0x472abb
xor edx, edx
test ecx, ecx
sete dl
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edx
sub edi, edx
lea eax, [esi + 2]
cmp edi, eax
mov ecx, dword [ebp - 0x7c]
jb 0x472ad7
add eax, ecx
cmp edi, eax
jae 0x47283b
test ecx, ecx
jns 0x472ad7
add ebx, dword [ebp - 0x64]
cmp byte [ebx + edi - 1], 0xbc
jne 0x472ac9
mov eax, esi
not eax
add edi, eax
push edi
call fcn.00475010
add esp, 4
test eax, eax
je 0x472aef
mov ecx, esi
mov esi, eax
lea eax, [ebx + edi]
push dword [ebp - 0x78]
push ecx
mov dword [ebp - 0x78], eax
push eax
push edi
push esi
call fcn.0043a790
add esp, 0x14
test eax, eax
je 0x472a8c
test edi, edi
mov edx, dword [ebp - 0x6c]
je 0x472895
xor eax, eax
mov cl, byte [ebx + eax]
xor byte [esi + eax], cl
inc eax
cmp edi, eax
jne 0x47288a
test edx, edx
je 0x4728a6
mov cl, 8
sub cl, dl
mov eax, 0xff
shr eax, cl
and byte [esi], al
neg dword [ebp - 0x64]
lea eax, [edi - 1]
xor ebx, ebx
mov edx, ebx
mov cl, byte [esi + ebx]
inc ebx
cmp edx, eax
jae 0x4728bc
test cl, cl
je 0x4728ae
cmp cl, 1
jne 0x472a63
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
mov eax, dword [ebp + 0x10]
js 0x4728e4
mov edx, dword [ebp - 0x68]
add edx, dword [ebp - 0x64]
not ecx
add ecx, edx
sub ecx, dword [ebp - 0x70]
cmp ecx, ebx
jne 0x472a52
pcmpeqd xmm0, xmm0
movdqu xmmword [ebp - 0x20], xmm0
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmmword [ebp - 0x40], xmm0
movdqu xmmword [ebp - 0x50], xmm0
test eax, eax
je 0x47292c
push dword [eax + 0x1c]
call fcn.00475010
add esp, 4
mov dword [ebp - 0x64], eax
test eax, eax
je 0x472a8c
push 0
call fcn.00475050
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 0x530dd7
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 - 0x70]
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.00475090
mov eax, dword [ebp - 0x70]
add esp, 8
xor edi, edi
inc edi
test eax, eax
je 0x4729e0
push eax
push dword [ebp - 0x78]
push ebx
call fcn.0049cc8d
add esp, 0xc
test eax, eax
jne 0x472a74
push esi
call fcn.00475050
add esp, 4
push dword [ebp - 0x5c]
call fcn.00475050
add esp, 4
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x472b06
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049b483
mov eax, edi
add esp, 0x74
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [edi - 1]
cmp edi, 1
mov edi, eax
jg 0x47276b
xor edi, edi
jmp 0x4727fd
mov dword [ebp - 0x64], ecx
lea ecx, [eax - 1]
cmp eax, 1
mov eax, ecx
mov ecx, dword [ebp - 0x64]
jg 0x4726b8
xor edx, edx
jmp 0x472749
je 0x472b1c
mov ecx, dword [eax]
mov eax, edi
jmp 0x4726c3
push 0x11f
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x8a
jmp 0x472a80
push 0x119
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x8b
jmp 0x472a80
push 0x12b
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x69
push 0
push 4
call fcn.00501490
add esp, 0x14
xor edi, edi
jmp 0x4729e0
cmp eax, 0xfffffffe
jne 0x472aa2
mov ecx, 0xfffffffe
jmp 0x47269d
mov ecx, eax
jge 0x47269d
push 0xe9
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x8a
jmp 0x472ae3
push 0xf0
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x7a
jmp 0x472ae3
push 0xfe
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x7f
jmp 0x472ae3
push 0xfa
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x71
push 0
push 4
call fcn.00501490
add esp, 0x14
xor edi, edi
xor esi, esi
jmp 0x4729e0
mov ecx, dword [ebp - 0x64]
jne 0x472776
jmp 0x472a21
mov ecx, dword [eax]
mov esi, dword [ebp - 0x58]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x4729ff
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [eax + 0x14]
xor edi, edi
mov dword [ebp - 0x6c], 7
test ecx, ecx
je 0x4727fd
call dword [section..00cfg]
push dword [ebp + 8]
call ecx
add esp, 4
mov edi, eax
jmp 0x4727fd