Function at 0x1004a5d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084580
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
mov esi, ecx
movzx eax, word [esi + 0xfa]
xor ecx, ecx
movaps xmm0, xmmword [0x10098de0]
push eax
movzx eax, word [esi + 0xf8]
push eax
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x11505a
nop
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x12
jb 0x1004a620
sub esp, 0x18
mov byte [ebp - 0x21], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1004a64e
mov eax, dword [edx]
jmp 0x1004a650
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x33], 0
jne 0x1004a65d
xor ecx, ecx
jmp 0x1004a66c
lea ecx, [ebp - 0x33]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004a663
sub ecx, edi
push ecx
lea eax, [ebp - 0x33]
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 [esi + 0x50]
call fcn.10017a20
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x1004a6b1
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.100025f0
movzx eax, word [esi + 0xfc]
test ax, ax
jne 0x1004a738
mov cl, 0x62
mov byte [ebp - 0xe], 0
mov al, 0x4f
mov byte [ebp - 0x10], cl
xor al, cl
mov byte [ebp - 0xe], 0
mov byte [ebp - 0xf], al
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
jne 0x1004a6e9
xor ecx, ecx
jmp 0x1004a6f9
lea ecx, [ebp - 0xf]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004a6f0
sub ecx, edx
push ecx
lea eax, [ebp - 0xf]
push eax
lea ecx, [ebp - 0x38]
call fcn.10002710
mov dword [ebp - 4], 1
lea edx, [ebp - 0x38]
mov ecx, dword [esi + 0x54]
call fcn.10017a20
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
cmp eax, 0x10
jb 0x1004a7de
inc eax
lea ecx, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
jmp 0x1004a7d9
mov bl, 0x25
mov dl, 0x41
push eax
xor dl, bl
mov byte [ebp - 0x18], bl
mov byte [ebp - 0x15], dl
xor cl, cl
mov byte [ebp - 0x14], cl
sub esp, 0x18
mov edx, esp
mov byte [ebp - 0x14], 0
mov al, 6
xor cl, bl
xor al, bl
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x17], al
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1004a777
mov eax, dword [edx]
jmp 0x1004a779
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x17], 0
jne 0x1004a786
xor ecx, ecx
jmp 0x1004a799
lea ecx, [ebp - 0x17]
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004a790
sub ecx, edi
push ecx
lea eax, [ebp - 0x17]
mov ecx, edx
push eax
call fcn.10002710
lea eax, [ebp - 0x50]
push eax
call fcn.1000bf20
add esp, 0x20
mov dword [ebp - 4], 2
mov edx, eax
mov ecx, dword [esi + 0x54]
call fcn.10017a20
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
cmp eax, 0x10
jb 0x1004a7de
inc eax
lea ecx, [ebp - 0x50]
push eax
push dword [ebp - 0x50]
call fcn.100025f0
movzx eax, word [esi + 0xf8]
mov dh, 0x75
movss xmm1, dword [0x10098870]
mov dl, 0x47
xor dl, dh
mov byte [ebp - 0x20], dh
sub esp, 0x20
mov byte [ebp - 0x1d], dl
movd xmm0, eax
mov cl, 0x5b
cvtdq2ps xmm0, xmm0
mov al, 0x50
mov byte [ebp - 0x19], 0
mov ah, al
mov byte [ebp - 0x19], 0
mov ch, ah
mov bl, 0x13
xor al, dh
xor cl, dh
xor bl, dh
mov byte [ebp - 0x1f], al
divss xmm1, xmm0
xor ah, dh
mov byte [ebp - 0x1e], cl
xor ch, dh
mov byte [ebp - 0x1c], bl
mov edx, esp
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
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x18], xmm0
jb 0x1004a855
mov eax, dword [edx]
jmp 0x1004a857
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x1f], 0
jne 0x1004a864
xor ecx, ecx
jmp 0x1004a879
lea ecx, [ebp - 0x1f]
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004a870
sub ecx, edi
push ecx
lea eax, [ebp - 0x1f]
mov ecx, edx
push eax
call fcn.10002710
lea eax, [ebp - 0x68]
push eax
call fcn.1000bf20
add esp, 0x24
mov dword [ebp - 4], 3
mov edx, eax
mov ecx, dword [esi + 0x58]
call fcn.10017a20
mov eax, dword [ebp - 0x54]
cmp eax, 0x10
jb 0x1004a8b7
inc eax
lea ecx, [ebp - 0x68]
push eax
push dword [ebp - 0x68]
call fcn.100025f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret