Function at 0x10056300
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x6c
push 0xffffffffffffffff
push 0x1017af8d
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 0x10056571
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], 0x44
push eax
mov dword [edi + 0xf4], 0
mov byte [ebp + 5], 0
call fcn.10047670
mov esi, dword [edi + 0xf8]
mov dword [ebp - 4], 9
test esi, esi
je 0x100563cd
push 4
push esi
call ebx
test eax, eax
jne 0x100563cd
lea eax, [ebp + 0x48]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.100447b0
mov eax, dword [ebp + 0x60]
cmp eax, 0x10
jb 0x100563f1
inc eax
push eax
push dword [ebp + 0x4c]
call fcn.10048ea0
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.10048ea0
add esp, 8
mov word [ebp], 0x55
lea eax, [ebp + 1]
mov byte [ebp + 1], 0
lea ecx, [ebp + 0x48]
push eax
call fcn.10047670
mov esi, dword [edi + 0xfc]
mov dword [ebp - 4], 0xa
test esi, esi
je 0x10056454
push 4
push esi
call ebx
test eax, eax
jne 0x10056454
lea eax, [ebp + 0x48]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.100447b0
mov eax, dword [ebp + 0x60]
cmp eax, 0x10
jb 0x10056478
inc eax
push eax
push dword [ebp + 0x4c]
call fcn.10048ea0
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.10048ea0
add esp, 8
mov word [ebp - 0x10], 0x3e
lea eax, [ebp - 0xf]
mov byte [ebp - 0xf], 0
lea ecx, [ebp - 0x4c]
push eax
call fcn.10047670
mov esi, dword [edi + 0x100]
mov dword [ebp - 4], 0xb
test esi, esi
je 0x100564db
push 4
push esi
call ebx
test eax, eax
jne 0x100564db
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.100447b0
mov eax, dword [ebp - 0x34]
cmp eax, 0x10
jb 0x100564ff
inc eax
push eax
push dword [ebp - 0x48]
call fcn.10048ea0
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.10048ea0
mov ecx, dword [ebp - 0x18]
add esp, 8
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + ecx*4 + 0x58]
test ecx, ecx
je 0x1005653f
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 0x10056350
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.10120250
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 0x10056373
lea eax, [ecx + 8]
mov dword [edi + 0xf4], ecx
push eax
lea ecx, [ebp + 0x48]
call fcn.10047840
mov esi, dword [edi + 0xf8]
mov dword [ebp - 4], 0
test esi, esi
je 0x100565d8
push 4
push esi
call ebx
test eax, eax
jne 0x100565d8
lea eax, [ebp + 0x48]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.100447b0
mov eax, dword [ebp + 0x60]
cmp eax, 0x10
jb 0x100565fc
inc eax
push eax
push dword [ebp + 0x4c]
call fcn.10048ea0
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.10048ea0
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 0x10056630
push ecx
lea eax, [ebp + 0x3d]
push eax
push esi
lea ecx, [ebp + 0x48]
call fcn.1004f8c0
mov esi, dword [edi + 0xfc]
mov dword [ebp - 4], 1
test esi, esi
je 0x1005668a
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1005668a
lea eax, [ebp + 0x48]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.100447b0
mov eax, dword [ebp + 0x60]
cmp eax, 0x10
jb 0x100566ae
inc eax
push eax
push dword [ebp + 0x4c]
call fcn.10048ea0
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.10048ea0
mov eax, dword [ebp - 0x58]
lea ecx, [ebp + 0x48]
mov ebx, dword [ebp - 0x18]
add esp, 8
movzx edx, byte [eax + ebx]
call fcn.1004a700
push 1
lea ecx, [ebp + 0x24]
mov dword [ebp - 4], 2
push 0x101ba23c
push ecx
mov ecx, eax
call fcn.10056e50
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.10048e10
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.10048410
mov esi, dword [edi + 0x100]
mov byte [ebp - 4], 4
test esi, esi
je 0x10056768
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10056768
lea eax, [ebp + 0x24]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x24]
call fcn.100447b0
mov eax, dword [ebp + 0x3c]
cmp eax, 0x10
jb 0x10056785
inc eax
push eax
push dword [ebp + 0x28]
call fcn.10048ea0
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.10048ea0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x48]
call fcn.100447b0
mov eax, dword [ebp + 0x60]
cmp eax, 0x10
jb 0x100567d0
inc eax
push eax
push dword [ebp + 0x4c]
call fcn.10048ea0
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.10048ea0
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 0x10056857
mov eax, 0x12e0be83
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
cmp eax, 4
jae 0x10056857
cmp ecx, 0x2c
ja 0x10056857
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 0x10056859
xor eax, eax
test eax, eax
je 0x1005696d
mov esi, dword [eax + 0x44]
test esi, esi
mov eax, 0xcccccccd
movaps xmm0, xmmword [0x101c1c30]
cmove esi, dword [ebx + 0x4c]
mul esi
movups xmmword [ebp + 0x40], xmm0
movaps xmm0, xmmword [0x101c2b80]
movups xmmword [ebp + 0x50], xmm0
mov ecx, esi
mov dword [ebp + 0x60], 0x4f435f15
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 0x100568d0
sub esp, 0x1c
mov byte [ebp + 0x64], 0
lea eax, [ebp + 0x41]
mov ecx, esp
push eax
call fcn.10047670
lea eax, [ebp + 0x24]
push eax
call fcn.1004a7a0
add esp, 0x30
mov dword [ebp - 4], 5
cmp dword [ebp + 0x38], 0
mov eax, dword [edi + 0x104]
jne 0x1005691b
push eax
push str._d__n
call fcn.10082cd0
jmp 0x10056925
lea ecx, [ebp + 0x24]
push ecx
push eax
call fcn.100ba640
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call fcn.100447b0
mov eax, dword [ebp + 0x3c]
cmp eax, 0x10
jb 0x1005694c
inc eax
push eax
push dword [ebp + 0x28]
call fcn.10048ea0
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 0x10056b74
xorps xmm0, xmm0
lea eax, [ebp - 0x29]
push 8
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x5c], eax
call fcn.10048e10
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.10048e10
push 0x100
push 0
push eax
lea esi, [eax + 0x100]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], esi
call fcn.10123240
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 0x10056a1e
push str.vector_subscript_out_of_range
push 0x101b8af8
push esi
push 0x611
push 0x101b9560
push 2
call fcn.101275c0
add esp, 0x18
cmp eax, 1
jne 0x100569fd
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.10135f00
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.10052e60
mov eax, dword [ebp - 0x20]
add esp, 0x18
mov ecx, dword [ebp - 0x24]
sub eax, ecx
jne 0x10056ab9
push str.vector_subscript_out_of_range
push 0x101b8af8
push eax
push 0x611
push 0x101b9560
push 2
call fcn.101275c0
add esp, 0x18
cmp eax, 1
jne 0x10056a98
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.10135f00
mov ecx, dword [ebp - 0x24]
add esp, 0x14
push ecx
lea ecx, [ebp + 8]
call fcn.10047670
mov byte [ebp - 4], 8
cmp dword [ebp + 0x1c], 0
mov eax, dword [edi + 0x104]
jne 0x10056adf
push eax
push str._d__n
call fcn.10082cd0
jmp 0x10056ae9
lea ecx, [ebp + 8]
push ecx
push eax
call fcn.100ba640
add esp, 8
lea ecx, [ebp + 8]
call fcn.100447b0
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x10056b09
inc eax
push eax
push dword [ebp + 0xc]
call fcn.10048ea0
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.10048ea0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100447b0
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x10056b6a
mov eax, dword [ebp - 0x1c]
sub eax, ecx
push eax
push ecx
call fcn.10048ea0
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.10048ea0
mov esi, dword [edi + 0x108]
add esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test esi, esi
je 0x1005653c
push 4
push esi
call ebx
test eax, eax
jne 0x1005653c
mov dword [0x1027c054], esi
mov dword [0x1027bfe8], 6
call fcn.100d7df0
jmp 0x1005653c