Function at 0x729590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7bad68
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x84], esi
call fcn.004206b0
add esp, 4
mov eax, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x60], eax
xor ecx, ecx
mov dword [ebp - 0x5c], 0x9400eb
mov dword [ebp - 0x58], 0x96008b
mov dword [ebp - 0x54], 0x900089
mov dword [ebp - 0x50], 0x87008f
mov dword [ebp - 0x4c], 0xc0
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x5c], ax
inc ecx
mov eax, dword [ebp - 0x60]
cmp ecx, eax
jb 0x729603
xor ecx, ecx
mov word [ebp + eax*2 - 0x5c], cx
lea ecx, [ebp - 0x5c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x729623
sub ecx, edx
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
sar ecx, 1
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
cmp edx, ecx
jne 0x72979e
push edx
lea ecx, [ebp - 0x5c]
push ecx
push eax
call fcn.004090d0
add esp, 0xc
test eax, eax
jne 0x72979e
xorps xmm0, xmm0
lea ecx, [ebp - 0x48]
movups xmmword [ebp - 0x48], xmm0
movups xmmword [ebp - 0x38], xmm0
call fcn.00411040
mov eax, 0xc
mov byte [ebp - 4], 1
mov dword [ebp - 0x80], eax
xor ecx, ecx
mov dword [ebp - 0x7c], 0xc100dd
mov dword [ebp - 0x78], 0xd700ca
mov dword [ebp - 0x74], 0xcf00d3
mov dword [ebp - 0x70], 0xcd00db
mov dword [ebp - 0x6c], 0xa400ee
mov dword [ebp - 0x68], 0xa600ba
mov dword [ebp - 0x64], 0xc4
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x7c], ax
inc ecx
mov eax, dword [ebp - 0x80]
cmp ecx, eax
jb 0x7296b0
xor ecx, ecx
mov word [ebp + eax*2 - 0x7c], cx
xor eax, eax
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x4c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x60], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x7296e0
sub ecx, edx
lea eax, [ebp - 0x7c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.004044f0
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x48]
call fcn.004110f0
mov edx, dword [ebp - 0x4c]
mov edi, eax
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x72974e
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x729744
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x729744
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076d313
add esp, 8
push edi
push esi
call fcn.00420290
add esp, 8
lea ecx, [ebp - 0x48]
call fcn.004110d0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x7297bd
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x729792
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x729792
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0076d313
add esp, 8
jmp 0x7297bd
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov eax, esi
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.0076d59e
mov esp, ebp
pop ebp
ret