Function at 0x10035d60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063768
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x10077604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
movzx eax, word [ebx + 0x138]
xor ecx, ecx
movzx edx, word [ebx + 0x136]
movaps xmm0, xmmword [0x10069c90]
push eax
mov word [ebx + 0x142], dx
mov word [ebx + 0x144], ax
push edx
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x19541518
mov byte [ebp - 0x28], 0
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x13
jb 0x10035dc3
sub esp, 0x18
mov byte [ebp - 0x28], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10035df1
mov eax, dword [edx]
jmp 0x10035df3
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x3b], 0
jne 0x10035e00
xor ecx, ecx
jmp 0x10035e0f
lea ecx, [ebp - 0x3b]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035e06
sub ecx, esi
push ecx
lea eax, [ebp - 0x3b]
mov ecx, edx
push eax
call fcn.10002800
lea eax, [ebp - 0x6c]
push eax
call fcn.100322e0
push eax
push dword [ebx + 0xc]
mov dword [ebp - 4], 0
call fcn.100136d0
mov eax, dword [ebp - 0x58]
add esp, 0x2c
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x10035e55
inc eax
push 1
push eax
push dword [ebp - 0x6c]
call fcn.10002610
add esp, 0xc
lea edi, [ebx + 0x12a]
lea esi, [ebx + 0x44]
mov dword [ebp - 0x10], edi
mov ebx, 3
mov dword [ebp - 0x14], ebx
nop dword [eax]
movzx eax, word [edi - 6]
mov dword [esi], eax
mov ax, word [edi]
push dword [esi]
mov word [esi + 4], ax
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 0x13b]
mov byte [esi + 6], al
call fcn.10007ff0
add esp, 4
test eax, eax
je 0x10035f78
movzx eax, word [esi + 4]
mov cl, 0x67
push eax
mov dword [ebp - 0x38], 0x9122f67
xor eax, eax
mov dword [ebp - 0x34], 0x474a4713
mov dword [ebp - 0x30], 0x47484757
mov word [ebp - 0x2c], 0x342
mov byte [ebp - 0x2a], 0
xor byte [ebp + eax - 0x37], cl
inc eax
cmp eax, 0xd
jae 0x10035ed2
mov cl, byte [ebp - 0x38]
jmp 0x10035ec3
sub esp, 0x18
mov byte [ebp - 0x2a], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10035ef3
mov eax, dword [edx]
jmp 0x10035ef5
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x37], 0
jne 0x10035f02
xor ecx, ecx
jmp 0x10035f14
lea ecx, [ebp - 0x37]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10035f08
sub ecx, edi
mov edi, dword [ebp - 0x10]
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.10002800
lea eax, [ebp - 0x6c]
push eax
call fcn.100322e0
push eax
push dword [esi + 0xc]
mov dword [ebp - 4], 1
call fcn.100136d0
mov eax, dword [ebp - 0x58]
add esp, 0x28
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x10035f5a
push 1
inc eax
push eax
push dword [ebp - 0x6c]
call fcn.10002610
add esp, 0xc
push 0xffffffffffffffff
push dword [esi + 0xc]
call fcn.100136a0
movzx eax, word [esi + 4]
push eax
push 0
push dword [esi + 0x10]
call fcn.100133c0
jmp 0x10036080
cmp dword [esi], 1
jne 0x10036083
cmp byte [esi + 6], 0
je 0x10036083
movzx eax, word [esi + 4]
mov dh, 0x39
push eax
mov cl, 0x19
mov byte [ebp - 0x24], dh
mov dl, 0x16
mov byte [ebp - 0x1d], 0
xor dl, dh
mov byte [ebp - 0x1d], 0
mov bl, cl
mov byte [ebp - 0x21], dl
mov al, 9
mov ah, 0x1c
mov ch, 0x5d
xor al, dh
xor cl, dh
mov byte [ebp - 0x23], al
xor bl, dh
mov byte [ebp - 0x22], cl
xor ah, dh
mov byte [ebp - 0x20], bl
xor ch, dh
mov byte [ebp - 0x1f], ah
sub esp, 0x18
mov byte [ebp - 0x1e], ch
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10035fe4
mov eax, dword [edx]
jmp 0x10035fe6
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x23], 0
jne 0x10035ff3
xor ecx, ecx
jmp 0x1003600c
lea ecx, [ebp - 0x23]
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10036000
sub ecx, edi
mov edi, dword [ebp - 0x10]
push ecx
lea eax, [ebp - 0x23]
mov ecx, edx
push eax
call fcn.10002800
lea eax, [ebp - 0x54]
push eax
call fcn.100322e0
push eax
push dword [esi + 0xc]
mov dword [ebp - 4], 2
call fcn.100136d0
mov eax, dword [ebp - 0x40]
add esp, 0x28
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x10036052
push 1
inc eax
push eax
push dword [ebp - 0x54]
call fcn.10002610
add esp, 0xc
push 0xffffffffffffffff
push dword [esi + 0xc]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
call fcn.100136a0
movzx eax, word [esi + 4]
push eax
push 0
push dword [esi + 0x10]
call fcn.100133c0
mov ebx, dword [ebp - 0x14]
add esp, 0x14
add edi, 2
add esi, 0x18
sub ebx, 1
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], ebx
jne 0x10035e70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret