Function at 0x1003a150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083bb8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x100a2078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ebx, [ecx + 0x130]
mov dword [ebp - 0x24], 3
mov dword [ebp - 0x14], ebx
lea edi, [ecx + 0x44]
nop dword [eax + eax]
mov esi, dword [0x100a5a18]
mov eax, esi
mov edx, dword [edi]
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xd], 0
jne 0x1003a1c0
cmp dword [ecx + 0x10], edx
jae 0x1003a1ad
mov ecx, dword [ecx + 8]
jmp 0x1003a1b1
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x1003a1a3
cmp eax, esi
je 0x1003a1c0
cmp edx, dword [eax + 0x10]
jae 0x1003a1c2
mov eax, esi
cmp eax, esi
jne 0x1003a1ca
xor eax, eax
jmp 0x1003a1cd
add eax, 0x14
test eax, eax
je 0x1003a2c4
movzx eax, word [edi + 4]
xor ecx, ecx
movaps xmm0, xmmword [0x100988c0]
push eax
movzx eax, word [ebx]
push eax
movups xmmword [ebp - 0x38], xmm0
nop dword [eax + eax]
mov al, byte [ebp - 0x38]
xor byte [ebp + ecx - 0x37], al
inc ecx
cmp ecx, 0xe
jb 0x1003a1f0
sub esp, 0x18
mov byte [ebp - 0x29], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1003a21e
mov eax, dword [edx]
jmp 0x1003a220
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x37], 0
jne 0x1003a22d
xor ecx, ecx
jmp 0x1003a23c
lea ecx, [ebp - 0x37]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a233
sub ecx, esi
push ecx
lea eax, [ebp - 0x37]
mov ecx, edx
push eax
call fcn.10002710
lea eax, [ebp - 0x50]
push eax
call fcn.1000bf20
add esp, 0x24
mov dword [ebp - 4], 0
mov edx, eax
mov ecx, dword [edi + 0xc]
call fcn.10017a20
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x1003a281
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.100025f0
movzx esi, word [ebx]
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x1003a485
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003a485
sub esp, 0xc
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov ecx, ebx
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x10098230]
jmp 0x1003a485
cmp edx, 1
jne 0x1003a3e4
cmp byte [edi + 6], 0
je 0x1003a3e4
movzx eax, word [edi + 4]
mov cl, 0x26
push eax
movzx eax, word [ebx]
mov dl, 0x62
mov bh, 0x42
mov byte [ebp - 0x18], 0
push eax
mov dh, cl
mov byte [ebp - 0x20], bh
mov ah, dl
mov byte [ebp - 0x18], 0
xor dl, bh
xor dh, bh
mov byte [ebp - 0x1d], dl
mov al, 0x67
mov byte [ebp - 0x19], dh
sub esp, 0x18
mov edx, esp
mov ch, al
mov bl, 0x6d
xor al, bh
xor cl, bh
mov byte [ebp - 0x1f], al
xor bl, bh
mov byte [ebp - 0x1e], cl
xor ah, bh
mov byte [ebp - 0x1c], bl
xor ch, bh
mov byte [ebp - 0x1b], ah
mov byte [ebp - 0x1a], ch
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1003a33b
mov eax, dword [edx]
jmp 0x1003a33d
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x1f], 0
jne 0x1003a34a
xor ecx, ecx
jmp 0x1003a359
lea ecx, [ebp - 0x1f]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a350
sub ecx, esi
push ecx
lea eax, [ebp - 0x1f]
mov ecx, edx
push eax
call fcn.10002710
lea eax, [ebp - 0x50]
push eax
call fcn.1000bf20
add esp, 0x24
mov dword [ebp - 4], 1
mov edx, eax
mov ecx, dword [edi + 0xc]
call fcn.10017a20
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x1003a39e
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.100025f0
mov eax, dword [ebp - 0x14]
mov ebx, dword [edi + 0x10]
movzx esi, word [eax]
test ebx, ebx
je 0x1003a485
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003a485
sub esp, 0xc
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov ecx, ebx
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x10098230]
jmp 0x1003a485
movzx eax, word [edi + 4]
push eax
sub esp, 0x18
mov word [ebp - 0x10], 0x7d
mov edx, esp
mov byte [ebp - 0xf], 0
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1003a410
mov eax, dword [edx]
jmp 0x1003a412
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0xf], 0
jne 0x1003a41f
xor ecx, ecx
jmp 0x1003a42e
lea ecx, [ebp - 0xf]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003a425
sub ecx, esi
push ecx
lea eax, [ebp - 0xf]
mov ecx, edx
push eax
call fcn.10002710
lea eax, [ebp - 0x68]
push eax
call fcn.1000bf20
add esp, 0x20
mov dword [ebp - 4], 2
mov edx, eax
mov ecx, dword [edi + 0xc]
call fcn.10017a20
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x54]
cmp eax, 0x10
jb 0x1003a473
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.100025f0
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
mov ebx, dword [ebp - 0x14]
mov ax, word [ebx]
cmp ax, word [edi + 4]
jb 0x1003a4b2
mov esi, dword [edi + 0xc]
test esi, esi
je 0x1003a4b2
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003a4b2
push 0xff80ff00
mov ecx, esi
call dword [0x1009824c]
add dword [ebp - 0x14], 2
add edi, 0x18
sub dword [ebp - 0x24], 1
mov ebx, dword [ebp - 0x14]
jne 0x1003a190
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret