Function at 0x1001ff00
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 0x100ec4fd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x101090b8]
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 eax, dword [0x101a6a74]
mov esi, 1
movss xmm0, dword [0x100fd99c]
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], ecx
movss dword [ebp - 0x2c], xmm0
cmp dword [eax + 0x18], esi
jl 0x1002031d
nop dword [eax]
cmp dword [ecx], 3
jl 0x1001ff9a
mov eax, dword [0x1012e440]
mov ecx, dword [0x1012e444]
cmp eax, ecx
je 0x1001ff9a
cmp dword [eax], 0
je 0x1001ff92
add eax, 4
cmp eax, ecx
jne 0x1001ff84
jmp 0x1001ff9a
cmp eax, ecx
jne 0x1002031d
mov ecx, dword [0x101a6a18]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
je 0x100202fe
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x100202fe
mov eax, dword [0x101a6c50]
add eax, 0xffffffcb
xor eax, 0x2a974bce
cmp dword [eax + esi], 0
jne 0x100202fe
mov eax, dword [0x101a6bb0]
mov al, byte [eax + esi]
test al, al
jne 0x100202fe
mov ecx, dword [0x101a6c28]
mov edx, dword [0x10128e84]
add ecx, 0xffffffd5
xor ecx, 0x2a974bc4
mov eax, dword [ecx + esi]
cmp eax, dword [ecx + edx]
jne 0x10020022
mov ecx, dword [0x101a6aec]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x100202fe
mov esi, dword [ebp - 0x20]
lea edx, [edi - 0xe8]
imul eax, esi, 0xe8
add edx, eax
mov dword [ebp - 0x24], edx
je 0x10020301
cmp dword [edx + 0x18], 0
je 0x10020301
mov eax, dword [0x1012f1fc]
cmp eax, 0xffffffff
je 0x10020062
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x1013eea0]
test al, al
jne 0x10020121
mov eax, dword [0x101a6c10]
mov edx, dword [0x10128e84]
add eax, 0xffffffdb
mov ecx, dword [ebp - 0x18]
xor eax, 0x2a974bbe
movss xmm1, dword [eax + edx]
movss xmm0, dword [eax + edx + 4]
subss xmm1, dword [eax + ecx]
subss xmm0, dword [eax + ecx + 4]
movss dword [ebp - 0x18], xmm1
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
movss xmm1, dword [ebp - 0x18]
movaps xmm2, xmm0
mulss xmm2, dword [0x100fd8dc]
xorps xmm0, xmm0
comiss xmm1, xmm0
jb 0x100200bc
addss xmm2, dword [0x100fd924]
mov eax, dword [0x10129200]
lea ecx, [ebp - 0x18]
movss xmm0, dword [eax + 0x10]
subss xmm0, xmm2
movss dword [ebp - 0x18], xmm0
call fcn.100cfc20
movss xmm1, dword [ebp - 0x18]
movaps xmm0, xmm1
call fcn.1001cc70
movss xmm2, dword [ebp - 0x2c]
comiss xmm2, xmm0
ja 0x100200fb
ucomiss xmm2, dword [0x100fd99c]
lahf
test ah, 0x44
jp 0x1002011e
movss dword [ebp - 0x2c], xmm0
xor eax, eax
xorps xmm0, xmm0
mov dword [edi + 0x64a54], esi
comiss xmm1, xmm0
seta al
lea eax, [eax*2 - 1]
mov dword [edi + 0x64a58], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [0x1012e440]
mov ecx, dword [0x1012e444]
mov byte [ebp - 0x25], 0
cmp eax, ecx
je 0x10020144
cmp dword [eax], 0
je 0x100201e0
add eax, 4
cmp eax, ecx
jne 0x10020134
mov al, byte [ebp - 0x25]
test al, al
je 0x10020268
movaps xmm0, xmmword [0x100fe0d0]
mov eax, 0x10
pxor xmm0, xmmword [str.JBFID__v]
mov dword [ebp - 0x34], 0x2b580e0b
movups xmmword [ebp - 0x44], xmm0
nop
xor byte [ebp + eax - 0x44], 0x2b
inc eax
cmp eax, 0x14
jb 0x10020170
lea eax, [ebp - 0x20]
push eax
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x5c]
call fcn.10026310
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x64a1c]
cmp ecx, dword [edi + 0x64a20]
je 0x10020217
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
add dword [edi + 0x64a1c], 0x18
jmp 0x10020224
cmp eax, ecx
je 0x10020144
mov eax, dword [edi + 0x3a0c]
mov ecx, dword [edi + 0x3a10]
cmp eax, ecx
je 0x10020144
dec esi
nop dword [eax]
cmp esi, dword [eax]
je 0x10020210
add eax, 4
cmp eax, ecx
jne 0x10020200
jmp 0x10020144
mov al, 1
jmp 0x10020147
push eax
push ecx
lea ecx, [edi + 0x64a18]
call fcn.10027030
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x100202fe
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10020259
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10020317
push edx
push ecx
call fcn.100ea570
add esp, 8
jmp 0x100202fe
mov eax, dword [edx + 0x10]
lea esi, [edx + 8]
mov ecx, dword [esi + 0xc]
dec eax
and ecx, eax
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 4]
push dword [eax + ecx*4]
mov ecx, edi
push edx
call fcn.1001f3b0
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
dec eax
and ecx, eax
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 4]
mov esi, dword [ebp - 0x24]
push dword [eax + ecx*4]
mov ecx, edi
push esi
call fcn.1001fd20
test al, al
jne 0x100202fe
mov eax, dword [ebp - 0x30]
lea ecx, [edi + 0x3a00]
inc dword [eax]
mov eax, dword [edi + 0x3a04]
cmp eax, dword [edi + 0x3a08]
je 0x100202c7
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x100202d1
lea edx, [ebp - 0x24]
push edx
push eax
call fcn.10026450
mov edx, dword [ebp - 0x20]
lea ecx, [edi + 0x3a0c]
mov eax, dword [edi + 0x3a10]
dec edx
mov dword [ebp - 0x18], edx
cmp eax, dword [edi + 0x3a14]
je 0x100202f4
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x100202fe
lea edx, [ebp - 0x18]
push edx
push eax
call fcn.100265b0
mov esi, dword [ebp - 0x20]
mov eax, dword [0x101a6a74]
inc esi
mov dword [ebp - 0x20], esi
cmp esi, dword [eax + 0x18]
jg 0x1002031d
mov ecx, dword [ebp - 0x30]
jmp 0x1001ff70
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
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.100ea0f5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4