Function at 0x10029450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006944d
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x1007e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
xor eax, eax
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x74]
mov dword [ebp - 0x38], eax
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0x55c
lea ecx, [ebp - 0x6c]
movq qword [ebp - 0x1c], xmm0
sub ecx, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
xor esi, esi
mov eax, ecx
mov dword [ebp - 0x2c], ecx
xor ecx, ecx
sar eax, 2
xor edx, edx
mov dword [ebp - 0x70], 0
xor edi, edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x34], ecx
test eax, eax
je 0x10029526
push eax
lea ecx, [ebp - 0x1c]
call fcn.10020870
push dword [ebp - 0x2c]
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x74]
push eax
push edi
mov dword [ebp - 0x38], edi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x3c]
mov edx, edi
mov esi, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x40], edi
lea ecx, [edi + eax*4]
mov eax, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x34], eax
sub esp, 0xc
mov dword [ebp - 4], 0
mov eax, esp
sub ecx, edx
mov dword [ebp - 0x3c], ecx
sar ecx, 2
mov dword [ebp - 0x2c], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x10029595
push ecx
mov ecx, eax
call fcn.10020870
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
mov edi, dword [eax]
push edi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
lea eax, [edi + eax*4]
mov edi, dword [ebp - 0x4c]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
call fcn.10013cd0
mov ecx, eax
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov dword [eax], ecx
test ecx, ecx
je 0x1002967b
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x34]
push 4
push ecx
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10029678
mov edi, dword [ebp - 0x20]
xor ecx, ecx
movaps xmm0, xmmword [0x100773c0]
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x78624e74
mov dword [edi + 4], eax
mov dword [ebp - 0x58], 0x65706465
mov dword [ebp - 0x54], 0x7f7e78
nop
mov al, byte [ebp - 0x6c]
xor byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 0x1a
jb 0x100295f0
sub esp, 0x18
mov byte [ebp - 0x51], 0
mov edx, esp
lea ecx, [ebp - 0x6b]
xorps xmm0, xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x24], eax
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10029623
sub ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x6b]
push ecx
push eax
mov ecx, edx
call fcn.10005220
mov ecx, dword [edi]
call fcn.100138b0
mov ecx, dword [ebp - 0x38]
add esp, 0x18
mov dword [edi + 4], eax
test ecx, ecx
je 0x100296b4
sub esi, ecx
mov eax, ecx
and esi, 0xfffffffc
cmp esi, 0x1000
jb 0x1002966c
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100296d1
push esi
push ecx
call fcn.100662c0
add esp, 8
jmp 0x100296b4
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x28], 0
mov dword [eax], 0
je 0x100296b1
sub esi, dword [ebp - 0x38]
and esi, 0xfffffffc
cmp esi, 0x1000
jb 0x100296a7
mov ecx, dword [edi - 4]
add esi, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x100296d1
mov edi, ecx
push esi
push edi
call fcn.100662c0
add esp, 8
mov edi, dword [ebp - 0x20]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006625f
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3