Function at 0x10055980
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x6c
push 0xffffffffffffffff
push 0x1017a59d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x101dadb0]
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 0x10055bf1
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], 0x3a
push eax
mov dword [edi + 0xf4], 0
mov byte [ebp + 5], 0
call fcn.10046d00
mov esi, dword [edi + 0xf8]
mov dword [ebp - 4], 9
test esi, esi
je 0x10055a4d
push 4
push esi
call ebx
test eax, eax
jne 0x10055a4d
lea eax, [ebp + 0x48]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10043e40
mov eax, dword [ebp + 0x60]
cmp eax, 0x10
jb 0x10055a71
inc eax
push eax
push dword [ebp + 0x4c]
call fcn.10048530
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.10048530
add esp, 8
mov word [ebp], 0x68
lea eax, [ebp + 1]
mov byte [ebp + 1], 0
lea ecx, [ebp + 0x48]
push eax
call fcn.10046d00
mov esi, dword [edi + 0xfc]
mov dword [ebp - 4], 0xa
test esi, esi
je 0x10055ad4
push 4
push esi
call ebx
test eax, eax
jne 0x10055ad4
lea eax, [ebp + 0x48]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10043e40
mov eax, dword [ebp + 0x60]
cmp eax, 0x10
jb 0x10055af8
inc eax
push eax
push dword [ebp + 0x4c]
call fcn.10048530
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.10048530
add esp, 8
mov word [ebp - 0x10], 0x23
lea eax, [ebp - 0xf]
mov byte [ebp - 0xf], 0
lea ecx, [ebp - 0x4c]
push eax
call fcn.10046d00
mov esi, dword [edi + 0x100]
mov dword [ebp - 4], 0xb
test esi, esi
je 0x10055b5b
push 4
push esi
call ebx
test eax, eax
jne 0x10055b5b
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.10043e40
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x10055b7f
inc eax
push eax
push dword [ebp - 0x48]
call fcn.10048530
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.10048530
mov ecx, dword [ebp - 0x18]
add esp, 8
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + ecx*4 + 0x58]
test ecx, ecx
je 0x10055bbf
push 0
call dword [0x101ba7a0]
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 0x100559d0
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.1011f880
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 [0x101ba7a4]
mov ecx, eax
mov eax, dword [ebp - 0x14]
add eax, esi
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x100559f3
lea eax, [ecx + 8]
mov dword [edi + 0xf4], ecx
push eax
lea ecx, [ebp + 0x48]
call fcn.10046ed0
mov esi, dword [edi + 0xf8]
mov dword [ebp - 4], 0
test esi, esi
je 0x10055c58
push 4
push esi
call ebx
test eax, eax
jne 0x10055c58
lea eax, [ebp + 0x48]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10043e40
mov eax, dword [ebp + 0x60]
cmp eax, 0x10
jb 0x10055c7c
inc eax
push eax
push dword [ebp + 0x4c]
call fcn.10048530
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.10048530
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 0x10055cb0
push ecx
lea eax, [ebp + 0x3d]
push eax
push esi
lea ecx, [ebp + 0x48]
call fcn.1004ef50
mov esi, dword [edi + 0xfc]
mov dword [ebp - 4], 1
test esi, esi
je 0x10055d0a
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10055d0a
lea eax, [ebp + 0x48]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.10043e40
mov eax, dword [ebp + 0x60]
cmp eax, 0x10
jb 0x10055d2e
inc eax
push eax
push dword [ebp + 0x4c]
call fcn.10048530
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.10048530
mov eax, dword [ebp - 0x58]
lea ecx, [ebp + 0x48]
mov ebx, dword [ebp - 0x18]
add esp, 8
movzx edx, byte [eax + ebx]
call fcn.10049d90
push 1
lea ecx, [ebp + 0x24]
mov dword [ebp - 4], 2
push 0x101ba23c
push ecx
mov ecx, eax
call fcn.100564d0
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.100484a0
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.10047aa0
mov esi, dword [edi + 0x100]
mov byte [ebp - 4], 4
test esi, esi
je 0x10055de8
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10055de8
lea eax, [ebp + 0x24]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x24]
call fcn.10043e40
mov eax, dword [ebp + 0x3c]
cmp eax, 0x10
jb 0x10055e05
inc eax
push eax
push dword [ebp + 0x28]
call fcn.10048530
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.10048530
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x48]
call fcn.10043e40
mov eax, dword [ebp + 0x60]
cmp eax, 0x10
jb 0x10055e50
inc eax
push eax
push dword [ebp + 0x4c]
call fcn.10048530
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.10048530
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 0x10055ed7
mov eax, 0x12e0be83
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
cmp eax, 4
jae 0x10055ed7
cmp ecx, 0x2c
ja 0x10055ed7
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 0x10055ed9
xor eax, eax
test eax, eax
je 0x10055fed
mov esi, dword [eax + 0x44]
test esi, esi
mov eax, 0xcccccccd
movaps xmm0, xmmword [0x101c2970]
cmove esi, dword [ebx + 0x4c]
mul esi
movups xmmword [ebp + 0x40], xmm0
movaps xmm0, xmmword [0x101c19c0]
movups xmmword [ebp + 0x50], xmm0
mov ecx, esi
mov dword [ebp + 0x60], 0x19150943
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 0x10055f50
sub esp, 0x1c
mov byte [ebp + 0x64], 0
lea eax, [ebp + 0x41]
mov ecx, esp
push eax
call fcn.10046d00
lea eax, [ebp + 0x24]
push eax
call fcn.10049e30
add esp, 0x30
mov dword [ebp - 4], 5
cmp dword [ebp + 0x38], 0
mov eax, dword [edi + 0x104]
jne 0x10055f9b
push eax
push str._d__n
call fcn.10082390
jmp 0x10055fa5
lea ecx, [ebp + 0x24]
push ecx
push eax
call fcn.100b9c70
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.10043e40
mov eax, dword [ebp + 0x3c]
cmp eax, 0x10
jb 0x10055fcc
inc eax
push eax
push dword [ebp + 0x28]
call fcn.10048530
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 0x100561f4
xorps xmm0, xmm0
lea eax, [ebp - 0x29]
push 8
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x5c], eax
call fcn.100484a0
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.100484a0
push 0x100
push 0
push eax
lea esi, [eax + 0x100]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], esi
call fcn.10122870
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 0x1005609e
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 0x1005607d
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 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.100524f0
mov eax, dword [ebp - 0x20]
add esp, 0x18
mov ecx, dword [ebp - 0x24]
sub eax, ecx
jne 0x10056139
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 0x10056118
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 ecx, dword [ebp - 0x24]
add esp, 0x14
push ecx
lea ecx, [ebp + 8]
call fcn.10046d00
mov byte [ebp - 4], 8
cmp dword [ebp + 0x1c], 0
mov eax, dword [edi + 0x104]
jne 0x1005615f
push eax
push str._d__n
call fcn.10082390
jmp 0x10056169
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.100b9c70
add esp, 8
lea ecx, [ebp + 8]
call fcn.10043e40
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x10056189
inc eax
push eax
push dword [ebp + 0xc]
call fcn.10048530
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.10048530
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10043e40
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x100561ea
mov eax, dword [ebp - 0x1c]
sub eax, ecx
push eax
push ecx
call fcn.10048530
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.10048530
mov esi, dword [edi + 0x108]
add esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test esi, esi
je 0x10055bbc
push 4
push esi
call ebx
test eax, eax
jne 0x10055bbc
mov dword [0x1027c054], esi
mov dword [0x1027bfe8], 6
call fcn.100d7450
jmp 0x10055bbc