Function at 0x10074180
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c881
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 0x100741db
push 4
push esi
call ebx
test eax, eax
jne 0x100741db
mov dword [0x1027c054], esi
mov dword [0x1027bfe8], 2
call fcn.100d7df0
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x1c0]
cmp eax, dword [edi + 0x18]
jae 0x10074210
mov esi, dword [edi + 0x20]
test esi, esi
je 0x10074210
push 4
push esi
call ebx
test eax, eax
jne 0x10074210
mov dword [0x1027c054], esi
mov dword [0x1027bfe8], 7
call fcn.100d7df0
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.10048e10
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.10048200
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.100447b0
mov eax, dword [ebp - 0x7c]
cmp eax, 0x10
jb 0x100742d7
inc eax
push eax
push dword [ebp - 0x90]
call fcn.10048ea0
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.10048ea0
mov ecx, dword [edi + 0x10]
add esp, 8
test ecx, ecx
je 0x10074a61
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 0x10074a61
mov esi, dword [edi + 0x10]
movzx ecx, byte [eax + 4]
test esi, esi
je 0x100744ba
mov eax, 0x12e0be83
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0x1d
cmp eax, 4
jae 0x100744ba
cmp ecx, 0x2c
ja 0x100744ba
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 0x100744ba
mov esi, dword [eax + 0x44]
test esi, esi
mov ecx, dword [ebp - 0xa4]
mov eax, 0xcccccccd
movaps xmm0, xmmword [0x101c30b0]
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x58], 0x3c302c66
cmove esi, dword [ecx + 0x4c]
mul esi
movaps xmm0, xmmword [0x101c2350]
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 0x10074420
sub esp, 0x1c
mov byte [ebp - 0x54], 0
lea eax, [ebp - 0x77]
mov ecx, esp
push eax
call fcn.10047670
lea eax, [ebp - 0x50]
push eax
call fcn.1004a7a0
add esp, 0x30
mov dword [ebp - 4], 2
cmp dword [ebp - 0x3c], 0
mov eax, dword [edi + 0x2c]
jne 0x10074468
push eax
push str._d__n
call fcn.10082cd0
jmp 0x10074472
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.100ba640
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.100447b0
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x10074499
inc eax
push eax
push dword [ebp - 0x4c]
call fcn.10048ea0
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 0x100746d0
xorps xmm0, xmm0
lea eax, [ebp - 0x95]
push 8
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x9c], eax
call fcn.10048e10
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.10048e10
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.10123240
add esp, 0xc
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0xa0], 0
mov dword [ebp - 4], 4
sub esi, dword [ebp - 0x20]
jne 0x10074578
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 0x1007455a
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
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.10052e60
mov eax, dword [ebp - 0x1c]
add esp, 0x18
mov ecx, dword [ebp - 0x20]
sub eax, ecx
jne 0x10074618
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 0x100745f7
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 - 0x20]
add esp, 0x14
push ecx
lea ecx, [ebp - 0x50]
call fcn.10047670
mov byte [ebp - 4], 5
cmp dword [ebp - 0x3c], 0
mov eax, dword [edi + 0x2c]
jne 0x1007463b
push eax
push str._d__n
call fcn.10082cd0
jmp 0x10074645
lea ecx, [ebp - 0x50]
push ecx
push eax
call fcn.100ba640
add esp, 8
lea ecx, [ebp - 0x50]
call fcn.100447b0
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x10074665
inc eax
push eax
push dword [ebp - 0x4c]
call fcn.10048ea0
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.10048ea0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.100447b0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x100746c6
mov eax, dword [ebp - 0x18]
sub eax, ecx
push eax
push ecx
call fcn.10048ea0
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.10048ea0
mov eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0x30]
add esp, 8
add eax, 8
push eax
call fcn.10047840
mov esi, dword [edi + 0x30]
mov dword [ebp - 4], 6
test esi, esi
je 0x10074710
push 4
push esi
call ebx
test eax, eax
jne 0x10074710
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.100447b0
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jb 0x10074734
inc eax
push eax
push dword [ebp - 0x2c]
call fcn.10048ea0
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.10048ea0
add esp, 8
lea eax, [ebp - 0x70]
lea esi, [ebp - 0x50]
push 0x2e
push dword [edi + 0x18]
push eax
call fcn.100f6c10
mov dword [ebp - 4], 7
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x1007477e
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 0x100747af
mov cl, byte [ebp - 0x20]
jmp 0x100747a0
sub esp, 0x1c
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x1f]
mov ecx, esp
push eax
call fcn.10047670
push esi
call fcn.1004a7a0
mov esi, dword [edi + 0x34]
add esp, 0x24
mov byte [ebp - 4], 8
test esi, esi
je 0x100747ea
push 4
push esi
call ebx
test eax, eax
jne 0x100747ea
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x50]
call fcn.100447b0
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x10074807
inc eax
push eax
push dword [ebp - 0x4c]
call fcn.10048ea0
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.10048ea0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.100447b0
mov eax, dword [ebp - 0x58]
cmp eax, 0x10
jb 0x10074852
inc eax
push eax
push dword [ebp - 0x6c]
call fcn.10048ea0
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.10048ea0
add esp, 8
lea eax, [ebp - 0x70]
lea esi, [ebp - 0x50]
push 0x2e
push dword [edi + 0xc]
push eax
call fcn.100f6c10
mov dword [ebp - 4], 9
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x1007489c
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 0x100748cf
mov cl, byte [ebp - 0x24]
jmp 0x100748c0
sub esp, 0x1c
mov byte [ebp - 0x17], 0
lea eax, [ebp - 0x23]
mov ecx, esp
push eax
call fcn.10047670
push esi
call fcn.1004a7a0
mov esi, dword [edi + 0x38]
add esp, 0x24
mov byte [ebp - 4], 0xa
test esi, esi
je 0x1007490a
push 4
push esi
call ebx
test eax, eax
jne 0x1007490a
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x50]
call fcn.100447b0
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x10074927
inc eax
push eax
push dword [ebp - 0x4c]
call fcn.10048ea0
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.10048ea0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.100447b0
mov eax, dword [ebp - 0x58]
cmp eax, 0x10
jb 0x10074972
inc eax
push eax
push dword [ebp - 0x6c]
call fcn.10048ea0
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.10048ea0
movaps xmm0, xmmword [0x101c18e0]
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 0x100749b0
sub esp, 0x1c
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x23]
mov ecx, esp
push eax
call fcn.10047670
push esi
call fcn.1004a7a0
mov esi, dword [edi + 0x3c]
add esp, 0x24
mov dword [ebp - 4], 0xb
test esi, esi
je 0x100749fe
push 4
push esi
call ebx
test eax, eax
jne 0x100749fe
lea eax, [ebp - 0xc8]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0xc8]
mov dword [ebp - 4], 0xffffffff
call fcn.100447b0
mov eax, dword [ebp - 0xb0]
cmp eax, 0x10
jb 0x10074a2b
inc eax
push eax
push dword [ebp - 0xc4]
call fcn.10048ea0
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.10048ea0
add esp, 8
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x10074a70
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.10120250
mov esp, ebp
pop ebp
ret