Function at 0x1004a280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x30], eax
movzx eax, byte [esi + 0x18]
mov byte [ebp - 0x1d], al
mov eax, dword [0x10194460]
movzx eax, byte [eax]
push 4
push 0x2f8
call fcn.1000d070
add esp, 8
test eax, eax
je 0x1004a54a
lea ecx, [esi + 0x1c]
mov dword [ebp - 0x24], ecx
push 0x2f8
push 0
mov dword [ebp - 0x2c], eax
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x28], eax
nop word [eax + eax]
mov edi, 1
mov esi, 0
mov ebx, 0x70656462
lock xadd dword [0x101bf078], edi
mov dword [ebp - 0x10], edi
xor edi, 0x79746573
mov eax, edi
mov edx, edi
mov ecx, edi
mov edi, 0x70656462
add eax, 0x6e657261
adc esi, 0xdcdecbc7
shld edx, edi, 0x10
shld ebx, ecx, 0x10
xor edx, eax
mov eax, ecx
xor ebx, esi
mov ecx, 0
add eax, 0xc19fead0
mov esi, edx
mov edi, ebx
adc ecx, 0x1671bdd1
add esi, 0xd7dedfc6
mov dword [ebp - 0x14], eax
mov eax, edx
adc edi, 0xded7d4e2
shld eax, ebx, 0x15
shld ebx, edx, 0x15
mov edx, ecx
xor eax, esi
xor esi, dword [ebp - 0x10]
xor ebx, edi
xor edx, 0xe414a674
xor edi, 0x4000000
mov dword [ebp - 0x18], esi
mov esi, ecx
mov ecx, dword [ebp - 0x14]
xor esi, 0xff
xor ecx, 0xf0de7325
add dword [ebp - 0x18], ecx
adc edi, edx
add esi, eax
mov dword [ebp - 0x1c], edi
mov edi, 0xf2651ba4
mov dword [ebp - 0x10], esi
adc dword [ebp - 0x14], ebx
mov esi, eax
shld edx, ecx, 0xd
shrd eax, ebx, 0x10
shld ecx, edi, 0xd
shld esi, ebx, 0x10
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
xor edx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 0x18]
xor eax, ebx
xor esi, edi
add edi, ecx
adc ebx, edx
mov dword [ebp - 0x10], edi
add dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
mov ebx, ecx
adc edi, eax
shld ebx, edx, 0x11
shrd ecx, edx, 0xf
mov edx, esi
shrd esi, eax, 0xb
shld edx, eax, 0x15
mov eax, dword [ebp - 0x1c]
xor ebx, dword [ebp - 0x10]
xor ecx, dword [ebp - 0x14]
xor esi, edi
xor edx, eax
add eax, ebx
adc edi, ecx
add dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], eax
mov eax, edx
mov dword [ebp - 0x18], edi
mov edi, ebx
adc dword [ebp - 0x10], esi
shld edi, ecx, 0xd
shrd edx, esi, 0x10
shrd ebx, ecx, 0x13
shld eax, esi, 0x10
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
xor edi, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x10]
xor ebx, esi
xor eax, ecx
add ecx, edi
adc dword [ebp - 0x10], ebx
add esi, eax
mov dword [ebp - 0x14], ecx
mov ecx, edi
adc dword [ebp - 0x1c], edx
shld ecx, ebx, 0x11
mov dword [ebp - 0x18], esi
mov esi, eax
shrd eax, edx, 0xb
shrd edi, ebx, 0xf
mov ebx, dword [ebp - 0x10]
shld esi, edx, 0x15
mov edx, dword [ebp - 0x18]
xor ecx, dword [ebp - 0x14]
xor eax, dword [ebp - 0x1c]
xor edi, ebx
xor esi, edx
add edx, ecx
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x1c]
adc edx, edi
add ebx, esi
mov dword [ebp - 0x10], ebx
adc dword [ebp - 0x14], eax
mov ebx, ecx
shrd ecx, edi, 0x13
shld ebx, edi, 0xd
xor ecx, edx
mov edx, eax
mov edi, dword [ebp - 0x14]
shld edx, esi, 0x10
shld esi, eax, 0x10
mov eax, dword [ebp - 0x10]
xor ebx, dword [ebp - 0x18]
xor edx, edi
xor esi, eax
add eax, ebx
adc edi, ecx
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], edi
mov edi, esi
shld eax, ecx, 0x11
shld ecx, ebx, 0x11
mov ebx, dword [ebp - 0x14]
shld edi, edx, 0x15
shld edx, esi, 0x15
mov esi, dword [ebp - 0x10]
xor eax, ebx
xor ecx, esi
xor eax, edi
xor ecx, edx
xor eax, esi
xor ecx, ebx
mov edx, eax
or edx, ecx
je 0x1004a2e0
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
mov edx, dword [ebp - 0x30]
movsd qword [esi + 0x98], xmm1
movsd qword [esi + 0x90], xmm0
mov dword [esi + 0xa0], edx
movzx edx, byte [ebp - 0x1d]
mov byte [esi + 0xa4], dl
mov dword [esi], 0
mov dword [esi + 4], ebx
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], ebx
mov dword [esi + 0x88], edi
mov dword [esi + 0x84], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x80], eax
mov eax, dword [ecx + 0x2c]
mov dword [esi + 0x8c], eax
mov eax, dword [ecx + 8]
cmp eax, 0x80000000
je 0x1004a540
test eax, eax
je 0x1004a540
push 1
push eax
push dword [ecx + 0xc]
call fcn.1000d080
add esp, 0xc
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x2f8
push 4
call fcn.100d08b0
nop word cs:[eax + eax]
push ebp
mov ebp, esp
push eax
xor ecx, ecx
call fcn.1004abb0
test eax, eax
je 0x1004a581
mov ecx, dword [ebp + 8]
cmp dword [eax], ecx
jne 0x1004a59b
mov dword [eax], 0
add esp, 4
pop ebp
ret
lea eax, [ebp - 1]
push 0x1017554c
push 0x1017528c
push eax
push 0x46
push 0x101754b4
call fcn.100dc670
push 0x101755d8
push 0x31
push str.assertion_failed:_t.get__.eq__self_as_const____
call fcn.100dc1e0
nop dword [eax]
push ebp
mov ebp, esp
push eax
xor ecx, ecx
call fcn.1004abb0
test eax, eax
je 0x1004a5ce
cmp dword [eax], 0
jne 0x1004a5e8
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
add esp, 4
pop ebp
ret
lea eax, [ebp - 1]
push 0x1017554c
push 0x1017528c
push eax
push 0x46
push 0x101754b4
call fcn.100dc670
push 0x1017560c
push 0x23
push str.assertion_failed:_t.get__.is_null__
call fcn.100dc1e0
nop dword [eax]
push ebp
mov ebp, esp
push esi
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xa0]
mov edx, dword [eax + 0x80]
mfence
mov esi, dword [eax + 0x84]
mov al, 1
sub esi, edx
test esi, esi
jle 0x1004a627
pop esi
pop ebp
ret
mov eax, dword [ecx + 0x8c]
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x80]
xor eax, ecx
cmp eax, 2
setae al
pop esi
pop ebp
ret