Function at 0x10035d50
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x88
call fcn.100781a0
mov eax, dword [0x100a15bc]
push ebx
push ebp
push esi
test eax, eax
push edi
je 0x10035e1c
push 0xd8
push 0x10081668
push 0x12
push 5
call sym.LIBEAY32.dll_CRYPTO_lock
call sym.LIBEAY32.dll_CRYPTO_thread_id
mov ebp, dword [0x100a15c0]
xor ecx, ecx
cmp ebp, eax
push 0xda
sete cl
push 0x10081668
mov esi, ecx
push 0x12
push 6
mov dword [esp + 0x34], esi
call sym.LIBEAY32.dll_CRYPTO_lock
add esp, 0x20
test esi, esi
jne 0x10035dc6
push 0xdf
push 0x10081668
push 0x11
push 9
call sym.LIBEAY32.dll_CRYPTO_lock
add esp, 0x10
mov eax, dword [0x100a15a4]
mov edx, dword [0x100a15a8]
mov ebx, dword [0x100a15ac]
mov ecx, 5
mov esi, 0x100a158c
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xa0]
mov ebp, eax
add eax, esi
mov dword [esp + 0x1c], edx
cmp eax, 0x3ff
mov dword [esp + 0x20], ebx
mov dword [0x100a15a4], eax
jl 0x10035e26
cdq
mov ecx, 0x3ff
idiv ecx
mov dword [0x100a15a0], ecx
mov dword [0x100a15a4], edx
jmp 0x10035e3d
mov dword [esp + 0x14], 0
jmp 0x10035db0
mov ecx, dword [0x100a15a0]
cmp ecx, 0x3ff
jge 0x10035e3d
cmp eax, ecx
jle 0x10035e3d
mov dword [0x100a15a0], eax
mov eax, esi
mov ecx, 0x14
cdq
idiv ecx
xor ecx, ecx
mov eax, 0x66666667
test edx, edx
setg cl
imul esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x14]
add edx, ebx
add edx, ecx
test eax, eax
mov dword [0x100a15ac], edx
jne 0x10035e87
push 0xff
push 0x10081668
push 0x11
push 0xa
call sym.LIBEAY32.dll_CRYPTO_lock
add esp, 0x10
test esi, esi
jle 0x10035fa4
mov ecx, esi
add esi, 0x13
mov eax, 0xcccccccd
mov ebx, dword [esp + 0x9c]
mul esi
shr edx, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
jmp 0x10035eb3
mov ecx, dword [esp + 0x10]
cmp ecx, 0x14
mov esi, ecx
jle 0x10035ebf
mov esi, 0x14
lea ecx, [esp + 0x38]
push ecx
call sym.LIBEAY32.dll_SHA1_Init
lea edx, [esp + 0x28]
push 0x14
lea eax, [esp + 0x40]
push edx
push eax
call sym.LIBEAY32.dll_SHA1_Update
lea edi, [esi + ebp - 0x3ff]
add esp, 0x10
test edi, edi
jle 0x10035f13
mov ecx, esi
lea edx, [ebp + 0x100a1178]
sub ecx, edi
lea eax, [esp + 0x38]
push ecx
push edx
push eax
call sym.LIBEAY32.dll_SHA1_Update
push edi
lea ecx, [esp + 0x48]
push 0x100a1178
push ecx
call sym.LIBEAY32.dll_SHA1_Update
add esp, 0x18
jmp 0x10035f28
lea edx, [ebp + 0x100a1178]
push esi
lea eax, [esp + 0x3c]
push edx
push eax
call sym.LIBEAY32.dll_SHA1_Update
add esp, 0xc
push esi
lea ecx, [esp + 0x3c]
push ebx
push ecx
call sym.LIBEAY32.dll_SHA1_Update
lea edx, [esp + 0x28]
push 8
lea eax, [esp + 0x48]
push edx
push eax
call sym.LIBEAY32.dll_SHA1_Update
lea ecx, [esp + 0x50]
lea edx, [esp + 0x3c]
push ecx
push edx
call sym.LIBEAY32.dll_SHA1_Final
mov edi, dword [esp + 0x40]
add esp, 0x20
inc edi
add ebx, esi
xor eax, eax
mov dword [esp + 0x20], edi
test esi, esi
jle 0x10035f8a
mov cl, byte [esp + eax + 0x24]
mov dl, byte [ebp + 0x100a1178]
xor dl, cl
mov byte [ebp + 0x100a1178], dl
inc ebp
cmp ebp, 0x3ff
jl 0x10035f85
xor ebp, ebp
inc eax
cmp eax, esi
jl 0x10035f68
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
sub ecx, 0x14
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
jne 0x10035eaf
mov esi, dword [esp + 0x14]
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x38]
test esi, esi
rep stosd dword es:[edi], eax
jne 0x10035fcf
push 0x129
push 0x10081668
push 0x11
push 9
call sym.LIBEAY32.dll_CRYPTO_lock
add esp, 0x10
xor eax, eax
mov dl, byte [esp + eax + 0x24]
mov bl, byte [eax + 0x100a158c]
xor bl, dl
mov byte [eax + 0x100a158c], bl
inc eax
cmp eax, 0x14
jb 0x10035fd1
fld qword [0x100a15b0]
fcomp qword [0x10081660]
fnstsw ax
test ah, 1
je 0x1003600f
fld qword [0x100a15b0]
fadd qword [esp + 0xa4]
fstp qword [0x100a15b0]
pop edi
test esi, esi
pop esi
pop ebp
pop ebx
jne 0x1003602d
push 0x134
push 0x10081668
push 0x11
push 0xa
call sym.LIBEAY32.dll_CRYPTO_lock
add esp, 0x10
add esp, 0x88
ret