Function at 0x10029230
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
push ebx
sub esp, 0x18
call sym._fill_props
test eax, eax
js 0x100293b2
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x100293b0
call sym._fill_protrefs
test eax, eax
js 0x100293b2
mov eax, dword [edi + 0x1c]
mov ebx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
shl eax, 5
add eax, ebx
cmp ebx, eax
jae 0x100293b0
mov esi, ebx
jmp 0x100292bb
cmp dword [eax + 8], 4
jne 0x100292a4
mov dword [eax + 8], 2
mov ebx, esi
mov dword [eax + 0xc], 0
mov edx, dword [edi + 0x1c]
sub ebx, dword [edx + 0x14]
mov edx, ebx
sar edx, 5
mov dword [eax + 0x10], edx
mov edx, dword [edi + 0x1c]
add esi, 0x20
mov eax, dword [edx + 0x10]
shl eax, 5
add eax, dword [edx + 0x14]
cmp esi, eax
jae 0x100293b0
lea eax, [ebp - 0x10]
mov edx, dword [esi + 4]
mov dword [esp], 0
mov dword [esp + 4], eax
mov ecx, dword [esi]
mov eax, edi
call sym._find_prop_name
test eax, eax
js 0x100293b2
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10029280
mov eax, dword [edi + 0x1c]
mov ecx, esi
mov edx, dword [edi + 0xc]
sub ecx, dword [eax + 0x14]
mov eax, ecx
mov ecx, dword [edi + 0x10]
sar eax, 5
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x14]
cmp edx, ecx
je 0x100293c0
shl ecx, 5
lea ebx, [eax + ecx]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ebx
mov dword [esp], ecx
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [ebx], eax
test eax, eax
je 0x100294b8
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 8], 2
mov dword [ebx + 0xc], 0
movzx eax, word [ecx]
test ax, ax
je 0x100294af
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov esi, ecx
lea esi, [esi]
mov dword [esp], eax
rol ebx, 4
add esi, 2
call dword [sym.imp.ucrtbase.dll_towlower]
movzx eax, ax
xor ebx, eax
movzx eax, word [esi]
test ax, ax
jne 0x10029350
imul edx, ebx, 0x9e3779b9
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], ebx
mov eax, dword [edi + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
sub eax, 1
and eax, edx
mov edx, dword [edi + 0x14]
shl eax, 5
mov edx, dword [edx + eax + 0x18]
mov dword [ecx + 0x1c], edx
mov edx, dword [edi + 0x10]
lea ecx, [edx + 1]
mov dword [edi + 0x10], ecx
mov ecx, dword [edi + 0x14]
mov dword [ecx + eax + 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x10], eax
jmp 0x100292a4
xor eax, eax
add esp, 0x18
pop ebx
pop esi
pop edi
pop ebp
ret
shl edx, 6
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.ucrtbase.dll_realloc]
test eax, eax
je 0x100294b8
mov ecx, dword [edi + 0xc]
mov dword [edi + 0x14], eax
lea edx, [ecx + ecx]
mov dword [edi + 0xc], edx
test edx, edx
je 0x1002942e
mov dword [eax + 0x18], 0xffffffff
mov eax, dword [edi + 0x14]
mov dword [eax + 0x1c], 0xffffffff
cmp dword [edi + 0xc], 1
mov eax, 1
jbe 0x1002942b
lea esi, [esi]
mov ecx, dword [edi + 0x14]
mov edx, eax
add eax, 1
shl edx, 5
mov dword [ecx + edx + 0x18], 0xffffffff
mov ecx, dword [edi + 0x14]
mov dword [ecx + edx + 0x1c], 0xffffffff
cmp dword [edi + 0xc], eax
ja 0x10029408
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x1002930a
mov ecx, dword [edi + 0xc]
lea edx, [ecx - 1]
imul ecx, dword [eax + 4], 0x9e3779b9
and edx, ecx
shl edx, 5
mov ecx, dword [eax + edx + 0x18]
mov dword [eax + 0x1c], ecx
mov eax, dword [edi + 0x14]
mov dword [eax + edx + 0x18], 0
mov ecx, dword [edi + 0x10]
mov edx, 1
cmp ecx, 1
jbe 0x100294a7
mov dword [ebp - 0x1c], esi
lea esi, [esi]
mov esi, dword [edi + 0x14]
mov ecx, edx
mov ebx, dword [edi + 0xc]
shl ecx, 5
add ecx, esi
sub ebx, 1
imul eax, dword [ecx + 4], 0x9e3779b9
and eax, ebx
shl eax, 5
mov ebx, dword [esi + eax + 0x18]
mov dword [ecx + 0x1c], ebx
mov ecx, dword [edi + 0x14]
mov dword [ecx + eax + 0x18], edx
mov ecx, dword [edi + 0x10]
add edx, 1
cmp ecx, edx
ja 0x10029470
mov esi, dword [ebp - 0x1c]
mov eax, dword [edi + 0x14]
jmp 0x1002930a
xor edx, edx
xor ebx, ebx
jmp 0x10029375
mov eax, 0x8007000e
jmp 0x100293b2