Function at 0x100d2ab0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xe908
call fcn.10110200
mov eax, dword [0x103250c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push esi
lea esi, [eax + 8]
mov dword [ebp - 0x3c], eax
mov byte [eax + 0xcad9d], 0
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x100d305b
mov eax, dword [0x1035f9fc]
cmp byte [eax + 0x18], 0
jne 0x100d2b04
cmp byte [eax + 0x19], 0
je 0x100d2b04
cmp dword [eax + 0x1c], 0
jg 0x100d2b04
cmp dword [eax + 4], 1
jne 0x100d2b04
mov ecx, dword [eax + 0x28]
jmp 0x100d2b06
xor ecx, ecx
mov eax, dword [0x1019e020]
sub eax, ecx
push edi
push eax
call fcn.100625d0
mov edi, dword [esi]
add esp, 4
fstp dword [ebp - 0x38]
movss xmm0, dword [ebp - 0x38]
subss xmm0, dword [edi + 0x14]
andps xmm0, xmmword [0x10172630]
comiss xmm0, dword [0x10172524]
jbe 0x100d2b3e
push edi
mov ecx, esi
jmp 0x100d3051
movss xmm0, dword [edi + 0x18]
ucomiss xmm0, dword [0x10172598]
lahf
test ah, 0x44
jnp 0x100d305a
mov edx, dword [edi + 0x20]
test edx, edx
je 0x100d305a
cmp dword [edi + 8], 0xffffffff
jne 0x100d305a
cmp byte [edi], 0
je 0x100d305a
cmp byte [edi + 1], 0
je 0x100d305a
mov ecx, dword [0x10325ec4]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x100d3048
mov ecx, dword [esi]
mov edx, dword [ecx + 0x278]
mov ecx, esi
call edx
test al, al
je 0x100d3048
cmp dword [edi + 0x54], esi
jne 0x100d3048
mov eax, dword [esi + 4]
lea ecx, [esi + 4]
mov eax, dword [eax + 0x20]
call eax
mov ecx, dword [0x10325f10]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
call edx
test eax, eax
je 0x100d3048
mov eax, dword [edi + 0x38]
lea ecx, [edi + 0x24]
movq xmm0, qword [edi + 0x30]
push 0
mov dword [ebp - 0x4c], eax
lea eax, [edi + 0x4c]
push eax
push dword [edi + 0x10]
lea eax, [ebp - 0x54]
movq qword [ebp - 0x54], xmm0
push dword [edi + 0x54]
push eax
push ecx
call fcn.100de340
add esp, 0x18
test al, al
jne 0x100d2ddc
movss xmm0, dword [edi + 0x40]
subss xmm0, dword [edi + 0x28]
cvtps2pd xmm7, xmm0
movss xmm0, dword [edi + 0x3c]
subss xmm0, dword [edi + 0x24]
mulsd xmm7, xmm7
cvtps2pd xmm6, xmm0
movss xmm0, dword [edi + 0x44]
subss xmm0, dword [edi + 0x2c]
mulsd xmm6, xmm6
cvtps2pd xmm4, xmm0
movss xmm0, dword [edi + 0x34]
addsd xmm6, xmm7
subss xmm0, dword [edi + 0x28]
mulsd xmm4, xmm4
cvtps2pd xmm5, xmm0
movss xmm0, dword [edi + 0x30]
addsd xmm6, xmm4
subss xmm0, dword [edi + 0x24]
mulsd xmm5, xmm5
cvtps2pd xmm3, xmm0
movss xmm0, dword [edi + 0x38]
subss xmm0, dword [edi + 0x2c]
mulsd xmm3, xmm3
cvtps2pd xmm2, xmm0
xorps xmm0, xmm0
addsd xmm3, xmm5
sqrtsd xmm0, xmm6
mulsd xmm2, xmm2
cvtpd2ps xmm1, xmm0
addsd xmm3, xmm2
xorps xmm0, xmm0
sqrtsd xmm0, xmm3
cvtpd2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x100d2cc5
mov esi, dword [0x1035fa2c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x1031feb0
call fcn.1004e4e0
push 0
push 1
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.100fdeb0
lea ecx, [ebp - 0x1c]
jmp 0x100d3043
cmp byte [0x1019e011], 0
je 0x100d2dc3
cmp byte [0x1031fed0], 0
mov edi, dword [0x1035fa2c]
je 0x100d2d48
cmp byte [0x1031fed1], 0
jne 0x100d2d96
mov byte [0x1031fed1], 1
xor esi, esi
nop word [eax + eax]
xor edx, edx
mov eax, esi
xor eax, dword [0x1031fef0]
xor edx, dword [0x1031fef4]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x38], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov eax, ecx
mov dword [ebp - 0x44], edx
shrd eax, edx, 7
xor al, cl
xor byte [esi + str.MI_f], al
inc esi
cmp esi, 0x18
jb 0x100d2d00
jmp 0x100d2d96
xor esi, esi
nop word [eax + eax]
xor edx, edx
mov eax, esi
xor eax, dword [0x1031fef0]
xor edx, dword [0x1031fef4]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x38], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov eax, ecx
mov dword [ebp - 0x44], edx
shrd eax, edx, 7
xor al, cl
xor byte [esi + str.MI_f], al
inc esi
cmp esi, 0x18
jb 0x100d2d50
lea eax, [ebp - 0x3d]
push eax
push 0x1031fee9
push str.MI_f
lea ecx, [ebp - 0x1c]
call fcn.1004d5e0
push 0
push 1
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.100fdeb0
lea ecx, [ebp - 0x1c]
jmp 0x100d3043
mov esi, dword [0x1035fa2c]
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x1031fef8
call fcn.1004eea0
jmp 0x100d2cae
mov eax, dword [0x1032606c]
test al, 1
jne 0x100d2df9
or eax, 1
mov dword [0x1032606c], eax
mov eax, dword [0x10326064]
mov dword [0x10326068], eax
jmp 0x100d2dfe
mov eax, dword [0x10326068]
cmp dword [eax + esi], 0
jne 0x100d301d
mov eax, dword [0x10326074]
test al, 1
jne 0x100d2e25
or eax, 1
mov dword [0x10326074], eax
mov eax, dword [0x10326060]
mov dword [0x10326070], eax
jmp 0x100d2e2a
mov eax, dword [0x10326070]
cmp dword [eax + esi], 0
jle 0x100d301d
xorps xmm0, xmm0
push 8
movups xmmword [ebp - 0x14], xmm0
call fcn.1010f61a
lea ecx, [ebp - 0x18]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x18], eax
mov dword [eax], ecx
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
add eax, esi
mov dword [ebp - 0x38], eax
cmp esi, eax
je 0x100d2eac
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x44], eax
nop word [eax + eax]
mov ecx, dword [ebp - 0x14]
and eax, esi
push 0xe8b4
push dword [ecx + eax*4]
lea eax, [ebp - 0xe908]
push eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm0, dword [edi + 0x7c]
add esp, 0xc
comiss xmm0, dword [ebp - 0xe8d8]
ja 0x100d2eac
cmp byte [ebp - 0xe906], 0
jne 0x100d2ef6
mov eax, dword [ebp - 0x44]
inc esi
cmp esi, dword [ebp - 0x38]
jne 0x100d2e70
cmp byte [edi + 0xe900], 0
je 0x100d2fd0
mov eax, dword [edi + 0x20]
mov ecx, 0x1031ff38
mov edi, dword [ebp - 0x3c]
inc dword [edi + eax*4 + 0x1500]
lea eax, [ebp - 0x34]
mov esi, dword [0x1035fa2c]
push eax
call fcn.100544c0
push 0
push 1
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.100fdeb0
lea ecx, [ebp - 0x34]
call fcn.10042fa0
jmp 0x100d2ffe
cmp byte [0x1031ff10], 0
mov edi, dword [0x1035fa2c]
je 0x100d2f68
cmp byte [0x1031ff11], 0
jne 0x100d2fb6
mov byte [0x1031ff11], 1
xor esi, esi
nop dword [eax + eax]
xor edx, edx
mov eax, esi
xor eax, dword [0x1031ff30]
xor edx, dword [0x1031ff34]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x38], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov eax, ecx
mov dword [ebp - 0x44], edx
shrd eax, edx, 7
xor al, cl
xor byte [esi + 0x1031ff12], al
inc esi
cmp esi, 0x17
jb 0x100d2f20
jmp 0x100d2fb6
xor esi, esi
nop word [eax + eax]
xor edx, edx
mov eax, esi
xor eax, dword [0x1031ff30]
xor edx, dword [0x1031ff34]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x38], eax
mov ecx, edx
shld ecx, eax, 0xd
shl eax, 0xd
xor edx, ecx
xor dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov eax, ecx
mov dword [ebp - 0x44], edx
shrd eax, edx, 7
xor al, cl
xor byte [esi + 0x1031ff12], al
inc esi
cmp esi, 0x17
jb 0x100d2f70
lea eax, [ebp - 0x3d]
push eax
push 0x1031ff28
push 0x1031ff12
lea ecx, [ebp - 0x34]
call fcn.1004d5e0
mov ecx, edi
jmp 0x100d2fe6
mov esi, dword [0x1035fa2c]
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x1031ff58
call fcn.1004ef70
mov ecx, esi
push 0
push 1
lea eax, [ebp - 0x34]
push eax
call fcn.100fdeb0
lea ecx, [ebp - 0x34]
call fcn.10042fa0
mov edi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x18]
call fcn.1007a5f0
mov eax, dword [ebp - 0x18]
push 8
push eax
mov dword [ebp - 0x18], 0
call fcn.1010f64a
add esp, 8
jmp 0x100d304b
mov esi, dword [0x1035fa2c]
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x1031ff78
call fcn.1004edd0
push 0
push 1
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.100fdeb0
lea ecx, [ebp - 0x34]
call fcn.10042fa0
mov edi, dword [ebp - 0x3c]
push dword [edi + 8]
lea ecx, [edi + 8]
lea eax, [ebp - 0x44]
push eax
call fcn.100d26a0
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1010f972
mov esp, ebp
pop ebp
ret