Function at 0x478ff0
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 [0x550014]
xor ecx, ebp
mov dword [esp + 0x88], ecx
test esi, esi
cmove esi, edx
mov dword [esp + 0x20], esi
pxor xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
mov ecx, dword [edx + 4]
mov dword [esp + 0x1c], ecx
cmp eax, 0xffffffff
jne 0x47945c
mov dword [esp + 0x28], 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 [esp + 0x24], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
test ecx, ecx
jle 0x47946f
mov eax, dword [edx]
mov esi, dword [eax + ecx*4 - 4]
dec ecx
test esi, esi
je 0x47905d
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 [esp + 0x18], eax
mov esi, edi
shr esi, 8
xor eax, eax
cmp edi, 0x100
cmovb esi, edi
setae al
mov dword [esp + 0x14], eax
mov edi, esi
shr edi, 4
xor eax, eax
cmp esi, 0x10
cmovb edi, esi
setae al
mov dword [esp + 0x2c], eax
mov esi, edi
shr esi, 2
xor eax, eax
cmp edi, 4
cmovb esi, edi
setae al
or edx, ecx
add edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea ecx, [edx + ecx*8]
mov edx, dword [esp + 0x2c]
lea ecx, [ecx + edx*4]
cmp esi, 2
lea eax, [ecx + eax*2]
sbb eax, 0xffffffff
dec eax
and eax, 7
mov dword [esp + 0x18], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x479490
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test ecx, ecx
jle 0x4794c6
mov eax, dword [edx]
mov edi, dword [eax + ecx*4 - 4]
dec ecx
test edi, edi
je 0x47910c
shl ecx, 5
xor eax, eax
test edi, edi
setne al
mov esi, edi
shr esi, 0x10
xor edx, edx
cmp edi, 0x10000
cmovb esi, edi
setae dl
shl edx, 4
mov dword [esp + 0xc], edx
mov edi, esi
shr edi, 8
xor edx, edx
cmp esi, 0x100
cmovb edi, esi
setae dl
mov dword [esp + 0x10], edx
mov esi, edi
shr esi, 4
xor edx, edx
cmp edi, 0x10
cmovb esi, edi
setae dl
mov dword [esp + 0x14], edx
mov edi, esi
shr edi, 2
xor edx, edx
cmp esi, 4
cmovb edi, esi
setae dl
or eax, ecx
add eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea eax, [eax + ecx*8]
mov ecx, dword [esp + 0x14]
lea eax, [eax + ecx*4]
lea eax, [eax + edx*2]
cmp edi, 2
sbb eax, 0xffffffff
add eax, 7
shr eax, 3
movzx esi, byte [ebx]
mov ecx, dword [esp + 0x18]
shr esi, cl
test esi, esi
jne 0x4794a1
xor edx, edx
test ecx, ecx
sete dl
mov edi, eax
mov dword [esp + 0xc], edx
sub edi, edx
mov ecx, dword [esp + 0x1c]
lea esi, [ecx + 2]
cmp edi, esi
mov edx, dword [esp + 0x28]
jb 0x47943e
test edx, edx
js 0x4791e2
add esi, edx
cmp edi, esi
jb 0x47943e
mov dword [esp + 0x10], eax
add ebx, dword [esp + 0xc]
cmp byte [edi + ebx - 1], 0xbc
jne 0x4794e1
mov eax, ecx
not eax
mov dword [esp + 0x14], eax
add edi, eax
push edi
call fcn.00479fb0
add esp, 4
test eax, eax
je 0x4794f2
mov esi, eax
lea eax, [ebx + edi]
mov ecx, esi
mov edx, edi
push dword [esp + 0x20]
push dword [esp + 0x20]
mov dword [esp + 0x28], eax
push eax
call fcn.00440260
add esp, 0xc
test eax, eax
je 0x47952c
test edi, edi
je 0x479247
xor eax, eax
mov cl, byte [ebx + eax]
xor byte [esi + eax], cl
inc eax
cmp edi, eax
jne 0x47923c
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47925c
mov cl, 8
sub cl, al
mov eax, 0xff
shr eax, cl
and byte [esi], al
neg dword [esp + 0xc]
lea eax, [edi - 1]
xor ecx, ecx
mov dl, byte [esi + ecx]
lea ebx, [ecx + 1]
test dl, dl
jne 0x479275
cmp ecx, eax
mov ecx, ebx
jb 0x479265
cmp dl, 1
jne 0x479503
mov ecx, dword [esp + 0x28]
test ecx, ecx
mov eax, dword [ebp + 0x10]
js 0x4792a1
mov edx, dword [esp + 0x10]
add edx, dword [esp + 0xc]
sub edx, ecx
mov ecx, dword [esp + 0x14]
add ecx, edx
cmp ecx, ebx
jne 0x479545
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
cmp dword [esp + 0x30], eax
je 0x4792f5
push dword [eax + 0x1c]
call fcn.00479fb0
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
je 0x479533
push dword [esp + 0x34]
call fcn.00479fe0
add esp, 4
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
sub edi, ebx
mov ecx, dword [eax + 0xc]
cmp ecx, 0x441420
jne 0x479429
mov eax, dword [esp + 0x34]
pxor xmm0, xmm0
movdqu xmmword [eax + 0x5c], xmm0
movdqu xmmword [eax + 0x50], xmm0
movdqu xmmword [eax + 0x40], xmm0
movdqu xmmword [eax + 0x30], xmm0
movdqu xmmword [eax + 0x20], xmm0
movaps xmm0, xmmword [0x541120]
movups xmmword [eax], xmm0
movdqa xmm0, xmmword [0x541130]
movdqu xmmword [eax + 0x10], xmm0
mov dword [eax + 0x6c], 0x20
lea eax, [esp + 0x30]
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push 8
push 0x541919
lea eax, [esp + 0x38]
push eax
call ecx
add esp, 0xc
lea eax, [esp + 0x30]
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push dword [esp + 0x1c]
push dword [ebp + 0xc]
lea eax, [esp + 0x38]
push eax
call ecx
add esp, 0xc
mov eax, esi
add eax, ebx
mov dword [esp + 0xc], eax
lea ebx, [esp + 0x30]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x10]
call dword [section..00cfg]
push edi
push dword [esp + 0x10]
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, [esp + 0x40]
push ebx
push edi
call ecx
add esp, 8
mov eax, dword [edi]
push dword [eax + 0x1c]
push dword [edi + 4]
call fcn.0047a020
mov eax, dword [esp + 0x24]
add esp, 8
xor edi, edi
inc edi
test eax, eax
je 0x4793f0
push eax
push dword [esp + 0x24]
push ebx
call fcn.0049c82d
add esp, 0xc
test eax, eax
jne 0x479514
push esi
call fcn.00479fe0
add esp, 4
push dword [esp + 0x34]
call fcn.00479fe0
add esp, 4
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4794af
mov ecx, dword [esp + 0x88]
xor ecx, ebp
call fcn.0049b033
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [section..00cfg]
lea eax, [esp + 0x30]
push eax
call ecx
add esp, 4
jmp 0x479345
push 0x211
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x71
push 0
push 4
call fcn.00512e80
add esp, 0x14
xor edi, edi
xor esi, esi
jmp 0x4793f0
cmp eax, 0xfffffffe
jne 0x479556
mov ecx, 0xfffffffe
jmp 0x47903a
cmp dword [esp + 0x10], 0
jns 0x479572
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
mov edx, dword [esp + 0x24]
lea ecx, [edx - 1]
mov esi, dword [eax + edx*4 - 4]
jmp 0x479070
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x4791a1
push 0x207
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x7a
jmp 0x47944a
mov ecx, dword [eax]
mov esi, dword [esp + 0x38]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x479411
cmp dword [esp + 0x10], 0
jns 0x479579
mov eax, dword [edx]
mov ecx, dword [esp + 0x24]
mov edi, dword [eax + ecx*4 - 4]
dec ecx
jmp 0x47911f
push 0x215
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x7f
jmp 0x47944a
push 0x21c
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x41
jmp 0x47944a
push 0x231
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x8b
jmp 0x479520
push 0x243
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x69
push 0
push 4
call fcn.00512e80
add esp, 0x14
xor edi, edi
jmp 0x4793f0
push 0xd2
push str....._third_party_boringssl_srccrypto_fipsmoduledigestdigest.c
push 0x41
push 0
push 0x1d
jmp 0x479524
push 0x237
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x8a
jmp 0x479520
mov ecx, eax
jge 0x47903a
push 0x200
push str....._third_party_boringssl_srccrypto_fipsmodule_rsapadding.c
push 0x8a
jmp 0x47944a
xor eax, eax
jmp 0x4790ec
xor eax, eax
jmp 0x47919b