Function at 0x10049e10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100646fe
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10077604]
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 ebx, ecx
mov dword [ebp - 0x68], ebx
movzx eax, word [ebp + 8]
push eax
mov dword [ebp - 4], 0
call fcn.10007ff0
add esp, 4
test eax, eax
je 0x10049e9f
cmp dword [eax + 0x18], 0x10
lea edx, [eax + 4]
jb 0x10049e63
mov edx, dword [edx]
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
cmp byte [edx], 0
jne 0x10049e7e
xor ecx, ecx
jmp 0x10049e8c
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10049e83
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.10002800
mov byte [ebp - 4], 1
jmp 0x10049f3d
mov bh, 0x54
mov byte [ebp - 0x29], 0x56
mov byte [ebp - 0x2f], bh
mov al, 0x1f
mov bh, byte [ebp - 0x29]
mov cl, 4
mov byte [ebp - 0x40], 0x6a
mov bl, cl
xor bh, byte [ebp - 0x40]
mov dh, bl
xor al, byte [ebp - 0x40]
mov dl, 1
mov byte [ebp - 0x29], bh
mov ah, 5
mov byte [ebp - 0x3f], bh
mov ch, 0x1d
mov bh, byte [ebp - 0x2f]
mov byte [ebp - 0x3e], al
mov al, byte [ebp - 0x40]
xor cl, al
mov byte [ebp - 0x36], 0
xor dl, al
mov byte [ebp - 0x3d], cl
xor bl, al
mov byte [ebp - 0x3c], dl
xor ah, al
mov byte [ebp - 0x3b], bl
xor ch, al
mov byte [ebp - 0x3a], ah
xor dh, al
mov byte [ebp - 0x39], ch
xor bh, al
mov byte [ebp - 0x38], dh
cmp byte [ebp - 0x29], 0
mov byte [ebp - 0x37], bh
mov byte [ebp - 0x36], 0
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
jne 0x10049f19
xor ecx, ecx
jmp 0x10049f29
lea ecx, [ebp - 0x3f]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10049f20
sub ecx, edx
push ecx
lea eax, [ebp - 0x3f]
push eax
lea ecx, [ebp - 0x60]
call fcn.10002800
mov ebx, dword [ebp - 0x68]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x60]
push eax
push dword [ebx + 0x24]
call fcn.100136d0
mov eax, dword [ebp - 0x4c]
add esp, 8
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x10049f67
push 1
inc eax
push eax
push dword [ebp - 0x60]
call fcn.10002610
add esp, 0xc
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov byte [ebp - 0x29], 0
cmp esi, edi
je 0x1004a3a6
nop dword [eax]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x64], ecx
test eax, eax
je 0x1004a398
test cx, cx
je 0x1004a398
push eax
call fcn.10007f40
add esp, 4
mov dword [ebp - 0x34], eax
test eax, eax
je 0x1004a145
push 0
lea eax, [ebp - 0x2f]
mov word [ebp - 0x30], 0x27
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x2f], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10002800
mov eax, dword [ebp - 0x34]
push dword [ebp - 0x44]
mov byte [ebp - 4], 3
movzx eax, byte [eax + 4]
push eax
call fcn.10007f80
add esp, 8
mov dword [ebp - 0x48], eax
test eax, eax
je 0x1004a023
cmp dword [eax + 0x48], 0
je 0x1004a023
push dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.100095f0
add esp, 0x10
lea ecx, [ebp - 0x28]
push eax
call fcn.10007e10
lea ecx, [ebp - 0x80]
call fcn.10001840
jmp 0x1004a090
push dword [ebp - 0x44]
lea eax, [ebp - 0x60]
push 0
push dword [ebp - 0x34]
push eax
call fcn.100095f0
add esp, 0x10
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x1004a075
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1004a058
inc eax
push 1
push eax
push dword [ebp - 0x28]
call fcn.10002610
add esp, 0xc
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10003770
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 4], 3
cmp eax, 0x10
jb 0x1004a090
inc eax
push 1
push eax
push dword [ebp - 0x60]
call fcn.10002610
add esp, 0xc
movzx eax, byte [ebp - 0x29]
lea eax, [eax + eax*2]
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + eax*8 + 0x3c]
test eax, eax
je 0x1004a121
lea ecx, [ebp - 0x28]
add eax, 4
push ecx
push eax
call fcn.1000d880
mov ecx, dword [ebp - 0x44]
add esp, 8
mov edx, dword [ebp - 0x34]
mov eax, dword [ebx + ecx*8 + 0x3c]
mov dword [eax + 0x50], edx
mov eax, dword [ebx + ecx*8 + 0x3c]
mov edx, dword [ebp - 0x48]
mov dword [eax + 0x54], edx
mov eax, dword [ebx + ecx*8 + 0x3c]
mov dword [eax + 0x58], 0
mov eax, edx
mov edx, dword [ebp - 0x34]
test eax, eax
je 0x1004a0ef
movsx eax, word [eax + 0x56]
mov dword [ebp - 0x48], eax
movsx eax, word [edx + 0x66]
mov edx, dword [ebp - 0x48]
add edx, eax
jmp 0x1004a0f3
movsx edx, word [edx + 0x66]
mov eax, dword [ebx + ecx*8 + 0x3c]
mov dword [eax + 0x5c], edx
mov eax, dword [ebx + ecx*8 + 0x3c]
mov eax, dword [eax]
test eax, eax
je 0x1004a121
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.10013250
mov eax, dword [ebp - 0x44]
push 1
mov eax, dword [ebx + eax*8 + 0x3c]
push dword [eax]
call fcn.10012be0
add esp, 0x10
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x1004a266
inc eax
push 1
push eax
push dword [ebp - 0x28]
call fcn.10002610
add esp, 0xc
jmp 0x1004a266
mov ecx, dword [ebp - 0x44]
lea eax, [ecx - 1]
cmp eax, 0x5f5e0fe
ja 0x1004a266
movzx eax, byte [ebp - 0x29]
lea eax, [eax + eax*2]
cmp dword [ebx + eax*8 + 0x3c], 0
mov dword [ebp - 0x34], eax
mov dword [ebx + eax*8 + 0x28], ecx
je 0x1004a258
movaps xmm0, xmmword [0x1006ca30]
xor ecx, ecx
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0x3268796e
mov dword [ebp - 0x4c], 0x686478
nop word [eax + eax]
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x16
jb 0x1004a190
lea eax, [ebp - 0x5f]
mov byte [ebp - 0x49], 0
push eax
lea ecx, [ebp - 0x80]
call fcn.100017e0
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 5
push eax
mov eax, dword [ebp - 0x34]
mov eax, dword [ebx + eax*8 + 0x3c]
add eax, 4
push eax
call fcn.1000d880
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.10001840
mov eax, dword [ebp - 0x34]
mov eax, dword [ebx + eax*8 + 0x3c]
cmp dword [eax], 0
je 0x1004a255
movaps xmm0, xmmword [0x1006ca20]
xor ecx, ecx
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0xc564750
mov dword [ebp - 0x4c], 0x565a46
nop dword [eax + eax]
mov al, byte [ebp - 0x60]
xor byte [ebp + ecx - 0x5f], al
inc ecx
cmp ecx, 0x16
jb 0x1004a200
lea eax, [ebp - 0x5f]
mov byte [ebp - 0x49], 0
push eax
lea ecx, [ebp - 0x80]
call fcn.100017e0
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 6
push eax
mov eax, dword [ebp - 0x34]
mov eax, dword [ebx + eax*8 + 0x3c]
push dword [eax]
call fcn.10013250
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.10001840
mov eax, dword [ebp - 0x34]
push 0
mov eax, dword [ebx + eax*8 + 0x3c]
push dword [eax]
call fcn.10012be0
add esp, 8
mov eax, dword [ebp - 0x34]
push 2
push dword [ebx + eax*8 + 0x38]
call fcn.10012b40
add esp, 8
mov eax, dword [ebp - 0x64]
mov bh, 0x46
movss xmm1, dword [0x1006c998]
mov dl, 0x74
movzx eax, ax
xor dl, bh
sub esp, 0x20
mov byte [ebp - 0x3d], dl
mov cl, 0x68
mov byte [ebp - 0x38], 0
mov bl, 0x2a
mov byte [ebp - 0x40], bh
movd xmm0, eax
xor cl, bh
cvtdq2ps xmm0, xmm0
mov al, 0x63
mov byte [ebp - 0x3e], cl
mov ch, al
mov byte [ebp - 0x38], 0
mov dh, ch
mov ah, 0x20
xor dh, bh
xor al, bh
mov byte [ebp - 0x39], dh
xor bl, bh
divss xmm0, xmm1
mov edx, esp
mov byte [ebp - 0x3f], al
xor ah, bh
mov byte [ebp - 0x3c], bl
xor ch, bh
mov byte [ebp - 0x3b], ah
mov byte [ebp - 0x3a], ch
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
minss xmm1, xmm0
cvtps2pd xmm0, xmm1
movss dword [ebp - 0x64], xmm1
movsd qword [esp + 0x18], xmm0
jb 0x1004a2ec
mov eax, dword [edx]
jmp 0x1004a2ee
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x3f], 0
jne 0x1004a2fb
xor ecx, ecx
jmp 0x1004a30a
lea ecx, [ebp - 0x3f]
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004a301
sub ecx, ebx
push ecx
lea eax, [ebp - 0x3f]
mov ecx, edx
push eax
call fcn.10002800
lea eax, [ebp - 0x80]
push eax
call fcn.100322e0
movzx ecx, byte [ebp - 0x29]
mov ebx, dword [ebp - 0x68]
push eax
mov byte [ebp - 4], 7
lea eax, [ecx + ecx*2]
mov dword [ebp - 0x48], ecx
push dword [ebx + eax*8 + 0x30]
call fcn.100136d0
mov eax, dword [ebp - 0x6c]
add esp, 0x2c
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x1004a358
push 1
inc eax
push eax
push dword [ebp - 0x80]
call fcn.10002610
add esp, 0xc
mov eax, dword [ebp - 0x48]
sub esp, 0xc
movss xmm0, dword [ebp - 0x64]
mov dword [esp + 8], 0
lea eax, [eax + eax*2]
mov dword [esp + 4], 0
movss dword [esp], xmm0
push dword [ebx + eax*8 + 0x34]
call fcn.10013370
mov eax, dword [ebp - 0x48]
push 1
push dword [ebx + eax*4 + 0xc]
call fcn.10012be0
add esp, 0x18
inc byte [ebp - 0x29]
add esi, 8
cmp esi, edi
jne 0x10049f80
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1004a3be
mov eax, dword [ebp + 0x14]
sub eax, esi
push 8
sar eax, 3
push eax
push esi
call fcn.10002610
add esp, 0xc
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.1005f6be
mov esp, ebp
pop ebp
ret 0x10