Function at 0x1006a140
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c26d
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
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
cmp byte [ebp + 0x14], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xe0], eax
je 0x1006a1f6
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x1006a19d
push 0
call dword [0x101ba7a0]
mov eax, dword [ebp - 0xe0]
lea esi, [edi + 0x5c]
mov dword [edi + 0x80], 0
mov dword [esi], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x6c], 0
jmp 0x1006a1f9
lea esi, [edi + 0x5c]
sub eax, ebx
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xb4], 5
mov eax, dword [ebx]
mov dword [esi + 0x24], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x1006a6d7
mov eax, 0x10624dd3
mul ecx
mov ecx, dword [0xf3e688]
shr edx, 6
imul eax, edx, 0x3e8
push eax
call dword [0x101ba7a4]
mov dword [ebp - 0xb8], eax
test eax, eax
jne 0x1006a24e
mov dword [esi], eax
jmp 0x1006a6d7
mov cl, byte [eax + 4]
mov esi, dword [ebx]
mov bl, cl
movzx eax, cl
mov dword [ebp - 0xec], eax
test esi, esi
je 0x1006a2be
mov eax, 0x12e0be83
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
cmp eax, 4
jae 0x1006a2be
mov ecx, dword [ebp - 0xec]
cmp ecx, 0x2c
ja 0x1006a2be
mov ecx, dword [ecx*4 + 0xf3e690]
mov eax, 0x10624dd3
mul esi
shr edx, 6
imul eax, edx, 0x3e8
mov edx, esi
sub edx, eax
cmp esi, 0x3b9aca00
lea eax, [edx + 0x3e8]
cmovb eax, edx
push eax
call dword [0x101ba7a8]
mov eax, dword [ebp - 0xb8]
mov bl, byte [eax + 4]
mov esi, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xf4]
movzx ecx, bl
mov esi, dword [eax + esi]
test esi, esi
je 0x1006a323
mov eax, 0x12e0be83
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
cmp eax, 4
jae 0x1006a323
cmp ecx, 0x2c
ja 0x1006a323
mov ecx, dword [ecx*4 + 0xf3e690]
mov eax, 0x10624dd3
mul esi
shr edx, 6
imul eax, edx, 0x3e8
mov edx, esi
sub edx, eax
cmp esi, 0x3b9aca00
lea eax, [edx + 0x3e8]
cmovb eax, edx
push eax
call dword [0x101ba7a8]
jmp 0x1006a325
xor eax, eax
test eax, eax
je 0x1006a442
mov esi, dword [eax + 0x44]
test esi, esi
mov ebx, dword [ebp - 0xb8]
mov eax, 0xcccccccd
movaps xmm0, xmmword [0x101c2c80]
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x34], 0x272b377d
cmove esi, dword [ebx + 0x4c]
mul esi
movaps xmm0, xmmword [0x101c25f0]
movups xmmword [ebp - 0x44], xmm0
mov ecx, esi
mov byte [ebp - 0x30], 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
mov al, byte [ebp - 0x54]
xor byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0x23
jb 0x1006a3a0
sub esp, 0x1c
mov byte [ebp - 0x30], 0
lea eax, [ebp - 0x53]
mov ecx, esp
push eax
call fcn.10047780
lea eax, [ebp - 0x70]
push eax
call fcn.1004a910
add esp, 0x30
mov dword [ebp - 4], 0
cmp dword [ebp - 0x5c], 0
mov eax, dword [edi + 0x18]
jne 0x1006a3e8
push eax
push str._d__n
call fcn.10082e50
jmp 0x1006a3f2
lea ecx, [ebp - 0x70]
push ecx
push eax
call fcn.100ba7c0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.100448c0
mov eax, dword [ebp - 0x58]
cmp eax, 0x10
jb 0x1006a419
inc eax
push eax
push dword [ebp - 0x6c]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x70]
push 8
push eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
call fcn.10049010
jmp 0x1006a6b7
xorps xmm0, xmm0
lea eax, [ebp - 0xa9]
push 8
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0xf8], eax
call fcn.10048f80
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xfc], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0xc8], eax
push 0x100
mov dword [ebp - 4], 1
call fcn.10048f80
add esp, 4
mov dword [ebp - 0xc4], eax
lea esi, [eax + 0x100]
push 0x100
push 0
push eax
mov dword [ebp - 0xbc], esi
call fcn.101234b0
add esp, 0xc
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xfc], 0
mov dword [ebp - 4], 2
mov ebx, dword [ebp - 0xc4]
sub esi, ebx
jne 0x1006a51d
push str.vector_subscript_out_of_range
push 0x101b8af8
push esi
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x1006a4f9
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.10136180
mov ebx, dword [ebp - 0xc4]
add esp, 0x14
mov eax, dword [ebp - 0xb8]
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 ebx
call fcn.10052fe0
mov eax, dword [ebp - 0xc0]
add esp, 0x18
mov ecx, dword [ebp - 0xc4]
sub eax, ecx
jne 0x1006a5c4
push str.vector_subscript_out_of_range
push 0x101b8af8
push eax
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x1006a5a0
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.10136180
mov ecx, dword [ebp - 0xc4]
add esp, 0x14
push ecx
lea ecx, [ebp - 0x8c]
call fcn.10047780
mov byte [ebp - 4], 3
cmp dword [ebp - 0x78], 0
mov eax, dword [edi + 0x18]
jne 0x1006a5ea
push eax
push str._d__n
call fcn.10082e50
jmp 0x1006a5f7
lea ecx, [ebp - 0x8c]
push ecx
push eax
call fcn.100ba7c0
add esp, 8
lea ecx, [ebp - 0x8c]
call fcn.100448c0
mov eax, dword [ebp - 0x74]
cmp eax, 0x10
jb 0x1006a61d
inc eax
push eax
push dword [ebp - 0x88]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x8c]
push 8
push eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov dword [ebp - 0x8c], 0
call fcn.10049010
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc8]
call fcn.100448c0
mov ecx, dword [ebp - 0xc4]
test ecx, ecx
je 0x1006a699
mov eax, dword [ebp - 0xbc]
sub eax, ecx
push eax
push ecx
call fcn.10049010
add esp, 8
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0xc8]
push 8
push eax
mov dword [ebp - 0xc8], 0
call fcn.10049010
mov ebx, dword [ebp - 0xb8]
mov ecx, dword [edi + 0x18]
add esp, 8
test ecx, ecx
je 0x1006a6c9
push 1
call dword [0x101ba7a0]
mov esi, dword [ebp - 0xb0]
mov dword [esi], ebx
mov ebx, dword [ebp - 0xe4]
add ebx, 4
add esi, 4
sub dword [ebp - 0xb4], 1
mov dword [ebp - 0xe4], ebx
mov dword [ebp - 0xb0], esi
jne 0x1006a211
xor esi, esi
add edi, 0x1c
mov dword [ebp - 0xb0], esi
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ecx + esi*4]
mov dword [edi + 0x78], eax
mov ecx, dword [ecx + esi*4]
test ecx, ecx
je 0x1006ac4f
mov eax, 0x10624dd3
mul ecx
mov ecx, dword [0xf3e688]
shr edx, 6
imul eax, edx, 0x3e8
push eax
call dword [0x101ba7a4]
mov ebx, eax
mov dword [ebp - 0xb4], ebx
test ebx, ebx
jne 0x1006a749
mov dword [edi + 0x54], eax
jmp 0x1006ac4f
mov eax, dword [ebp - 0xe0]
movzx ecx, byte [ebx + 4]
mov esi, dword [eax + esi*4]
test esi, esi
je 0x1006a7a9
mov eax, 0x12e0be83
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
cmp eax, 4
jae 0x1006a7a9
cmp ecx, 0x2c
ja 0x1006a7a9
mov ecx, dword [ecx*4 + 0xf3e690]
mov eax, 0x10624dd3
mul esi
shr edx, 6
imul eax, edx, 0x3e8
mov edx, esi
sub edx, eax
cmp esi, 0x3b9aca00
lea eax, [edx + 0x3e8]
cmovb eax, edx
push eax
call dword [0x101ba7a8]
jmp 0x1006a7ab
xor eax, eax
test eax, eax
je 0x1006a960
mov esi, dword [eax + 0x44]
test esi, esi
mov eax, 0xcccccccd
movaps xmm0, xmmword [0x101c2720]
cmove esi, dword [ebx + 0x4c]
mul esi
movups xmmword [ebp - 0x54], xmm0
movaps xmm0, xmmword [0x101c2dd0]
movups xmmword [ebp - 0x44], xmm0
mov ecx, esi
mov dword [ebp - 0x34], 0x7a766a20
mov eax, edx
mov byte [ebp - 0x30], 0
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 eax, eax
push edx
mov cl, byte [ebp - 0x54]
xor byte [ebp + eax - 0x53], cl
inc eax
cmp eax, 0x23
jb 0x1006a820
sub esp, 0x1c
mov byte [ebp - 0x30], 0
mov esi, esp
lea eax, [ebp - 0xa9]
mov dword [ebp - 0xf8], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10048f80
add esp, 4
mov dword [ebp - 0xfc], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x53]
mov dword [esi + 0x14], 0
lea edx, [ecx + 1]
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006a897
sub ecx, edx
lea eax, [ebp - 0x53]
push ecx
push eax
mov ecx, esi
call fcn.10048350
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xfc], 0
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.1004a910
add esp, 0x30
mov dword [ebp - 4], 5
cmp dword [ebp - 0x94], 0
mov eax, dword [edi]
jne 0x1006a8eb
push eax
push str._d__n
call fcn.10082e50
jmp 0x1006a8f8
lea ecx, [ebp - 0xa8]
push ecx
push eax
call fcn.100ba7c0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.100448c0
mov eax, dword [ebp - 0x90]
cmp eax, 0x10
jb 0x1006a928
inc eax
push eax
push dword [ebp - 0xa4]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0xa8]
push 8
push eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
mov dword [ebp - 0xa8], 0
call fcn.10049010
jmp 0x1006ac35
xorps xmm0, xmm0
lea eax, [ebp - 0xd9]
push 8
movups xmmword [ebp - 0xd8], xmm0
mov dword [ebp - 0xec], eax
call fcn.10048f80
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0xf0], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0xd8], eax
push 0x100
mov dword [ebp - 4], 6
call fcn.10048f80
add esp, 4
mov dword [ebp - 0xd4], eax
lea esi, [eax + 0x100]
push 0x100
push 0
push eax
mov dword [ebp - 0xcc], esi
call fcn.101234b0
add esp, 0xc
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xf0], 0
mov dword [ebp - 4], 7
mov ebx, dword [ebp - 0xd4]
sub esi, ebx
jne 0x1006aa3b
push str.vector_subscript_out_of_range
push 0x101b8af8
push esi
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x1006aa17
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.10136180
mov ebx, dword [ebp - 0xd4]
add esp, 0x14
mov ecx, dword [ebp - 0xb4]
xor edx, edx
mov esi, 0xa
mov ecx, dword [ecx + 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 ebx
call fcn.10052fe0
mov eax, dword [ebp - 0xd0]
add esp, 0x18
mov esi, dword [ebp - 0xd4]
sub eax, esi
jne 0x1006aae2
push str.vector_subscript_out_of_range
push 0x101b8af8
push eax
push 0x611
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x1006aabe
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.10136180
mov esi, dword [ebp - 0xd4]
add esp, 0x14
lea eax, [ebp - 0xda]
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 - 0xe4], eax
call fcn.10048f80
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xe8], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x2c], eax
mov ecx, esi
mov byte [ebp - 4], 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006ab44
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.10048350
mov dword [ebp - 0xe8], 0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 0
mov eax, dword [edi]
jne 0x1006ab7a
push eax
push str._d__n
call fcn.10082e50
jmp 0x1006ab84
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.100ba7c0
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.100448c0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1006aba4
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10049010
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.10049010
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.100448c0
mov ecx, dword [ebp - 0xd4]
test ecx, ecx
je 0x1006ac17
mov eax, dword [ebp - 0xcc]
sub eax, ecx
push eax
push ecx
call fcn.10049010
add esp, 8
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xd8]
push 8
push eax
mov dword [ebp - 0xd8], 0
call fcn.10049010
mov ebx, dword [ebp - 0xb4]
mov ecx, dword [edi]
add esp, 8
test ecx, ecx
je 0x1006ac46
push 1
call dword [0x101ba7a0]
mov esi, dword [ebp - 0xb0]
mov dword [edi + 0x54], ebx
inc esi
add edi, 4
mov dword [ebp - 0xb0], esi
cmp esi, 4
jl 0x1006a701
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.101204c0
mov esp, ebp
pop ebp
ret 0x10