Function at 0x10029e90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10092b68
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x100bb084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
movzx ecx, word [ebp + 0xc]
movzx eax, word [ebp + 8]
movzx edx, word [ebp + 0x14]
mov dword [ebp - 0x4c], ecx
movzx ecx, word [ebp + 0x10]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 1
test ax, ax
je 0x1002a22d
test cx, cx
je 0x1002a22d
cmp dword [esi + 0x2c], 0
ja 0x1002a22d
cmp dword [ebp + 0x2c], 0x10
lea eax, [ebp + 0x18]
lea ecx, [ebp - 0x28]
cmovae eax, dword [ebp + 0x18]
push eax
call fcn.10004e00
mov byte [ebp - 4], 2
mov edi, dword [esi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x10029f43
push 4
push edi
call ebx
test eax, eax
jne 0x10029f43
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call dword [0x100adae4]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10029f5c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10004bb0
cmp dword [ebp + 0x44], 0x10
lea eax, [ebp + 0x30]
lea ecx, [ebp - 0x28]
cmovae eax, dword [ebp + 0x30]
push eax
call fcn.10004e00
mov byte [ebp - 4], 3
mov edi, dword [esi + 8]
test edi, edi
je 0x10029f90
push 4
push edi
call ebx
test eax, eax
jne 0x10029f90
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call dword [0x100adae4]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10029fa9
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10004bb0
mov edi, dword [esi + 0xc]
test edi, edi
je 0x10029fc2
push 4
push edi
call ebx
test eax, eax
jne 0x10029fc2
push eax
mov ecx, edi
call dword [0x100adae8]
mov edi, dword [esi + 0x10]
test edi, edi
je 0x10029fdb
push 4
push edi
call ebx
test eax, eax
jne 0x10029fdb
push eax
mov ecx, edi
call dword [0x100adae8]
mov edi, dword [ebp - 0x84]
cmp di, 0xffff
je 0x1002a213
cmp word [ebp - 0x48], 0xffff
je 0x1002a213
push str.symbol_
mov edx, 0x100c3e0c
lea ecx, [ebp - 0x28]
call fcn.100113b0
add esp, 4
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 4
test ax, ax
jne 0x1002a05b
movaps xmm0, xmmword [0x100af9e0]
xor ecx, ecx
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], 0x5b11544d
mov word [ebp - 0x54], 0x4b47
mov byte [ebp - 0x52], al
mov al, byte [ebp - 0x68]
xor byte [ebp + ecx - 0x67], al
inc ecx
cmp ecx, 0x15
jb 0x1002a034
lea eax, [ebp - 0x67]
mov byte [ebp - 0x52], 0
push eax
lea ecx, [ebp - 0xc8]
call fcn.10004e00
mov ebx, 1
jmp 0x1002a092
cmp dword [ebp - 0x14], 0x10
cwde
push eax
movsx eax, di
push eax
push 1
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
sub esp, 0x18
mov ecx, esp
push str._ss__d__d__d.dxt
call fcn.10004e00
lea eax, [ebp - 0xb0]
push eax
call fcn.10004670
add esp, 0x2c
mov ebx, 2
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], ebx
call fcn.100045f0
mov dword [ebp - 4], 6
test bl, 2
je 0x1002a0bb
and ebx, 0xfffffffd
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x44], ebx
call fcn.10004790
mov byte [ebp - 4], 7
test bl, 1
je 0x1002a0d5
and ebx, 0xfffffffe
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x44], ebx
call fcn.10004790
mov ecx, dword [esi + 0x14]
lea edx, [ebp - 0x40]
call fcn.10011c60
mov ecx, dword [esi + 0x14]
sub esp, 0x1c
call fcn.10011c90
mov eax, dword [ebp - 0x50]
add esp, 0x1c
test ax, ax
jne 0x1002a138
movaps xmm0, xmmword [0x100af8a0]
xor ecx, ecx
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x70], 0x541e5b42
mov word [ebp - 0x6c], 0x4448
mov byte [ebp - 0x6a], al
mov al, byte [ebp - 0x80]
xor byte [ebp + ecx - 0x7f], al
inc ecx
cmp ecx, 0x15
jb 0x1002a113
lea eax, [ebp - 0x7f]
mov byte [ebp - 0x6a], 0
push eax
lea ecx, [ebp - 0xf8]
call fcn.10004e00
or ebx, 4
jmp 0x1002a1ad
cmp dword [ebp - 0x14], 0x10
movaps xmm0, xmmword [0x100af1e0]
cwde
push eax
mov eax, dword [ebp - 0x48]
cwde
push eax
lea eax, [ebp - 0x28]
mov word [ebp - 0x88], 1
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
push 1
push eax
movups xmmword [ebp - 0x98], xmm0
nop word [eax + eax]
mov al, byte [ebp - 0x98]
xor byte [ebp + ecx - 0x97], al
inc ecx
cmp ecx, 0x10
jb 0x1002a170
sub esp, 0x18
mov byte [ebp - 0x87], 0
lea eax, [ebp - 0x97]
mov ecx, esp
push eax
call fcn.10004e00
lea eax, [ebp - 0xe0]
push eax
call fcn.10004670
add esp, 0x2c
or ebx, 8
push eax
lea ecx, [ebp - 0x40]
call fcn.1000a950
test bl, 8
je 0x1002a1c9
lea ecx, [ebp - 0xe0]
and ebx, 0xfffffff7
call fcn.10004790
mov dword [ebp - 4], 7
test bl, 4
je 0x1002a1e0
lea ecx, [ebp - 0xf8]
call fcn.10004790
mov ecx, dword [esi + 0x18]
lea edx, [ebp - 0x40]
call fcn.10011c60
mov ecx, dword [esi + 0x18]
sub esp, 0x1c
call fcn.10011c90
add esp, 0x1c
lea ecx, [ebp - 0x40]
call fcn.10004790
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10004790
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov esi, dword [esi + 0x34]
test esi, esi
je 0x1002a22d
push 4
push esi
call ebx
test eax, eax
jne 0x1002a22d
push 1
mov ecx, esi
call dword [0x100ada80]
mov eax, dword [ebp + 0x2c]
cmp eax, 0x10
jb 0x1002a242
inc eax
lea ecx, [ebp + 0x18]
push eax
push dword [ebp + 0x18]
call fcn.10004bb0
mov eax, dword [ebp + 0x44]
mov dword [ebp + 0x2c], 0xf
mov dword [ebp + 0x28], 0
mov byte [ebp + 0x18], 0
cmp eax, 0x10
jb 0x1002a269
inc eax
lea ecx, [ebp + 0x30]
push eax
push dword [ebp + 0x30]
call fcn.10004bb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10059ed0
mov esp, ebp
pop ebp
ret 0x40