Function at 0x10035cb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10314c09
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x1043900c]
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 - 0x34], edi
mov eax, dword fs:[0x2c]
mov ecx, dword [0x104c14e0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x106105a0]
cmp eax, dword [ecx + 4]
jg 0x100360eb
jmp 0x10035d0e
mov al, byte [ecx]
inc ecx
test al, al
je 0x100361cd
jmp 0x10035d01
mov ecx, dword [0x1060b288]
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
test al, al
je 0x100360b9
mov ecx, dword [0x1060b288]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100360b9
cmp byte [0x1060f4f9], 0
je 0x100360d0
mov ecx, dword [edi + 4]
mov eax, ecx
mov edx, dword [edi]
sub eax, edx
sar eax, 3
imul eax, eax, 0xcccccccd
cmp eax, 6
jbe 0x10035e39
mov dword [ebp - 0x30], ecx
add edx, 0x28
mov dword [ebp - 0x2c], edx
cmp edx, ecx
je 0x10035dcc
lea edi, [edx - 0xc]
lea eax, [edi - 0x1c]
cmp eax, edx
je 0x10035da4
lea ecx, [edi - 0x1c]
call fcn.10019dd0
mov edx, dword [ebp - 0x2c]
movups xmm0, xmmword [edx]
movups xmmword [edi - 0x1c], xmm0
movq xmm0, qword [edx + 0x10]
movq qword [edi - 0xc], xmm0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0xf
mov byte [edx], 0
mov eax, dword [edi + 0x24]
add edx, 0x28
mov dword [edi - 4], eax
mov eax, dword [edi + 0x28]
mov dword [edi], eax
mov eax, dword [edi + 0x2c]
mov dword [edi + 4], eax
mov eax, dword [edi + 0x30]
mov dword [edi + 8], eax
add edi, 0x28
mov dword [ebp - 0x2c], edx
cmp edx, dword [ebp - 0x30]
jne 0x10035d70
mov edi, dword [ebp - 0x34]
mov esi, dword [edi + 4]
mov ecx, dword [esi - 0x14]
cmp ecx, 0x10
jb 0x10035e03
mov eax, dword [esi - 0x28]
inc ecx
cmp ecx, 0x1000
jb 0x10035df9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003609f
mov eax, edx
push ecx
push eax
call fcn.102bb95a
add esp, 8
mov dword [esi - 0x18], 0
mov dword [esi - 0x14], 0xf
mov byte [esi - 0x28], 0
mov ecx, dword [edi + 4]
add ecx, 0xffffffd8
mov dword [edi + 4], ecx
mov eax, ecx
mov edx, dword [edi]
sub eax, edx
sar eax, 3
imul eax, eax, 0xcccccccd
mov dword [ebp - 0x30], ecx
cmp eax, 6
ja 0x10035d63
sub ecx, edx
sar ecx, 3
imul eax, ecx, 0xcccccccd
sub eax, 1
mov dword [ebp - 0x40], eax
js 0x10036066
lea ecx, [eax + eax*4]
mov dword [ebp - 0x48], 0xff
lea eax, [eax + eax*4]
shl ecx, 3
lea eax, [eax*4 + 5]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x54], 0xff
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x34], eax
mov esi, dword [edi]
add esi, ecx
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [0x1041ef00]
mov esi, dword [ebp - 0x2c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x1041ec58]
comiss xmm1, xmm0
jb 0x10035ec6
mov eax, dword [edi]
movss xmm0, dword [esi + eax + 0x24]
subss xmm0, dword [0x1041ef48]
movss dword [esi + eax + 0x24], xmm0
mov ecx, dword [0x10610c50]
call fcn.10082350
mov eax, dword [edi]
add eax, esi
cmp dword [eax + 0x14], 0x10
jb 0x10035edd
mov eax, dword [eax]
mov ecx, dword [0x1060b300]
test eax, eax
je 0x10035f27
movss xmm2, dword [ecx + 0x1930]
push ecx
push 0
push eax
push ecx
mov ecx, dword [ecx + 0x192c]
lea eax, [ebp - 0x5c]
mov dword [esp], 0xbf800000
push eax
call fcn.10099dd0
movss xmm0, dword [ebp - 0x5c]
addss xmm0, dword [0x1041edbc]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x5c], xmm0
call fcn.10082420
mov eax, dword [edi]
add eax, esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
cmp dword [eax + 0x14], 0x10
jb 0x10035f41
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
cvttss2si edx, dword [eax + 0x24]
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
test edx, edx
mov dword [ebp - 0x2c], edx
cmovns ecx, eax
cmp edx, 0xff
lea eax, [ebp - 0x48]
cmovle eax, ecx
push dword [eax]
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x20]
mov eax, ecx
shr eax, 0x10
movzx eax, al
push eax
mov eax, ecx
shr eax, 8
movzx eax, al
push eax
movzx eax, cl
lea ecx, [ebp - 0x4c]
push eax
call fcn.1001d300
push dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
push dword [0x10610c50]
inc eax
push 0
push dword [ebp - 0x4c]
movd xmm0, eax
sub esp, 8
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
mov dword [esp], 0x41600000
push dword [0x1060b61c]
call fcn.100bc250
mov eax, dword [edi]
add esp, 0x1c
add eax, esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
cmp dword [eax + 0x14], 0x10
jb 0x10035fd2
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
cvttss2si edx, dword [eax + 0x24]
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x50]
test edx, edx
mov dword [ebp - 0x38], edx
cmovns ecx, eax
cmp edx, 0xff
lea eax, [ebp - 0x54]
cmovle eax, ecx
push dword [eax]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x1c]
mov eax, ecx
shr eax, 0x10
movzx eax, al
push eax
mov eax, ecx
shr eax, 8
movzx eax, al
push eax
movzx eax, cl
lea ecx, [ebp - 0x3c]
push eax
call fcn.1001d300
push dword [ebp - 0x30]
movd xmm0, dword [ebp - 0x34]
push dword [0x10610c50]
cvtdq2ps xmm0, xmm0
push 0
push dword [ebp - 0x3c]
sub esp, 8
movss dword [esp + 4], xmm0
mov dword [esp], 0x41700000
push dword [0x1060b61c]
call fcn.100bc250
mov eax, dword [ebp - 0x40]
sub esi, 0x28
sub dword [ebp - 0x34], 0x14
dec eax
add esp, 0x1c
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x2c], esi
mov ecx, esi
test eax, eax
jns 0x10035e82
mov eax, dword [edi + 4]
mov edx, dword [edi]
sub eax, edx
sar eax, 3
imul ecx, eax, 0xcccccccd
sub ecx, 1
js 0x100360d0
lea eax, [ecx + ecx*4]
xorps xmm0, xmm0
lea eax, [eax*8 + 0x24]
add eax, edx
nop word [eax + eax]
comiss xmm0, dword [eax]
jae 0x100360a5
sub eax, 0x28
sub ecx, 1
jns 0x10036090
jmp 0x100360d0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea eax, [ecx + ecx*4]
mov ecx, edi
lea eax, [edx + eax*8]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10069a90
jmp 0x100360d0
mov ecx, dword [edi]
mov edx, dword [edi + 4]
cmp ecx, edx
je 0x100360d0
push ecx
call fcn.1006e6e0
mov eax, dword [edi]
add esp, 4
mov dword [edi + 4], eax
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.102bb91c
mov esp, ebp
pop ebp
ret
push 0x106105a0
call fcn.102bba07
add esp, 4
cmp dword [0x106105a0], 0xffffffff
jne 0x10035d0e
mov dword [ebp - 4], 0
cmp byte [0x104a1d20], 0
jne 0x10036183
mov byte [0x104a1d20], 1
xor edi, edi
jmp 0x10036120
xor edx, edx
mov eax, edi
xor eax, dword [0x104a1d30]
xor edx, dword [0x104a1d34]
xor eax, 0x1de26cd5
xor edx, 0xd28f2c5
mov dword [ebp - 0x2c], eax
mov esi, dword [ebp - 0x2c]
mov ecx, edx
shld ecx, eax, 0xd
xor edx, ecx
shl eax, 0xd
xor esi, eax
mov ecx, edx
mov eax, esi
shrd eax, ecx, 7
shr ecx, 7
xor esi, eax
xor edx, ecx
mov dword [ebp - 0x2c], esi
mov ecx, esi
shld edx, ecx, 0x11
shl ecx, 0x11
xor cl, byte [edi + 0x104a1d21]
xor cl, byte [ebp - 0x2c]
mov byte [edi + 0x104a1d21], cl
inc edi
cmp edi, 0xb
jb 0x10036120
mov edi, dword [ebp - 0x34]
jmp 0x10036183
push ecx
push 0x104a1d2b
push 0x104a1d21
lea ecx, [ebp - 0x28]
call fcn.1001a620
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
xorps xmm0, xmm0
movups xmmword [0x10610c34], xmm0
cmovae edx, dword [ebp - 0x28]
mov ecx, edx
mov dword [0x10610c44], 0
mov dword [0x10610c48], 0
lea esi, [ecx + 1]
jmp 0x10035d01
sub ecx, esi
push ecx
push edx
mov ecx, 0x10610c34
call fcn.1001a920
lea ecx, [ebp - 0x28]
call fcn.10019dd0
push 0x1032faf0
call fcn.102bbda4
push 0x106105a0
mov dword [ebp - 4], 0xffffffff
call fcn.102bb9b6
add esp, 8
jmp 0x10035d0e