Function at 0x1ed04
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x19044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
push edi
xor ebx, ebx
mov dword [ebp - 0x168], eax
xor eax, eax
mov dword [ebp - 0x184], ebx
lea edi, [ebp - 0x180]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x130]
push eax
push ecx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x15c], ebx
call fcn.0001eba4
cmp eax, ebx
mov dword [ebp - 0x138], eax
jl 0x1f294
cmp dword [ebp - 0x140], 0x18
jae 0x1edaf
mov dword [ebp - 0x138], 0xc0000102
jmp 0x1f294
push esi
mov esi, dword [ebp - 0x130]
push 0x10
push 0x176b0
push esi
call dword [0x17080]
cmp eax, 0x10
jne 0x1f289
cmp dword [esi + 0x10], 1
jne 0x1f289
mov eax, 0xb4
cmp dword [esi + 0x14], eax
jne 0x1f289
cmp dword [ebp - 0x140], 0xc0
jae 0x1ee00
mov dword [ebp - 0x138], 0xc0000102
jmp 0x1f293
lea ecx, [ebp - 0x294]
push ecx
lea ecx, [ebp - 0x184]
push ecx
push ebx
push eax
push esi
push dword [esi + 0xb8]
add esi, 0xbc
push esi
call fcn.0007fbdc
cmp eax, ebx
mov dword [ebp - 0x138], eax
jl 0x1f293
cmp dword [ebp - 0x184], ebx
je 0x1f293
cmp dword [ebp - 0x178], ebx
je 0x1f293
test dword [ebp - 0x17c], 0xffff0000
jne 0x1f293
push ebx
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x184]
push eax
call fcn.0001d303
push eax
call 0x80888
test al, al
je 0x1f293
push 0x176c0
lea eax, [ebp - 0x184]
push eax
call fcn.0001d33a
test al, al
je 0x1f293
push 0x44424352
push 0x14
push ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], ebx
xor esi, esi
call dword [0x170d0]
mov edi, eax
mov dword [ebp - 0x13c], edi
cmp edi, ebx
jne 0x1eecb
mov dword [ebp - 0x144], 0xc0000017
jmp 0x1f199
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x12c]
push eax
call fcn.00015ce9
mov dword [ebp - 0x144], eax
cmp eax, ebx
jne 0x1f180
mov edi, dword [ebp - 0x12c]
mov eax, dword [edi]
cmp eax, ebx
jbe 0x1f008
xor esi, esi
mov dword [ebp - 0x128], eax
xor eax, eax
push 0xa0
mov word [ebp - 0x26c], ax
lea eax, [ebp - 0x264]
push ebx
push eax
call fcn.00011096
mov eax, dword [esi + edi + 8]
add esp, 0xc
mov dword [ebp - 0x264], eax
mov eax, dword [esi + edi + 0xc]
push 2
mov dword [ebp - 0x260], eax
pop eax
mov word [ebp - 0x26c], ax
lea eax, [ebp - 0x26c]
push eax
call fcn.00015ce3
mov ebx, eax
push 0x17
pop eax
neg ebx
mov word [ebp - 0x26c], ax
lea eax, [ebp - 0x26c]
sbb bl, bl
push eax
inc bl
call fcn.00015ce3
mov edi, dword [ebp - 0x12c]
neg eax
sbb al, al
inc al
cmp dword [esi + edi + 0x470], 6
jne 0x1eff4
test bl, bl
je 0x1eff4
test al, al
je 0x1eff4
xor eax, eax
mov byte [ebp - 0x18], 0
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xc8]
push eax
call fcn.00084649
mov eax, dword [ebp - 0x12c]
push 0x20
lea eax, [esi + eax + 0x42c]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00084701
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00084801
mov ecx, dword [ebp - 0x13c]
and dword [ebp - 0x144], 0
lea eax, [ebp - 0x18]
push 0x14
sub eax, ecx
pop edi
mov dl, byte [ecx + eax]
xor byte [ecx], dl
inc ecx
dec edi
jne 0x1efe5
mov edi, dword [ebp - 0x12c]
add esi, 0x548
xor ebx, ebx
dec dword [ebp - 0x128]
jne 0x1ef04
xor eax, eax
mov byte [ebp - 0x2c], 0
lea edi, [ebp - 0x2b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x40
stosb byte es:[edi], al
lea eax, [ebp - 0x1c4]
push ebx
push eax
call fcn.00011096
xor eax, eax
xor ecx, ecx
cpuid
lea esi, [ebp - 0x154]
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x1c0], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x154]
add esp, 0xc
mov dword [ebp - 0x128], eax
test eax, eax
jbe 0x1f09f
xor eax, eax
inc eax
xor ecx, ecx
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x1b4], eax
mov ecx, dword [0x176a4]
mov eax, 0xfafafafa
xor ecx, eax
cmp dword [ebp - 0x1c4], ecx
jne 0x1f0d4
mov ecx, dword [0x176a8]
xor ecx, eax
cmp dword [ebp - 0x1c0], ecx
jne 0x1f0d4
mov ecx, dword [0x176ac]
xor ecx, eax
cmp dword [ebp - 0x1bc], ecx
je 0x1f125
cmp dword [ebp - 0x128], 1
jbe 0x1f125
push 2
pop eax
xor ecx, ecx
cpuid
lea esi, [ebp - 0x154]
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x124]
push eax
call fcn.00084649
push 0x40
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.00084701
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.00084801
mov esi, dword [ebp - 0x13c]
lea ecx, [ebp - 0x2c]
push 0x14
mov eax, esi
sub ecx, esi
pop edi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec edi
jne 0x1f166
and dword [ebp - 0x13c], edi
push 0x14
mov dword [ebp - 0x128], esi
pop esi
xor ebx, ebx
cmp dword [ebp - 0x13c], ebx
je 0x1f199
push 0x44424352
push dword [ebp - 0x13c]
call dword [0x17040]
cmp dword [ebp - 0x12c], ebx
je 0x1f1ac
push dword [ebp - 0x12c]
call fcn.00015cdd
cmp dword [ebp - 0x144], ebx
jne 0x1f293
cmp esi, 0x14
jne 0x1f293
mov edi, dword [ebp - 0x130]
mov esi, dword [ebp - 0x128]
push 5
add edi, 0xa0
pop ecx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x1f293
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00080d5d
cmp dword [ebp - 0x134], ebx
je 0x1f293
mov esi, dword [ebp - 0x178]
cmp esi, ebx
je 0x1f293
xor edi, edi
cmp dword [esi + 8], ebx
jbe 0x1f262
push 0x40
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00011096
add esp, 0xc
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [esi + 4]
lea eax, [eax + edi*8]
push eax
push 1
push 0x8004
call fcn.0007f42c
push 2
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x134]
call fcn.00080cc7
test eax, eax
jne 0x1f293
mov esi, dword [ebp - 0x178]
inc edi
cmp edi, dword [esi + 8]
jb 0x1f214
push dword [ebp - 0x140]
push dword [ebp - 0x130]
push dword [ebp - 0x134]
call fcn.0001ec9b
test eax, eax
jne 0x1f293
mov dword [ebp - 0x158], 1
jmp 0x1f293
mov dword [ebp - 0x138], 0xc0000001
pop esi
cmp dword [ebp - 0x130], ebx
je 0x1f2a9
push ebx
push dword [ebp - 0x130]
call dword [0x17040]
cmp dword [ebp - 0x128], ebx
je 0x1f2be
push ebx
push dword [ebp - 0x128]
call dword [0x17040]
lea eax, [ebp - 0x184]
push eax
call fcn.0001d6ca
mov eax, dword [ebp - 0x16c]
cmp eax, ebx
je 0x1f2dc
mov ecx, dword [ebp - 0x158]
mov dword [eax], ecx
mov eax, dword [ebp - 0x168]
cmp eax, ebx
je 0x1f2f4
mov ecx, dword [ebp - 0x15c]
or ecx, dword [ebp - 0x160]
mov dword [eax], ecx
cmp dword [ebp - 0x134], ebx
pop edi
pop ebx
je 0x1f30a
lea eax, [ebp - 0x134]
push eax
call fcn.00080c6d
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x138]
xor ecx, ebp
call fcn.00011067
leave
ret 0xc