Function at 0x10061e50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017ac45
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x101dadb0]
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 edi, ecx
mov dword [ebp - 0x84], edi
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x100623eb
mov ecx, dword [0xf3e688]
mov eax, 0x10624dd3
mul ebx
mov eax, edx
shr eax, 6
mov dword [ebp - 0x7c], eax
imul eax, eax, 0x3e8
push eax
mov dword [ebp - 0x30], eax
call dword [0x101ba7a4]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x100623eb
movzx ecx, byte [eax + 4]
mov esi, ebx
mov eax, 0x12e0be83
mul ebx
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 0x1d
cmp esi, 4
jae 0x10061f00
cmp ecx, 0x2c
ja 0x10061f00
mov ecx, dword [ecx*4 + 0xf3e690]
mov edx, ebx
sub edx, dword [ebp - 0x30]
cmp ebx, 0x3b9aca00
lea eax, [edx + 0x3e8]
cmovb eax, edx
push eax
call dword [0x101ba7a8]
lea eax, [ebp - 0x75]
mov dword [ebp - 0x2c], 0
push 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], eax
call fcn.100484a0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x34], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
push 0
push 0x101b8c74
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10047890
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 4], 1
movzx ecx, byte [eax + 4]
cmp esi, 4
jae 0x100620d9
cmp ecx, 0x2c
ja 0x100620d9
imul eax, dword [ebp - 0x7c], 0x3e8
mov edx, ebx
mov ecx, dword [ecx*4 + 0xf3e690]
sub edx, eax
cmp ebx, 0x3b9aca00
lea eax, [edx + 0x3e8]
cmovb eax, edx
push eax
call dword [0x101ba7a8]
test eax, eax
je 0x100620d9
mov esi, dword [eax + 0x44]
test esi, esi
mov eax, dword [ebp - 0x74]
movaps xmm0, xmmword [0x101c26f0]
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x50], 0xa061a50
cmove esi, dword [eax + 0x4c]
mov eax, 0xcccccccd
mul esi
movaps xmm0, xmmword [0x101c1df0]
movups xmmword [ebp - 0x60], xmm0
mov ecx, esi
mov byte [ebp - 0x4c], 0
mov eax, edx
shr eax, 3
lea edx, [eax + eax*4]
add edx, edx
sub ecx, edx
xor edx, edx
push ecx
mov ecx, 0x64
div ecx
mov eax, 0x10624dd3
mov ecx, 0x2710
push edx
mul esi
shr edx, 6
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x6b5fca6b
push edx
mul esi
shr edx, 0x16
xor ecx, ecx
push edx
nop word [eax + eax]
mov al, byte [ebp - 0x70]
xor byte [ebp + ecx - 0x6f], al
inc ecx
cmp ecx, 0x23
jb 0x10062030
sub esp, 0x1c
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x6f]
mov ecx, esp
push eax
call fcn.10046d00
lea eax, [ebp - 0x48]
push eax
call fcn.10049e30
mov esi, eax
add esp, 0x30
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x1006209b
mov ecx, eax
call fcn.10043e40
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10062080
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10048530
add esp, 8
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10047aa0
lea ecx, [ebp - 0x48]
call fcn.10043e40
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x100620b8
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
jmp 0x10062275
xorps xmm0, xmm0
lea eax, [ebp - 0x76]
push 8
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x7c], eax
call fcn.100484a0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x80], eax
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x3c], eax
push 0x100
mov byte [ebp - 4], 2
call fcn.100484a0
push 0x100
push 0
push eax
lea esi, [eax + 0x100]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], esi
call fcn.10122870
add esp, 0x14
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x80], 0
mov byte [ebp - 4], 3
sub esi, dword [ebp - 0x38]
jne 0x1006217f
push str.vector_subscript_out_of_range
push 0x101b8af8
push esi
push 0x611
push 0x101b9560
push 2
call fcn.10126bf0
add esp, 0x18
cmp eax, 1
jne 0x10062161
int3
push 0
push 0x611
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101b8c38
push str._vector_subscript_out_of_range_
call fcn.10135530
add esp, 0x14
mov eax, dword [ebp - 0x74]
xor edx, edx
mov esi, 0xa
mov ecx, dword [eax + 0x4c]
mov eax, ecx
div esi
mov esi, 0x64
push edx
xor edx, edx
div esi
mov eax, 0x10624dd3
mov esi, 0x2710
push edx
mul ecx
shr edx, 6
mov eax, edx
xor edx, edx
div esi
mov eax, 0x6b5fca6b
push edx
mul ecx
shr edx, 0x16
push edx
push str.uiitemicon__.1d__.4d__.2d__.1d.dxt
push dword [ebp - 0x38]
call fcn.100524f0
mov eax, dword [ebp - 0x34]
add esp, 0x18
mov edx, dword [ebp - 0x38]
sub eax, edx
jne 0x1006221c
push str.vector_subscript_out_of_range
push 0x101b8af8
push eax
push 0x611
push 0x101b9560
push 2
call fcn.10126bf0
add esp, 0x18
cmp eax, 1
jne 0x100621fb
int3
push 0
push 0x611
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101b8c38
push str._vector_subscript_out_of_range_
call fcn.10135530
mov edx, dword [ebp - 0x38]
add esp, 0x14
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10062221
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10047890
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.10043e40
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x1006226b
mov eax, dword [ebp - 0x30]
sub eax, ecx
push eax
push ecx
call fcn.10048530
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], 0
push 8
push eax
call fcn.10048530
lea ecx, [edi + 8]
add esp, 8
xor eax, eax
mov dword [ebp - 0x7c], ecx
nop dword [eax + eax]
cmp dword [ecx], 0
je 0x10062352
inc eax
add ecx, 0x28
cmp eax, 5
jl 0x10062290
lea esi, [edi + 0x90]
mov edi, 4
nop dword [eax]
mov eax, dword [esi - 0x10]
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x18], eax
cmp dword [esi + 0x10], 0
jne 0x100622cc
push ecx
push str._d__n
call fcn.10082390
jmp 0x100622d6
lea eax, [esi - 4]
push eax
push ecx
call fcn.100b9c70
lea ecx, [esi + 0x24]
add esp, 8
lea eax, [esi - 4]
cmp ecx, eax
je 0x100622f6
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x100622ed
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.10047890
mov eax, dword [esi - 8]
mov dword [esi + 0x20], eax
sub esi, 0x28
sub edi, 1
jne 0x100622b0
mov eax, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x84]
mov dword [eax], ebx
mov eax, dword [ebp - 0x74]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
cmp dword [ebp - 0x18], edi
jne 0x1006232a
push eax
push str._d__n
call fcn.10082390
jmp 0x10062334
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.100b9c70
lea ecx, [esi + 0x14]
add esp, 8
lea eax, [ebp - 0x2c]
cmp ecx, eax
je 0x100623a7
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
jmp 0x100623a2
cmp dword [ebp - 0x18], 0
lea eax, [eax + eax*4]
lea esi, [edi + eax*8]
mov eax, dword [ebp - 0x74]
mov dword [esi + 8], ebx
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
jne 0x10062377
push eax
push str._d__n
call fcn.10082390
jmp 0x10062381
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.100b9c70
add esp, 8
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
cmovae edx, dword [ebp - 0x28]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10062394
sub ecx, edi
push ecx
push edx
lea ecx, [esi + 0x14]
call fcn.10047890
lea ecx, [ebp - 0x2c]
call fcn.10043e40
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100623c4
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.10048530
add esp, 8
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.1011f880
mov esp, ebp
pop ebp
ret 4