Function at 0x10054bf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x6c
push 0xffffffffffffffff
push 0x101710ed
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x101cfdb0]
xor eax, ebp
mov dword [ebp + 0x68], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp + 0x7c]
mov eax, dword [ebp + 0x74]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x58], ecx
xor ecx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], ecx
nop dword [eax]
mov eax, dword [eax + ecx*4]
lea esi, [ecx + ecx*4]
shl esi, 3
lea edi, [edx + esi]
mov dword [edi + 0xe8], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + ecx*4]
test ecx, ecx
jne 0x10054e61
lea eax, [edx + esi]
mov dword [eax + 0xec], 0
lea ecx, [ebp + 0x48]
mov dword [eax + 0xe8], 0
lea eax, [ebp + 5]
mov word [ebp + 4], 0x13
push eax
mov dword [edi + 0xf4], 0
mov byte [ebp + 5], 0
call fcn.100461a0
mov esi, dword [edi + 0xf8]
mov dword [ebp - 4], 9
test esi, esi
je 0x10054cbd
push 4
push esi
call ebx
test eax, eax
jne 0x10054cbd
lea eax, [ebp + 0x48]
mov ecx, esi
push eax
call dword [0x101b07cc]
lea ecx, [ebp + 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.100432e0
mov eax, dword [ebp + 0x60]
cmp eax, 0x10
jb 0x10054ce1
inc eax
push eax
push dword [ebp + 0x4c]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp + 0x48]
push 8
push eax
mov dword [ebp + 0x5c], 0
mov dword [ebp + 0x60], 0xf
mov byte [ebp + 0x4c], 0
mov dword [ebp + 0x48], 0
call fcn.100479d0
add esp, 8
mov word [ebp], 0x39
lea eax, [ebp + 1]
mov byte [ebp + 1], 0
lea ecx, [ebp + 0x48]
push eax
call fcn.100461a0
mov esi, dword [edi + 0xfc]
mov dword [ebp - 4], 0xa
test esi, esi
je 0x10054d44
push 4
push esi
call ebx
test eax, eax
jne 0x10054d44
lea eax, [ebp + 0x48]
mov ecx, esi
push eax
call dword [0x101b07cc]
lea ecx, [ebp + 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.100432e0
mov eax, dword [ebp + 0x60]
cmp eax, 0x10
jb 0x10054d68
inc eax
push eax
push dword [ebp + 0x4c]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp + 0x48]
push 8
push eax
mov dword [ebp + 0x5c], 0
mov dword [ebp + 0x60], 0xf
mov byte [ebp + 0x4c], 0
mov dword [ebp + 0x48], 0
call fcn.100479d0
add esp, 8
mov word [ebp - 0x10], 0x4d
lea eax, [ebp - 0xf]
mov byte [ebp - 0xf], 0
lea ecx, [ebp - 0x4c]
push eax
call fcn.100461a0
mov esi, dword [edi + 0x100]
mov dword [ebp - 4], 0xb
test esi, esi
je 0x10054dcb
push 4
push esi
call ebx
test eax, eax
jne 0x10054dcb
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call dword [0x101b07cc]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.100432e0
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x10054def
inc eax
push eax
push dword [ebp - 0x48]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp - 0x4c]
push 8
push eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
call fcn.100479d0
mov ecx, dword [ebp - 0x18]
add esp, 8
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + ecx*4 + 0x58]
test ecx, ecx
je 0x10054e2f
push 0
call dword [0x101b07e0]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, 3
jl 0x10054c40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x68]
xor ecx, ebp
call fcn.101163c0
lea esp, [ebp + 0x6c]
pop ebp
ret 0xc
mov eax, 0x10624dd3
mul ecx
mov ecx, dword [0xf3e688]
shr edx, 6
imul eax, edx, 0x3e8
push eax
call dword [0x101b07e4]
mov ecx, eax
mov eax, dword [ebp - 0x14]
add eax, esi
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x10054c63
lea eax, [ecx + 8]
mov dword [edi + 0xf4], ecx
push eax
lea ecx, [ebp + 0x48]
call fcn.10046370
mov esi, dword [edi + 0xf8]
mov dword [ebp - 4], 0
test esi, esi
je 0x10054ec8
push 4
push esi
call ebx
test eax, eax
jne 0x10054ec8
lea eax, [ebp + 0x48]
mov ecx, esi
push eax
call dword [0x101b07cc]
lea ecx, [ebp + 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.100432e0
mov eax, dword [ebp + 0x60]
cmp eax, 0x10
jb 0x10054eec
inc eax
push eax
push dword [ebp + 0x4c]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp + 0x48]
push 8
push eax
mov dword [ebp + 0x5c], 0
mov dword [ebp + 0x60], 0xf
mov byte [ebp + 0x4c], 0
mov dword [ebp + 0x48], 0
call fcn.100479d0
mov ecx, dword [ebp - 0x18]
lea esi, [ebp + 0x3d]
mov eax, dword [ebp + 0x78]
add esp, 8
mov ecx, dword [eax + ecx*4]
nop
mov eax, 0xcccccccd
dec esi
mul ecx
shr edx, 3
mov al, dl
shl al, 2
lea ebx, [eax + edx]
add bl, bl
sub cl, bl
add cl, 0x30
mov byte [esi], cl
mov ecx, edx
test ecx, ecx
jne 0x10054f20
push ecx
lea eax, [ebp + 0x3d]
push eax
push esi
lea ecx, [ebp + 0x48]
call fcn.1004e1c0
mov esi, dword [edi + 0xfc]
mov dword [ebp - 4], 1
test esi, esi
je 0x10054f7a
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10054f7a
lea eax, [ebp + 0x48]
mov ecx, esi
push eax
call dword [0x101b07cc]
lea ecx, [ebp + 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.100432e0
mov eax, dword [ebp + 0x60]
cmp eax, 0x10
jb 0x10054f9e
inc eax
push eax
push dword [ebp + 0x4c]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp + 0x48]
push 8
push eax
mov dword [ebp + 0x5c], 0
mov dword [ebp + 0x60], 0xf
mov byte [ebp + 0x4c], 0
mov dword [ebp + 0x48], 0
call fcn.100479d0
mov eax, dword [ebp - 0x58]
lea ecx, [ebp + 0x48]
mov ebx, dword [ebp - 0x18]
add esp, 8
movzx edx, byte [eax + ebx]
call fcn.10049240
push 1
lea ecx, [ebp + 0x24]
mov dword [ebp - 4], 2
push 0x101b027c
push ecx
mov ecx, eax
call fcn.10055740
mov esi, eax
mov byte [ebp - 4], 3
push 8
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 0
call fcn.10047940
add esp, 4
lea ecx, [ebp + 0x24]
mov dword [eax + 4], 0
mov dword [ebp + 0x24], eax
push esi
mov dword [eax], ecx
call fcn.10046f40
mov esi, dword [edi + 0x100]
mov byte [ebp - 4], 4
test esi, esi
je 0x10055058
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10055058
lea eax, [ebp + 0x24]
mov ecx, esi
push eax
call dword [0x101b07cc]
lea ecx, [ebp + 0x24]
call fcn.100432e0
mov eax, dword [ebp + 0x3c]
cmp eax, 0x10
jb 0x10055075
inc eax
push eax
push dword [ebp + 0x28]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp + 0x24]
push 8
push eax
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 0xf
mov byte [ebp + 0x28], 0
mov dword [ebp + 0x24], 0
call fcn.100479d0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x48]
call fcn.100432e0
mov eax, dword [ebp + 0x60]
cmp eax, 0x10
jb 0x100550c0
inc eax
push eax
push dword [ebp + 0x4c]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp + 0x48]
push 8
push eax
mov dword [ebp + 0x5c], 0
mov dword [ebp + 0x60], 0xf
mov byte [ebp + 0x4c], 0
mov dword [ebp + 0x48], 0
call fcn.100479d0
mov eax, dword [ebp - 0x30]
add esp, 8
mov esi, dword [eax + ebx*4]
mov ebx, dword [ebp - 0x50]
movzx ecx, byte [ebx + 4]
test esi, esi
je 0x10055147
mov eax, 0x12e0be83
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
cmp eax, 4
jae 0x10055147
cmp ecx, 0x2c
ja 0x10055147
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 [0x101b07e8]
jmp 0x10055149
xor eax, eax
test eax, eax
je 0x1005525d
mov esi, dword [eax + 0x44]
test esi, esi
mov eax, 0xcccccccd
movaps xmm0, xmmword [0x101b84c0]
cmove esi, dword [ebx + 0x4c]
mul esi
movups xmmword [ebp + 0x40], xmm0
movaps xmm0, xmmword [0x101b7730]
movups xmmword [ebp + 0x50], xmm0
mov ecx, esi
mov dword [ebp + 0x60], 0x313d216b
mov eax, edx
mov byte [ebp + 0x64], 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 ecx, ecx
push edx
nop
mov al, byte [ebp + 0x40]
xor byte [ebp + ecx + 0x41], al
inc ecx
cmp ecx, 0x23
jb 0x100551c0
sub esp, 0x1c
mov byte [ebp + 0x64], 0
lea eax, [ebp + 0x41]
mov ecx, esp
push eax
call fcn.100461a0
lea eax, [ebp + 0x24]
push eax
call fcn.100492e0
add esp, 0x30
mov dword [ebp - 4], 5
cmp dword [ebp + 0x38], 0
mov eax, dword [edi + 0x104]
jne 0x1005520b
push eax
push str._d__n
call fcn.10080f00
jmp 0x10055215
lea ecx, [ebp + 0x24]
push ecx
push eax
call fcn.100b3dc0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.100432e0
mov eax, dword [ebp + 0x3c]
cmp eax, 0x10
jb 0x1005523c
inc eax
push eax
push dword [ebp + 0x28]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp + 0x24]
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 0xf
mov byte [ebp + 0x28], 0
mov dword [ebp + 0x24], 0
jmp 0x10055464
xorps xmm0, xmm0
lea eax, [ebp - 0x29]
push 8
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x5c], eax
call fcn.10047940
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x60], eax
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x28], eax
push 0x100
mov dword [ebp - 4], 6
call fcn.10047940
push 0x100
push 0
push eax
lea esi, [eax + 0x100]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], esi
call fcn.101193b0
add esp, 0x14
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 7
mov ebx, dword [ebp - 0x24]
sub esi, ebx
jne 0x1005530e
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 0x100552ed
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 ebx, dword [ebp - 0x24]
add esp, 0x14
mov ecx, dword [ebp - 0x50]
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.10051760
mov eax, dword [ebp - 0x20]
add esp, 0x18
mov ecx, dword [ebp - 0x24]
sub eax, ecx
jne 0x100553a9
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 0x10055388
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 ecx, dword [ebp - 0x24]
add esp, 0x14
push ecx
lea ecx, [ebp + 8]
call fcn.100461a0
mov byte [ebp - 4], 8
cmp dword [ebp + 0x1c], 0
mov eax, dword [edi + 0x104]
jne 0x100553cf
push eax
push str._d__n
call fcn.10080f00
jmp 0x100553d9
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.100b3dc0
add esp, 8
lea ecx, [ebp + 8]
call fcn.100432e0
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x100553f9
inc eax
push eax
push dword [ebp + 0xc]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp + 8]
push 8
push eax
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov byte [ebp + 0xc], 0
mov dword [ebp + 8], 0
call fcn.100479d0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100432e0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x1005545a
mov eax, dword [ebp - 0x1c]
sub eax, ecx
push eax
push ecx
call fcn.100479d0
add esp, 8
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x28], 0
push 8
push eax
call fcn.100479d0
mov esi, dword [edi + 0x108]
add esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test esi, esi
je 0x10054e2c
push 4
push esi
call ebx
test eax, eax
jne 0x10054e2c
mov dword [0x10271054], esi
mov dword [0x10270fec], 6
call fcn.100ce410
jmp 0x10054e2c