Function at 0x1003d4b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006ded8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x10084014]
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 [0x1007ad00]
push eax
mov word [esi + 0x142], dx
mov word [esi + 0x144], ax
push edx
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x175a1b16
mov byte [ebp - 0x18], 0
mov al, byte [ebp - 0x2c]
xor byte [ebp + ecx - 0x2b], al
inc ecx
cmp ecx, 0x13
jb 0x1003d513
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 0x1003d541
mov eax, dword [edx]
jmp 0x1003d543
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x2b], 0
jne 0x1003d550
xor ecx, ecx
jmp 0x1003d562
lea ecx, [ebp - 0x2b]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003d556
sub ecx, esi
mov esi, dword [ebp - 0x40]
push ecx
lea eax, [ebp - 0x2b]
mov ecx, edx
push eax
call fcn.100027b0
lea eax, [ebp - 0x70]
push eax
call fcn.1000bcb0
add esp, 0x24
mov dword [ebp - 4], 0
mov edx, eax
mov ecx, dword [esi + 0xc]
call fcn.10018ac0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x1003d5a4
inc eax
push eax
push dword [ebp - 0x70]
call fcn.100026b0
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
nop dword [eax]
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 [0x1008ab64]
mov byte [ebp - 0xd], al
mov eax, esi
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xd], 0
jne 0x1003d60d
nop
cmp dword [ecx + 0x10], edx
jae 0x1003d5fa
mov ecx, dword [ecx + 8]
jmp 0x1003d5fe
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x1003d5f0
cmp eax, esi
je 0x1003d60d
cmp edx, dword [eax + 0x10]
jae 0x1003d60f
mov eax, esi
cmp eax, esi
jne 0x1003d617
xor eax, eax
jmp 0x1003d61a
add eax, 0x14
test eax, eax
je 0x1003d6e8
movzx eax, word [edi - 8]
mov cl, 0x2f
push eax
mov dword [ebp - 0x28], 0x415a672f
xor eax, eax
mov dword [ebp - 0x24], 0xf020f5b
mov dword [ebp - 0x20], 0xf000f1f
mov word [ebp - 0x1c], 0x4b0a
mov byte [ebp - 0x1a], 0
nop word [eax + eax]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0xd
jae 0x1003d65f
mov cl, byte [ebp - 0x28]
jmp 0x1003d650
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 0x1003d680
mov eax, dword [edx]
jmp 0x1003d682
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x27], 0
jne 0x1003d68f
xor ecx, ecx
jmp 0x1003d69e
lea ecx, [ebp - 0x27]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003d695
sub ecx, esi
push ecx
lea eax, [ebp - 0x27]
mov ecx, edx
push eax
call fcn.100027b0
lea eax, [ebp - 0x70]
push eax
call fcn.1000bcb0
add esp, 0x20
mov dword [ebp - 4], 1
mov edx, eax
mov ecx, dword [edi]
call fcn.10018ac0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x1003d7d2
inc eax
push eax
push dword [ebp - 0x70]
call fcn.100026b0
jmp 0x1003d7d2
cmp edx, 1
jne 0x1003d845
cmp byte [ebp - 0xd], 0
je 0x1003d845
movzx eax, word [edi - 8]
mov dh, 0x1d
push eax
mov cl, 0x3d
mov byte [ebp - 0x34], dh
mov dl, 0x32
mov byte [ebp - 0x2d], 0
xor dl, dh
mov byte [ebp - 0x2d], 0
mov bl, cl
mov byte [ebp - 0x31], dl
mov al, 0x2d
mov ah, 0x38
mov ch, 0x79
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 0x1003d754
mov eax, dword [edx]
jmp 0x1003d756
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x33], 0
jne 0x1003d763
xor ecx, ecx
jmp 0x1003d779
lea ecx, [ebp - 0x33]
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003d770
sub ecx, esi
push ecx
lea eax, [ebp - 0x33]
mov ecx, edx
push eax
call fcn.100027b0
lea eax, [ebp - 0x58]
push eax
call fcn.1000bcb0
add esp, 0x20
mov dword [ebp - 4], 2
mov edx, eax
mov ecx, dword [edi]
call fcn.10018ac0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x1003d7ba
inc eax
push eax
push dword [ebp - 0x58]
call fcn.100026b0
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov esi, dword [edi]
test esi, esi
je 0x1003d7eb
push 4
push esi
call ebx
test eax, eax
jne 0x1003d7eb
push 0xffffffffffffffff
mov ecx, esi
call dword [0x10078638]
mov esi, dword [edi + 4]
movzx eax, word [edi - 8]
mov dword [ebp - 0x14], eax
test esi, esi
je 0x1003d845
push 4
push esi
call ebx
test eax, eax
jne 0x1003d845
push 4
lea ebx, [esi + 0x140]
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003d83f
push 4
lea eax, [esi + 0x13c]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003d83f
mov eax, dword [ebp - 0x14]
mov ecx, esi
mov dword [ebx], 0
mov dword [esi + 0x13c], eax
call dword [0x10078618]
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 0x1003d5c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret