Function at 0x10035b20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079c18
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x1009f084]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
movzx ecx, word [ebp + 0xc]
movzx eax, word [ebp + 8]
movzx edx, word [ebp + 0x14]
mov dword [ebp - 0x4c], ecx
movzx ecx, word [ebp + 0x10]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 1
test ax, ax
je 0x10035ee9
test cx, cx
je 0x10035ee9
cmp dword [esi + 0x34], 0
jg 0x10035ee9
mov ecx, dword [esi + 8]
lea edx, [ebp + 0x1c]
call fcn.10015710
mov ecx, dword [esi + 0xc]
lea edx, [ebp + 0x34]
call fcn.10015710
mov ebx, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test ebx, ebx
je 0x10035bce
push 4
push ebx
call edi
test eax, eax
jne 0x10035bce
push eax
mov ecx, ebx
call dword [0x100924a4]
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x10035be7
push 4
push ebx
call edi
test eax, eax
jne 0x10035be7
push eax
mov ecx, ebx
call dword [0x100924a4]
mov ebx, dword [ebp - 0x88]
cmp bx, 0xffff
je 0x10035e91
cmp word [ebp - 0x50], 0xffff
je 0x10035e91
push str.symbol_
mov edx, 0x100a88b0
lea ecx, [ebp - 0x2c]
call fcn.1000b670
add esp, 4
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 2
test ax, ax
jne 0x10035c67
movaps xmm0, xmmword [0x10094500]
xor ecx, ecx
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x6c26637a
mov word [ebp - 0x58], 0x7c70
mov byte [ebp - 0x56], al
mov al, byte [ebp - 0x6c]
xor byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 0x15
jb 0x10035c40
lea eax, [ebp - 0x6b]
mov byte [ebp - 0x56], 0
push eax
lea ecx, [ebp - 0xcc]
call fcn.100029b0
mov ebx, 1
jmp 0x10035c9e
cmp dword [ebp - 0x18], 0x10
cwde
push eax
movsx eax, bx
push eax
push 1
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
sub esp, 0x18
mov ecx, esp
push str._ss__d__d__d.dxt
call fcn.100029b0
lea eax, [ebp - 0xb4]
push eax
call fcn.10005a00
add esp, 0x2c
mov ebx, 2
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], ebx
call fcn.10005980
mov dword [ebp - 4], 4
test bl, 2
je 0x10035cc7
and ebx, 0xfffffffd
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x48], ebx
call fcn.10002360
mov byte [ebp - 4], 5
test bl, 1
je 0x10035ce1
and ebx, 0xfffffffe
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x48], ebx
call fcn.10002360
mov ecx, dword [esi + 0x18]
lea edx, [ebp - 0x44]
call fcn.10015670
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x10035d32
push 4
push eax
call edi
test eax, eax
jne 0x10035d32
mov ecx, dword [ebp - 0x4c]
sub esp, 0x20
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [0x1009248c]
mov eax, dword [ebp - 0x54]
test ax, ax
jne 0x10035d8e
movaps xmm0, xmmword [0x10093f40]
xor ecx, ecx
movups xmmword [ebp - 0x84], xmm0
mov dword [ebp - 0x74], 0x216b2e37
mov word [ebp - 0x70], 0x313d
mov byte [ebp - 0x6e], al
nop word [eax + eax]
mov al, byte [ebp - 0x84]
xor byte [ebp + ecx - 0x83], al
inc ecx
cmp ecx, 0x15
jb 0x10035d60
lea eax, [ebp - 0x83]
mov byte [ebp - 0x6e], 0
push eax
lea ecx, [ebp - 0xfc]
call fcn.100029b0
or ebx, 4
jmp 0x10035dfd
cmp dword [ebp - 0x18], 0x10
movaps xmm0, xmmword [0x10093dc0]
cwde
push eax
mov eax, dword [ebp - 0x50]
cwde
push eax
lea eax, [ebp - 0x2c]
mov word [ebp - 0x8c], 0x1e
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
push 1
push eax
movups xmmword [ebp - 0x9c], xmm0
nop dword [eax]
mov al, byte [ebp - 0x9c]
xor byte [ebp + ecx - 0x9b], al
inc ecx
cmp ecx, 0x10
jb 0x10035dc0
sub esp, 0x18
mov byte [ebp - 0x8b], 0
lea eax, [ebp - 0x9b]
mov ecx, esp
push eax
call fcn.100029b0
lea eax, [ebp - 0xe4]
push eax
call fcn.10005a00
add esp, 0x2c
or ebx, 8
push eax
lea ecx, [ebp - 0x44]
call fcn.100074c0
test bl, 8
je 0x10035e19
lea ecx, [ebp - 0xe4]
and ebx, 0xfffffff7
call fcn.10002360
mov dword [ebp - 4], 5
test bl, 4
je 0x10035e30
lea ecx, [ebp - 0xfc]
call fcn.10002360
mov ecx, dword [esi + 0x1c]
lea edx, [ebp - 0x44]
call fcn.10015670
mov ebx, dword [esi + 0x1c]
test ebx, ebx
je 0x10035e7d
push 4
push ebx
call edi
test eax, eax
jne 0x10035e7d
sub esp, 0x20
mov ecx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x3f800000
mov dword [esp + 8], 0x3f800000
mov dword [esp + 4], eax
mov dword [esp], eax
call dword [0x1009248c]
lea ecx, [ebp - 0x44]
call fcn.10002360
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.10002360
mov ebx, dword [esi + 0x20]
test ebx, ebx
je 0x10035eaa
push 4
push ebx
call edi
test eax, eax
jne 0x10035eaa
push eax
mov ecx, ebx
call dword [0x10092478]
mov ebx, dword [esi + 0x24]
test ebx, ebx
je 0x10035ec3
push 4
push ebx
call edi
test eax, eax
jne 0x10035ec3
push eax
mov ecx, ebx
call dword [0x10092478]
mov al, byte [ebp + 0x18]
mov ecx, esi
mov byte [esi + 0x30], al
call fcn.1002f600
mov esi, dword [esi]
test esi, esi
je 0x10035ee9
push 4
push esi
call edi
test eax, eax
jne 0x10035ee9
push 1
mov ecx, esi
call dword [0x10092478]
mov eax, dword [ebp + 0x30]
cmp eax, 0x10
jb 0x10035efe
inc eax
lea ecx, [ebp + 0x1c]
push eax
push dword [ebp + 0x1c]
call fcn.10002790
mov eax, dword [ebp + 0x48]
mov dword [ebp + 0x30], 0xf
mov dword [ebp + 0x2c], 0
mov byte [ebp + 0x1c], 0
cmp eax, 0x10
jb 0x10035f25
inc eax
lea ecx, [ebp + 0x34]
push eax
push dword [ebp + 0x34]
call fcn.10002790
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003bc25
mov esp, ebp
pop ebp
ret 0x44