Function at 0x1d41700
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1e314e6
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x1e94008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 4], 0
mov edx, 0x1e3c4c9
mov ecx, dword [edi + 0x2354]
and ecx, dword [edi + 0x2368]
mov eax, dword [edi + 0x2364]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov eax, dword [eax + ecx*8]
test eax, eax
lea ecx, [ebp - 0x9c]
cmovne edx, eax
push edx
call fcn.01d1f420
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 1
push eax
lea ecx, [edi + 0x2354]
mov word [edi + 0x2378], 0x100
call fcn.01d46490
test al, al
mov esi, 0x1e3c4c9
mov eax, dword [ebp - 0x94]
je 0x1d41876
test eax, eax
cmovne esi, eax
mov eax, dword [edi + 0x22bc]
push esi
mov dword [ebp - 0x88], eax
lea ecx, [eax + 0x78]
call fcn.01d1f420
mov ecx, dword [ebp - 0x88]
push esi
lea ecx, [ecx + 0x64]
call fcn.01d1f420
mov eax, dword [ebp - 0x88]
cmp dword [eax + 0x64], 0
jne 0x1d4180e
push 1
call fcn.01e0626e
mov ecx, dword [ebp - 0x88]
add esp, 4
mov dword [ecx + 0x64], eax
mov byte [eax], 0
mov eax, ecx
push 0x3a
push dword [eax + 0x64]
call fcn.01e04410
add esp, 8
test eax, eax
je 0x1d41822
mov byte [eax], 0
mov ecx, dword [ebp - 0x88]
push esi
lea ecx, [ecx + 0x6c]
call fcn.01d19f60
cmp dword [edi + 0x22d0], 0
jle 0x1d4184f
mov ecx, dword [edi + 0x22bc]
lea eax, [edi + 0x22c8]
sub esp, 8
push eax
call fcn.01d2f090
cmp dword [edi + 0x22f8], 0
jle 0x1d41a3e
mov ecx, dword [edi + 0x22bc]
lea eax, [edi + 0x22f0]
sub esp, 8
push eax
call fcn.01d2f090
jmp 0x1d41a3e
test eax, eax
cmovne esi, eax
mov eax, dword [edi + 0x22bc]
push esi
mov dword [ebp - 0x88], eax
lea ecx, [eax + 0x78]
call fcn.01d1f420
mov ecx, dword [ebp - 0x88]
push esi
lea ecx, [ecx + 0x64]
call fcn.01d1f420
mov eax, dword [ebp - 0x88]
cmp dword [eax + 0x64], 0
jne 0x1d418c3
push 1
call fcn.01e0626e
mov ecx, dword [ebp - 0x88]
add esp, 4
mov dword [ecx + 0x64], eax
mov byte [eax], 0
mov eax, ecx
push 0x3a
push dword [eax + 0x64]
call fcn.01e04410
add esp, 8
test eax, eax
je 0x1d418d7
mov byte [eax], 0
mov ecx, dword [ebp - 0x88]
push esi
lea ecx, [ecx + 0x6c]
call fcn.01d19f60
cmp dword [edi + 0x2350], 0
mov dword [edi + 0x2368], 0
jg 0x1d41a3e
cmp dword [edi + 0x22d0], 0
jle 0x1d41a3e
xor eax, eax
mov dword [ebp - 0x80], 0
mov word [ebp - 0x72], ax
mov dword [ebp - 0x84], 3
cmp byte [0x1e955ac], al
jne 0x1d41982
movaps xmm1, xmmword [0x1e7e520]
xor ecx, ecx
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [ebp + ecx*4 - 0x70], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [ebp + ecx*4 - 0x60], xmm0
add ecx, 8
cmp ecx, 0x18
jl 0x1d41932
lea edx, [ebp - 0x70]
xor esi, esi
mov ecx, dword [edx]
lea edx, [edx + 4]
mov al, cl
inc esi
sub al, 0x4c
xor byte [ecx + 0x1e95594], al
cmp esi, 0x18
jne 0x1d41966
mov byte [0x1e955ac], 1
push 0x1e95594
lea ecx, [ebp - 0x84]
call fcn.01d1a1a0
add edi, 0x22c8
mov ecx, edi
call fcn.01d04bb0
push 0xffffffffffffffff
mov ecx, edi
call fcn.01d1e960
push 0x46
mov ecx, edi
call fcn.01d1e580
test byte [edi + 0x1e], 1
mov esi, dword [ebp - 0x8c]
lea edx, [esi + 0x2408]
jne 0x1d41a0e
test byte [edi + 0x1f], 8
jne 0x1d41a0e
mov eax, dword [edi + 8]
sub eax, dword [edi + 0x14]
cmp eax, 0x41
jge 0x1d419ed
mov eax, dword [edi + 0x24]
mov ecx, edi
push 0x41
call eax
test al, al
jne 0x1d419e7
or byte [edi + 0x1e], 1
jmp 0x1d41a0e
lea edx, [esi + 0x2408]
mov eax, dword [edi + 0x14]
add eax, dword [edi + 4]
cmp edx, eax
je 0x1d41a03
push 0x41
push edx
push eax
call fcn.01e27b10
add esp, 0xc
add dword [edi + 0x14], 0x41
mov ecx, edi
call fcn.01d1e2c0
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
push 0xffffffffffffffff
call dword [eax + 4]
mov eax, dword [esi + 8]
lea ecx, [ebp - 0x84]
push ecx
mov ecx, esi
push dword [ecx + 0x22dc]
push dword [ecx + 0x22cc]
lea ecx, [esi + 8]
call dword [eax + 0x10]
mov ecx, edi
call fcn.01d04bb0
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x1d41a51
push eax
call fcn.01e06279
add esp, 4
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x1d41a64
push eax
call fcn.01e06279
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret