Function at 0x101729f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x101c
call fcn.102244a0
mov al, 0x6c
push ebx
mov byte [esp + 0xa], al
mov byte [esp + 0xb], al
push ebp
mov cl, 0x20
mov al, 0x65
push esi
push edi
mov byte [esp + 0x18], cl
mov byte [esp + 0x1b], al
mov byte [esp + 0x1c], cl
mov byte [esp + 0x1d], al
mov byte [esp + 0x1f], al
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x2c]
mov edx, dword [esp + 0x1034]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x1048]
push eax
lea eax, [esp + 0x28]
lea ecx, [esp + 0x30]
push eax
mov eax, dword [esp + 0x1038]
push ecx
mov ecx, dword [0x107ab964]
push 0x1000
push 0x1000
push edi
push edx
push eax
push ecx
mov byte [esp + 0x38], 0x6b
mov byte [esp + 0x39], 0x69
mov byte [esp + 0x3d], 0x74
mov byte [esp + 0x3e], 0x68
mov byte [esp + 0x42], 0x6e
mov byte [esp + 0x44], 0x6d
mov byte [esp + 0x45], 0x79
call fcn.100253e0
add esp, 0x24
test eax, eax
je 0x10172ceb
mov edx, dword [esp + 0x24]
cmp edx, 0x1000
ja 0x10172ceb
lea ecx, [edx - 0x14]
xor esi, esi
xor eax, eax
mov byte [esp + 0x12], 0
test ecx, ecx
jle 0x10172b19
mov ebx, 0x358ad233
mov ebp, 0x3030
cmp dword [esp + eax + 0x2c], 0x6c6c696b
jne 0x10172ae9
cmp dword [esp + eax + 0x30], 0x65687420
jne 0x10172ae9
cmp dword [esp + eax + 0x34], 0x656e6520
jne 0x10172ae9
cmp word [esp + eax + 0x38], 0x796d
je 0x10172c5f
cmp word [esp + eax + 0x2c], 0x3d80
jne 0x10172b14
cmp dword [esp + eax + 0x33], 0xb8c30175
jne 0x10172b14
cmp byte [esp + eax + 0x3b], 0xb9
jne 0x10172b14
cmp dword [esp + eax + 0x40], ebx
jne 0x10172b14
cmp word [esp + eax + 0x48], bp
je 0x10172c45
inc eax
cmp eax, ecx
jl 0x10172abe
add edx, 0xffffffe0
cmp eax, edx
jge 0x10172ceb
mov bl, byte [esp + 0x12]
test bl, bl
je 0x10172ceb
cmp edi, esi
ja 0x10172ceb
lea edx, [edi + 0xffc]
cmp edx, esi
jbe 0x10172ceb
lea eax, [esp + 0x28]
push 1
push eax
mov eax, dword [esp + 0x103c]
lea ecx, [esp + 0x1b]
push ecx
mov ecx, dword [0x107ab964]
push 1
lea edx, [eax - 1]
push 1
push edx
push eax
mov eax, dword [esp + 0x104c]
push eax
push ecx
call fcn.100253e0
add esp, 0x24
test eax, eax
je 0x10172ceb
cmp dword [esp + 0x28], 1
jne 0x10172ceb
cmp byte [esp + 0x13], bl
jne 0x10172ceb
sub esi, edi
mov edi, dword [esp + 0x24]
add esi, 2
xor eax, eax
lea ecx, [edi - 0x50]
test ecx, ecx
jle 0x10172bba
lea edx, [esp + esi + 0x2c]
mov bl, byte [edx + eax]
xor bl, 1
mov byte [edx + eax], bl
inc eax
cmp eax, ecx
jl 0x10172bac
push 1
lea edx, [esp + 0x18]
push 0xe
push edx
lea eax, [esp + 0x38]
push edi
push eax
call fcn.10024240
add esp, 0x14
test eax, eax
je 0x10172ceb
mov ecx, dword [esp + 0x24]
xor edx, edx
xor eax, eax
lea esi, [ecx - 0x20]
test esi, esi
jle 0x10172ceb
mov edi, dword [esp + 0x109c]
mov ebp, dword [esp + 0x1098]
mov ebx, 0x35ff
cmp edx, 2
je 0x10172ccf
mov ecx, edx
sub ecx, 0
je 0x10172c8b
dec ecx
jne 0x10172cc6
cmp word [esp + eax + 0x2c], 0x3680
jne 0x10172cc6
cmp dword [esp + eax + 0x2f], 0xc3fae246
jne 0x10172cc6
test edi, edi
je 0x10172c3b
mov dl, byte [esp + eax + 0x2e]
mov byte [edi], dl
mov edx, 2
jmp 0x10172cc6
mov cl, byte [esp + eax + 0x32]
mov esi, dword [esp + eax + 0x44]
mov byte [esp + 0x12], cl
mov ecx, dword [esp + 0x1054]
sub esi, ecx
jmp 0x10172b19
lea ecx, [edx - 0x20]
cmp eax, ecx
jge 0x10172b19
mov eax, dword [esp + 0x10a0]
test eax, eax
je 0x10172c7b
mov dword [eax], 1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x101c
ret
cmp word [esp + eax + 0x2c], 0x6a
jne 0x10172cc6
cmp byte [esp + eax + 0x2e], 0x68
jne 0x10172cc6
cmp byte [esp + eax + 0x33], 0x68
jne 0x10172cc6
cmp word [esp + eax + 0x38], bx
jne 0x10172cc6
cmp word [esp + eax + 0x3e], bx
jne 0x10172cc6
cmp byte [esp + eax + 0x44], 0xe8
jne 0x10172cc6
test ebp, ebp
je 0x10172cc1
mov ecx, dword [esp + eax + 0x34]
mov dword [ebp], ecx
mov edx, 1
inc eax
cmp eax, esi
jl 0x10172bff
cmp eax, 0xfe0
jae 0x10172ceb
cmp edx, 2
jne 0x10172ceb
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x101c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x101c
ret