Function at 0x1d42af0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x1b4
mov eax, dword [0x1e94008]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x34], 0
xor eax, eax
mov dword [esp + 0x30], 3
mov word [esp + 0x42], ax
mov byte [edi + 0x2499], 1
mov byte [edi + 0x44], 0
mov dword [edi + 0x2318], eax
mov dword [edi + 0x231c], eax
mov dword [edi + 0x2320], eax
mov byte [edi + 0x2326], al
cmp dword [edi + 0x2314], eax
jl 0x1d42b78
mov eax, dword [edi + 0x230c]
test eax, eax
je 0x1d42b6e
push eax
call fcn.01e06279
add esp, 4
mov dword [edi + 0x230c], 0
mov dword [edi + 0x2310], 0
xorps xmm0, xmm0
comiss xmm0, dword [edi + 0x249c]
jae 0x1d42fdc
mov eax, dword [0x1ea8604]
mov ecx, dword [0x1ea8274]
cmp dword [eax], 0
je 0x1d42baf
cmp byte [ecx + 0x34f8], 0
jne 0x1d42baf
lea eax, [ecx + 0x3520]
test eax, eax
je 0x1d42fdc
lea eax, [ecx + 0x3520]
push eax
lea ecx, [esp + 0x34]
call fcn.01d1a360
test al, al
je 0x1d42fdc
mov eax, dword [0x1ea8274]
add eax, 0x3520
push str.local
push eax
call fcn.01e06197
add esp, 8
test eax, eax
je 0x1d42fdc
lea ecx, [esp + 0x30]
call fcn.01d468c0
test al, al
jne 0x1d42fdc
mov ecx, dword [esp + 0x34]
call fcn.01d46890
test al, al
jne 0x1d42fdc
mov ebx, dword [0x1ea8274]
test ebx, ebx
je 0x1d42c20
cmp dword [ebx + 0x4174], 0
jne 0x1d42fdc
cmp byte [0x1e9558c], 0
jne 0x1d42c9c
movaps xmm1, xmmword [0x1e7e520]
xor ecx, ecx
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [esp + ecx*4 + 0x48], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [esp + ecx*4 + 0x58], xmm0
add ecx, 8
cmp ecx, 0x10
jl 0x1d42c32
cmp ecx, 0x14
jge 0x1d42c70
mov dword [esp + ecx*4 + 0x48], ecx
inc ecx
cmp ecx, 0x14
jl 0x1d42c66
mov eax, 0x14
lea edx, [esp + 0x48]
xor esi, esi
test eax, eax
je 0x1d42c95
nop
mov ecx, dword [edx]
lea edx, [edx + 4]
mov al, cl
inc esi
sub al, 0x4c
xor byte [ecx + 0x1e95578], al
cmp esi, 0x14
jne 0x1d42c80
mov byte [0x1e9558c], 1
lea eax, [ebx + 0x3520]
push eax
push 0x1e95578
call fcn.01e06197
add esp, 8
test eax, eax
je 0x1d42fdc
cmp byte [0x1e95570], 0
jne 0x1d42d2c
movaps xmm1, xmmword [0x1e7e520]
xor ecx, ecx
nop word [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [esp + ecx*4 + 0x98], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [esp + ecx*4 + 0xa8], xmm0
add ecx, 8
cmp ecx, 0x10
jl 0x1d42cd0
lea edx, [esp + 0x98]
xor esi, esi
nop
mov ecx, dword [edx]
lea edx, [edx + 4]
mov al, cl
inc esi
sub al, 0x4c
xor byte [ecx + 0x1e95560], al
cmp esi, 0x10
jne 0x1d42d10
mov byte [0x1e95570], 1
cmp byte [0x1e95558], 0
jne 0x1d42d91
movaps xmm1, xmmword [0x1e7e520]
xor ecx, ecx
nop
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [esp + ecx*4 + 0x48], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [esp + ecx*4 + 0x58], xmm0
add ecx, 8
cmp ecx, 0x10
jl 0x1d42d40
lea edx, [esp + 0x48]
xor esi, esi
mov ecx, dword [edx]
lea edx, [edx + 4]
mov al, cl
inc esi
sub al, 0x4c
xor byte [ecx + 0x1e95548], al
cmp esi, 0x10
jne 0x1d42d75
mov byte [0x1e95558], 1
lea eax, [edi + 0x2489]
push eax
push 0x1e95560
push 0x1e95548
lea eax, [esp + 0x144]
push 0x80
push eax
call fcn.01d14b30
add esp, 0x14
lea eax, [esp + 0x138]
push eax
call dword [0x1ea8098]
add esp, 4
lea ecx, [edi + 0x24c8]
call fcn.01d46900
test al, al
je 0x1d42df0
push ecx
lea eax, [esp + 0x34]
push eax
lea ecx, [edi + 0x24c8]
call fcn.01d0a570
test al, al
jne 0x1d42fdc
movss xmm2, dword [edi + 0x249c]
movsd xmm1, qword [edi + 0x20]
cvtps2pd xmm0, xmm2
mov dword [esp + 0x28], 1
comisd xmm1, xmm0
jbe 0x1d42e58
cvtps2pd xmm0, xmm2
sub esp, 8
subsd xmm1, xmm0
addsd xmm1, qword [0x1e7e078]
movsd qword [esp + 0x30], xmm1
fld qword [esp + 0x30]
fstp qword [esp]
call fcn.01e2cd10
fstp qword [esp + 0x30]
cvttsd2si eax, qword [esp + 0x30]
xor esi, esi
add esp, 8
test eax, eax
cmovns esi, eax
mov eax, 0x3c
cmp esi, 0x384
cmovg esi, eax
mov dword [esp + 0x28], esi
push 0x1e47e54
call dword [0x1ea8218]
add esp, 4
mov byte [esp + 0xd8], 0
test eax, eax
mov dword [esp + 0xf1], 0
mov ecx, 0x1e47e5c
mov word [esp + 0xf5], 0
cmovne ecx, eax
mov byte [esp + 0xf7], 0
push 0x1f
xorps xmm0, xmm0
lea eax, [esp + 0xdc]
push ecx
push eax
movups xmmword [esp + 0xe5], xmm0
movq qword [esp + 0xf5], xmm0
call fcn.01e0d270
add esp, 8
mov byte [esp + 0xfb], 0
call dword [0x1ea8170]
lea edx, [esp + 0xfc]
mov ecx, eax
call fcn.01d1a690
add esp, 4
cmp byte [esp + 0xf8], 0
je 0x1d42f1c
lea ecx, [esp + 0xf8]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1d42ef0
sub ecx, edx
cmp ecx, 2
jbe 0x1d42f1c
lea eax, [esp + 0xf8]
push 0x2e
push eax
call fcn.01e04410
add esp, 8
test eax, eax
je 0x1d42f1c
cmp byte [eax], 0
je 0x1d42f1c
mov byte [eax], 0
lea esi, [edi + 0x2330]
mov ecx, esi
call fcn.01d04bb0
push 0x63
mov ecx, esi
call fcn.01d1e960
push 0x78
mov ecx, esi
call fcn.01d1e580
push 0x41
lea eax, [edi + 0x2448]
mov ecx, esi
push eax
call fcn.01d1e060
movzx eax, byte [0x1ea862c]
mov ecx, esi
push eax
call fcn.01d1e320
push dword [esp + 0x34]
mov ecx, esi
call fcn.01d1ea00
push dword [esp + 0x42]
mov ecx, esi
call fcn.01d1e8c0
lea eax, [esp + 0xd8]
mov ecx, esi
push eax
call fcn.01d1e0c0
push dword [esp + 0x28]
mov ecx, esi
call fcn.01d1e8c0
lea eax, [esp + 0xf8]
mov ecx, esi
push eax
call fcn.01d1e0c0
mov eax, dword [esp + 0x34]
sub esp, 8
mov dword [edi + 0x24cc], eax
mov ax, word [esp + 0x4a]
mov word [edi + 0x24da], ax
mov eax, dword [esp + 0x38]
mov dword [edi + 0x24c8], eax
mov ecx, dword [edi + 0x22fc]
push esi
call fcn.01d2f090
mov dword [0x1ea862c], 3
mov dword [edi + 0x249c], 0
mov ecx, dword [esp + 0x1bc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.01e029b1
mov esp, ebp
pop ebp
ret