Function at 0x100412b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aca98
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x100d6084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x40], esi
movzx eax, word [esi + 0x138]
xor ecx, ecx
movzx edx, word [esi + 0x136]
movaps xmm0, xmmword [0x100c90b0]
push eax
mov word [esi + 0x142], dx
mov word [esi + 0x144], ax
push edx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x64b0a07
mov byte [ebp - 0x18], 0
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x13
jb 0x10041313
sub esp, 0x18
mov byte [ebp - 0x18], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10041341
mov eax, dword [edx]
jmp 0x10041343
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x2b], 0
jne 0x10041350
xor ecx, ecx
jmp 0x10041362
lea ecx, [ebp - 0x2b]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10041356
sub ecx, esi
mov esi, dword [ebp - 0x40]
push ecx
lea eax, [ebp - 0x2b]
mov ecx, edx
push eax
call fcn.10002840
lea eax, [ebp - 0x58]
push eax
call fcn.1000f620
add esp, 0x24
mov dword [ebp - 4], 0
mov edx, eax
mov ecx, dword [esi + 0xc]
call fcn.1001c1c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x100413a7
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.10002720
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
lea ecx, [esi + 0x12a]
lea edi, [esi + 0x50]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], 3
movzx eax, word [ecx - 6]
mov dword [edi - 0xc], eax
mov ax, word [ecx]
mov edx, dword [edi - 0xc]
mov word [edi - 8], ax
mov al, byte [esi + 0x13b]
mov byte [edi - 6], al
mov esi, dword [0x100df810]
mov byte [ebp - 0xd], al
mov eax, esi
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xd], 0
jne 0x1004140d
nop
cmp dword [ecx + 0x10], edx
jae 0x100413fa
mov ecx, dword [ecx + 8]
jmp 0x100413fe
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x100413f0
cmp eax, esi
je 0x1004140d
cmp edx, dword [eax + 0x10]
jae 0x1004140f
mov eax, esi
cmp eax, esi
jne 0x10041417
xor eax, eax
jmp 0x1004141a
add eax, 0x14
test eax, eax
je 0x100414eb
movzx eax, word [edi - 8]
mov cl, 0x64
push eax
mov dword [ebp - 0x28], 0xa112c64
xor eax, eax
mov dword [ebp - 0x24], 0x44494410
mov dword [ebp - 0x20], 0x444b4454
mov word [ebp - 0x1c], 0x41
mov byte [ebp - 0x1a], 0
nop word [eax + eax]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0xd
jae 0x1004145f
mov cl, byte [ebp - 0x28]
jmp 0x10041450
sub esp, 0x18
mov byte [ebp - 0x1a], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10041480
mov eax, dword [edx]
jmp 0x10041482
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x27], 0
jne 0x1004148f
xor ecx, ecx
jmp 0x1004149e
lea ecx, [ebp - 0x27]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10041495
sub ecx, esi
push ecx
lea eax, [ebp - 0x27]
mov ecx, edx
push eax
call fcn.10002840
lea eax, [ebp - 0x58]
push eax
call fcn.1000f620
add esp, 0x20
mov dword [ebp - 4], 1
mov edx, eax
mov ecx, dword [edi]
call fcn.1001c1c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x100415d5
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.10002720
jmp 0x100415d5
cmp edx, 1
jne 0x10041648
cmp byte [ebp - 0xd], 0
je 0x10041648
movzx eax, word [edi - 8]
mov dh, 0x70
push eax
mov cl, 0x50
mov byte [ebp - 0x34], dh
mov dl, 0x5f
mov byte [ebp - 0x2d], 0
xor dl, dh
mov byte [ebp - 0x2d], 0
mov bl, cl
mov byte [ebp - 0x31], dl
mov al, 0x40
mov ah, 0x55
mov ch, 0x14
xor al, dh
xor cl, dh
mov byte [ebp - 0x33], al
xor bl, dh
mov byte [ebp - 0x32], cl
xor ah, dh
mov byte [ebp - 0x30], bl
xor ch, dh
mov byte [ebp - 0x2f], ah
sub esp, 0x18
mov byte [ebp - 0x2e], ch
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x10041557
mov eax, dword [edx]
jmp 0x10041559
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x33], 0
jne 0x10041566
xor ecx, ecx
jmp 0x10041579
lea ecx, [ebp - 0x33]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10041570
sub ecx, esi
push ecx
lea eax, [ebp - 0x33]
mov ecx, edx
push eax
call fcn.10002840
lea eax, [ebp - 0x70]
push eax
call fcn.1000f620
add esp, 0x20
mov dword [ebp - 4], 2
mov edx, eax
mov ecx, dword [edi]
call fcn.1001c1c0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x100415bd
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.10002720
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
mov esi, dword [edi]
test esi, esi
je 0x100415ee
push 4
push esi
call ebx
test eax, eax
jne 0x100415ee
push 0xffffffffffffffff
mov ecx, esi
call dword [0x100c6884]
mov esi, dword [edi + 4]
movzx eax, word [edi - 8]
mov dword [ebp - 0x14], eax
test esi, esi
je 0x10041648
push 4
push esi
call ebx
test eax, eax
jne 0x10041648
push 4
lea ebx, [esi + 0x140]
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10041642
push 4
lea eax, [esi + 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10041642
mov eax, dword [ebp - 0x14]
mov ecx, esi
mov dword [ebx], 0
mov dword [esi + 0x13c], eax
call dword [0x100c6864]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov ecx, dword [ebp - 0x38]
add edi, 0x18
mov esi, dword [ebp - 0x40]
add ecx, 2
sub dword [ebp - 0x3c], 1
mov dword [ebp - 0x38], ecx
jne 0x100413c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret