Function at 0x1003a6e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083c48
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x100a2078]
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 [0x10099310]
push eax
mov word [esi + 0x142], dx
mov word [esi + 0x144], ax
push edx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x662b6a67
mov byte [ebp - 0x18], 0
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x13
jb 0x1003a743
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 0x1003a771
mov eax, dword [edx]
jmp 0x1003a773
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x2b], 0
jne 0x1003a780
xor ecx, ecx
jmp 0x1003a792
lea ecx, [ebp - 0x2b]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a786
sub ecx, esi
mov esi, dword [ebp - 0x40]
push ecx
lea eax, [ebp - 0x2b]
mov ecx, edx
push eax
call fcn.10002710
lea eax, [ebp - 0x58]
push eax
call fcn.1000bf20
add esp, 0x24
mov dword [ebp - 4], 0
mov edx, eax
mov ecx, dword [esi + 0xc]
call fcn.10017a20
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x1003a7d7
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.100025f0
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 [0x100a5a18]
mov byte [ebp - 0xd], al
mov eax, esi
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xd], 0
jne 0x1003a83d
nop
cmp dword [ecx + 0x10], edx
jae 0x1003a82a
mov ecx, dword [ecx + 8]
jmp 0x1003a82e
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x1003a820
cmp eax, esi
je 0x1003a83d
cmp edx, dword [eax + 0x10]
jae 0x1003a83f
mov eax, esi
cmp eax, esi
jne 0x1003a847
xor eax, eax
jmp 0x1003a84a
add eax, 0x14
test eax, eax
je 0x1003a91b
movzx eax, word [edi - 8]
mov cl, 0x3a
push eax
mov dword [ebp - 0x28], 0x544f723a
xor eax, eax
mov dword [ebp - 0x24], 0x1a171a4e
mov dword [ebp - 0x20], 0x1a151a0a
mov word [ebp - 0x1c], 0x5e1f
mov byte [ebp - 0x1a], 0
nop word [eax + eax]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0xd
jae 0x1003a88f
mov cl, byte [ebp - 0x28]
jmp 0x1003a880
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 0x1003a8b0
mov eax, dword [edx]
jmp 0x1003a8b2
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x27], 0
jne 0x1003a8bf
xor ecx, ecx
jmp 0x1003a8ce
lea ecx, [ebp - 0x27]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a8c5
sub ecx, esi
push ecx
lea eax, [ebp - 0x27]
mov ecx, edx
push eax
call fcn.10002710
lea eax, [ebp - 0x58]
push eax
call fcn.1000bf20
add esp, 0x20
mov dword [ebp - 4], 1
mov edx, eax
mov ecx, dword [edi]
call fcn.10017a20
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x1003aa05
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.100025f0
jmp 0x1003aa05
cmp edx, 1
jne 0x1003aa78
cmp byte [ebp - 0xd], 0
je 0x1003aa78
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 0x1003a987
mov eax, dword [edx]
jmp 0x1003a989
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x33], 0
jne 0x1003a996
xor ecx, ecx
jmp 0x1003a9a9
lea ecx, [ebp - 0x33]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a9a0
sub ecx, esi
push ecx
lea eax, [ebp - 0x33]
mov ecx, edx
push eax
call fcn.10002710
lea eax, [ebp - 0x70]
push eax
call fcn.1000bf20
add esp, 0x20
mov dword [ebp - 4], 2
mov edx, eax
mov ecx, dword [edi]
call fcn.10017a20
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x1003a9ed
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.100025f0
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 0x1003aa1e
push 4
push esi
call ebx
test eax, eax
jne 0x1003aa1e
push 0xffffffffffffffff
mov ecx, esi
call dword [0x1009824c]
mov esi, dword [edi + 4]
movzx eax, word [edi - 8]
mov dword [ebp - 0x14], eax
test esi, esi
je 0x1003aa78
push 4
push esi
call ebx
test eax, eax
jne 0x1003aa78
push 4
lea ebx, [esi + 0x140]
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003aa72
push 4
lea eax, [esi + 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003aa72
mov eax, dword [ebp - 0x14]
mov ecx, esi
mov dword [ebx], 0
mov dword [esi + 0x13c], eax
call dword [0x1009822c]
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 0x1003a7f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret