Function at 0x100357b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009a6d6
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x100bd078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [ebx]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov al, byte [ebp + 0x10]
mov byte [ebp - 0x41], al
mov dword [ebp - 0x50], esi
test edi, edi
je 0x10035b11
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10035b11
push 4
add edi, 0xfc
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10035b11
mov al, byte [edi]
test al, al
je 0x10035b11
cmp dword [ebp + 8], 0
je 0x10035b11
cmp byte [ebp - 0x41], 8
jae 0x10035b11
mov ecx, 0xd78c9c
call fcn.100173f0
cmp byte [eax + 0x64c], 0
je 0x10035b11
cmp dword [0x100c19b4], 0
je 0x10035b11
mov eax, dword [ebx]
mov eax, dword [eax + 0x164]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x10035b11
call fcn.10011e90
movzx ecx, byte [ebp - 0x41]
mov edi, eax
mov ecx, dword [ebx + ecx*4 + 4]
test ecx, ecx
je 0x10035b11
push edx
mov edx, edi
call fcn.100167b0
add esp, 4
test al, al
je 0x10035b11
mov eax, dword [0x100c19b4]
mov edx, esi
push 0x2c
cmp dword [eax + 0x44], esi
jae 0x100359a7
lea ecx, [ebp - 0xa4]
call fcn.10012630
add esp, 4
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x100358d2
mov eax, dword [eax]
movaps xmm0, xmmword [0x100b17b0]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x20262c37
mov dword [ebp - 0x58], 0x60657f65
mov word [ebp - 0x54], 0x36
mov al, byte [ebp - 0x6c]
xor byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 0x18
jb 0x100358f4
sub esp, 0x18
mov byte [ebp - 0x53], 0
lea eax, [ebp - 0x6b]
mov ecx, esp
push eax
call fcn.10002980
lea eax, [ebp - 0x28]
push eax
call fcn.10009ac0
add esp, 0x20
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.10002340
cmp dword [ebp - 0x14], 0x10
lea ebx, [ebp - 0x28]
cmovae ebx, dword [ebp - 0x28]
lea ecx, [ebx + 1]
nop dword [eax]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10035940
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.1006823e
push esi
mov edi, eax
push 0
push edi
call fcn.10080320
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push ebx
cmovae ecx, dword [ebp - 0x28]
lea esi, [edi + 0x20]
push ecx
push esi
call fcn.100808c0
mov eax, dword [ebp - 0x48]
mov dword [edi + 4], esi
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], 0x1f
push edi
mov dword [eax], edi
call fcn.10068239
mov edx, dword [ebp - 0x4c]
add esp, 0x20
mov ecx, dword [ebp + 8]
mov edx, dword [edx + 0x144]
call fcn.100171b0
lea ecx, [ebp - 0x28]
jmp 0x10035b0c
lea ecx, [ebp - 0xbc]
call fcn.10012630
add esp, 4
mov dword [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x100359c4
mov eax, dword [eax]
movaps xmm0, xmmword [0x100b1b60]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], 0x191f150e
mov dword [ebp - 0x74], 0x595c465c
mov word [ebp - 0x70], 0xf
nop dword [eax]
mov al, byte [ebp - 0x88]
xor byte [ebp + ecx - 0x87], al
inc ecx
cmp ecx, 0x18
jb 0x100359f0
sub esp, 0x18
mov byte [ebp - 0x6f], 0
lea eax, [ebp - 0x87]
mov ecx, esp
push eax
call fcn.10002980
lea eax, [ebp - 0x40]
push eax
call fcn.10009ac0
add esp, 0x20
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 5
call fcn.10002340
cmp dword [ebp - 0x2c], 0x10
lea ebx, [ebp - 0x40]
cmovae ebx, dword [ebp - 0x40]
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10035a41
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.1006823e
push esi
mov edi, eax
push 0
push edi
call fcn.10080320
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
push ebx
cmovae ecx, dword [ebp - 0x40]
lea esi, [edi + 0x20]
push ecx
push esi
call fcn.100808c0
mov eax, dword [ebp - 0x48]
mov dword [edi + 4], esi
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], 0x1f
push edi
mov dword [eax], edi
call fcn.10068239
mov edx, dword [ebp - 0x4c]
add esp, 0x20
mov ecx, dword [ebp - 0x50]
mov edx, dword [edx + 0x140]
cmp ecx, 0x3b9aca00
jl 0x10035aaa
mov edx, 0xff00fff6
jmp 0x10035b01
cmp ecx, 0x5f5e100
jl 0x10035ab9
mov edx, 0xffff00ea
jmp 0x10035b01
cmp ecx, 0x989680
jl 0x10035ac8
mov edx, 0xfffc9601
jmp 0x10035b01
cmp ecx, 0xf4240
jl 0x10035ad7
mov edx, 0xff00d939
jmp 0x10035b01
cmp ecx, 0x186a0
jge 0x10035b01
cmp ecx, 0x2710
jge 0x10035aa3
cmp ecx, 0x3e8
jge 0x10035ab2
cmp ecx, 0x64
jge 0x10035ac1
cmp ecx, 0xa
mov eax, 0xff00d939
cmovl eax, edx
mov edx, eax
mov ecx, dword [ebp + 8]
call fcn.100171b0
lea ecx, [ebp - 0x40]
call fcn.10002340
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10067c75
mov esp, ebp
pop ebp
ret 0x10