Function at 0x1003d930
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100940e0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100bb084]
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 edi, ecx
mov esi, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test esi, esi
je 0x1003d97b
push 4
push esi
call ebx
test eax, eax
jne 0x1003d97b
push eax
mov ecx, esi
call dword [0x100ad890]
movaps xmm0, xmmword [str._rHcyh]
xor ecx, ecx
movups xmmword [ebp - 0x54], xmm0
mov al, byte [ebp - 0x54]
xor byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0xe
jb 0x1003d988
cmp byte [ebp - 0x53], 0
mov byte [ebp - 0x45], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x1003d9b5
xor ecx, ecx
jmp 0x1003d9c9
lea ecx, [ebp - 0x53]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003d9c0
sub ecx, edx
push ecx
lea eax, [ebp - 0x53]
push eax
lea ecx, [ebp - 0x28]
call fcn.10004a40
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2b]
push 0
mov word [ebp - 0x2c], 0x70
lea ecx, [ebp - 0x44]
push eax
mov byte [ebp - 0x2b], 0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.10004a40
mov byte [ebp - 4], 1
mov esi, dword [edi + 0x10]
test esi, esi
je 0x1003da27
push 4
push esi
call ebx
test eax, eax
jne 0x1003da27
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call dword [0x100ad8ac]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x1003da40
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.100048f0
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov dword [ebp - 0x30], 0xf
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp byte [edx], 0
jne 0x1003da66
xor ecx, ecx
jmp 0x1003da79
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003da70
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.10004a40
mov byte [ebp - 4], 2
mov esi, dword [edi + 0x10]
test esi, esi
je 0x1003daa3
push 4
push esi
call ebx
test eax, eax
jne 0x1003daa3
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call dword [0x100ad8f0]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x1003dabc
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.100048f0
mov esi, dword [edi + 0x10]
test esi, esi
je 0x1003dad4
push 4
push esi
call ebx
test eax, eax
jne 0x1003dad4
mov ecx, esi
call dword [0x100ad8b4]
push 0
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 0x23
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x2b], 0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.10004a40
mov byte [ebp - 4], 3
mov esi, dword [edi + 0x20]
test esi, esi
je 0x1003db1e
push 4
push esi
call ebx
test eax, eax
jne 0x1003db1e
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call dword [0x100ad8f4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x1003db37
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.100048f0
mov ecx, edi
call fcn.1003e8e0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1003db53
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.100048f0
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.1005baa0
mov esp, ebp
pop ebp
ret