Function at 0x1001fc20
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e9b09
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4c8
mov eax, dword [0x101040b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x490], edi
mov ecx, dword [edi]
mov eax, dword [0x1013b650]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x494], esi
mov edx, dword [ecx + eax]
mov dword [ebp - 0x4b4], edx
test edx, edx
je 0x10020751
mov eax, dword [0x1013b640]
movss xmm0, dword [ecx + eax]
ucomiss xmm0, dword [edi + 4]
lahf
test ah, 0x44
jnp 0x1001fcb2
mov ecx, edx
call fcn.1001f050
mov eax, dword [0x1013b640]
mov ecx, dword [edi]
mov eax, dword [eax + ecx]
mov dword [edi + 4], eax
mov ecx, dword [0x1013b508]
mov eax, dword [esi + 0x3f8]
movss xmm0, dword [ecx + 0x10]
movss dword [ebp - 0x4b8], xmm0
movss xmm0, dword [ecx + 0x14]
mov dword [ecx + 0x10], eax
mov ecx, dword [0x1013b508]
movss dword [ebp - 0x4bc], xmm0
mov eax, dword [ecx + 0x20]
mov dword [ecx + 0x14], eax
mov eax, dword [0x1013b68c]
mov ecx, dword [edi]
add eax, 0xffffffd6
xor eax, 0xee847b71
movss xmm0, dword [eax + ecx]
movss dword [ebp - 0x330], xmm0
movss xmm0, dword [eax + ecx + 4]
movss dword [ebp - 0x32c], xmm0
movss xmm0, dword [eax + ecx + 8]
movss dword [ebp - 0x328], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [edi]
mov ecx, 0xb6
lea edi, [ebp - 0x2f0]
movss xmm0, dword [eax]
movss dword [ebp - 0x324], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x320], xmm0
movss xmm0, dword [eax + 8]
mov eax, dword [0x1013b694]
add eax, 0xffffffd4
movss dword [ebp - 0x31c], xmm0
xor eax, 0xee847b73
movss xmm0, dword [eax + edx]
movss dword [ebp - 0x318], xmm0
movss xmm0, dword [eax + edx + 4]
movss dword [ebp - 0x314], xmm0
movss xmm0, dword [eax + edx + 8]
mov eax, dword [0x1013b6c4]
add eax, 0xffffffc8
movss dword [ebp - 0x310], xmm0
xor eax, 0xee847b7f
movss xmm0, dword [eax + edx]
movss dword [ebp - 0x30c], xmm0
movss xmm0, dword [eax + edx + 4]
movss dword [ebp - 0x308], xmm0
movss xmm0, dword [eax + edx + 8]
mov eax, dword [0x1013b6cc]
add eax, 0xffffffc6
movss dword [ebp - 0x304], xmm0
xor eax, 0xee847b81
mov eax, dword [eax + edx]
mov dword [ebp - 0x300], eax
mov eax, dword [0x1013b754]
add eax, 0xffffffa4
xor eax, 0xee847ba3
mov eax, dword [eax + edx]
mov dword [ebp - 0x2fc], eax
mov eax, dword [0x1013b6f8]
add eax, 0xffffffbb
xor eax, 0xee847b8c
movss xmm0, dword [eax + edx]
mov eax, dword [0x1013b704]
add eax, 0xffffffb8
movss dword [ebp - 0x2f8], xmm0
xor eax, 0xee847b8f
movss xmm0, dword [eax + edx]
mov eax, dword [0x1013b63c]
movss dword [ebp - 0x2f4], xmm0
mov esi, dword [edx + eax]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [edx + 8]
lea ecx, [edx + 8]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [0x1013b4ac]
lea esi, [ebp - 0x488]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
push esi
push eax
call edx
mov edi, dword [ebp - 0x494]
mov dl, al
movss xmm7, dword [0x100f7f64]
neg dl
mov esi, dword [ebp - 0x490]
xorps xmm5, xmm5
sbb dl, dl
mov ecx, dword [edi + 0xc]
and dl, byte [ebp - 0x34c]
dec ecx
mov byte [ebp - 0x489], dl
mov byte [edi + 0x3f0], 0
mov dword [edi + 0x3ec], 0
cmp ecx, 0xe
ja 0x1001ff84
cmp dword [esi + 0x18], 2
jb 0x1001ff84
lea ecx, [esi + 8]
push 1
call fcn.10024550
mov ecx, dword [eax]
test ecx, ecx
je 0x1001ff7e
cmp byte [ecx + 0x10], 0
jne 0x1001ff7e
movss xmm4, dword [edi + 0x14]
subss xmm4, dword [ecx + 0x14]
movss dword [edi + 0x418], xmm4
movaps xmm0, xmm4
mov eax, dword [0x1013b508]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x100f7f1c]
cvttss2si edx, xmm0
mov dword [edi + 0xc], edx
lea eax, [edx - 1]
cmp eax, 0x13
jg 0x1001ff02
movss xmm0, dword [ecx + 0x14]
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jp 0x1001ff20
mov eax, dword [0x1013b508]
mov edx, 1
movss xmm4, dword [eax + 0x20]
movss dword [edi + 0x418], xmm4
mov dword [edi + 0xc], 1
cmp edx, 1
jge 0x1001ff3e
mov eax, dword [0x1013b508]
movss xmm4, dword [eax + 0x20]
movss dword [edi + 0x418], xmm4
mov dword [edi + 0xc], 1
movss xmm3, dword [edi + 0x20]
movaps xmm0, xmm7
movss xmm2, dword [edi + 0x24]
movss xmm1, dword [edi + 0x28]
subss xmm3, dword [ecx + 0x20]
subss xmm2, dword [ecx + 0x24]
subss xmm1, dword [ecx + 0x28]
divss xmm0, xmm4
mulss xmm3, xmm0
mulss xmm2, xmm0
mulss xmm1, xmm0
movss dword [edi + 0x38], xmm3
movss dword [edi + 0x3c], xmm2
movss dword [edi + 0x40], xmm1
mov dl, byte [ebp - 0x489]
mov eax, dword [edi + 0x38]
mov dword [edi + 0x3b4], eax
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x3b8], eax
mov eax, dword [edi + 0x40]
mov dword [edi + 0x3bc], eax
cmp dword [edi + 0xc], 1
jle 0x10020289
test dl, dl
jne 0x10020289
movss xmm2, dword [edi + 0x3c]
movss xmm0, dword [edi + 0x38]
movss xmm1, dword [edi + 0x40]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.1001eaf0
comiss xmm0, dword [0x100f7ec4]
jbe 0x10020022
movss xmm0, dword [edi + 0x1ec]
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jp 0x10020022
movss xmm0, dword [edi + 0x33c]
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jp 0x10020022
movss xmm0, dword [0x100f7e70]
comiss xmm0, dword [edi + 0x1f4]
jbe 0x10020022
test byte [edi + 0x1c], 1
je 0x10020022
mov byte [edi + 0x3f0], 1
cmp byte [edi + 0x3f0], 0
je 0x1002005c
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3b4], 0
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x3b8], eax
mov eax, dword [edi + 0x40]
mov dword [edi + 0x3bc], eax
cmp dword [esi + 0x18], 2
jb 0x10020289
lea ecx, [esi + 8]
push 1
call fcn.10024550
mov edx, dword [eax]
mov dword [ebp - 0x494], edx
test edx, edx
je 0x10020289
cmp byte [edx + 0x10], 0
jne 0x10020289
mov ecx, dword [0x1013b6cc]
mov eax, dword [esi]
add ecx, 0xffffffc6
mov edx, dword [edx + 0x1c]
xor ecx, 0xee847b81
mov dword [ecx + eax], edx
mov ecx, dword [0x1013b6cc]
mov eax, dword [esi]
add ecx, 0xffffffc6
mov edx, dword [ebp - 0x494]
xor ecx, 0xee847b81
and dword [ecx + eax], 0xfffffffe
test byte [edi + 0x1c], 1
je 0x100200dd
test byte [edx + 0x1c], 1
je 0x100200dd
mov ecx, dword [0x1013b6cc]
mov eax, dword [esi]
add ecx, 0xffffffc6
xor ecx, 0xee847b81
or dword [ecx + eax], 1
movss xmm0, dword [edi + 0x17c]
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jnp 0x10020125
movss xmm0, dword [edx + 0x17c]
ucomiss xmm0, xmm7
lahf
test ah, 0x44
jp 0x10020125
movss xmm0, dword [edi + 0x1b4]
ucomiss xmm0, xmm5
lahf
test ah, 0x44
jnp 0x10020125
mov ecx, dword [0x1013b6cc]
mov eax, dword [esi]
add ecx, 0xffffffc6
xor ecx, 0xee847b81
or dword [ecx + eax], 1
test byte [edi + 0x1c], 1
je 0x10020146
test byte [edx + 0x1c], 1
jne 0x10020146
mov ecx, dword [0x1013b6cc]
mov eax, dword [esi]
add ecx, 0xffffffc6
xor ecx, 0xee847b81
and dword [ecx + eax], 0xfffffffe
movss xmm0, dword [edi + 0x14]
subss xmm0, dword [edx + 0x14]
movss xmm2, dword [edx + 0x78]
movss xmm1, dword [edi + 0x78]
mov eax, dword [0x1013b508]
subss xmm1, xmm2
mov ecx, dword [0x1013b6f8]
divss xmm7, xmm0
add ecx, 0xffffffbb
xor ecx, 0xee847b8c
movaps xmm0, xmm7
mulss xmm0, xmm1
mulss xmm0, dword [eax + 0x20]
mov eax, dword [esi]
addss xmm2, xmm0
movss dword [ecx + eax], xmm2
cmp byte [edi + 0x3f0], 0
jne 0x1002020c
movss xmm6, dword [edx + 0x38]
movaps xmm3, xmm7
movss xmm2, dword [edi + 0x38]
movss xmm5, dword [edx + 0x3c]
subss xmm2, xmm6
movss xmm4, dword [edx + 0x40]
movss xmm0, dword [edi + 0x40]
movss xmm1, dword [edi + 0x3c]
subss xmm0, xmm4
mov eax, dword [0x1013b508]
subss xmm1, xmm5
mulss xmm3, xmm2
movaps xmm2, xmm7
mulss xmm7, xmm0
movss xmm0, dword [eax + 0x20]
mulss xmm2, xmm1
mulss xmm3, xmm0
mulss xmm2, xmm0
mulss xmm7, xmm0
addss xmm6, xmm3
addss xmm5, xmm2
addss xmm4, xmm7
movss dword [edi + 0x3b4], xmm6
movss dword [edi + 0x3b8], xmm5
movss dword [edi + 0x3bc], xmm4
movss xmm2, dword [edi + 0x20]
subss xmm2, dword [edx + 0x20]
movss xmm4, dword [0x100f814c]
movss xmm0, dword [edi + 0x24]
movss xmm1, dword [edi + 0x28]
subss xmm0, dword [edx + 0x24]
comiss xmm2, xmm4
subss xmm1, dword [edx + 0x28]
jbe 0x10020289
movss xmm3, dword [0x100f7e8c]
comiss xmm3, xmm2
jbe 0x10020289
comiss xmm0, xmm4
jbe 0x10020289
comiss xmm3, xmm0
jbe 0x10020289
comiss xmm1, xmm4
jbe 0x10020289
comiss xmm3, xmm1
jbe 0x10020289
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3b4], 0
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x3b8], eax
mov eax, dword [edi + 0x40]
mov dword [edi + 0x3bc], eax
mov eax, dword [0x10140910]
test al, 1
jne 0x100203e0
or eax, 1
mov dword [0x10140910], eax
push 0x100f2950
mov dword [ebp - 4], 0
call fcn.100e7ca5
movaps xmm0, xmmword [0x100f8660]
add esp, 4
pxor xmm0, xmmword [0x100f82d0]
mov eax, 0x10
mov dword [ebp - 0x4a0], 0x17031a1b
mov dword [ebp - 0x49c], 0x13140314
mov byte [ebp - 0x498], 0x23
movups xmmword [ebp - 0x4b0], xmm0
nop dword [eax + eax]
xor byte [ebp + eax - 0x4b0], 0x23
inc eax
cmp eax, 0x19
jb 0x100202f0
lea ecx, [ebp - 0x4b0]
mov dword [ebp - 0x4c4], 0
mov dword [ebp - 0x4c0], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x4d4], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10020322
sub ecx, edx
lea eax, [ebp - 0x4b0]
push ecx
push eax
lea ecx, [ebp - 0x4d4]
call fcn.10025140
mov byte [ebp - 4], 1
mov edx, dword [0x1013b464]
test edx, edx
je 0x10020351
mov edx, dword [edx + 0x50]
jmp 0x10020353
xor edx, edx
mov eax, dword [0x1013b45c]
test eax, eax
je 0x10020361
mov eax, dword [eax + 0x18]
jmp 0x10020363
xor eax, eax
lea ecx, [ebp - 0x4d4]
push ecx
push eax
lea ecx, [ebp - 0x494]
call fcn.1001ec40
mov eax, dword [ebp - 0x494]
add esp, 8
test eax, eax
je 0x10020388
add eax, 2
jmp 0x1002038a
xor eax, eax
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x4c0]
mov dword [0x1014091c], eax
mov dword [0x10140918], 0x1014091c
cmp edx, 0x10
jb 0x100203d9
mov ecx, dword [ebp - 0x4d4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100203cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100203cf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100e7cba
add esp, 8
mov dword [ebp - 4], 0xffffffff
xor edx, edx
mov ecx, dword [esi]
mov eax, dword [0x1013b63c]
mov eax, dword [ecx + eax]
mov dword [eax + edx + 0x30], ecx
add edx, 0x38
cmp edx, 0x2d8
jl 0x100203e2
cmp byte [ebp - 0x489], 0
jne 0x1002041e
cmp byte [0x10129080], 0
je 0x1002041e
push edi
push dword [esi]
mov byte [ebp - 0x489], 1
call fcn.100d8fa0
jmp 0x10020425
mov byte [ebp - 0x489], 0
mov ecx, dword [0x1013b68c]
mov eax, dword [edi + 0x20]
add ecx, 0xffffffd6
xor ecx, 0xee847b71
add ecx, dword [esi]
mov dword [ecx], eax
mov eax, dword [edi + 0x24]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x28]
mov dword [ecx + 8], eax
mov edx, dword [0x1013b6c4]
movss xmm0, dword [edi + 0x3b4]
add edx, 0xffffffc8
xor edx, 0xee847b7f
add edx, dword [esi]
movss dword [edx], xmm0
mov eax, dword [edi + 0x3b8]
mov dword [edx + 4], eax
mov eax, dword [edi + 0x3bc]
mov dword [edx + 8], eax
mov ecx, dword [0x1013b694]
add ecx, 0xffffffd4
xor ecx, 0xee847b73
add ecx, dword [esi]
movss dword [ecx], xmm0
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov edx, dword [0x1013b704]
mov ecx, dword [esi]
add edx, 0xffffffb8
mov eax, dword [edi + 0x74]
xor edx, 0xee847b8f
mov dword [edx + ecx], eax
mov ecx, dword [0x1013b754]
mov eax, dword [esi]
add ecx, 0xffffffa4
xor ecx, 0xee847ba3
and dword [ecx + eax], 0xffffefff
mov ecx, dword [0x1013b754]
mov eax, dword [esi]
add ecx, 0xffffffa4
xor ecx, 0xee847ba3
and dword [ecx + eax], 0xffffe7ff
mov ecx, dword [0x1013b738]
mov eax, dword [edi + 0x5c]
add ecx, 0xffffffab
xor ecx, 0xee847b9c
add ecx, dword [esi]
mov dword [ecx], eax
mov eax, dword [edi + 0x60]
mov dword [ecx + 4], eax
mov eax, dword [edi + 0x64]
mov dword [ecx + 8], eax
mov eax, dword [0x1013b508]
mov ecx, dword [ebp - 0x4b4]
mov eax, dword [eax + 4]
cmp dword [ecx + 0x70], eax
jl 0x10020517
dec eax
mov dword [ecx + 0x70], eax
mov edx, dword [ebp - 0x490]
mov ecx, dword [0x1013b710]
mov esi, dword [0x10140918]
add ecx, 0xffffffb5
xor ecx, 0xee847b92
mov eax, dword [edx]
mov esi, dword [esi]
mov byte [ecx + eax], 1
mov ecx, dword [edx]
mov eax, dword [ecx]
mov eax, dword [eax + 0x368]
call eax
mov ecx, dword [0x1013b710]
mov edx, dword [ebp - 0x490]
add ecx, 0xffffffb5
xor ecx, 0xee847b92
cmp byte [ebp - 0x489], 0
mov eax, dword [edx]
mov byte [ecx + eax], 0
mov eax, dword [0x10140918]
mov dword [eax], esi
mov esi, edx
je 0x1002057b
push edi
push dword [esi]
call fcn.100da2e0
mov eax, dword [0x1013b758]
add eax, 0xffffffa3
xor eax, 0xee847ba4
add eax, dword [esi]
movups xmm0, xmmword [eax]
movups xmmword [edi + 0x354], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [edi + 0x364], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [edi + 0x374], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [edi + 0x384], xmm0
movups xmm0, xmmword [eax + 0x40]
movups xmmword [edi + 0x394], xmm0
movups xmm0, xmmword [eax + 0x50]
movups xmmword [edi + 0x3a4], xmm0
mov ecx, dword [esi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
movss xmm0, dword [ebp - 0x330]
mov ecx, dword [eax]
mov dword [edi + 0x68], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 0x6c], ecx
mov eax, dword [eax + 8]
mov dword [edi + 0x70], eax
mov eax, dword [0x1013b68c]
add eax, 0xffffffd6
xor eax, 0xee847b71
add eax, dword [esi]
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x32c]
movss dword [eax + 4], xmm0
movss xmm0, dword [ebp - 0x328]
movss dword [eax + 8], xmm0
mov eax, dword [0x1013b694]
movss xmm0, dword [ebp - 0x318]
add eax, 0xffffffd4
xor eax, 0xee847b73
add eax, dword [esi]
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x314]
movss dword [eax + 4], xmm0
movss xmm0, dword [ebp - 0x310]
movss dword [eax + 8], xmm0
mov eax, dword [0x1013b6c4]
movss xmm0, dword [ebp - 0x30c]
add eax, 0xffffffc8
xor eax, 0xee847b7f
add eax, dword [esi]
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x308]
movss dword [eax + 4], xmm0
movss xmm0, dword [ebp - 0x304]
movss dword [eax + 8], xmm0
mov edx, dword [0x1013b6cc]
mov ecx, dword [esi]
add edx, 0xffffffc6
mov eax, dword [ebp - 0x300]
xor edx, 0xee847b81
mov dword [edx + ecx], eax
mov edx, dword [0x1013b754]
mov ecx, dword [esi]
add edx, 0xffffffa4
mov eax, dword [ebp - 0x2fc]
xor edx, 0xee847ba3
mov dword [edx + ecx], eax
mov ecx, dword [0x1013b6f8]
mov eax, dword [esi]
add ecx, 0xffffffbb
movss xmm0, dword [ebp - 0x2f8]
xor ecx, 0xee847b8c
movss dword [ecx + eax], xmm0
mov edx, dword [0x1013b704]
mov eax, dword [esi]
add edx, 0xffffffb8
movss xmm0, dword [ebp - 0x2f4]
xor edx, 0xee847b8f
movss dword [edx + eax], xmm0
mov eax, dword [0x1013b5d0]
mov ecx, dword [esi]
lea edx, [ebp - 0x324]
push edx
call eax
mov eax, dword [esi]
mov ecx, 0xb6
mov edi, dword [0x1013b63c]
lea esi, [ebp - 0x2f0]
movss xmm0, dword [ebp - 0x4b8]
mov edx, dword [ebp - 0x490]
push 8
mov edi, dword [edi + eax]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x1013b508]
movss dword [eax + 0x10], xmm0
mov eax, dword [0x1013b508]
movss xmm0, dword [ebp - 0x4bc]
movss dword [eax + 0x14], xmm0
mov eax, dword [0x1013b60c]
mov ecx, dword [edx]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100e7827
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4