Function at 0x100281d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
imul edx, edx, 0x9e3779b9
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x30
mov ebx, dword [esi + 0xc]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 0xffffffff
lea ecx, [ebx - 1]
and ecx, edx
shl ecx, 5
mov ebx, dword [eax + ecx + 0x18]
mov dword [ebp - 0x1c], ecx
cmp ebx, 0xffffffff
jne 0x10028232
jmp 0x100282a0
call dword [sym.imp.ucrtbase.dll__wcsicmp]
test eax, eax
mov eax, dword [esi + 0x14]
sete cl
lea edx, [eax + edi]
test cl, cl
jne 0x10028260
mov edx, dword [edx + 0x1c]
mov dword [ebp - 0x18], ebx
cmp edx, 0xffffffff
je 0x100282a0
mov ebx, edx
mov edi, ebx
mov ecx, dword [ebp + 8]
shl edi, 5
mov eax, dword [eax + edi]
test ecx, ecx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
jne 0x10028210
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
mov eax, dword [esi + 0x14]
sete cl
lea edx, [eax + edi]
test cl, cl
je 0x10028225
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xffffffff
je 0x1002828c
mov edx, dword [edx + 0x1c]
shl ecx, 5
mov dword [eax + ecx + 0x1c], edx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x14]
mov edx, dword [eax + ecx + 0x18]
mov dword [eax + edi + 0x1c], edx
mov eax, dword [esi + 0x14]
mov dword [eax + ecx + 0x18], ebx
mov edx, dword [esi + 0x14]
add edx, edi
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
xor eax, eax
add esp, 0x30
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esi + 0x20]
mov edi, dword [ebp + 8]
mov ebx, dword [eax + 8]
sub ebx, 1
test edi, edi
jne 0x10028450
test ebx, ebx
js 0x10028317
mov edi, ebx
mov dword [ebp - 0x18], esi
mov ebx, dword [ebp + 8]
jmp 0x100282d5
mov eax, dword [ebp - 0x18]
lea ebx, [esi + 1]
mov eax, dword [eax + 0x20]
cmp ebx, edi
jg 0x10028314
lea esi, [edi + ebx]
mov eax, dword [eax + 0xc]
sar esi, 1
lea edx, [esi + esi*4]
mov eax, dword [eax + edx*4]
lea ecx, [edx*4]
mov dword [ebp - 0x1c], ecx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x100286e8
jns 0x100282c8
mov eax, dword [ebp - 0x18]
lea edi, [esi - 1]
mov eax, dword [eax + 0x20]
cmp ebx, edi
jle 0x100282d5
mov esi, dword [ebp - 0x18]
mov edi, dword [eax + 0x18]
test edi, edi
je 0x100286d0
mov ebx, dword [ebp - 0x14]
movzx eax, word [ebx]
lea edx, [eax - 0x30]
cmp dx, 9
ja 0x10028a2b
mov edx, ebx
xor ebx, ebx
jmp 0x1002834c
cmp ebx, 0xffff
ja 0x100286d0
lea ecx, [ebx + ebx*4]
add edx, 2
lea ebx, [eax + ecx*2 - 0x30]
movzx eax, word [edx]
lea ecx, [eax - 0x30]
cmp cx, 9
jbe 0x10028340
test ax, ax
jne 0x100286d0
mov dword [esp], esi
call edi
cmp eax, ebx
jbe 0x100286d0
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
cmp dword [eax + 0x20], 1
sbb eax, eax
and eax, 0xfffff800
add eax, 0xc00
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0x10]
cmp ecx, eax
je 0x10028943
shl eax, 5
lea edi, [edx + eax]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edi
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [edi], eax
test eax, eax
je 0x10028a3b
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [edi + 8], 5
mov dword [edi + 0xc], eax
movzx eax, word [edx]
test ax, ax
je 0x10028a32
xor ecx, ecx
mov edi, dword [sym.imp.ucrtbase.dll_towlower]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esi
mov ebx, ecx
mov esi, edx
lea esi, [esi]
mov dword [esp], eax
rol ebx, 4
add esi, 2
call edi
movzx eax, ax
xor ebx, eax
movzx eax, word [esi]
test ax, ax
jne 0x100283f0
mov ecx, ebx
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
imul edx, ecx, 0x9e3779b9
mov edi, dword [ebp - 0x1c]
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
sub eax, 1
and eax, edx
mov edx, dword [esi + 0x14]
shl eax, 5
mov edx, dword [edx + eax + 0x18]
mov dword [edi + 0x1c], edx
mov edx, dword [esi + 0x10]
lea ecx, [edx + 1]
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [ecx + eax + 0x18], edx
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x10], ebx
mov dword [eax], edi
xor eax, eax
jmp 0x10028293
test ebx, ebx
js 0x10028317
xor edx, edx
mov dword [ebp - 0x18], ebx
mov ebx, edx
jmp 0x10028477
mov eax, dword [esi + 0x20]
add ebx, 1
cmp dword [ebp - 0x18], ebx
jl 0x10028317
mov eax, dword [eax + 0xc]
lea ecx, [ebx + ebx*4]
lea edi, [ecx*4]
mov eax, dword [eax + ecx*4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsicmp]
test eax, eax
jne 0x10028468
mov eax, dword [esi + 0x20]
add edi, dword [eax + 0xc]
mov dword [ebp - 0x18], edi
mov edi, dword [edi + 8]
mov edx, edi
shr edx, 0x10
and edx, 0x1ff
je 0x100284c0
mov ecx, dword [esi + 0x18]
cmp edx, dword [ecx + 0x28]
ja 0x10028317
test edi, 0x4000000
jne 0x100285c0
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
mov eax, edi
and eax, 0x100
mov dword [ebp - 0x14], eax
jne 0x100286f8
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x100284f1
or edi, 0x800
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and edi, 0x1c00
mov dword [ebp - 0x1c], edi
mov eax, dword [esi + 0x14]
cmp edx, ecx
je 0x100285d3
shl ecx, 5
mov dword [esp], ebx
lea edi, [eax + ecx]
mov dword [ebp - 0x20], edi
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [edi], eax
test eax, eax
je 0x10028a3b
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 8], 1
mov dword [edi + 0xc], ecx
movzx eax, word [ebx]
test ax, ax
je 0x1002893c
mov ecx, dword [sym.imp.ucrtbase.dll_towlower]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
mov esi, ebx
mov ebx, ecx
mov dword [esp], eax
rol edi, 4
add esi, 2
call ebx
movzx eax, ax
xor edi, eax
movzx eax, word [esi]
test ax, ax
jne 0x10028550
mov dword [ebp - 0x14], edi
imul edx, edi, 0x9e3779b9
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov dword [ebx + 4], eax
mov eax, dword [esi + 0xc]
sub eax, 1
and eax, edx
mov edx, dword [esi + 0x14]
shl eax, 5
mov edx, dword [edx + eax + 0x18]
mov dword [ebx + 0x1c], edx
mov edx, dword [esi + 0x10]
lea ecx, [edx + 1]
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [ecx + eax + 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
add esp, 0x30
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esi + 0x18]
mov edx, dword [edx + 0x2c]
test edx, edx
jne 0x100284cc
jmp 0x10028317
shl edx, 6
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.ucrtbase.dll_realloc]
test eax, eax
je 0x10028a3b
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [ecx + ecx]
mov dword [esi + 0xc], edx
test edx, edx
je 0x10028646
mov dword [eax + 0x18], 0xffffffff
mov eax, dword [esi + 0x14]
mov dword [eax + 0x1c], 0xffffffff
cmp dword [esi + 0xc], 1
mov eax, 1
jbe 0x10028643
mov esi, esi
lea edi, [edi]
mov ecx, dword [esi + 0x14]
mov edx, eax
add eax, 1
shl edx, 5
mov dword [ecx + edx + 0x18], 0xffffffff
mov ecx, dword [esi + 0x14]
mov dword [ecx + edx + 0x1c], 0xffffffff
cmp dword [esi + 0xc], eax
ja 0x10028620
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x1002850b
mov ecx, dword [esi + 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 [esi + 0x14]
mov dword [eax + edx + 0x18], 0
mov ecx, dword [esi + 0x10]
mov edx, 1
cmp ecx, 1
jbe 0x100286bf
mov dword [ebp - 0x20], ebx
lea esi, [esi]
mov edi, dword [esi + 0x14]
mov ecx, edx
mov ebx, dword [esi + 0xc]
shl ecx, 5
add ecx, edi
sub ebx, 1
imul eax, dword [ecx + 4], 0x9e3779b9
and eax, ebx
shl eax, 5
mov ebx, dword [edi + eax + 0x18]
mov dword [ecx + 0x1c], ebx
mov ecx, dword [esi + 0x14]
mov dword [ecx + eax + 0x18], edx
mov ecx, dword [esi + 0x10]
add edx, 1
cmp ecx, edx
ja 0x10028688
mov ebx, dword [ebp - 0x20]
mov eax, dword [esi + 0x14]
jmp 0x1002850b
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
add esp, 0x30
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
jmp 0x1002849b
lea eax, [ebp - 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call sym._create_builtin_function
test eax, eax
js 0x10028293
mov eax, dword [ebp - 0x18]
mov ebx, edi
mov ecx, dword [esi + 0xc]
and ebx, 0x400
mov edx, dword [eax]
mov eax, dword [esi + 0x10]
or bh, 0x18
mov dword [ebp - 0x14], ebx
mov ebx, dword [esi + 0x14]
cmp ecx, eax
je 0x10028814
shl eax, 5
mov dword [esp], edx
lea edi, [ebx + eax]
mov dword [ebp - 0x18], edx
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [edi], eax
test eax, eax
je 0x10028910
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [edi + 8], 0
mov dword [edi + 0xc], eax
movzx eax, word [edx]
test ax, ax
je 0x10028907
mov ecx, dword [sym.imp.ucrtbase.dll_towlower]
mov dword [ebp - 0x14], edi
xor ebx, ebx
mov dword [ebp - 0x18], esi
mov esi, edx
mov edi, ecx
lea esi, [esi]
mov dword [esp], eax
rol ebx, 4
add esi, 2
call edi
movzx eax, ax
xor ebx, eax
movzx eax, word [esi]
test ax, ax
jne 0x100287a8
imul edx, ebx, 0x9e3779b9
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov dword [edi + 4], ebx
mov eax, dword [esi + 0xc]
sub eax, 1
and eax, edx
mov edx, dword [esi + 0x14]
shl eax, 5
mov edx, dword [edx + eax + 0x18]
mov dword [edi + 0x1c], edx
mov edx, dword [esi + 0x10]
lea ecx, [edx + 1]
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [ecx + eax + 0x18], edx
mov eax, dword [ebp - 0x10]
mov dword [edi + 8], 0
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x14], 0x7ff90003
mov dword [eax], edi
xor eax, eax
jmp 0x10028293
shl ecx, 6
mov dword [esp], ebx
mov dword [ebp - 0x18], edx
mov dword [esp + 4], ecx
call dword [sym.imp.ucrtbase.dll_realloc]
mov ebx, eax
test eax, eax
je 0x10028910
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x18]
mov dword [esi + 0x14], ebx
add eax, eax
mov dword [esi + 0xc], eax
je 0x10028886
mov dword [ebx + 0x18], 0xffffffff
mov eax, dword [esi + 0x14]
mov dword [eax + 0x1c], 0xffffffff
cmp dword [esi + 0xc], 1
mov eax, 1
jbe 0x10028883
lea esi, [esi]
mov ebx, dword [esi + 0x14]
mov ecx, eax
add eax, 1
shl ecx, 5
mov dword [ebx + ecx + 0x18], 0xffffffff
mov ebx, dword [esi + 0x14]
mov dword [ebx + ecx + 0x1c], 0xffffffff
cmp dword [esi + 0xc], eax
ja 0x10028860
mov ebx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10028758
imul ecx, dword [ebx + 4], 0x9e3779b9
mov eax, dword [esi + 0xc]
mov edi, 1
sub eax, 1
and eax, ecx
shl eax, 5
mov ecx, dword [ebx + eax + 0x18]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [esi + 0x14]
mov dword [ecx + eax + 0x18], 0
mov eax, dword [esi + 0x10]
cmp eax, 1
jbe 0x100288ff
mov dword [ebp - 0x18], edx
lea esi, [esi]
mov ebx, dword [esi + 0x14]
mov edx, edi
mov ecx, dword [esi + 0xc]
shl edx, 5
add edx, ebx
sub ecx, 1
imul eax, dword [edx + 4], 0x9e3779b9
and eax, ecx
shl eax, 5
mov ecx, dword [ebx + eax + 0x18]
mov dword [edx + 0x1c], ecx
mov edx, dword [esi + 0x14]
mov dword [edx + eax + 0x18], edi
mov eax, dword [esi + 0x10]
add edi, 1
cmp eax, edi
ja 0x100288c8
mov edx, dword [ebp - 0x18]
mov ebx, dword [esi + 0x14]
jmp 0x10028758
xor edx, edx
xor ebx, ebx
jmp 0x100287cc
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 4]
lea edx, [eax - 1]
mov eax, 0x8007000e
mov dword [ecx + 4], edx
test edx, edx
jne 0x10028293
mov dword [esp], ecx
mov dword [ebp - 0x14], eax
call sym._jsdisp_free
mov eax, dword [ebp - 0x14]
jmp 0x10028293
xor edx, edx
jmp 0x10028574
shl ecx, 6
mov dword [esp], edx
mov dword [esp + 4], ecx
call dword [sym.imp.ucrtbase.dll_realloc]
test eax, eax
je 0x10028a3b
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [ecx + ecx]
mov dword [esi + 0xc], edx
test edx, edx
je 0x100289aa
mov dword [eax + 0x18], 0xffffffff
mov eax, dword [esi + 0x14]
mov dword [eax + 0x1c], 0xffffffff
cmp dword [esi + 0xc], 1
jbe 0x100289aa
mov eax, 1
mov ecx, dword [esi + 0x14]
mov edx, eax
add eax, 1
shl edx, 5
mov dword [ecx + edx + 0x18], 0xffffffff
mov ecx, dword [esi + 0x14]
mov dword [ecx + edx + 0x1c], 0xffffffff
cmp dword [esi + 0xc], eax
ja 0x10028987
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
test eax, eax
je 0x1002839f
imul ecx, dword [edx + 4], 0x9e3779b9
mov eax, dword [esi + 0xc]
mov edi, 1
sub eax, 1
and eax, ecx
shl eax, 5
mov ecx, dword [edx + eax + 0x18]
mov dword [edx + 0x1c], ecx
mov edx, dword [esi + 0x14]
mov dword [edx + eax + 0x18], 0
mov eax, dword [esi + 0x10]
cmp eax, 1
jbe 0x10028a23
mov dword [ebp - 0x1c], ebx
mov ebx, dword [esi + 0x14]
mov edx, edi
mov ecx, dword [esi + 0xc]
shl edx, 5
add edx, ebx
sub ecx, 1
imul eax, dword [edx + 4], 0x9e3779b9
and eax, ecx
shl eax, 5
mov ecx, dword [ebx + eax + 0x18]
mov dword [edx + 0x1c], ecx
mov edx, dword [esi + 0x14]
mov dword [edx + eax + 0x18], edi
mov eax, dword [esi + 0x10]
add edi, 1
cmp eax, edi
ja 0x100289ec
mov ebx, dword [ebp - 0x1c]
mov edx, dword [esi + 0x14]
jmp 0x1002839f
xor ebx, ebx
jmp 0x10028362
xor edx, edx
xor ecx, ecx
jmp 0x10028416
mov eax, 0x8007000e
jmp 0x10028293