Function at 0x100742f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017cb21
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
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
mov esi, dword [edi + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test esi, esi
je 0x1007434b
push 4
push esi
call ebx
test eax, eax
jne 0x1007434b
mov dword [0x1027c054], esi
mov dword [0x1027bfe8], 2
call fcn.100d7f80
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x1c0]
cmp eax, dword [edi + 0x18]
jae 0x10074380
mov esi, dword [edi + 0x20]
test esi, esi
je 0x10074380
push 4
push esi
call ebx
test eax, eax
jne 0x10074380
mov dword [0x1027c054], esi
mov dword [0x1027bfe8], 7
call fcn.100d7f80
lea eax, [ebp - 0x95]
mov dword [ebp - 0x94], 0
push 8
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x9c], eax
call fcn.10048f80
lea ecx, [ebp - 0x94]
mov dword [ebp - 0xa0], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x94], eax
mov dword [ebp - 4], 0
push 0
push 0x101b8c74
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
call fcn.10048350
mov dword [ebp - 0xa0], 0
lea eax, [ebp - 0x94]
mov dword [ebp - 4], 1
mov ecx, dword [edi + 0x4c]
push eax
mov eax, 0x4189a0
call eax
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.100448c0
mov eax, dword [ebp - 0x7c]
cmp eax, 0x10
jb 0x10074447
inc eax
push eax
push dword [ebp - 0x90]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x94]
push 8
push eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
call fcn.10049010
mov ecx, dword [edi + 0x10]
add esp, 8
test ecx, ecx
je 0x10074bd1
mov eax, 0x10624dd3
mul ecx
mov ecx, dword [0xf3e688]
shr edx, 6
imul eax, edx, 0x3e8
push eax
call dword [0x101ba7a4]
mov dword [ebp - 0xa4], eax
test eax, eax
je 0x10074bd1
mov esi, dword [edi + 0x10]
movzx ecx, byte [eax + 4]
test esi, esi
je 0x1007462a
mov eax, 0x12e0be83
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
cmp eax, 4
jae 0x1007462a
cmp ecx, 0x2c
ja 0x1007462a
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]
test eax, eax
je 0x1007462a
mov esi, dword [eax + 0x44]
test esi, esi
mov ecx, dword [ebp - 0xa4]
mov eax, 0xcccccccd
movaps xmm0, xmmword [0x101c3120]
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x58], 0x3c302c66
cmove esi, dword [ecx + 0x4c]
mul esi
movaps xmm0, xmmword [0x101c23f0]
movups xmmword [ebp - 0x68], xmm0
mov ecx, esi
mov byte [ebp - 0x54], 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 dword [eax]
mov al, byte [ebp - 0x78]
xor byte [ebp + ecx - 0x77], al
inc ecx
cmp ecx, 0x23
jb 0x10074590
sub esp, 0x1c
mov byte [ebp - 0x54], 0
lea eax, [ebp - 0x77]
mov ecx, esp
push eax
call fcn.10047780
lea eax, [ebp - 0x50]
push eax
call fcn.1004a910
add esp, 0x30
mov dword [ebp - 4], 2
cmp dword [ebp - 0x3c], 0
mov eax, dword [edi + 0x2c]
jne 0x100745d8
push eax
push str._d__n
call fcn.10082e50
jmp 0x100745e2
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.100ba7c0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.100448c0
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x10074609
inc eax
push eax
push dword [ebp - 0x4c]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
jmp 0x10074840
xorps xmm0, xmm0
lea eax, [ebp - 0x95]
push 8
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x9c], eax
call fcn.10048f80
lea ecx, [ebp - 0x24]
mov dword [ebp - 0xa0], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp - 0x24], eax
push 0x100
mov dword [ebp - 4], 3
call fcn.10048f80
add esp, 4
mov dword [ebp - 0x20], eax
lea esi, [eax + 0x100]
push 0x100
push 0
push eax
mov dword [ebp - 0x18], esi
call fcn.101234b0
add esp, 0xc
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0xa0], 0
mov dword [ebp - 4], 4
sub esi, dword [ebp - 0x20]
jne 0x100746e8
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 0x100746ca
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
add esp, 0x14
mov ecx, dword [ebp - 0xa4]
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 dword [ebp - 0x20]
call fcn.10052fe0
mov eax, dword [ebp - 0x1c]
add esp, 0x18
mov ecx, dword [ebp - 0x20]
sub eax, ecx
jne 0x10074788
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 0x10074767
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 - 0x20]
add esp, 0x14
push ecx
lea ecx, [ebp - 0x50]
call fcn.10047780
mov byte [ebp - 4], 5
cmp dword [ebp - 0x3c], 0
mov eax, dword [edi + 0x2c]
jne 0x100747ab
push eax
push str._d__n
call fcn.10082e50
jmp 0x100747b5
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.100ba7c0
add esp, 8
lea ecx, [ebp - 0x50]
call fcn.100448c0
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x100747d5
inc eax
push eax
push dword [ebp - 0x4c]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x50]
push 8
push eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
call fcn.10049010
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.100448c0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x10074836
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push ecx
call fcn.10049010
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], 0
push 8
push eax
call fcn.10049010
mov eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0x30]
add esp, 8
add eax, 8
push eax
call fcn.10047950
mov esi, dword [edi + 0x30]
mov dword [ebp - 4], 6
test esi, esi
je 0x10074880
push 4
push esi
call ebx
test eax, eax
jne 0x10074880
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.100448c0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x100748a4
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x30]
push 8
push eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
call fcn.10049010
add esp, 8
lea eax, [ebp - 0x70]
lea esi, [ebp - 0x50]
push 0x2e
push dword [edi + 0x18]
push eax
call fcn.100f6ec0
mov dword [ebp - 4], 7
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x100748ee
mov ecx, dword [ecx]
push ecx
mov cl, 0x48
mov dword [ebp - 0x20], 0x213a1848
mov dword [ebp - 0x1c], 0x68722d2b
xor eax, eax
mov word [ebp - 0x18], 0x3b6d
mov byte [ebp - 0x16], 0
nop dword [eax + eax]
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 9
jae 0x1007491f
mov cl, byte [ebp - 0x20]
jmp 0x10074910
sub esp, 0x1c
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x1f]
mov ecx, esp
push eax
call fcn.10047780
push esi
call fcn.1004a910
mov esi, dword [edi + 0x34]
add esp, 0x24
mov byte [ebp - 4], 8
test esi, esi
je 0x1007495a
push 4
push esi
call ebx
test eax, eax
jne 0x1007495a
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x50]
call fcn.100448c0
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x10074977
inc eax
push eax
push dword [ebp - 0x4c]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x50]
push 8
push eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
call fcn.10049010
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.100448c0
mov eax, dword [ebp - 0x58]
cmp eax, 0x10
jb 0x100749c2
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
add esp, 8
lea eax, [ebp - 0x70]
lea esi, [ebp - 0x50]
push 0x2e
push dword [edi + 0xc]
push eax
call fcn.100f6ec0
mov dword [ebp - 4], 9
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x10074a0c
mov ecx, dword [ecx]
push ecx
mov cl, 0x7c
mov dword [ebp - 0x24], 0x1d092d7c
mov dword [ebp - 0x20], 0x8150812
xor eax, eax
mov dword [ebp - 0x1c], 0x595c4605
mov word [ebp - 0x18], 0xf
nop dword [eax]
xor byte [ebp + eax - 0x23], cl
inc eax
cmp eax, 0xc
jae 0x10074a3f
mov cl, byte [ebp - 0x24]
jmp 0x10074a30
sub esp, 0x1c
mov byte [ebp - 0x17], 0
lea eax, [ebp - 0x23]
mov ecx, esp
push eax
call fcn.10047780
push esi
call fcn.1004a910
mov esi, dword [edi + 0x38]
add esp, 0x24
mov byte [ebp - 4], 0xa
test esi, esi
je 0x10074a7a
push 4
push esi
call ebx
test eax, eax
jne 0x10074a7a
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x50]
call fcn.100448c0
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x10074a97
inc eax
push eax
push dword [ebp - 0x4c]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0x50]
push 8
push eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
call fcn.10049010
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.100448c0
mov eax, dword [ebp - 0x58]
cmp eax, 0x10
jb 0x10074ae2
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
movaps xmm0, xmmword [0x101c1980]
lea esi, [ebp - 0xc8]
add esp, 8
xor ecx, ecx
movups xmmword [ebp - 0x24], xmm0
push dword [edi + 0x18]
nop
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xe
jb 0x10074b20
sub esp, 0x1c
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x23]
mov ecx, esp
push eax
call fcn.10047780
push esi
call fcn.1004a910
mov esi, dword [edi + 0x3c]
add esp, 0x24
mov dword [ebp - 4], 0xb
test esi, esi
je 0x10074b6e
push 4
push esi
call ebx
test eax, eax
jne 0x10074b6e
lea eax, [ebp - 0xc8]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0xc8]
mov dword [ebp - 4], 0xffffffff
call fcn.100448c0
mov eax, dword [ebp - 0xb0]
cmp eax, 0x10
jb 0x10074b9b
inc eax
push eax
push dword [ebp - 0xc4]
call fcn.10049010
add esp, 8
mov eax, dword [ebp - 0xc8]
push 8
push eax
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0xf
mov byte [ebp - 0xc4], 0
mov dword [ebp - 0xc8], 0
call fcn.10049010
add esp, 8
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x10074be0
push 1
call dword [0x101ba7a0]
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