Function at 0x10061100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10171795
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x101cfdb0]
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 0x1006169b
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 [0x101b07e4]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x1006169b
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 0x100611b0
cmp ecx, 0x2c
ja 0x100611b0
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 [0x101b07e8]
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.10047940
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 0x101aec64
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10046d30
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 4], 1
movzx ecx, byte [eax + 4]
cmp esi, 4
jae 0x10061389
cmp ecx, 0x2c
ja 0x10061389
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 [0x101b07e8]
test eax, eax
je 0x10061389
mov esi, dword [eax + 0x44]
test esi, esi
mov eax, dword [ebp - 0x74]
movaps xmm0, xmmword [0x101b85a0]
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x50], 0x3d312d67
cmove esi, dword [eax + 0x4c]
mov eax, 0xcccccccd
mul esi
movaps xmm0, xmmword [0x101b7920]
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 0x100612e0
sub esp, 0x1c
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x6f]
mov ecx, esp
push eax
call fcn.100461a0
lea eax, [ebp - 0x48]
push eax
call fcn.100492e0
mov esi, eax
add esp, 0x30
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x1006134b
mov ecx, eax
call fcn.100432e0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10061330
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100479d0
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.10046f40
lea ecx, [ebp - 0x48]
call fcn.100432e0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10061368
inc eax
push eax
push dword [ebp - 0x44]
call fcn.100479d0
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 0x10061525
xorps xmm0, xmm0
lea eax, [ebp - 0x76]
push 8
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x7c], eax
call fcn.10047940
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.10047940
push 0x100
push 0
push eax
lea esi, [eax + 0x100]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], esi
call fcn.101193b0
add esp, 0x14
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x80], 0
mov byte [ebp - 4], 3
sub esi, dword [ebp - 0x38]
jne 0x1006142f
push str.vector_subscript_out_of_range
push 0x101aeae8
push esi
push 0x611
push 0x101af550
push 2
call fcn.1011d740
add esp, 0x18
cmp eax, 1
jne 0x10061411
int3
push 0
push 0x611
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101aec28
push str._vector_subscript_out_of_range_
call fcn.1012c080
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.10051760
mov eax, dword [ebp - 0x34]
add esp, 0x18
mov edx, dword [ebp - 0x38]
sub eax, edx
jne 0x100614cc
push str.vector_subscript_out_of_range
push 0x101aeae8
push eax
push 0x611
push 0x101af550
push 2
call fcn.1011d740
add esp, 0x18
cmp eax, 1
jne 0x100614ab
int3
push 0
push 0x611
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101aec28
push str._vector_subscript_out_of_range_
call fcn.1012c080
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 0x100614d1
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10046d30
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.100432e0
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x1006151b
mov eax, dword [ebp - 0x30]
sub eax, ecx
push eax
push ecx
call fcn.100479d0
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.100479d0
lea ecx, [edi + 8]
add esp, 8
xor eax, eax
mov dword [ebp - 0x7c], ecx
nop dword [eax + eax]
cmp dword [ecx], 0
je 0x10061602
inc eax
add ecx, 0x28
cmp eax, 5
jl 0x10061540
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 0x1006157c
push ecx
push str._d__n
call fcn.10080f00
jmp 0x10061586
lea eax, [esi - 4]
push eax
push ecx
call fcn.100b3dc0
lea ecx, [esi + 0x24]
add esp, 8
lea eax, [esi - 4]
cmp ecx, eax
je 0x100615a6
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x1006159d
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.10046d30
mov eax, dword [esi - 8]
mov dword [esi + 0x20], eax
sub esi, 0x28
sub edi, 1
jne 0x10061560
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 0x100615da
push eax
push str._d__n
call fcn.10080f00
jmp 0x100615e4
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.100b3dc0
lea ecx, [esi + 0x14]
add esp, 8
lea eax, [ebp - 0x2c]
cmp ecx, eax
je 0x10061657
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
jmp 0x10061652
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 0x10061627
push eax
push str._d__n
call fcn.10080f00
jmp 0x10061631
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.100b3dc0
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 0x10061644
sub ecx, edi
push ecx
push edx
lea ecx, [esi + 0x14]
call fcn.10046d30
lea ecx, [ebp - 0x2c]
call fcn.100432e0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10061674
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100479d0
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.100479d0
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.101163c0
mov esp, ebp
pop ebp
ret 4